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

Method connect_object

gi/object.cpp:2954–2960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2952}
2953
2954bool 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
2962static constexpr const char* connect_func_name(bool after, bool object) {
2963 if (object)

Callers 1

Calls 3

check_is_instanceMethod · 0.80
connect_implMethod · 0.80
to_instanceMethod · 0.80

Tested by

no test coverage detected