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-05-27 18:23:15 +0200
commit3efbbdb49f4122d3879007227eafc5afe520d7c5 (patch)
tree309289450940ea4b4b0046822b9ad526b6e41b74 /src/world.h
parent40268925466dba7a37b468be0bba951e7f6ca5d1 (diff)
downloadserd-3efbbdb49f4122d3879007227eafc5afe520d7c5.tar.gz
serd-3efbbdb49f4122d3879007227eafc5afe520d7c5.tar.bz2
serd-3efbbdb49f4122d3879007227eafc5afe520d7c5.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 88241b0e..98f1950b 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(SerdWorld* world,
+ SerdStatus st,
+ const char* fmt, ...);
+
#endif // SERD_WORLD_H