From 6b94e0329841ed8e80dbb55a3f8c2eee41b3168b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 14 Dec 2011 19:51:25 -0500 Subject: Make refcount declarations uniform. --- libdimension/refcount-internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdimension/refcount-internal.h') diff --git a/libdimension/refcount-internal.h b/libdimension/refcount-internal.h index c2321c9..5ae5d58 100644 --- a/libdimension/refcount-internal.h +++ b/libdimension/refcount-internal.h @@ -29,4 +29,5 @@ * @return Whether the object is now garbage. */ #define DMNSN_DECREF(object) \ - ((object) && ((object)->refcount == 0 || --(object)->refcount == 0)) + ((object) && ((object)->DMNSN_REFCOUNT_NAME == 0 \ + || --(object)->DMNSN_REFCOUNT_NAME == 0)) -- cgit v1.2.3