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

Function iascii_uint32

src/IO/rply.c:1432–1438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430}
1431
1432static int iascii_uint32(p_ply ply, double *value) {
1433 char *end;
1434 if (!ply_read_word(ply)) return 0;
1435 *value = strtol(BWORD(ply), &end, 10);
1436 if (*end || *value > PLY_UINT32_MAX || *value < 0) return 0;
1437 return 1;
1438}
1439
1440static int iascii_float32(p_ply ply, double *value) {
1441 char *end;

Callers

nothing calls this directly

Calls 1

ply_read_wordFunction · 0.85

Tested by

no test coverage detected