mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix missing 'arguments' parameter to stub macro
This commit is contained in:
parent
cb4a037433
commit
904352498c
@ -25,14 +25,14 @@ namespace VScriptCode
|
||||
|
||||
void Script_RegisterCommonAbstractions(CSquirrelVM* s);
|
||||
|
||||
#define DEFINE_SCRIPTFUNC_STUBBED(s, functionName, returnType) \
|
||||
s->RegisterFunction(#functionName, MKSTRING(Script_##functionName), \
|
||||
"Stub function; not supported on this build.", #returnType, "", \
|
||||
&VScriptCode::Shared::StubUnsupported); \
|
||||
#define DEFINE_SCRIPTFUNC_STUBBED(s, functionName, returnType, parameters) \
|
||||
s->RegisterFunction(#functionName, MKSTRING(Script_##functionName), \
|
||||
"Stub function; not supported on this build.", #returnType, parameters, \
|
||||
&VScriptCode::Shared::StubUnsupported); \
|
||||
|
||||
#define DEFINE_SHARED_SCRIPTFUNC_NAMED(s, functionName, helpString, \
|
||||
returnType, parameters) \
|
||||
s->RegisterFunction(#functionName, MKSTRING(Script_##functionName), \
|
||||
#define DEFINE_SHARED_SCRIPTFUNC_NAMED(s, functionName, helpString, \
|
||||
returnType, parameters) \
|
||||
s->RegisterFunction(#functionName, MKSTRING(Script_##functionName), \
|
||||
helpString, returnType, parameters, VScriptCode::Shared::##functionName);\
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user