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

Method release

gi/arg-cache.cpp:734–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732 using BasicTypeInOut::BasicTypeInOut;
733
734 bool release(JSContext* cx, GjsFunctionCallState* state, GIArgument* in_arg,
735 GIArgument* out_arg) override {
736 if (!BasicTypeInOut::release(cx, state, in_arg, out_arg))
737 return false;
738
739 if (m_transfer != GI_TRANSFER_NOTHING)
740 gjs_gi_argument_release_basic(m_transfer, m_tag, flags(), out_arg);
741
742 return true;
743 }
744};
745
746struct ErrorIn : SkipAll, Transferable, Nullable {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected