*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
|
#define _NONE_REF 1
|
||||||
|
|
||||||
|
#ifndef _ref_count_t
|
||||||
typedef unsigned _ref_count_t;
|
typedef unsigned _ref_count_t;
|
||||||
|
#endif /* _ref_count_t */
|
||||||
|
|
||||||
/* The reference structure should be always at the head of an object */
|
/* The reference structure should be always at the head of an object */
|
||||||
typedef struct _ref_t {
|
typedef struct _ref_t {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user