diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-12-24 13:19:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-12-24 13:19:38 -0500 |
commit | a8181915a4aac7a37bdd62705e2eac1067eb1904 (patch) | |
tree | 4e90ce29b5fad0d34f268e5ac9d247c3ef034a3f /libdimension/object.c | |
parent | babba43cd4d1b9c92a569f19acbe17e429193b01 (diff) | |
download | dimension-a8181915a4aac7a37bdd62705e2eac1067eb1904.tar.xz |
Use macros to initialize refcounts.
Diffstat (limited to 'libdimension/object.c')
-rw-r--r-- | libdimension/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/object.c b/libdimension/object.c index b1b5fe3..9792926 100644 --- a/libdimension/object.c +++ b/libdimension/object.c @@ -41,8 +41,8 @@ dmnsn_new_object(void) object->inside_fn = NULL; object->initialize_fn = NULL; object->free_fn = NULL; - object->refcount = 1; object->initialized = false; + DMNSN_REFCOUNT_INIT(object); return object; } |