diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:25:53 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:25:53 -0600 |
commit | d374841194f24c7cb1cdc52fc631fcb2982af358 (patch) | |
tree | fa92504fb50c6a4195317dad653ed3ab72fa6f27 /libdimension/dimension/object.h | |
parent | 719fea8f97320814835408fad6ce2a4647674c11 (diff) | |
download | dimension-d374841194f24c7cb1cdc52fc631fcb2982af358.tar.xz |
Add a refcount to objects.
Diffstat (limited to 'libdimension/dimension/object.h')
-rw-r--r-- | libdimension/dimension/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h index ea8a6a8..1e10c3f 100644 --- a/libdimension/dimension/object.h +++ b/libdimension/dimension/object.h @@ -90,6 +90,9 @@ struct dmnsn_object { /** Generic pointer for object info. */ void *ptr; + + /** @internal Reference count. */ + dmnsn_refcount *refcount; }; /** |