| 619 | } |
| 620 | |
| 621 | void |
| 622 | exportascii_sfi_bitfield(NHFILE *nhfp, uint8_t *d_bitfield, const char *myname UNUSED, int bflen UNUSED) |
| 623 | { |
| 624 | char *rstr; |
| 625 | uint8_t tmp; |
| 626 | |
| 627 | /* cnt is the number of bits in the bitfield, not an array dimension */ |
| 628 | rstr = get_savefield(nhfp, linebuf, BUFSZ); |
| 629 | tmp = (uint8_t) atoi(rstr); |
| 630 | #ifdef SAVEFILE_DEBUGGING |
| 631 | if (nhfp->structlevel && tmp != *d_bitfield) |
| 632 | report_problem_ascii(nhfp, myparent, myname, parent); |
| 633 | else |
| 634 | #endif |
| 635 | *d_bitfield = tmp; |
| 636 | } |
| 637 | |
| 638 | void |
| 639 | exportascii_sfi_boolean(NHFILE *nhfp, boolean *d_boolean, const char *myname UNUSED) |
nothing calls this directly
no test coverage detected