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

Function iascii_int32

src/IO/rply.c:1424–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424static int iascii_int32(p_ply ply, double *value) {
1425 char *end;
1426 if (!ply_read_word(ply)) return 0;
1427 *value = strtol(BWORD(ply), &end, 10);
1428 if (*end || *value > PLY_INT32_MAX || *value < PLY_INT32_MIN) return 0;
1429 return 1;
1430}
1431
1432static int iascii_uint32(p_ply ply, double *value) {
1433 char *end;

Callers

nothing calls this directly

Calls 1

ply_read_wordFunction · 0.85

Tested by

no test coverage detected