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

Function do_runtime_info

src/mdlib.c:848–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848const char *
849do_runtime_info(int *rtcontext)
850{
851 const char *retval = (const char *) 0;
852
853 if (!done_runtime_opt_init_once)
854 runtime_info_init();
855 if (idxopttext && rtcontext)
856 if (*rtcontext >= 0 && *rtcontext < MAXOPT) {
857 retval = opttext[*rtcontext];
858 *rtcontext += 1;
859 }
860 return retval;
861}
862
863void
864release_runtime_info(void)

Callers 2

doextversionFunction · 0.85
do_optionsFunction · 0.85

Calls 1

runtime_info_initFunction · 0.85

Tested by

no test coverage detected