mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 13:11:32 +00:00
ffi: java interop improvements
This commit is contained in:
@ -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