aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-11 18:44:03 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit3a4bd5f1b31cb5c1522d9e6c7222414342682467 (patch)
treef4d7f87260cdcdd39ad4051c113cadf149c4fa43 /src/node.c
parent8c67f9eba47d30913749e607c440b170a5cbd804 (diff)
downloadserd-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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/node.c b/src/node.c
index e0df7a86..3a4add50 100644
--- a/src/node.c
+++ b/src/node.c
@@ -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;
}