MCPcopy Create free account
hub / github.com/SimHacker/micropolis / newPtr

Method newPtr

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:186–189  ·  view source on GitHub ↗

* Claim \a size bytes of memory. * @param size Number of bytes to claim. * @return Pointer to the claimed memory. */

Source from the content-addressed store, hash-verified

184 * @return Pointer to the claimed memory.
185 */
186Ptr Micropolis::newPtr(int size)
187{
188 return (Ptr)malloc(size);
189}
190
191
192/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected