| 1767 | } |
| 1768 | |
| 1769 | void 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 | |
| 1777 | static GjsContext* current_context; |
| 1778 |
no test coverage detected