diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
commit | ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379 (patch) | |
tree | 810d04a5e8892aaa5f82c486b272d93f6cfd50b4 /libdimension/dimension/canvas.h | |
parent | 5770d22635a63fb745bc0f3cd3dee573a6b356b6 (diff) | |
download | dimension-ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379.tar.xz |
Add a refcount to canvases.
Diffstat (limited to 'libdimension/dimension/canvas.h')
-rw-r--r-- | libdimension/dimension/canvas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h index 6938c0e..f33fc88 100644 --- a/libdimension/dimension/canvas.h +++ b/libdimension/dimension/canvas.h @@ -39,6 +39,8 @@ typedef struct { * at (a,b) is accessible as pixels[b*width + a]. */ dmnsn_color *pixels; + + dmnsn_refcount *refcount; /**< @internal Reference count. */ } dmnsn_canvas; /* Forward-declare dmnsn_canvas_optimizer */ |