mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-05-04 22:33:51 +00:00
chore(file): add tests for SFile functions
This commit is contained in:
parent
1e86f98691
commit
40d58978e1
20 changed files with 567 additions and 18 deletions
|
|
@ -55,6 +55,16 @@ int32_t STORMAPI SEvtRegisterHandler(uint32_t, uint32_t, uint32_t, uint32_t, SEV
|
|||
int32_t STORMAPI SEvtUnregisterHandler(uint32_t, uint32_t, uint32_t, SEVTHANDLER) { return 0; }
|
||||
int32_t STORMAPI SEvtUnregisterType(uint32_t, uint32_t) { return 0; }
|
||||
|
||||
#include <storm/File.hpp>
|
||||
|
||||
int32_t STORMAPI SFileCloseArchive(HSARCHIVE) { return 0; }
|
||||
int32_t STORMAPI SFileCloseFile(HSFILE) { return 0; }
|
||||
uint32_t STORMAPI SFileGetFileSize(HSFILE, uint32_t*) { return 0; }
|
||||
int32_t STORMAPI SFileOpenArchive(const char*, int32_t, uint32_t, HSARCHIVE*) { return 0; }
|
||||
int32_t STORMAPI SFileOpenFileEx(HSARCHIVE, const char*, uint32_t, HSFILE*) { return 0; }
|
||||
int32_t STORMAPI SFileReadFile(HSFILE, void*, uint32_t, uint32_t*, LPOVERLAPPED) { return 0; }
|
||||
uint32_t STORMAPI SFileSetFilePointer(HSFILE, int32_t, int32_t*, uint32_t) { return 0; }
|
||||
|
||||
#include <storm/Memory.hpp>
|
||||
|
||||
void* STORMAPI SMemAlloc(size_t, const char*, int32_t, uint32_t) { return 0; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue