| 2952 | } |
| 2953 | |
| 2954 | bool ObjectBase::connect_object(JSContext* cx, unsigned argc, JS::Value* vp) { |
| 2955 | GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, args, obj, ObjectBase, priv); |
| 2956 | if (!priv->check_is_instance(cx, "connect to signals")) |
| 2957 | return false; |
| 2958 | |
| 2959 | return priv->to_instance()->connect_impl(cx, args, false, true); |
| 2960 | } |
| 2961 | |
| 2962 | static constexpr const char* connect_func_name(bool after, bool object) { |
| 2963 | if (object) |
no test coverage detected