diff options
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/src/world.h b/src/world.h index 56db46cc..af6281d4 100644 --- a/src/world.h +++ b/src/world.h @@ -4,32 +4,18 @@ #ifndef SERD_SRC_WORLD_H #define SERD_SRC_WORLD_H -#include "serd/error.h" +#include "log.h" + #include "serd/node.h" -#include "serd/status.h" #include "serd/world.h" -#include <stdarg.h> #include <stdint.h> struct SerdWorldImpl { - SerdLimits limits; - SerdLogFunc error_func; - void* error_handle; - uint32_t next_blank_id; - SerdNode* blank_node; + SerdLimits limits; + SerdLog log; + uint32_t next_blank_id; + SerdNode* blank_node; }; -SerdStatus -serd_world_error(const SerdWorld* world, const SerdError* e); - -SerdStatus -serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...); - -SerdStatus -serd_world_verrorf(const SerdWorld* world, - SerdStatus st, - const char* fmt, - va_list args); - #endif // SERD_SRC_WORLD_H |