From 1a95f759fe3d642e8520e41e691e63f22a2f3b99 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, 5 insertions(+), 1 deletion(-) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 8281bb5e..dd3d4043 100644 --- a/src/world.h +++ b/src/world.h @@ -8,13 +8,17 @@ #include "serd/status.h" #include "serd/world.h" -#include +#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