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

Function ply_check_line

src/IO/rply.c:982–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982static int ply_check_line(p_ply ply) {
983 if (strlen(BLINE(ply)) >= LINESIZE) {
984 ply_ferror(ply, "Line too long");
985 return 0;
986 }
987 return 1;
988}
989
990static int ply_read_line(p_ply ply) {
991 const char *end = NULL;

Callers 1

ply_read_lineFunction · 0.85

Calls 1

ply_ferrorFunction · 0.85

Tested by

no test coverage detected