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

Function genl_getmsghistory

src/windows.c:471–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471char *
472genl_getmsghistory(boolean init UNUSED)
473{
474 /* window ports can provide
475 their own getmsghistory() routine to
476 preserve message history between games.
477 The routine is called repeatedly from
478 the core save routine, and the window
479 port is expected to successively return
480 each message that it wants saved, starting
481 with the oldest message first, finishing
482 with the most recent.
483 Return null pointer when finished.
484 */
485 return (char *) 0;
486}
487
488void
489genl_putmsghistory(const char *msg, boolean is_restoring)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected