Added Virtual File System support
This commit is contained in:
parent
363c4f19cb
commit
01f4ad7f62
18 changed files with 4582 additions and 64 deletions
2
ini.c
2
ini.c
|
|
@ -9,7 +9,7 @@
|
|||
static void ini__parse(arena_t *arena, ini_t *ini, const iniopts_t *options);
|
||||
|
||||
ini_t iniParse(arena_t *arena, strview_t filename, const iniopts_t *options) {
|
||||
file_t fp = fileOpen(*arena, filename, FILE_READ);
|
||||
file_t fp = fileOpen(filename, FILE_READ);
|
||||
ini_t out = iniParseFile(arena, fp, options);
|
||||
fileClose(fp);
|
||||
return out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue