summaryrefslogtreecommitdiff
path: root/gi/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'gi/function.h')
-rw-r--r--gi/function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gi/function.h b/gi/function.h
index 498b5481..c173b316 100644
--- a/gi/function.h
+++ b/gi/function.h
@@ -157,4 +157,7 @@ bool gjs_invoke_constructor_from_c(JSContext* cx, GIFunctionInfo* info,
const JS::CallArgs& args,
GIArgument* rvalue);
+bool gjs_is_function(JSContext* cx, JS::HandleObject function_object);
+bool gjs_function_to_callback(JSContext* cx, JS::HandleObject function_object,
+ GICallbackInfo* info, GCallback* func_pointer);
#endif // GI_FUNCTION_H_