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

Function curses_window_exists

win/curses/curswins.c:625–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623/* Determine if window for given winid exists */
624
625boolean
626curses_window_exists(winid wid)
627{
628 nethack_wid *widptr;
629
630 for (widptr = nhwids; widptr; widptr = widptr->next_wid)
631 if (widptr->nhwid == wid)
632 return TRUE;
633
634 return FALSE;
635}
636
637
638/* Return the orientation of the specified window */

Callers 1

curses_get_widFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected