MCPcopy Create free account
hub / github.com/axmolengine/axmol / parseString

Function parseString

core/3d/ObjLoader.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static inline std::string parseString(const char*& token)
92{
93 std::string s;
94 token += strspn(token, " \t");
95 size_t e = strcspn(token, " \t\r");
96 s = std::string(token, &token[e]);
97 token += e;
98 return s;
99}
100
101static inline int parseInt(const char*& token)
102{

Callers 3

LoadObjFunction · 0.85
parseValueMethod · 0.85
parseObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected