diff options
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/world.c b/src/world.c index 37cfe301..b4fe4ebc 100644 --- a/src/world.c +++ b/src/world.c @@ -10,8 +10,8 @@ #include "serd/node.h" #include "serd/status.h" -#include "serd/string_view.h" #include "serd/world.h" +#include "zix/string_view.h" #include <assert.h> #include <stdio.h> @@ -34,13 +34,13 @@ serd_world_new(SerdAllocator* const allocator) return NULL; } - const SerdStringView rdf_first = serd_string(NS_RDF "first"); - const SerdStringView rdf_nil = serd_string(NS_RDF "nil"); - const SerdStringView rdf_rest = serd_string(NS_RDF "rest"); - const SerdStringView rdf_type = serd_string(NS_RDF "type"); - const SerdStringView xsd_boolean = serd_string(NS_XSD "boolean"); - const SerdStringView xsd_decimal = serd_string(NS_XSD "decimal"); - const SerdStringView xsd_integer = serd_string(NS_XSD "integer"); + static const ZixStringView rdf_first = ZIX_STATIC_STRING(NS_RDF "first"); + static const ZixStringView rdf_nil = ZIX_STATIC_STRING(NS_RDF "nil"); + static const ZixStringView rdf_rest = ZIX_STATIC_STRING(NS_RDF "rest"); + static const ZixStringView rdf_type = ZIX_STATIC_STRING(NS_RDF "type"); + static const ZixStringView xsd_boolean = ZIX_STATIC_STRING(NS_XSD "boolean"); + static const ZixStringView xsd_decimal = ZIX_STATIC_STRING(NS_XSD "decimal"); + static const ZixStringView xsd_integer = ZIX_STATIC_STRING(NS_XSD "integer"); world->limits.reader_stack_size = 1048576U; world->limits.writer_max_depth = 128U; |