mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Make casts work again properly (bug #3155)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -60,12 +60,12 @@ extern "C" {
|
||||
ASTOBJ_COMPONENTS_NOLOCK_FULL(type,ASTOBJ_DEFAULT_NAMELEN,1)
|
||||
|
||||
#define ASTOBJ_COMPONENTS(type) \
|
||||
ast_mutex_t _lock; \
|
||||
ASTOBJ_COMPONENTS_NOLOCK(type)
|
||||
ASTOBJ_COMPONENTS_NOLOCK(type); \
|
||||
ast_mutex_t _lock;
|
||||
|
||||
#define ASTOBJ_COMPONENTS_FULL(type,namelen,hashes) \
|
||||
ast_mutex_t _lock; \
|
||||
ASTOBJ_COMPONENTS_NOLOCK_FULL(type,namelen,hashes)
|
||||
ASTOBJ_COMPONENTS_NOLOCK_FULL(type,namelen,hashes); \
|
||||
ast_mutex_t _lock;
|
||||
|
||||
#define ASTOBJ_REF(object) \
|
||||
({ \
|
||||
|
Reference in New Issue
Block a user