| 16 | #define HXCPP_CPPIA_SUPER_ARG(x) , (x) |
| 17 | |
| 18 | struct ScriptNamedFunction : public ScriptFunction |
| 19 | { |
| 20 | ScriptNamedFunction(const ScriptFunction &s) : ScriptFunction(s), name(0), isStatic(false), superExecute(0) { } |
| 21 | |
| 22 | #if (HXCPP_API_LEVEL >= 500) |
| 23 | ScriptNamedFunction(const char *inName=0,StackExecute inExe=0,const char *inSig=0, bool inIsStatic=false, StackExecute superExecute=0, bool inIsOverride=false) |
| 24 | : ScriptFunction(inExe, inSig), name(inName), isStatic(inIsStatic), isOverride(inIsOverride), superExecute(superExecute) { } |
| 25 | #else |
| 26 | ScriptNamedFunction(const char *inName=0,StackExecute inExe=0,const char *inSig=0, bool inIsStatic=false, StackExecute superExecute=0) |
| 27 | : ScriptFunction(inExe, inSig), name(inName), isStatic(inIsStatic), superExecute(superExecute) { } |
| 28 | #endif |
| 29 | |
| 30 | const char *name; |
| 31 | bool isStatic; |
| 32 | #if (HXCPP_API_LEVEL >= 500) |
| 33 | bool isOverride; |
| 34 | #endif |
| 35 | StackExecute superExecute; |
| 36 | }; |
| 37 | |
| 38 | |
| 39 | inline void SetFloatAligned(void *inPtr, const Float &inValue) |
no outgoing calls
no test coverage detected