diff --git a/include/mgba/script/macros.h b/include/mgba/script/macros.h index e350b4d5d..ddafe20fb 100644 --- a/include/mgba/script/macros.h +++ b/include/mgba/script/macros.h @@ -84,7 +84,9 @@ CXX_GUARD_START extern const struct mScriptType mSTStruct_ ## STRUCT; \ extern const struct mScriptType mSTStructConst_ ## STRUCT; \ extern const struct mScriptType mSTStructPtr_ ## STRUCT; \ - extern const struct mScriptType mSTStructPtrConst_ ## STRUCT; + extern const struct mScriptType mSTStructPtrConst_ ## STRUCT; \ + extern const struct mScriptType mSTWrapper_ ## STRUCT; \ + extern const struct mScriptType mSTWrapperConst_ ## STRUCT; #define mSCRIPT_DEFINE_STRUCT(STRUCT) \ const struct mScriptType mSTStruct_ ## STRUCT; \