[librsvg/rustification] rsvg-path: Make RsvgPathBuilder an opaque struct
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustification] rsvg-path: Make RsvgPathBuilder an opaque struct
- Date: Tue, 1 Nov 2016 02:57:41 +0000 (UTC)
commit 2d21ba64de61d281f51f2c12dcd3e09db280d4bc
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Oct 31 20:57:20 2016 -0600
rsvg-path: Make RsvgPathBuilder an opaque struct
rsvg-path.c | 5 +++++
rsvg-path.h | 7 ++-----
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/rsvg-path.c b/rsvg-path.c
index 016c899..bba6d0b 100644
--- a/rsvg-path.c
+++ b/rsvg-path.c
@@ -44,6 +44,11 @@
Reference: https://www.w3.org/TR/SVG/paths.html#PathDataBNF
*/
+struct _RsvgPathBuilder {
+ GArray *path_data;
+ int last_move_to_index;
+};
+
typedef struct _RSVGParsePathCtx RSVGParsePathCtx;
struct _RSVGParsePathCtx {
diff --git a/rsvg-path.h b/rsvg-path.h
index a64f973..1dfff58 100644
--- a/rsvg-path.h
+++ b/rsvg-path.h
@@ -32,12 +32,9 @@
#include <glib.h>
#include <cairo.h>
-G_BEGIN_DECLS
+G_BEGIN_DECLS
-typedef struct {
- GArray *path_data;
- int last_move_to_index;
-} RsvgPathBuilder;
+typedef struct _RsvgPathBuilder RsvgPathBuilder;
G_GNUC_INTERNAL
RsvgPathBuilder *rsvg_path_builder_new (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]