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>2022-01-13 23:03:47 -0500
commit68769abbf1c7b4ef4f03f93f0c50e016c709a167 (patch)
treee9710eb4b4cf0d2d78de29efd347849e246defc9 /src/world.h
parent71c950bb749c3581ab389edfff9771cb06242e29 (diff)
downloadserd-68769abbf1c7b4ef4f03f93f0c50e016c709a167.tar.gz
serd-68769abbf1c7b4ef4f03f93f0c50e016c709a167.tar.bz2
serd-68769abbf1c7b4ef4f03f93f0c50e016c709a167.zip
Move error handling to world
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 3d994df9..08c351fe 100644
--- a/src/world.h
+++ b/src/world.h
@@ -24,4 +24,10 @@ 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