Esempio n. 1
0
 Dynamic __Run(const Array<Dynamic> &inArgs)
 {
    if (mArgCount!=-1 && mArgCount!=inArgs->length)
       throw HX_INVALID_ARG_COUNT;
    HX_STACK_FRAME("extern", "cffi",0,  "extern::cffi", __FILE__, __LINE__,0);
    return ((prim_mult)mProc)( (hx::Object **)inArgs->GetBase(), inArgs->length );
 }
Esempio n. 2
0
 Dynamic __Run(const Array<Dynamic> &inArgs)
 {
    HX_STACK_FRAME(EXTERN_CLASS_NAME, "cffi",0,  functionName, __FILE__, __LINE__,0);
    if (mArgCount!=-1 && mArgCount!=inArgs->length)
       throw HX_INVALID_ARG_COUNT;
    if (mProc==0) hx::Throw( HX_NULL_FUNCTION_POINTER );
    return ((prim_mult)mProc)( (hx::Object **)inArgs->GetBase(), inArgs->length );
 }