summaryrefslogtreecommitdiff
path: root/src/js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/js.h')
-rw-r--r--src/js.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js.h b/src/js.h
index 9fe6fd7b..d0aa51e2 100644
--- a/src/js.h
+++ b/src/js.h
@@ -38,6 +38,7 @@ gboolean js_print_exception(JSContextRef ctx, JSValueRef exception);
JSObjectRef js_make_function(JSContextRef ctx, const char *script);
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 *);
typedef struct _js_array_iterator {
JSContextRef ctx;