mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-11-04 16:02:20 +00:00
ffi: java interop improvements
This commit is contained in:
8 files changed
+126
-36
No files matched your search
@@ -1,5 +1,8 @@
|
||||
export func malloc(size)
|
||||
native ffi "c:malloc:void*"
|
||||
native ffi "c:malloc:void*:size_t"
|
||||
|
||||
export func calloc(size, count)
|
||||
native ffi "c:calloc:void*:size_t,size_t"
|
||||
|
||||
export func free(pointer)
|
||||
native ffi "c:free:void"
|
||||
native ffi "c:free:void:void*"
|
||||
Reference in new issue
Block a user