| 3041 | } |
| 3042 | |
| 3043 | bool 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 | |
| 3051 | bool ObjectInstance::emit_impl(JSContext* cx, const JS::CallArgs& args) { |
| 3052 | GQuark signal_detail; |
nothing calls this directly
no test coverage detected