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

Method invoke_constructor_uncached

gi/function.cpp:183–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 GIArgument* r_value = nullptr);
182
183 GJS_JSAPI_RETURN_CONVENTION
184 static bool invoke_constructor_uncached(JSContext* cx,
185 const GI::FunctionInfo& info,
186 JS::HandleObject obj,
187 const JS::CallArgs& args,
188 GIArgument* rvalue) {
189 Function function(info);
190 if (!function.init(cx))
191 return false;
192 return function.invoke(cx, args, obj, rvalue);
193 }
194};
195
196} // namespace Gjs

Callers

nothing calls this directly

Calls 2

initMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected