summaryrefslogtreecommitdiff
path: root/src/svgtiny_internal.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-03 12:05:13 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-11-03 12:05:13 +0000
commitd03a7471001c4701e1fea976aee162b0de375f52 (patch)
treea520d454c3aa5169f92ffdb668ee9d54d5a32936 /src/svgtiny_internal.h
parent61856750e7a0419d24e834f5d912511fab6244a3 (diff)
downloadlibsvgtiny-d03a7471001c4701e1fea976aee162b0de375f52.tar.gz
libsvgtiny-d03a7471001c4701e1fea976aee162b0de375f52.tar.bz2
Begin conversion to libdom
Diffstat (limited to 'src/svgtiny_internal.h')
-rw-r--r--src/svgtiny_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h
index eb90c5b..789651a 100644
--- a/src/svgtiny_internal.h
+++ b/src/svgtiny_internal.h
@@ -10,6 +10,8 @@
#include <stdbool.h>
+#include <dom/dom.h>
+
#ifndef UNUSED
#define UNUSED(x) ((void) (x))
#endif
@@ -24,7 +26,7 @@ struct svgtiny_gradient_stop {
struct svgtiny_parse_state {
struct svgtiny_diagram *diagram;
- xmlDoc *document;
+ dom_document *document;
float viewport_width;
float viewport_height;
@@ -75,7 +77,7 @@ char *svgtiny_strndup(const char *s, size_t n);
void svgtiny_find_gradient(const char *id, struct svgtiny_parse_state *state);
svgtiny_code svgtiny_add_path_linear_gradient(float *p, unsigned int n,
struct svgtiny_parse_state *state);
-xmlNode *svgtiny_find_element_by_id(xmlNode *node, const char *id);
+dom_node *svgtiny_find_element_by_id(dom_node *node, const char *id);
/* svgtiny_list.c */
struct svgtiny_list *svgtiny_list_create(size_t item_size);