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

Function gjs_context_register_module

gjs/context.cpp:1298–1305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296}
1297
1298bool gjs_context_register_module(GjsContext* self, const char* identifier,
1299 const char* uri, GError** error) {
1300 g_return_val_if_fail(GJS_IS_CONTEXT(self), false);
1301
1302 GjsContextPrivate* gjs = GjsContextPrivate::from_object(self);
1303
1304 return result_to_c(gjs->register_module(identifier, uri), error);
1305}
1306
1307bool GjsContextPrivate::auto_profile_enter() {
1308 bool auto_profile = m_should_profile;

Calls 2

result_to_cFunction · 0.85
register_moduleMethod · 0.80