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 /src/node.c | |
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 'src/node.c')
-rw-r--r-- | src/node.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -291,12 +291,6 @@ serd_new_blank(const SerdStringView str) return serd_new_token(SERD_BLANK, str); } -SerdNode* -serd_new_curie(const SerdStringView str) -{ - return serd_new_token(SERD_CURIE, str); -} - ExessResult serd_node_get_value_as(const SerdNode* const node, const ExessDatatype value_type, @@ -738,7 +732,7 @@ serd_node_datatype(const SerdNode* const node) } const SerdNode* const datatype = serd_node_meta_c(node); - assert(datatype->type == SERD_URI || datatype->type == SERD_CURIE); + assert(datatype->type == SERD_URI); return datatype; } |