Factorize code so that _DEF macros use _DEF_AS ones
This commit is contained in:
1 parent
d12b1edc39
commit
25497bd96f
18 files changed
+61
-185
No files matched your search
+1
-3
@@ -40,9 +40,7 @@
|
||||
NOTE: Can not use m-list since it may be expanded from LIST_DEF
|
||||
*/
|
||||
#define MEMPOOL_DEF(name, type) \
|
||||
M_BEGIN_PROTECTED_CODE \
|
||||
MEMPOOL_DEF_P2(name, type, M_C(name, _t) ) \
|
||||
M_END_PROTECTED_CODE
|
||||
MEMPOOL_DEF_AS(name, M_C(name,_t), type)
|
||||
|
||||
|
||||
/* Fast Fixed Size thread unsafe allocator based on memory region.
|
||||
|
||||
Reference in new issue
Block a user