summaryrefslogtreecommitdiff
path: root/src/js.h
diff options
context:
space:
mode:
authorportix <none@none>2013-02-25 23:26:57 +0100
committerportix <none@none>2013-02-25 23:26:57 +0100
commit4e3bfa50e15b7fb0b5554d8f01f366433f0aed6b (patch)
tree877313b7301889681a4d67208dd5f69280d18249 /src/js.h
parent1ff3a8bc3ad4b5cdc6cb9da31172a4eb01f4b794 (diff)
downloaddwb-4e3bfa50e15b7fb0b5554d8f01f366433f0aed6b.zip
Fixing scope of callback functions, print sourceURL in js_print_exception
Diffstat (limited to 'src/js.h')
-rw-r--r--src/js.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js.h b/src/js.h
index ac430bfb..1a33fa50 100644
--- a/src/js.h
+++ b/src/js.h
@@ -34,8 +34,8 @@ char * js_call_as_function(WebKitWebFrame *, JSObjectRef, const char *string, co
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);
-gboolean js_print_exception(JSContextRef ctx, JSValueRef exception);
-JSObjectRef js_make_function(JSContextRef ctx, const char *script);
+gboolean js_print_exception(JSContextRef ctx, JSValueRef exception, char *buffer, size_t bs, int *line);
+JSObjectRef js_make_function(JSContextRef ctx, const char *script, const char *path, int line);
JSValueRef js_json_to_value(JSContextRef ctx, const char *text);
JSValueRef js_context_change(JSContextRef, JSContextRef, JSValueRef, JSValueRef *);
JSObjectRef js_value_to_function(JSContextRef, JSValueRef, JSValueRef *);