1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

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:
Michał Janiszewski
2016-07-13 00:46:51 +02:00
parent 5204fb0ce9
commit a6d0e6916e
79 changed files with 413 additions and 352 deletions

View File

@@ -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);