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

Function gjs_add_interface

gi/private.cpp:315–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315static inline void gjs_add_interface(GType instance_type,
316 GType interface_type) {
317 static GInterfaceInfo interface_vtable{nullptr, nullptr, nullptr};
318 g_type_add_interface_static(instance_type, interface_type,
319 &interface_vtable);
320}
321
322GJS_JSAPI_RETURN_CONVENTION
323static bool gjs_register_type_impl(JSContext* cx, const char* name,

Callers 1

gjs_register_type_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected