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>2023-12-02 16:27:02 -0500
commit7a179e568a3576819d0e600cf35c94051e107d33 (patch)
treeadbd2666b07fc2811987760d73139499be842efc /src/node.h
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.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 a4d5dcd5..5d0e9c80 100644
--- a/src/node.h
+++ b/src/node.h
@@ -11,7 +11,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* SERD_NONNULL
@@ -27,7 +27,7 @@ serd_node_buffer_c(const SerdNode* SERD_NONNULL node)
}
SerdNode* SERD_ALLOCATED
-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* SERD_NULLABLE* SERD_NONNULL dst,