summaryrefslogtreecommitdiff
path: root/src/cairoint.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-08-11 15:36:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-08-29 08:08:33 +0100
commit30e5fa0ce06b2572f09f3d47ee10b692f18ba0ae (patch)
tree6ad69675b51a8b19df9a8e3e82ba51d748d5c02d /src/cairoint.h
parent3fcac1ef21de9526bc1abca902db5755abe463ae (diff)
[polygon] Return status from path ops
This tidies the common case which was to call, for example, _cairo_polygon_line_to(); _cairo_polygon_status();
Diffstat (limited to 'src/cairoint.h')
-rw-r--r--src/cairoint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index 9fd789da..2afb6904 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2267,15 +2267,15 @@ _cairo_polygon_add_external_edge (void *polygon,
const cairo_point_t *p1,
const cairo_point_t *p2);
-cairo_private void
+cairo_private cairo_status_t
_cairo_polygon_move_to (cairo_polygon_t *polygon,
const cairo_point_t *point);
-cairo_private void
+cairo_private cairo_status_t
_cairo_polygon_line_to (cairo_polygon_t *polygon,
const cairo_point_t *point);
-cairo_private void
+cairo_private cairo_status_t
_cairo_polygon_close (cairo_polygon_t *polygon);
#define _cairo_polygon_status(P) ((cairo_polygon_t *) (P))->status