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

Function get_argument_for_arg_info

gi/function.cpp:415–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415inline GIArgument* get_argument_for_arg_info(const GI::ArgInfo& arg_info,
416 GIArgument** args, int index) {
417 if (!arg_info.caller_allocates())
418 return *reinterpret_cast<GIArgument**>(args[index]);
419 return args[index];
420}
421
422bool GjsCallbackTrampoline::callback_closure_inner(
423 JSContext* cx, JS::HandleObject this_object, GObject* gobject,

Callers 1

Calls 1

caller_allocatesMethod · 0.80

Tested by

no test coverage detected