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

Function gjs_wrapper_throw_nonexistent_field

gi/wrapperutils.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool gjs_wrapper_throw_nonexistent_field(JSContext* cx, GType gtype,
53 const char* field_name) {
54 gjs_throw(cx, "No property %s on %s", field_name, g_type_name(gtype));
55 return false;
56}
57
58bool gjs_wrapper_throw_readonly_field(JSContext* cx, GType gtype,
59 const char* field_name) {

Callers 2

props_to_g_parametersMethod · 0.85

Calls 1

gjs_throwFunction · 0.85

Tested by

no test coverage detected