ffi: java interop improvements

This commit is contained in:
alex committed 2023-09-07 18:16:47 -07:00
1 parent a2f2252965
commit 38efbe1844
8 files changed
+126 -36

No files matched your search

+5 -2
View File
@@ -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*"