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

Method emit

gi/object.cpp:3043–3049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3041}
3042
3043bool ObjectBase::emit(JSContext* cx, unsigned argc, JS::Value* vp) {
3044 GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv);
3045 if (!priv->check_is_instance(cx, "emit signal"))
3046 return false;
3047
3048 return priv->to_instance()->emit_impl(cx, args);
3049}
3050
3051bool ObjectInstance::emit_impl(JSContext* cx, const JS::CallArgs& args) {
3052 GQuark signal_detail;

Callers

nothing calls this directly

Calls 3

check_is_instanceMethod · 0.80
emit_implMethod · 0.80
to_instanceMethod · 0.80

Tested by

no test coverage detected