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

Method in

gi/arg-cache.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 constexpr explicit ZeroTerminatedArray(const GI::TypeInfo&) {}
240
241 static bool in(JSContext* cx, GITypeTag element_tag, GIArgument* arg,
242 const char* arg_name, GjsArgumentFlags flags,
243 JS::HandleValue value) {
244 return gjs_value_to_basic_array_gi_argument(
245 cx, value, element_tag, GI_ARRAY_TYPE_C, arg, arg_name,
246 GJS_ARGUMENT_ARGUMENT, flags);
247 }
248
249 static bool out(JSContext* cx, GITypeTag element_tag, GIArgument* arg,
250 JS::MutableHandleValue value) {

Callers

nothing calls this directly

Tested by

no test coverage detected