| 828 | |
| 829 | |
| 830 | Dynamic __Run(const Array<Dynamic> &inArgs) HXCPP_OVERRIDE |
| 831 | { |
| 832 | CppiaCtx *ctx = CppiaCtx::getCurrent(); |
| 833 | |
| 834 | AutoStack a(ctx); |
| 835 | ctx->pointer += sizeof(hx::Object *); |
| 836 | |
| 837 | int haveArgs = !inArgs.mPtr ? 0 : inArgs->length; |
| 838 | if (haveArgs>function->argCount) |
| 839 | throw sInvalidArgCount; |
| 840 | |
| 841 | for(int a=0; a<haveArgs; a++) |
| 842 | pushArgDynamic(ctx,a,inArgs[a]); |
| 843 | |
| 844 | return doRun(ctx,haveArgs); |
| 845 | } |
| 846 | |
| 847 | #if (HXCPP_API_LEVEL<500) |
| 848 | Dynamic __run() HXCPP_OVERRIDE |
no outgoing calls
no test coverage detected