Skip to content

Commit e378ab7

Browse files
committed
[cppia] Swap scriptable func argument order
This way is a bit more backwards compatible. An overridden method will always have a super version provided.
1 parent f3209b6 commit e378ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/hx/Scriptable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct ScriptNamedFunction : public ScriptFunction
2020
ScriptNamedFunction(const ScriptFunction &s) : ScriptFunction(s), name(0), isStatic(false), superExecute(0) { }
2121

2222
#if (HXCPP_API_LEVEL >= 500)
23-
ScriptNamedFunction(const char *inName=0,StackExecute inExe=0,const char *inSig=0, bool inIsStatic=false, bool inIsOverride=false, StackExecute superExecute=0)
23+
ScriptNamedFunction(const char *inName=0,StackExecute inExe=0,const char *inSig=0, bool inIsStatic=false, StackExecute superExecute=0, bool inIsOverride=false)
2424
: ScriptFunction(inExe, inSig), name(inName), isStatic(inIsStatic), isOverride(inIsOverride), superExecute(superExecute) { }
2525
#else
2626
ScriptNamedFunction(const char *inName=0,StackExecute inExe=0,const char *inSig=0, bool inIsStatic=false, StackExecute superExecute=0)

0 commit comments

Comments
 (0)