diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-12-14 19:51:25 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-12-15 20:02:12 -0500 |
commit | 6b94e0329841ed8e80dbb55a3f8c2eee41b3168b (patch) | |
tree | f4f5b2b8519744475c05ce4ba813740dcc1db4b8 /libdimension/refcount-internal.h | |
parent | bfbe9e43e108f6816c17b9b7764b75284ac78313 (diff) | |
download | dimension-6b94e0329841ed8e80dbb55a3f8c2eee41b3168b.tar.xz |
Make refcount declarations uniform.
Diffstat (limited to 'libdimension/refcount-internal.h')
-rw-r--r-- | libdimension/refcount-internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |