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>2019-04-13 19:15:32 +0200
commit61cc66d1f56dfe1cfa8da20f95d7152ca414c903 (patch)
tree6386c68bc28a613d2ce869091d0a17f9c4fb5b26 /src/world.h
parent0a375ebfb29b08d55824d9c18ea3812b8f6b9010 (diff)
downloadserd-61cc66d1f56dfe1cfa8da20f95d7152ca414c903.tar.gz
serd-61cc66d1f56dfe1cfa8da20f95d7152ca414c903.tar.bz2
serd-61cc66d1f56dfe1cfa8da20f95d7152ca414c903.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