Overrides GIWrapperBase::constructor().
| 59 | |
| 60 | // Overrides GIWrapperBase::constructor(). |
| 61 | GJS_JSAPI_RETURN_CONVENTION |
| 62 | static bool constructor(JSContext* cx, unsigned argc, JS::Value* vp) { |
| 63 | JS::CallArgs args = JS::CallArgsFromVp(argc, vp); |
| 64 | gjs_throw_abstract_constructor_error(cx, args); |
| 65 | return false; |
| 66 | } |
| 67 | |
| 68 | GJS_JSAPI_RETURN_CONVENTION |
| 69 | static bool has_instance(JSContext*, unsigned, JS::Value*); |
nothing calls this directly
no test coverage detected