Allocator refactor

This commit is contained in:
elasota
2021-04-28 01:46:07 -04:00
parent 472462c535
commit a2d374f650
75 changed files with 473 additions and 253 deletions

View File

@@ -5,6 +5,8 @@
#include "DeflateCodec.h"
#include "MacFileInfo.h"
#include "ZipFile.h"
#include "GpAllocator_C.h"
#include "PLDrivers.h"
#include <stdio.h>
#include <string>
@@ -12,6 +14,9 @@
int toolMain(int argc, const char **argv)
{
GpDriverCollection *drivers = PLDrivers::GetDriverCollection();
drivers->SetDriver<GpDriverIDs::kAlloc>(GpAllocator_C::GetInstance());
if (argc != 2)
{
fprintf(stderr, "Usage: MergeGPF <file.gpf>");