mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
Revert "ast_usecount macro for convenience"
This reverts commit e86c8ff0eb
.
This commit is contained in:
parent
d4587e5667
commit
5b2d99bc99
1 changed files with 0 additions and 1 deletions
1
ast.h
1
ast.h
|
@ -87,7 +87,6 @@ typedef struct
|
||||||
|
|
||||||
#define ast_use(n) ((ast_node*)(n))->node.uses++
|
#define ast_use(n) ((ast_node*)(n))->node.uses++
|
||||||
#define ast_unuse(n) ((ast_node*)(n))->node.uses--
|
#define ast_unuse(n) ((ast_node*)(n))->node.uses--
|
||||||
#define ast_usecount(n) (((ast_node*)(n))->node.uses)
|
|
||||||
|
|
||||||
#define ast_delete(x) ( ( (ast_node*)(x) ) -> node.destroy )((ast_node*)(x))
|
#define ast_delete(x) ( ( (ast_node*)(x) ) -> node.destroy )((ast_node*)(x))
|
||||||
#define ast_unref(x) do \
|
#define ast_unref(x) do \
|
||||||
|
|
Loading…
Reference in a new issue