// Copyright 2011-2020 David Robillard // SPDX-License-Identifier: ISC #ifndef SERD_SRC_WORLD_H #define SERD_SRC_WORLD_H #include "serd/error.h" #include "serd/node.h" #include "serd/status.h" #include "serd/world.h" #include #include struct SerdWorldImpl { SerdLimits limits; SerdLogFunc error_func; void* error_handle; 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