]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Revert "ast_usecount macro for convenience"
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:20:36 +0000 (16:20 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:20:36 +0000 (16:20 +0200)
This reverts commit e86c8ff0eb55b40c5a30accd5915be3a9b08e784.

ast.h

diff --git a/ast.h b/ast.h
index 7f2f7266cbad16b23d83e8c025246b0616399a88..4f26742ba50b7d59bbccf51d2b59b43a4c6acfa6 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -87,7 +87,6 @@ typedef struct
 
 #define ast_use(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_unref(x) do                     \