MCPcopy Create free account
hub / github.com/SaschaWillems/HowToVulkan / parseString

Function parseString

source/external/tinyobj/tiny_obj_loader.h:865–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865static inline std::string parseString(const char **token) {
866 std::string s;
867 (*token) += strspn((*token), " \t");
868 size_t e = strcspn((*token), " \t\r");
869 s = std::string((*token), &(*token)[e]);
870 (*token) += e;
871 return s;
872}
873
874static inline int parseInt(const char **token) {
875 (*token) += strspn((*token), " \t");

Callers 4

LoadMtlFunction · 0.85
LoadObjFunction · 0.85
LoadObjWithCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected