summaryrefslogtreecommitdiff
path: root/src/cairoint.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-04-29 15:19:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-04-30 10:16:23 +0100
commit07122f37d11eabe62bc9c81ccbf71bbe8b7a1005 (patch)
tree7075c26d696f75d006bd273f1482d8346557dc0f /src/cairoint.h
parent4cb733c28551f4a34cd4a225b8d797a55bf9b977 (diff)
surface: Convert snapshots from an array to a double-linked list.
Saves the memory allocation for the array, and the overhead of maintaining the area for both insertions and more importantly deletes.
Diffstat (limited to 'src/cairoint.h')
-rw-r--r--src/cairoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index 5deb973b..96fd7149 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2033,7 +2033,7 @@ _cairo_surface_clone_similar (cairo_surface_t *surface,
cairo_private cairo_surface_t *
_cairo_surface_snapshot (cairo_surface_t *surface);
-cairo_private cairo_status_t
+cairo_private void
_cairo_surface_attach_snapshot (cairo_surface_t *surface,
cairo_surface_t *snapshot,
cairo_surface_func_t detach_func);