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

Method constructor

gi/interface.h:61–66  ·  view source on GitHub ↗

Overrides GIWrapperBase::constructor().

Source from the content-addressed store, hash-verified

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*);

Callers

nothing calls this directly

Tested by

no test coverage detected