#define NewObject(type) ((type*)FancyAllocate(sizeof(type),#type DBG_SRC))
Parameters |
Description |
type |
type to allocate for. Passes the name of the type so the allocator can do a registered procedure lookup and invok an initializer for the type. |
Allocate sizeof(type). Will invoke some sort of registered initializer
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|