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

Function exportascii_sfo_short

util/sfexpasc.c:425–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423 d_int++;
424}
425void
426exportascii_sfo_short(NHFILE *nhfp, short *d_short, const char *myname UNUSED)
427{
428 Sprintf(outbuf, "%d", (int) *d_short);
429 put_savefield(nhfp, outbuf, sizeof outbuf);
430 d_short++;
431}
432/* aka exportascii_sfo_uint8 */
433void
434exportascii_sfo_uchar(NHFILE *nhfp, unsigned char *d_uchar, const char *myname UNUSED)

Callers

nothing calls this directly

Calls 1

put_savefieldFunction · 0.85

Tested by

no test coverage detected