aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 19:56:13 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit7a179e568a3576819d0e600cf35c94051e107d33 (patch)
treeadbd2666b07fc2811987760d73139499be842efc /src/node.c
parent53c28210b9e81ba33fddce89b2d61fb7c99445dc (diff)
downloadserd-7a179e568a3576819d0e600cf35c94051e107d33.tar.gz
serd-7a179e568a3576819d0e600cf35c94051e107d33.tar.bz2
serd-7a179e568a3576819d0e600cf35c94051e107d33.zip
Rename SerdType to SerdNodeType
The old name will be even more ambiguous with the increased scope.
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node.c b/src/node.c
index b2cca085..015901f5 100644
--- a/src/node.c
+++ b/src/node.c
@@ -54,7 +54,7 @@ string_sink(const void* const buf, const size_t len, void* const stream)
}
SerdNode
-serd_node_from_string(SerdType type, const char* const str)
+serd_node_from_string(const SerdNodeType type, const char* const str)
{
if (!str) {
return SERD_NODE_NULL;
@@ -67,9 +67,9 @@ serd_node_from_string(SerdType type, const char* const str)
}
SerdNode
-serd_node_from_substring(const SerdType type,
- const char* const str,
- const size_t len)
+serd_node_from_substring(const SerdNodeType type,
+ const char* const str,
+ const size_t len)
{
if (!str) {
return SERD_NODE_NULL;