aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/world.h b/src/world.h
index f615868a..0888b480 100644
--- a/src/world.h
+++ b/src/world.h
@@ -8,20 +8,26 @@
#include "serd/memory.h"
#include "serd/node.h"
+#include "serd/nodes.h"
#include "serd/world.h"
-#include <stdbool.h>
#include <stdint.h>
struct SerdWorldImpl {
- SerdAllocator* allocator;
- SerdLog log;
- SerdLimits limits;
- uint32_t next_blank_id;
- uint32_t next_document_id;
- SerdNode* blank_node;
-
- bool stderr_color;
+ SerdAllocator* allocator;
+ SerdLog log;
+ SerdLimits limits;
+ SerdNodes* nodes;
+ const SerdNode* rdf_first;
+ const SerdNode* rdf_nil;
+ const SerdNode* rdf_rest;
+ const SerdNode* rdf_type;
+ const SerdNode* xsd_boolean;
+ const SerdNode* xsd_decimal;
+ const SerdNode* xsd_integer;
+ SerdNode* blank_node;
+ uint32_t next_blank_id;
+ uint32_t next_document_id;
};
#endif // SERD_SRC_WORLD_H