|
@@ -750,7 +750,7 @@ HL_API void hl_throw_buffer( hl_buffer *b );
|
|
// ----------------------- FFI ------------------------------------------------------
|
|
// ----------------------- FFI ------------------------------------------------------
|
|
|
|
|
|
// match GNU C++ mangling
|
|
// match GNU C++ mangling
|
|
-#define TYPE_STR "vcsilfdbBDPOATR??X?N"
|
|
|
|
|
|
+#define TYPE_STR "vcsilfdbBDPOATR??X?N?S"
|
|
|
|
|
|
#undef _VOID
|
|
#undef _VOID
|
|
#define _NO_ARG
|
|
#define _NO_ARG
|
|
@@ -772,6 +772,7 @@ HL_API void hl_throw_buffer( hl_buffer *b );
|
|
#define _ABSTRACT(name) "X" #name "_"
|
|
#define _ABSTRACT(name) "X" #name "_"
|
|
#undef _NULL
|
|
#undef _NULL
|
|
#define _NULL(t) "N" t
|
|
#define _NULL(t) "N" t
|
|
|
|
+#define _STRUCT "S"
|
|
|
|
|
|
#undef _STRING
|
|
#undef _STRING
|
|
#define _STRING _OBJ(_BYTES _I32)
|
|
#define _STRING _OBJ(_BYTES _I32)
|