MCPcopy Create free account
hub / github.com/NetHack/NetHack / alloc_ptr

Function alloc_ptr

outdated/sys/mac/mactty.c:111–115  ·  view source on GitHub ↗

* Allocate a pointer using the set memory-allocator */

Source from the content-addressed store, hash-verified

109 * Allocate a pointer using the set memory-allocator
110 */
111static short
112alloc_ptr (void **ptr, long size) {
113 *ptr = NewPtr (size);
114 return MemError ();
115}
116#endif
117
118/*

Callers 1

alloc_bitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected