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

Function exportascii_sfo_schar

util/sfexpasc.c:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void
339exportascii_sfo_schar(NHFILE *nhfp, schar *d_schar, const char *myname UNUSED)
340{
341 int itmp;
342 itmp = (int) *d_schar;
343 Sprintf(outbuf, "%d", itmp);
344 put_savefield(nhfp, outbuf, sizeof outbuf);
345 d_schar++;
346}
347
348void
349exportascii_sfo_int16(NHFILE *nhfp, short *d_short, const char *myname UNUSED)

Callers

nothing calls this directly

Calls 1

put_savefieldFunction · 0.85

Tested by

no test coverage detected