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 committed 2016-07-14 14:11:49 +02:00
1 parent 5204fb0ce9
commit a6d0e6916e
79 files changed
+413 -352

No files matched your search

+2 -2
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);