mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove default argument from loadFileToMemory()
Default function arguments are the devil, and it's better to be more explicit about what you're passing into the function. Also because we might become C-only in the future and to help faciliate that, we should get rid of C++-isms like default function arguments now.
This commit is contained in:
@@ -21,7 +21,7 @@ void FILESYSTEM_unmountAssets(void);
|
||||
bool FILESYSTEM_isAssetMounted(const char* filename);
|
||||
|
||||
void FILESYSTEM_loadFileToMemory(const char *name, unsigned char **mem,
|
||||
size_t *len, bool addnull = false);
|
||||
size_t *len, bool addnull);
|
||||
void FILESYSTEM_freeMemory(unsigned char **mem);
|
||||
bool FILESYSTEM_saveTiXml2Document(const char *name, tinyxml2::XMLDocument& doc);
|
||||
bool FILESYSTEM_loadTiXml2Document(const char *name, tinyxml2::XMLDocument& doc);
|
||||
|
||||
Reference in New Issue
Block a user