summaryrefslogtreecommitdiff
path: root/src/cairo-device-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-03-23 10:44:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-03-23 10:44:16 +0000
commit61ad28fe7d334c63197ae3881d5edd074d63cfec (patch)
tree7ca745271c86c1f37fb970ffbe50d7c1f4cb7c67 /src/cairo-device-private.h
parent8a8c2f6c282c1822dc1a638c2258c8449b1d678b (diff)
downloadcairo-61ad28fe7d334c63197ae3881d5edd074d63cfec.tar.gz
device: Add language binding interfaces.
Damien Carbonne reported that cairo_device_t lacked the language binding hooks normally associated with cairo objects. So add the missing get_reference_count, get_user_data and set_user_data.
Diffstat (limited to 'src/cairo-device-private.h')
-rw-r--r--src/cairo-device-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-device-private.h b/src/cairo-device-private.h
index 39bf67b35..54ca4c04e 100644
--- a/src/cairo-device-private.h
+++ b/src/cairo-device-private.h
@@ -44,6 +44,7 @@
struct _cairo_device {
cairo_reference_count_t ref_count;
cairo_status_t status;
+ cairo_user_data_array_t user_data;
const cairo_device_backend_t *backend;