MysoreScript
|
Functions | |
template<typename T > | |
T * | gcAlloc (size_t extraBytes=0) |
Typesafe helper function for allocating garbage-collected memory. More... | |
T* anonymous_namespace{runtime.hh}::gcAlloc | ( | size_t | extraBytes = 0 | ) |
Typesafe helper function for allocating garbage-collected memory.
Allocates enough memory for one instance of the specified type, plus the number of extra bytes requested.
Definition at line 18 of file runtime.hh.