No-op unless GJS_VERBOSE_ENABLE_LIFECYCLE is defined to 1.
| 19 | |
| 20 | // No-op unless GJS_VERBOSE_ENABLE_LIFECYCLE is defined to 1. |
| 21 | inline void debug(const char* did GJS_USED_VERBOSE_LIFECYCLE, |
| 22 | const ObjectInstance* object GJS_USED_VERBOSE_LIFECYCLE) { |
| 23 | gjs_debug_lifecycle(GJS_DEBUG_GOBJECT, "ToggleQueue %s %p (%s @ %p)", did, |
| 24 | object, object ? g_type_name(object->gtype()) : "", |
| 25 | object ? object->ptr() : nullptr); |
| 26 | } |
| 27 | |
| 28 | void ToggleQueue::lock() { |
| 29 | auto holding_thread = std::thread::id(); |
no test coverage detected