From 3a4bd5f1b31cb5c1522d9e6c7222414342682467 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Jul 2021 18:44:03 -0400 Subject: [WIP] Remove SERD_CURIE node datatype entirely --- src/node.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/node.c') 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; } -- cgit v1.2.1