mirror of
https://github.com/libretro/mgba.git
synced 2025-02-18 14:48:02 +00:00
Scripting: Silence warnings
This commit is contained in:
parent
f96ba8c1aa
commit
a4d8c433c6
@ -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 }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user