MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / parseString

Function parseString

engine/3rdparty/tinyobjloader/tiny_obj_loader.h:823–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823static inline std::string parseString(const char **token) {
824 std::string s;
825 (*token) += strspn((*token), " \t");
826 size_t e = strcspn((*token), " \t\r");
827 s = std::string((*token), &(*token)[e]);
828 (*token) += e;
829 return s;
830}
831
832static inline int parseInt(const char **token) {
833 (*token) += strspn((*token), " \t");

Callers 3

LoadObjFunction · 0.70
LoadObjWithCallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected