summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/refcount.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-06-17 16:18:41 -0600
committerTavian Barnes <tavianator@gmail.com>2011-06-17 16:18:41 -0600
commit46f4e388d9391ed496649af1735bfee1460e897d (patch)
treedc387478284947b79a484e22066ecce31610366f /libdimension/dimension/refcount.h
parentc04e1953131c312a9666d1b5b1ba11c62491c046 (diff)
downloaddimension-46f4e388d9391ed496649af1735bfee1460e897d.tar.xz
Fix up some Doxygen documentation.
Diffstat (limited to 'libdimension/dimension/refcount.h')
-rw-r--r--libdimension/dimension/refcount.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/dimension/refcount.h b/libdimension/dimension/refcount.h
index be437a8..5ffde4c 100644
--- a/libdimension/dimension/refcount.h
+++ b/libdimension/dimension/refcount.h
@@ -32,7 +32,7 @@ typedef unsigned int dmnsn_refcount;
* Increment a reference count.
* @param[in,out] object The reference-counted object to acquire.
*/
-#define DMNSN_INCREF(obj) ((void)((obj) && ++(obj)->refcount))
+#define DMNSN_INCREF(object) ((void)((object) && ++(object)->refcount))
/**
* @internal
@@ -40,5 +40,5 @@ typedef unsigned int dmnsn_refcount;
* @param[in,out] object The reference-counted object to release.
* @return Whether the object is now garbage.
*/
-#define DMNSN_DECREF(obj) \
- ((obj) && ((obj)->refcount == 0 || --(obj)->refcount == 0))
+#define DMNSN_DECREF(object) \
+ ((object) && ((object)->refcount == 0 || --(object)->refcount == 0))