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

Function pushattemptingto

outdated/sys/mac/macerrs.c:156–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void pushattemptingto(char * activity)
157/* Push a new description onto stack so we can pop later to previous state */
158{
159 if (gTopactivity < stackDepth) {
160 gTopactivity++;
161 attemptingto(activity);
162 }
163 else error("activity stack overflow");
164}
165
166void popattempt(void)
167/* Pop to previous state */

Callers

nothing calls this directly

Calls 2

attemptingtoFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected