diff options
author | David Robillard <d@drobilla.net> | 2021-07-11 18:44:03 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 3a4bd5f1b31cb5c1522d9e6c7222414342682467 (patch) | |
tree | f4d7f87260cdcdd39ad4051c113cadf149c4fa43 /include/serd/node.h | |
parent | 8c67f9eba47d30913749e607c440b170a5cbd804 (diff) | |
download | serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.gz serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.bz2 serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.zip |
[WIP] Remove SERD_CURIE node datatype entirely
Diffstat (limited to 'include/serd/node.h')
-rw-r--r-- | include/serd/node.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/serd/node.h b/include/serd/node.h index 90ecde71..b0b14a24 100644 --- a/include/serd/node.h +++ b/include/serd/node.h @@ -69,14 +69,6 @@ typedef enum { SERD_URI = 2, /** - CURIE, a shortened URI. - - Value is an unquoted CURIE string relative to the current environment, - e.g. "rdf:type". @see [CURIE Syntax 1.0](http://www.w3.org/TR/curie) - */ - SERD_CURIE = 3, - - /** A blank node. A blank node is a resource that has no URI. The identifier of a blank @@ -86,7 +78,7 @@ typedef enum { @see [RDF 1.1 Turtle](http://www.w3.org/TR/turtle/#grammar-production-BLANK_NODE_LABEL) */ - SERD_BLANK = 4, + SERD_BLANK = 3, /** A variable node. @@ -99,7 +91,7 @@ typedef enum { @see [SPARQL 1.1 Query Language](https://www.w3.org/TR/sparql11-query/#rVar) */ - SERD_VARIABLE = 5, + SERD_VARIABLE = 4, } SerdNodeType; /// Node flags, which ORed together make a #SerdNodeFlags @@ -165,10 +157,6 @@ serd_new_literal(SerdStringView string, SERD_API SerdNode* ZIX_ALLOCATED serd_new_blank(SerdStringView string); -/// Create a new CURIE node -SERD_API SerdNode* ZIX_ALLOCATED -serd_new_curie(SerdStringView string); - /** Create a new URI node from a parsed URI. */ |