language: prepare for struct support

This commit is contained in:
2023-11-06 21:37:27 -08:00
parent e3bfa3fbfc
commit 8c48c93663
18 changed files with 42 additions and 41 deletions

View File

@ -4,8 +4,8 @@ export func ffiStructDefine(items...)
export func ffiStructAllocate(struct)
native ffi "internal" "ffiStructAllocate"
export func ffiStructValue(struct, field, value)
export func ffiStructValue(def, field, value)
native ffi "internal" "ffiStructValue"
export func ffiStructBytes(struct, value)
export func ffiStructBytes(def, value)
native ffi "internal" "ffiStructBytes"