diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 19:56:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:32:23 -0500 |
commit | f4b1ec91cff0a543a8f7e553ab2113a1c31e0d86 (patch) | |
tree | dabb4b57ee6246d050ca45c15d6f93f7c59a5e5f /include | |
parent | 5ea69340e389163cfea54c16a466672b9b7284b8 (diff) | |
download | serd-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 'include')
-rw-r--r-- | include/serd/serd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 1a577ee4..e177235b 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -172,7 +172,7 @@ typedef enum { Turtle](http://www.w3.org/TR/turtle/#grammar-production-BLANK_NODE_LABEL) */ SERD_BLANK = 4 -} SerdType; +} SerdNodeType; /// Flags indicating certain string properties relevant to serialisation typedef enum { @@ -188,7 +188,7 @@ typedef struct { const char* SERD_NULLABLE buf; ///< Value string size_t n_bytes; ///< Size in bytes (excluding null) SerdNodeFlags flags; ///< Node flags (string properties) - SerdType type; ///< Node type + SerdNodeType type; ///< Node type } SerdNode; /// An unterminated immutable slice of a string @@ -423,7 +423,7 @@ static const SerdNode SERD_NODE_NULL = {NULL, 0, 0, SERD_NOTHING}; */ SERD_API SerdNode -serd_node_from_string(SerdType type, const char* SERD_NULLABLE str); +serd_node_from_string(SerdNodeType type, const char* SERD_NULLABLE str); /** Make a (shallow) node from a prefix of `str`. @@ -433,7 +433,7 @@ serd_node_from_string(SerdType type, const char* SERD_NULLABLE str); */ SERD_API SerdNode -serd_node_from_substring(SerdType type, +serd_node_from_substring(SerdNodeType type, const char* SERD_NULLABLE str, size_t len); |