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>2018-12-30 17:58:17 -0500
commit94f49fa72fdfa32ce798969af22867fde2fd73e9 (patch)
tree9b94bc6117864f56ab77fbe4d16f75dcdd859f15 /src/world.h
parent9fd4ff5a6470f58916d7cd8578bcb839f9b5feaa (diff)
downloadserd-94f49fa72fdfa32ce798969af22867fde2fd73e9.tar.gz
serd-94f49fa72fdfa32ce798969af22867fde2fd73e9.tar.bz2
serd-94f49fa72fdfa32ce798969af22867fde2fd73e9.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 88241b0e..7e451b0e 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