| 2936 | } |
| 2937 | |
| 2938 | bool ObjectBase::connect(JSContext* cx, unsigned argc, JS::Value* vp) { |
| 2939 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); |
| 2940 | if (!priv->check_is_instance(cx, "connect to signals")) |
| 2941 | return false; |
| 2942 | |
| 2943 | return priv->to_instance()->connect_impl(cx, args, false); |
| 2944 | } |
| 2945 | |
| 2946 | bool ObjectBase::connect_after(JSContext* cx, unsigned argc, JS::Value* vp) { |
| 2947 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); |
nothing calls this directly
no test coverage detected