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>2022-01-13 15:33:54 -0500
commit9fa93ba7da0983e3a4e810138ae6f7c14751e180 (patch)
tree64e6fc6a9967047591822204e7b7fc6e4c78e8f0 /src/node.h
parente04877cdf389fac06f899d4d690af2fcb0d6d2c7 (diff)
downloadserd-9fa93ba7da0983e3a4e810138ae6f7c14751e180.tar.gz
serd-9fa93ba7da0983e3a4e810138ae6f7c14751e180.tar.bz2
serd-9fa93ba7da0983e3a4e810138ae6f7c14751e180.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);