summaryrefslogtreecommitdiffstats
path: root/JavaScriptGlue/JSObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptGlue/JSObject.cpp')
-rw-r--r--JavaScriptGlue/JSObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/JavaScriptGlue/JSObject.cpp b/JavaScriptGlue/JSObject.cpp
index ba970a5..1d50bce 100644
--- a/JavaScriptGlue/JSObject.cpp
+++ b/JavaScriptGlue/JSObject.cpp
@@ -73,7 +73,8 @@ void JSUserObject::SetProperty(CFStringRef propertyName, JSUserObject* value)
}
-static JSValuePtr nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValuePtr thisValue, const ArgList& args)
+static JSValue JSC_HOST_CALL nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& args);
+static JSValue nativeCallFunction(ExecState* exec, JSObject* functionObject, JSValue thisValue, const ArgList& args)
{
return static_cast<UserObjectImp*>(functionObject)->callAsFunction(exec, asObject(thisValue), args);
}