aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 19:56:13 -0500
committerDavid Robillard <d@drobilla.net>2019-12-19 20:57:53 -0500
commit32cf2d08a75f8192b5354af74b9342afacdcb9eb (patch)
tree4ab02a66243b70aeaf56e60119fc83c8fdeb45f7 /serd
parent7aaf7d5187ded5c726ff23ec58b2f8a3d5d158b2 (diff)
downloadserd-32cf2d08a75f8192b5354af74b9342afacdcb9eb.tar.gz
serd-32cf2d08a75f8192b5354af74b9342afacdcb9eb.tar.bz2
serd-32cf2d08a75f8192b5354af74b9342afacdcb9eb.zip
Rename SerdType to SerdNodeType
The old name has become ambiguous with the expanded scope of serd.
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/serd/serd.h b/serd/serd.h
index dfd53480..130e7959 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -223,7 +223,7 @@ typedef enum {
<tt>nodeID</tt></a>
*/
SERD_BLANK = 4
-} SerdType;
+} SerdNodeType;
/**
Flags indicating certain string properties relevant to serialisation.
@@ -620,7 +620,7 @@ serd_uri_serialise_relative(const SerdURI* uri,
*/
SERD_API
SerdNode*
-serd_new_simple_node(SerdType type, const char* str, size_t len);
+serd_new_simple_node(SerdNodeType type, const char* str, size_t len);
/**
Create a new plain literal string node from `str`.
@@ -838,7 +838,7 @@ serd_new_blob(const void* buf,
Return the type of a node (SERD_URI, SERD_BLANK, or SERD_LITERAL).
*/
SERD_API
-SerdType
+SerdNodeType
serd_node_get_type(const SerdNode* node);
/**