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, 2 insertions, 1 deletions
diff --git a/gi/function.h b/gi/function.h
index c875ecbd..b9ee87be 100644
--- a/gi/function.h
+++ b/gi/function.h
@@ -79,7 +79,8 @@ struct GjsCallbackTrampoline : public Gjs::Closure {
GObject* gobject, JS::MutableHandleValue rval,
GIArgument** args, GITypeInfo* ret_type,
int n_args, int c_args_offset, void* result);
- void warn_about_illegal_js_callback(const char* when, const char* reason);
+ void warn_about_illegal_js_callback(const char* when, const char* reason,
+ bool dump_stack);
static std::vector<GjsAutoGClosure> s_forever_closure_list;