MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / createMalloc

Method createMalloc

Libraries/Await/Await.cpp:202–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202Result AwaitAllocator::createMalloc()
203{
204 if (isOpen())
205 {
206 return Result::Error("AwaitAllocator is already open");
207 }
208 resetState();
209 currentMode = AwaitAllocatorMode::Malloc;
210 return Result(true);
211}
212
213Result AwaitAllocator::createPolymorphic(AwaitAllocatorInterface& customAllocatorInterface)
214{

Callers 1

allocatorModesMethod · 0.80

Calls 2

ErrorEnum · 0.50
ResultClass · 0.50

Tested by 1

allocatorModesMethod · 0.64