mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
pork: it's got it all, ffi, state machine tokenizer, and better IDE support
This commit is contained in:
11
stdlib/src/main/pork/ffi/struct.pork
Normal file
11
stdlib/src/main/pork/ffi/struct.pork
Normal file
@ -0,0 +1,11 @@
|
||||
export func ffiStructDefine(items...)
|
||||
native ffi "internal" "ffiStructDefine"
|
||||
|
||||
export func ffiStructAllocate(struct)
|
||||
native ffi "internal" "ffiStructAllocate"
|
||||
|
||||
export func ffiStructValue(struct, field, value)
|
||||
native ffi "internal" "ffiStructValue"
|
||||
|
||||
export func ffiStructBytes(struct, value)
|
||||
native ffi "internal" "ffiStructBytes"
|
Reference in New Issue
Block a user