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/dimension/finish.h | |
parent | bfbe9e43e108f6816c17b9b7764b75284ac78313 (diff) | |
download | dimension-6b94e0329841ed8e80dbb55a3f8c2eee41b3168b.tar.xz |
Make refcount declarations uniform.
Diffstat (limited to 'libdimension/dimension/finish.h')
-rw-r--r-- | libdimension/dimension/finish.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdimension/dimension/finish.h b/libdimension/dimension/finish.h index 4ac9239..5ff6a2c 100644 --- a/libdimension/dimension/finish.h +++ b/libdimension/dimension/finish.h @@ -38,8 +38,8 @@ typedef dmnsn_color dmnsn_ambient_fn(const dmnsn_ambient *ambient, /** Ambient finish component. */ struct dmnsn_ambient { - dmnsn_color ambient; /**< Ambient light. */ - dmnsn_refcount refcount; /**< @internal Reference count. */ + dmnsn_color ambient; /**< Ambient light. */ + DMNSN_REFCOUNT; /**< Reference count. */ }; /** Allocate a dummy ambient component. */ @@ -69,7 +69,7 @@ struct dmnsn_diffuse { dmnsn_diffuse_fn *diffuse_fn; /**< Diffuse callback. */ dmnsn_free_fn *free_fn; /**< Destructor callback. */ void *ptr; /**< Generic data pointer. */ - dmnsn_refcount refcount; /**< @internal Reference count. */ + DMNSN_REFCOUNT; /**< Reference count. */ }; /** Allocate a dummy diffuse component. */ @@ -101,7 +101,7 @@ struct dmnsn_specular { dmnsn_specular_fn *specular_fn; /**< Specular callback. */ dmnsn_free_fn *free_fn; /**< Destructor callback. */ void *ptr; /**< Generic data pointer. */ - dmnsn_refcount refcount; /**< @internal Reference count. */ + DMNSN_REFCOUNT; /**< Reference count. */ }; /** Allocate a dummy specular component. */ @@ -131,7 +131,7 @@ struct dmnsn_reflection { dmnsn_reflection_fn *reflection_fn; /**< Reflection callback. */ dmnsn_free_fn *free_fn; /**< Destructor callback. */ void *ptr; /**< Generic data pointer. */ - dmnsn_refcount refcount; /**< @internal Reference count. */ + DMNSN_REFCOUNT; /**< Reference count. */ }; /** Allocate a dummy reflection component. */ |