Mercurial > molko
diff src/libmlk-core/core/vfs.h @ 339:979960e65f76
js: add font bindings
While here, correct int to long in font_render.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 16 Oct 2021 09:01:20 +0200 |
parents | 8eee6f92e9ce |
children | 460c78706989 |
line wrap: on
line diff
--- a/src/libmlk-core/core/vfs.h Thu Oct 14 21:21:28 2021 +0200 +++ b/src/libmlk-core/core/vfs.h Sat Oct 16 09:01:20 2021 +0200 @@ -44,14 +44,23 @@ int vfs_open(struct vfs *, struct vfs_file *, const char *, const char *); +int +vfs_ok(struct vfs *); + void vfs_finish(struct vfs *); /* vfs_file */ +int +vfs_file_ok(struct vfs_file *); + size_t vfs_file_read(struct vfs_file *, void *, size_t); +char * +vfs_file_aread(struct vfs_file *, size_t *); + size_t vfs_file_write(struct vfs_file *, void *, size_t);