| 313 | } |
| 314 | |
| 315 | static 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 | |
| 322 | GJS_JSAPI_RETURN_CONVENTION |
| 323 | static bool gjs_register_type_impl(JSContext* cx, const char* name, |
no outgoing calls
no test coverage detected