summaryrefslogtreecommitdiff
path: root/src/js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/js.h')
-rw-r--r--src/js.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js.h b/src/js.h
index 40dbdd2e..9fe6fd7b 100644
--- a/src/js.h
+++ b/src/js.h
@@ -30,7 +30,7 @@ void js_set_object_number_property(JSContextRef ctx, JSObjectRef arg, const char
char * js_get_string_property(JSContextRef ctx, JSObjectRef arg, const char *name);
double js_get_double_property(JSContextRef ctx, JSObjectRef arg, const char *name);
JSObjectRef js_create_object(WebKitWebFrame *, const char *);
-char * js_call_as_function(WebKitWebFrame *, JSObjectRef, const char *string, const char *args, char **char_ret);
+char * js_call_as_function(WebKitWebFrame *, JSObjectRef, const char *string, const char *args, JSType, char **char_ret);
JSValueRef js_char_to_value(JSContextRef ctx, const char *text);
char * js_value_to_json(JSContextRef ctx, JSValueRef value, size_t limit, JSValueRef *exc);
JSValueRef js_execute(JSContextRef ctx, const char *, JSValueRef *exc);