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

Function gjs_context_set_argv

gjs/context.cpp:1769–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1767}
1768
1769void gjs_context_set_argv(GjsContext* self, ssize_t array_length,
1770 const char** array_values) {
1771 g_return_if_fail(GJS_IS_CONTEXT(self));
1772 GjsContextPrivate* gjs = GjsContextPrivate::from_object(self);
1773 std::vector<std::string> args(array_values, array_values + array_length);
1774 gjs->set_args(std::move(args));
1775}
1776
1777static GjsContext* current_context;
1778

Callers 1

Calls 1

set_argsMethod · 0.80

Tested by

no test coverage detected