aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/world.h b/src/world.h
index a70a6e28..8043663e 100644
--- a/src/world.h
+++ b/src/world.h
@@ -19,12 +19,13 @@
#include "serd/serd.h"
+#include <stdbool.h>
#include <stdint.h>
struct SerdWorldImpl {
SerdNodes* nodes;
- SerdErrorFunc error_func;
- void* error_handle;
+ SerdLogFunc log_func;
+ void* log_handle;
SerdNode* blank_node;
const SerdNode* rdf_first;
const SerdNode* rdf_nil;
@@ -34,12 +35,8 @@ struct SerdWorldImpl {
const SerdNode* xsd_decimal;
const SerdNode* xsd_integer;
uint32_t next_blank_id;
-};
-
-SerdStatus
-serd_world_error(const SerdWorld* world, const SerdError* e);
-SerdStatus
-serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...);
+ bool stderr_color;
+};
#endif // SERD_WORLD_H