This commit is contained in:
Adam 2021-10-07 22:14:53 +02:00
commit e271c974ad
87 changed files with 29161 additions and 0 deletions

View file

@ -0,0 +1,3 @@
fun main() {
println("Hello, Kotlin/Native!")
}

View file

@ -0,0 +1,27 @@
package example
import org.luaj.vm2.LuaBoolean
import org.luaj.vm2.LuaValue
object Object {
val field = "A"
}
class Clazz {
fun memberFunction(p: Int): ULong = 42UL
}
fun forIntegers(b: Byte, s: Short, i: UInt, l: Long) {}
fun forFloats(f: Float, d: Double) {}
fun strings(str: String): String {
return "That is '$str' from C"
}
val globalString = "A global String"
fun testingLuaBooleanElephant() {
val b: LuaBoolean = LuaValue.TRUE
println(b)
}