Scripting: Silence warnings

This commit is contained in:
Vicki Pfau 2023-08-10 12:03:15 -07:00
parent f96ba8c1aa
commit a4d8c433c6
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ CXX_GUARD_START
#include <mgba-util/table.h>
#include <mgba-util/vfs.h>
#define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, VALUE }
#define mSCRIPT_KV_PAIR(KEY, VALUE) { #KEY, (struct mScriptValue*) VALUE }
#define mSCRIPT_CONSTANT_PAIR(NS, CONST) { #CONST, mScriptValueCreateFromSInt(NS ## _ ## CONST) }
#define mSCRIPT_KV_SENTINEL { NULL, NULL }