mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-12-18 20:30:20 +00:00
vm: very basic virtual machine
This commit is contained in:
@@ -34,7 +34,7 @@ object PorkStdlib : ContentSource {
|
||||
return StringCharSource(readPorkFile(path))
|
||||
}
|
||||
|
||||
override fun stableContentIdentity(path: String): String {
|
||||
override fun stableContentPath(path: String): String {
|
||||
return path
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export func ffiStructDefine(items...)
|
||||
native ffi "internal" "ffiStructDefine"
|
||||
|
||||
export func ffiStructAllocate(struct)
|
||||
export func ffiStructAllocate(def)
|
||||
native ffi "internal" "ffiStructAllocate"
|
||||
|
||||
export func ffiStructValue(def, field, value)
|
||||
|
||||
Reference in New Issue
Block a user