diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-28 18:16:04 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-28 18:16:04 -0600 |
commit | 4479d25609e26253c4e5fcfc78b093c0b45cefb8 (patch) | |
tree | 4f931d4d1d78e4915f99134e563a9d14faba7a33 /libdimension/dimension/canvas.h | |
parent | efd3c1c2b42ffda0c8f7e5cd9b03fba07eead1ea (diff) | |
download | dimension-4479d25609e26253c4e5fcfc78b093c0b45cefb8.tar.xz |
Don't allocate reference counts on the heap.
Diffstat (limited to 'libdimension/dimension/canvas.h')
-rw-r--r-- | libdimension/dimension/canvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h index f33fc88..864e2d6 100644 --- a/libdimension/dimension/canvas.h +++ b/libdimension/dimension/canvas.h @@ -40,7 +40,7 @@ typedef struct { */ dmnsn_color *pixels; - dmnsn_refcount *refcount; /**< @internal Reference count. */ + dmnsn_refcount refcount; /**< @internal Reference count. */ } dmnsn_canvas; /* Forward-declare dmnsn_canvas_optimizer */ |