| 1398 | } |
| 1399 | |
| 1400 | static int iascii_uint8(p_ply ply, double *value) { |
| 1401 | char *end; |
| 1402 | if (!ply_read_word(ply)) return 0; |
| 1403 | *value = strtol(BWORD(ply), &end, 10); |
| 1404 | if (*end || *value > PLY_UINT8_MAX || *value < 0) return 0; |
| 1405 | return 1; |
| 1406 | } |
| 1407 | |
| 1408 | static int iascii_int16(p_ply ply, double *value) { |
| 1409 | char *end; |
nothing calls this directly
no test coverage detected