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

Function exportascii_sfo_ushort

util/sfexpasc.c:476–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475
476void
477exportascii_sfo_ushort(NHFILE *nhfp, unsigned short *d_ushort, const char *myname UNUSED)
478{
479 Sprintf(outbuf, "%hu", *d_ushort);
480 put_savefield(nhfp, outbuf, sizeof outbuf);
481 d_ushort++;
482}
483
484void
485exportascii_sfo_unsigned(NHFILE *nhfp, unsigned *d_unsigned, const char *myname UNUSED)

Callers

nothing calls this directly

Calls 1

put_savefieldFunction · 0.85

Tested by

no test coverage detected