diff --git a/src/Memory/Memory.cpp b/src/Memory/Memory.cpp index 20420b7..2ed2538 100644 --- a/src/Memory/Memory.cpp +++ b/src/Memory/Memory.cpp @@ -59,6 +59,16 @@ Handle NewHandleClear(Size s) return h; } +Handle NewHandleSys(Size s) +{ + return NewHandle(s); +} + +Handle NewHandleSysClear(Size s) +{ + return NewHandleSysClear(s); +} + Handle TempNewHandle(Size s, OSErr* err) { Handle h = NewHandle(s); diff --git a/src/Pomme.h b/src/Pomme.h index 1accc87..2a7a33f 100644 --- a/src/Pomme.h +++ b/src/Pomme.h @@ -338,6 +338,10 @@ Handle NewHandle(Size); // Allocate prezeroed memory Handle NewHandleClear(Size); +Handle NewHandleSys(Size); + +Handle NewHandleSysClear(Size); + // Allocate temp memory Handle TempNewHandle(Size, OSErr*);