Exemplo n.º 1
0
JSValueRef JSFunction::StaticFunctionCallback(JSContextRef ctx, JSObjectRef function, JSObjectRef thisObject,
        size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
    JSFunction *thiz = (JSFunction *)getInstance(function);

    if (thiz) {
        return thiz->FunctionCallback(ctx,function,thisObject,argumentCount,arguments,exception);
    }
    return NULL;
}