From fd276bcf70bad4520ca1d6f3c73f88073b3b58cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Nov 2020 10:52:56 +0100 Subject: Move fopen wrapper to world --- src/world.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 08c351fe..ab7aad80 100644 --- a/src/world.h +++ b/src/world.h @@ -19,11 +19,17 @@ #include "serd/serd.h" +#include + struct SerdWorldImpl { SerdErrorFunc error_func; void* error_handle; }; +/// Open a file configured for fast sequential reading +FILE* +serd_world_fopen(SerdWorld* world, const char* path, const char* mode); + SerdStatus serd_world_error(const SerdWorld* world, const SerdError* e); -- cgit v1.2.1