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

Function exportascii_sfo_uchar

util/sfexpasc.c:433–441  ·  view source on GitHub ↗

aka exportascii_sfo_uint8 */

Source from the content-addressed store, hash-verified

431}
432/* aka exportascii_sfo_uint8 */
433void
434exportascii_sfo_uchar(NHFILE *nhfp, unsigned char *d_uchar, const char *myname UNUSED)
435{
436 unsigned x_uint32 = (uint32) *d_uchar;
437
438 Sprintf(outbuf, "%u", x_uint32);
439 put_savefield(nhfp, outbuf, sizeof outbuf);
440 d_uchar++;
441}
442
443void
444exportascii_sfo_uint16(NHFILE *nhfp, uint16 *d_uint16, const char *myname UNUSED)

Callers

nothing calls this directly

Calls 1

put_savefieldFunction · 0.85

Tested by

no test coverage detected