forked from rosebudai/OpenRCT2-Web
Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes proper `extern` wrappers.
This commit is contained in:
1 parent
5204fb0ce9
commit
a6d0e6916e
79 files changed
+413
-352
No files matched your search
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
namespace ObjectFactory
|
||||
{
|
||||
void ReadObjectLegacy(Object * object, IReadObjectContext * context, IStream * stream)
|
||||
static void ReadObjectLegacy(Object * object, IReadObjectContext * context, IStream * stream)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -102,7 +102,7 @@ namespace ObjectFactory
|
||||
}
|
||||
}
|
||||
|
||||
MemoryStream * GetDecodedChunkStream(IReadObjectContext * context, SDL_RWops * file)
|
||||
static MemoryStream * GetDecodedChunkStream(IReadObjectContext * context, SDL_RWops * file)
|
||||
{
|
||||
size_t bufferSize = 0x600000;
|
||||
void * buffer = Memory::Allocate<void>(bufferSize);
|
||||
|
||||
Reference in new issue
Block a user