ffi: java interop improvements

This commit is contained in:
2023-09-07 18:16:47 -07:00
parent a2f2252965
commit 38efbe1844
8 changed files with 126 additions and 36 deletions

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*"