summaryrefslogtreecommitdiff
path: root/src/cairo-path-in-fill.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-12-09 20:44:25 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-12-12 11:11:49 +0000
commitbcb2724920aa1bca1a9a82b5017d3180f5f9523e (patch)
tree4a7f2c3f3c96f2d91611e90e06472e856bf4bda3 /src/cairo-path-in-fill.c
parent68b29cafa597128e7cae86608e04ecae6070dad9 (diff)
[path] Mark points as const during _cairo_path_fixed_interpret()
Use const to document the read-only nature of the arguments passed to the callbacks.
Diffstat (limited to 'src/cairo-path-in-fill.c')
-rw-r--r--src/cairo-path-in-fill.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/cairo-path-in-fill.c b/src/cairo-path-in-fill.c
index f7785e85..431f005b 100644
--- a/src/cairo-path-in-fill.c
+++ b/src/cairo-path-in-fill.c
@@ -132,7 +132,8 @@ _cairo_in_fill_add_edge (cairo_in_fill_t *in_fill,
}
static cairo_status_t
-_cairo_in_fill_move_to (void *closure, cairo_point_t *point)
+_cairo_in_fill_move_to (void *closure,
+ const cairo_point_t *point)
{
cairo_in_fill_t *in_fill = closure;
@@ -151,7 +152,8 @@ _cairo_in_fill_move_to (void *closure, cairo_point_t *point)
}
static cairo_status_t
-_cairo_in_fill_line_to (void *closure, cairo_point_t *point)
+_cairo_in_fill_line_to (void *closure,
+ const cairo_point_t *point)
{
cairo_in_fill_t *in_fill = closure;
@@ -166,9 +168,9 @@ _cairo_in_fill_line_to (void *closure, cairo_point_t *point)
static cairo_status_t
_cairo_in_fill_curve_to (void *closure,
- cairo_point_t *b,
- cairo_point_t *c,
- cairo_point_t *d)
+ const cairo_point_t *b,
+ const cairo_point_t *c,
+ const cairo_point_t *d)
{
cairo_in_fill_t *in_fill = closure;
cairo_spline_t spline;