diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 19:56:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:49 -0500 |
commit | 201888d97b1382632fcd7b335c37030c8a4922d8 (patch) | |
tree | d772f34887be39d41c2f7ed00c5686fc70e399a0 /src/node.h | |
parent | 8790f785102ffc5b205ee1ea1fc2586164a6f383 (diff) | |
download | serd-201888d97b1382632fcd7b335c37030c8a4922d8.tar.gz serd-201888d97b1382632fcd7b335c37030c8a4922d8.tar.bz2 serd-201888d97b1382632fcd7b335c37030c8a4922d8.zip |
Rename SerdType to SerdNodeType
The old name has become ambiguous with the expanded scope of serd.
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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* @@ -39,7 +39,9 @@ serd_node_buffer_c(const SerdNode* node) return (const char*)(node + 1); } -SerdNode* serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdType type); +SerdNode* +serd_node_malloc(size_t n_bytes, SerdNodeFlags flags, SerdNodeType type); + void serd_node_set(SerdNode** dst, const SerdNode* src); size_t serd_node_total_size(const SerdNode* node); void serd_node_zero_pad(SerdNode* node); |