summaryrefslogtreecommitdiffstats
path: root/libdimension/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c2
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;
}