| 50 | } |
| 51 | |
| 52 | bool 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 | |
| 58 | bool gjs_wrapper_throw_readonly_field(JSContext* cx, GType gtype, |
| 59 | const char* field_name) { |
no test coverage detected