mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-05-05 06:43: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
|
|
@ -87,8 +87,8 @@ EXPORTS
|
|||
|
||||
; File
|
||||
;SFileAuthenticateArchive @251 NONAME
|
||||
;SFileCloseArchive @252 NONAME
|
||||
;SFileCloseFile @253 NONAME
|
||||
SFileCloseArchive @252 NONAME
|
||||
SFileCloseFile @253 NONAME
|
||||
;SFileDdaBegin @254 NONAME
|
||||
;SFileDdaBeginEx @255 NONAME
|
||||
;SFileDdaDestroy @256 NONAME
|
||||
|
|
@ -100,13 +100,13 @@ EXPORTS
|
|||
;SFileDestroy @262 NONAME
|
||||
;SFileEnableDirectAccess @263 NONAME
|
||||
;SFileGetFileArchive @264 NONAME
|
||||
;SFileGetFileSize @265 NONAME
|
||||
;SFileOpenArchive @266 NONAME
|
||||
SFileGetFileSize @265 NONAME
|
||||
SFileOpenArchive @266 NONAME
|
||||
;SFileOpenFile @267 NONAME
|
||||
;SFileOpenFileEx @268 NONAME
|
||||
;SFileReadFile @269 NONAME
|
||||
SFileOpenFileEx @268 NONAME
|
||||
SFileReadFile @269 NONAME
|
||||
;SFileSetBasePath @270 NONAME
|
||||
;SFileSetFilePointer @271 NONAME
|
||||
SFileSetFilePointer @271 NONAME
|
||||
;SFileSetLocale @272 NONAME
|
||||
;SFileGetBasePath @273 NONAME
|
||||
;SFileSetIoErrorMode @274 NONAME
|
||||
|
|
@ -280,7 +280,7 @@ EXPORTS
|
|||
;SErrGetErrorStr @462 NONAME
|
||||
SErrGetLastError @463 NONAME
|
||||
;SErrRegisterMessageSource @464 NONAME
|
||||
;SErrSetLastError @465 NONAME
|
||||
SErrSetLastError @465 NONAME
|
||||
;SErrReportNamedResourceLeak @466 NONAME
|
||||
;SErrReportResourceLeak @467 NONAME
|
||||
SErrSuppressErrors @468 NONAME
|
||||
|
|
|
|||
|
|
@ -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