| 1414 | } |
| 1415 | |
| 1416 | static int iascii_uint16(p_ply ply, double *value) { |
| 1417 | char *end; |
| 1418 | if (!ply_read_word(ply)) return 0; |
| 1419 | *value = strtol(BWORD(ply), &end, 10); |
| 1420 | if (*end || *value > PLY_UINT16_MAX || *value < 0) return 0; |
| 1421 | return 1; |
| 1422 | } |
| 1423 | |
| 1424 | static int iascii_int32(p_ply ply, double *value) { |
| 1425 | char *end; |
nothing calls this directly
no test coverage detected