mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add ::use_count() method to InvalidationRecord
This commit is contained in:
parent
9a2450cafc
commit
342c112ae3
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ public:
|
|||
void ref () { g_atomic_int_inc (&_ref); }
|
||||
void unref () { g_atomic_int_dec_and_test (&_ref); }
|
||||
bool in_use () { return g_atomic_int_get (&_ref) > 0; }
|
||||
int use_count () { return g_atomic_int_get (&_ref); }
|
||||
};
|
||||
|
||||
static void* invalidate_request (void* data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue