| 1544 | return set_out_parameter(state, arg); |
| 1545 | }; |
| 1546 | bool out(JSContext* cx, GjsFunctionCallState* state, GIArgument* arg, |
| 1547 | JS::MutableHandleValue value) override { |
| 1548 | GIArgument* length_arg = &(state->out_cvalue(m_length_pos)); |
| 1549 | size_t length = gjs_gi_argument_get_array_length(m_tag, length_arg); |
| 1550 | |
| 1551 | return gjs_value_from_basic_explicit_array(cx, value, m_element_tag, |
| 1552 | arg, length); |
| 1553 | } |
| 1554 | bool release(JSContext*, GjsFunctionCallState* state, |
| 1555 | [[maybe_unused]] GIArgument* in_arg, |
| 1556 | GIArgument* out_arg) override { |
nothing calls this directly
no test coverage detected