MCPcopy Create free account
hub / github.com/GNOME/gjs / gjs_wrapper_to_string_func

Function gjs_wrapper_to_string_func

gi/wrapperutils.h:58–67  ·  view source on GitHub ↗

Needed because some of the templates don't have Maybe as their info() type

Source from the content-addressed store, hash-verified

56
57// Needed because some of the templates don't have Maybe as their info() type
58GJS_JSAPI_RETURN_CONVENTION
59static inline bool gjs_wrapper_to_string_func(JSContext* cx, JSObject* this_obj,
60 const char* objtype,
61 const GI::BaseInfo& info,
62 GType gtype,
63 const void* native_address,
64 JS::MutableHandleValue ret) {
65 return gjs_wrapper_to_string_func(
66 cx, this_obj, objtype, mozilla::Some(info), gtype, native_address, ret);
67}
68
69bool gjs_wrapper_throw_nonexistent_field(JSContext*, GType,
70 const char* field_name);

Callers 2

to_stringMethod · 0.70
to_stringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected