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

Function gjs_value_from_explicit_array

gi/arg.cpp:2584–2591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2582}
2583
2584bool gjs_value_from_explicit_array(
2585 JSContext* cx, JS::MutableHandleValue value_p,
2586 const GI::TypeInfo& type_info, GIArgument* arg, size_t length,
2587 GITransfer transfer /* = GI_TRANSFER_EVERYTHING */) {
2588 return gjs_array_from_carray_internal(cx, value_p, type_info.array_type(),
2589 type_info.element_type(), transfer,
2590 length, gjs_arg_get<void*>(arg));
2591}
2592
2593bool gjs_value_from_basic_explicit_array(JSContext* cx,
2594 JS::MutableHandleValue value_out,

Callers 4

outMethod · 0.85
field_getter_implMethod · 0.85

Calls 3

array_typeMethod · 0.80
element_typeMethod · 0.80

Tested by

no test coverage detected