summaryrefslogtreecommitdiff
path: root/src/cairo-mutex-list-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-03 11:01:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-03 11:24:12 +0000
commit8fc3d0ffebea5622332327cdef9222486cc85581 (patch)
tree0dbf5ea80aff6a100d2f28907c6645afbdf426ae /src/cairo-mutex-list-private.h
parentafef83a1fae028b45cefd6b4698e7b32ad4d6fc7 (diff)
downloadcairo-8fc3d0ffebea5622332327cdef9222486cc85581.tar.gz
[mime-data] Allow embedding of arbitrary mime-types.
Use the surface user-data array allow to store an arbitrary set of alternate image representations keyed by an interned string (which ensures that it has a unique key in the user-visible namespace). Update the API to mirror that of cairo_surface_set_user_data() [i.e. return a status indicator] and switch internal users of the mime-data to the public functions.
Diffstat (limited to 'src/cairo-mutex-list-private.h')
-rw-r--r--src/cairo-mutex-list-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-mutex-list-private.h b/src/cairo-mutex-list-private.h
index 6fdb389a2..f5f654d52 100644
--- a/src/cairo-mutex-list-private.h
+++ b/src/cairo-mutex-list-private.h
@@ -40,6 +40,7 @@ CAIRO_MUTEX_DECLARE (_cairo_pattern_solid_pattern_cache_lock)
CAIRO_MUTEX_DECLARE (_cairo_pattern_solid_surface_cache_lock)
CAIRO_MUTEX_DECLARE (_cairo_font_face_mutex)
+CAIRO_MUTEX_DECLARE (_cairo_intern_string_mutex)
CAIRO_MUTEX_DECLARE (_cairo_scaled_font_map_mutex)
CAIRO_MUTEX_DECLARE (_cairo_scaled_font_error_mutex)