*made _ref_count_t
customizable.
This commit is contained in:
parent
9a2d88d304
commit
ba0c115baa
@ -404,7 +404,9 @@ typedef void (* _unref_func_t)(struct _ref_t*, void*);
|
||||
|
||||
#define _NONE_REF 1
|
||||
|
||||
#ifndef _ref_count_t
|
||||
typedef unsigned _ref_count_t;
|
||||
#endif /* _ref_count_t */
|
||||
|
||||
/* The reference structure should be always at the head of an object */
|
||||
typedef struct _ref_t {
|
||||
|
@ -301,7 +301,7 @@ extern "C" {
|
||||
#endif /* mb_unrefvar */
|
||||
|
||||
#ifndef mb_mem_tag_t
|
||||
typedef unsigned short mb_mem_tag_t;
|
||||
typedef unsigned short mb_mem_tag_t;
|
||||
#endif /* mb_mem_tag_t */
|
||||
|
||||
#ifndef mb_bytes_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user