Exemple #1
0
bool JSFunction::StaticHasInstanceCallback(JSContextRef ctx, JSObjectRef constructor,
        JSValueRef possibleInstance, JSValueRef* exception)
{
    JSFunction *thiz = (JSFunction *)getInstance(constructor);

    if (thiz) {
        return thiz->HasInstanceCallback(ctx,constructor,possibleInstance,exception);
    }
    return false;
}