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

Function style_to_text

util/sfctool.c:634–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634static const char *
635style_to_text(enum saveformats style)
636{
637 const char *txt;
638
639 switch (style) {
640 case historical:
641 txt = "historical";
642 break;
643 case exportascii:
644 txt = "exportascii";
645 break;
646 case invalid:
647 default:
648 txt = "invalid";
649 break;
650 }
651 return txt;
652}
653
654void
655my_sf_init(void)

Callers 1

process_savefileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected