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

Method instance

gi/arg-cache.h:278–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 }
277
278 [[nodiscard]]
279 constexpr mozilla::Maybe<Argument*> instance() const {
280 if (!m_is_method)
281 return {};
282
283 return mozilla::Some(arg_get<Arg::Kind::INSTANCE>().get());
284 }
285
286 [[nodiscard]]
287 constexpr mozilla::Maybe<Argument*> return_value() const {

Callers 2

invokeMethod · 0.45
finish_invokeMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected