diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 19:56:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 15:33:54 -0500 |
commit | 9fa93ba7da0983e3a4e810138ae6f7c14751e180 (patch) | |
tree | 64e6fc6a9967047591822204e7b7fc6e4c78e8f0 /include/serd | |
parent | e04877cdf389fac06f899d4d690af2fcb0d6d2c7 (diff) | |
download | serd-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 'include/serd')
-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 fa0b2c0d..7aea35c8 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -365,14 +365,14 @@ typedef enum { Turtle](http://www.w3.org/TR/turtle/#grammar-production-BLANK_NODE_LABEL) */ SERD_BLANK = 4 -} SerdType; +} SerdNodeType; /// A syntactic RDF node 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; static const SerdNode SERD_NODE_NULL = {NULL, 0, 0, SERD_NOTHING}; @@ -384,7 +384,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`. @@ -394,7 +394,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); |