diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-03 23:27:54 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-03 23:27:54 -0600 |
commit | f0e6133c246b5a4fe5f4c69b9d7b755581f41dcb (patch) | |
tree | 8a1bca3437bff3c16196e7065fccfa3e5add51c1 /libdimension/dimension/interior.h | |
parent | 8863129c6e7e57b7c4ca3fce5fece9aae8a9b7b7 (diff) | |
download | dimension-f0e6133c246b5a4fe5f4c69b9d7b755581f41dcb.tar.xz |
Add refcounts to textures and interiors.
Diffstat (limited to 'libdimension/dimension/interior.h')
-rw-r--r-- | libdimension/dimension/interior.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/interior.h b/libdimension/dimension/interior.h index 0ab4a30..69a0fcb 100644 --- a/libdimension/dimension/interior.h +++ b/libdimension/dimension/interior.h @@ -34,6 +34,9 @@ typedef struct dmnsn_interior { /* Generic pointer */ void *ptr; + + /* Reference count */ + unsigned int *refcount; } dmnsn_interior; dmnsn_interior *dmnsn_new_interior(); |