diff options
Diffstat (limited to 'Alc/uintmap.h')
-rw-r--r-- | Alc/uintmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/uintmap.h b/Alc/uintmap.h index 6fc1190e..611ed39b 100644 --- a/Alc/uintmap.h +++ b/Alc/uintmap.h @@ -14,6 +14,8 @@ typedef struct UIntMap { ALsizei limit; RWLock lock; } UIntMap; +#define UINTMAP_STATIC_INITIALIZE_N(_n) { NULL, 0, 0, (_n), RWLOCK_STATIC_INITIALIZE } +#define UINTMAP_STATIC_INITIALIZE UINTMAP_STATIC_INITIALIZE_N(~0) void InitUIntMap(UIntMap *map, ALsizei limit); void ResetUIntMap(UIntMap *map); |