MCPcopy Create free account
hub / github.com/Twinklebear/ChameleonRT / parseString

Function parseString

util/tiny_obj_loader.h:524–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522}
523
524static inline std::string parseString(const char **token) {
525 std::string s;
526 (*token) += strspn((*token), " \t");
527 size_t e = strcspn((*token), " \t\r");
528 s = std::string((*token), &(*token)[e]);
529 (*token) += e;
530 return s;
531}
532
533static inline int parseInt(const char **token) {
534 (*token) += strspn((*token), " \t");

Callers 3

LoadObjFunction · 0.85
LoadObjWithCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected