From 46f4e388d9391ed496649af1735bfee1460e897d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 17 Jun 2011 16:18:41 -0600 Subject: Fix up some Doxygen documentation. --- libdimension/dimension/refcount.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdimension/dimension/refcount.h') 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)) -- cgit v1.2.3