aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 19:56:13 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:23 -0500
commitf4b1ec91cff0a543a8f7e553ab2113a1c31e0d86 (patch)
treedabb4b57ee6246d050ca45c15d6f93f7c59a5e5f /src/node.h
parent5ea69340e389163cfea54c16a466672b9b7284b8 (diff)
downloadserd-f4b1ec91cff0a543a8f7e553ab2113a1c31e0d86.tar.gz
serd-f4b1ec91cff0a543a8f7e553ab2113a1c31e0d86.tar.bz2
serd-f4b1ec91cff0a543a8f7e553ab2113a1c31e0d86.zip
Rename SerdType to SerdNodeType
The old name will be even more ambiguous with the increased scope.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node.h b/src/node.h
index 60f460dd..1c37c68d 100644
--- a/src/node.h
+++ b/src/node.h
@@ -24,7 +24,7 @@
struct SerdNodeImpl {
size_t n_bytes; /**< Size in bytes (not including null) */
SerdNodeFlags flags; /**< Node flags (e.g. string properties) */
- SerdType type; /**< Node type */
+ SerdNodeType type; /**< Node type */
};
static inline char*
@@ -40,7 +40,7 @@ serd_node_buffer_c(const SerdNode* node)
}
SerdNode*
-serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdType type);
+serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdNodeType type);
void
serd_node_set(SerdNode** dst, const SerdNode* src);