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

Function deallocate_gworld

outdated/sys/mac/mactty.c:171–179  ·  view source on GitHub ↗

* Done with GWorld, release data */

Source from the content-addressed store, hash-verified

169 * Done with GWorld, release data
170 */
171static short
172deallocate_gworld(tty_record *record)
173{
174 if (record->offscreen_world) {
175 DisposeGWorld(record->offscreen_world);
176 record->offscreen_world = (GWorldPtr) 0;
177 }
178 return noErr;
179}
180
181/*
182 * Get rid of offscreen bitmap

Callers 1

free_bitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected