diff options
author | David Robillard <d@drobilla.net> | 2018-05-10 20:14:24 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:46 +0100 |
commit | 4dba05e7ab2cd3caa3fd9c6872b7e21b39bb8ead (patch) | |
tree | e410cfcdea0dcd2f2e8ed5c02e81742e31149cbe /src/world.h | |
parent | bcf32f9b340083c97dc2c2b144b971bb1de06a23 (diff) | |
download | serd-4dba05e7ab2cd3caa3fd9c6872b7e21b39bb8ead.tar.gz serd-4dba05e7ab2cd3caa3fd9c6872b7e21b39bb8ead.tar.bz2 serd-4dba05e7ab2cd3caa3fd9c6872b7e21b39bb8ead.zip |
Move error handling to world
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 5 |
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 |