MCPcopy Index your code
hub / github.com/NetHack/NetHack / kind_name

Function kind_name

src/timeout.c:1994–2011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1992#undef TTAB
1993
1994staticfn const char *
1995kind_name(short kind)
1996{
1997 switch (kind) {
1998 case TIMER_NONE:
1999 impossible("no timer type");
2000 return "none";
2001 case TIMER_LEVEL:
2002 return "level";
2003 case TIMER_GLOBAL:
2004 return "global";
2005 case TIMER_OBJECT:
2006 return "object";
2007 case TIMER_MONSTER:
2008 return "monster";
2009 }
2010 return "unknown";
2011}
2012
2013staticfn void
2014print_queue(winid win, timer_element *base)

Callers 2

print_queueFunction · 0.85
start_timerFunction · 0.85

Calls 1

impossibleFunction · 0.70

Tested by

no test coverage detected