diff options
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/world.h b/src/world.h index ef19fb7f..35c23763 100644 --- a/src/world.h +++ b/src/world.h @@ -39,8 +39,10 @@ struct SerdWorldImpl { FILE* serd_world_fopen(SerdWorld* world, const char* path, const char* mode); -SERD_LOG_FUNC(3, 4) -SerdStatus -serd_world_errorf(const SerdWorld* world, SerdStatus st, const char* fmt, ...); +#define SERD_LOG_ERRORF(world, st, fmt, ...) \ + serd_world_logf(world, st, SERD_LOG_LEVEL_ERROR, NULL, fmt, __VA_ARGS__); + +#define SERD_LOG_ERROR(world, st, msg) \ + serd_world_logf(world, st, SERD_LOG_LEVEL_ERROR, NULL, msg); #endif // SERD_WORLD_H |