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

Function hup_exit_nhwindows

src/windows.c:642–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642staticfn void
643hup_exit_nhwindows(const char *lastgasp)
644{
645 /* core has called exit_nhwindows(); call the previous interface's
646 shutdown routine now; xxx_exit_nhwindows() needs to call other
647 xxx_ routines directly rather than through windowprocs pointers */
648 if (previnterface_exit_nhwindows) {
649 lastgasp = 0; /* don't want exit routine to attempt extra output */
650 (*previnterface_exit_nhwindows)(lastgasp);
651 previnterface_exit_nhwindows = 0;
652 }
653 iflags.window_inited = FALSE;
654}
655
656staticfn int
657hup_nhgetch(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected