Revert "ast_usecount macro for convenience"

This reverts commit e86c8ff0eb.
This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-18 16:20:36 +02:00
parent d4587e5667
commit 5b2d99bc99

1
ast.h
View file

@ -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 \