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>2020-10-27 13:13:58 +0100
commit6ed3c180ef0d90567bffc2c1120701a6a20e2f03 (patch)
treef5ec1e57de2d5b52c5523713bc2d821aa3dc9361 /serd
parentea89a5ce06d8c1ccdb6970ae959d91821b115b3f (diff)
downloadserd-6ed3c180ef0d90567bffc2c1120701a6a20e2f03.tar.gz
serd-6ed3c180ef0d90567bffc2c1120701a6a20e2f03.tar.bz2
serd-6ed3c180ef0d90567bffc2c1120701a6a20e2f03.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 4a562dbc..4894a99c 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -226,7 +226,7 @@ typedef enum {
<tt>nodeID</tt></a>
*/
SERD_BLANK = 4
-} SerdType;
+} SerdNodeType;
/**
Flags indicating certain string properties relevant to serialisation.
@@ -624,7 +624,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`.
@@ -830,7 +830,7 @@ serd_node_free(SerdNode* node);
Return the type of a node (SERD_URI, SERD_BLANK, or SERD_LITERAL).
*/
SERD_API
-SerdType
+SerdNodeType
serd_node_type(const SerdNode* node);
/**