#include <SDL2/SDL_rwops.h>
#include "filesystem.hpp"
#include "log.hpp"
#include <algorithm>
#include <cassert>
Go to the source code of this file.
|
static int64_t | filesystem::ifs_size (struct SDL_RWops *context) |
|
static int64_t | filesystem::ofs_size (struct SDL_RWops *context) |
|
static int64_t SDLCALL | filesystem::ifs_seek (struct SDL_RWops *context, int64_t offset, int whence) |
|
static int64_t SDLCALL | filesystem::ofs_seek (struct SDL_RWops *context, int64_t offset, int whence) |
|
static std::size_t SDLCALL | filesystem::ifs_read (struct SDL_RWops *context, void *ptr, std::size_t size, std::size_t maxnum) |
|
static std::size_t SDLCALL | filesystem::ofs_read (struct SDL_RWops *context, void *ptr, std::size_t size, std::size_t maxnum) |
|
static std::size_t SDLCALL | filesystem::ifs_write (struct SDL_RWops *context, const void *ptr, std::size_t size, std::size_t num) |
|
static std::size_t SDLCALL | filesystem::ofs_write (struct SDL_RWops *context, const void *ptr, std::size_t size, std::size_t num) |
|
static int SDLCALL | filesystem::ifs_close (struct SDL_RWops *context) |
|
static int SDLCALL | filesystem::ofs_close (struct SDL_RWops *context) |
|
rwops_ptr | filesystem::make_read_RWops (const std::string &path) |
|
rwops_ptr | filesystem::make_write_RWops (const std::string &path) |
|
static offset_dir | filesystem::translate_seekdir (int64_t offset, int whence) |
|
◆ ERR_FS
◆ log_filesystem