| 827 | #endif |
| 828 | |
| 829 | void |
| 830 | exportascii_sfi_uchar(NHFILE *nhfp, unsigned char *d_uchar, const char *myname UNUSED) |
| 831 | { |
| 832 | uchar tmp; |
| 833 | int itmp; |
| 834 | char *rstr; |
| 835 | |
| 836 | rstr = get_savefield(nhfp, linebuf, BUFSZ); |
| 837 | itmp = atoi(rstr); |
| 838 | tmp = (char ) itmp; |
| 839 | #ifdef SAVEFILE_DEBUGGING |
| 840 | if (nhfp->structlevel && tmp != *d_uchar) |
| 841 | report_problem_ascii(nhfp, myparent, myname, parent); |
| 842 | else |
| 843 | #endif |
| 844 | *d_uchar = tmp; |
| 845 | d_uchar++; |
| 846 | } |
| 847 | |
| 848 | void |
| 849 | exportascii_sfi_uint16(NHFILE *nhfp, uint16 *d_uint16, const char *myname UNUSED) |
nothing calls this directly
no test coverage detected