summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2008-03-20 15:55:28 -0700
committerCarl Worth <cworth@cworth.org>2008-03-20 15:55:28 -0700
commit4ad5937648b27cd7a73a6a245ed875de92fa1c07 (patch)
treefff14dd7633fb6cfde3dfca4ad98f7f95be05e47
parent5d9eefccd6ff4d51e16caa8f3092d3acc33b5549 (diff)
Enable PLT avoidance for cairo_image_surface_get_data/stride
-rw-r--r--src/cairo-image-surface.c2
-rw-r--r--src/cairoint.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index edadcd823..d6f2595be 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -552,6 +552,7 @@ cairo_image_surface_get_data (cairo_surface_t *surface)
return image_surface->data;
}
+slim_hidden_def (cairo_image_surface_get_data);
/**
* cairo_image_surface_get_format:
@@ -648,6 +649,7 @@ cairo_image_surface_get_stride (cairo_surface_t *surface)
return image_surface->stride;
}
+slim_hidden_def (cairo_image_surface_get_stride);
cairo_format_t
_cairo_format_from_content (cairo_content_t content)
diff --git a/src/cairoint.h b/src/cairoint.h
index 0a66f250a..5ab213d19 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2249,7 +2249,9 @@ slim_hidden_proto (cairo_get_matrix);
slim_hidden_proto (cairo_get_tolerance);
slim_hidden_proto (cairo_image_surface_create);
slim_hidden_proto (cairo_image_surface_create_for_data);
+slim_hidden_proto (cairo_image_surface_get_data);
slim_hidden_proto (cairo_image_surface_get_height);
+slim_hidden_proto (cairo_image_surface_get_stride);
slim_hidden_proto (cairo_image_surface_get_width);
slim_hidden_proto (cairo_format_stride_for_width);
slim_hidden_proto (cairo_line_to);