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

Method out

gi/arg-cache.cpp:249–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248
249 static bool out(JSContext* cx, GITypeTag element_tag, GIArgument* arg,
250 JS::MutableHandleValue value) {
251 return gjs_array_from_basic_zero_terminated_array(
252 cx, value, element_tag, gjs_arg_get<void*>(arg));
253 }
254
255 static void release_container(GIArgument* arg) {
256 g_clear_pointer(&gjs_arg_member<void*>(arg), g_free);

Callers

nothing calls this directly

Tested by

no test coverage detected