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

Function iascii_uint16

src/IO/rply.c:1416–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1414}
1415
1416static 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
1424static int iascii_int32(p_ply ply, double *value) {
1425 char *end;

Callers

nothing calls this directly

Calls 1

ply_read_wordFunction · 0.85

Tested by

no test coverage detected