| 1103 | set_inout_parameter(state, arg); |
| 1104 | } |
| 1105 | bool release(JSContext*, GjsFunctionCallState* state, |
| 1106 | GIArgument* in_arg [[maybe_unused]], |
| 1107 | GIArgument* out_arg) override { |
| 1108 | GIArgument* original_out_arg = |
| 1109 | &(state->inout_original_cvalue(m_arg_pos)); |
| 1110 | if (m_transfer != GI_TRANSFER_EVERYTHING) |
| 1111 | gjs_gi_argument_release_byte_array(original_out_arg); |
| 1112 | if (m_transfer != GI_TRANSFER_NOTHING) |
| 1113 | gjs_gi_argument_release_byte_array(out_arg); |
| 1114 | return true; |
| 1115 | } |
| 1116 | }; |
| 1117 | |
| 1118 | struct ExplicitArrayBase : BasicTypeContainerReturn, ExplicitArray { |
nothing calls this directly
no test coverage detected