MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / iascii_uint8

Function iascii_uint8

src/IO/rply.c:1400–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1398}
1399
1400static 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
1408static int iascii_int16(p_ply ply, double *value) {
1409 char *end;

Callers

nothing calls this directly

Calls 1

ply_read_wordFunction · 0.85

Tested by

no test coverage detected