aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-10 20:14:24 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit87583c1f917756ebd06744cc39a20eee39c34010 (patch)
tree9c92a3533556a86b0484827a4f34e080c34b034b /src/world.h
parent3bdf4986884e26b40b0c9d010634a0c572c84122 (diff)
downloadserd-87583c1f917756ebd06744cc39a20eee39c34010.tar.gz
serd-87583c1f917756ebd06744cc39a20eee39c34010.tar.bz2
serd-87583c1f917756ebd06744cc39a20eee39c34010.zip
Move error handling to world
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 87479eab..86e155db 100644
--- a/src/world.h
+++ b/src/world.h
@@ -24,4 +24,9 @@ struct SerdWorldImpl {
void* error_handle;
};
+SerdStatus serd_world_error(const SerdWorld* world, const SerdError* e);
+
+SerdStatus
+serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...);
+
#endif // SERD_WORLD_H