Renaming CrtFile* -> File*.

This commit is contained in:
Branimir Karadžić
2017-06-11 21:01:12 -07:00
parent 6d35b1294e
commit 016da70e4c
4 changed files with 170 additions and 102 deletions

View File

@@ -149,7 +149,7 @@ int main(int _argc, const char* _argv[])
void* data = NULL;
uint32_t size = 0;
bx::CrtFileReader fr;
bx::FileReader fr;
if (bx::open(&fr, filePath) )
{
size = uint32_t(bx::getSize(&fr) );
@@ -158,7 +158,7 @@ int main(int _argc, const char* _argv[])
data = BX_ALLOC(&allocator, size);
bx::read(&fr, data, size);
bx::CrtFileWriter fw;
bx::FileWriter fw;
if (bx::open(&fw, outFilePath) )
{
Bin2cWriter writer(&fw, name);