MCPcopy Create free account
hub / github.com/blurrypiano/littleVulkanEngine / parseString

Function parseString

external/tinyobjloader/tiny_obj_loader.h:794–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794static inline std::string parseString(const char **token) {
795 std::string s;
796 (*token) += strspn((*token), " \t");
797 size_t e = strcspn((*token), " \t\r");
798 s = std::string((*token), &(*token)[e]);
799 (*token) += e;
800 return s;
801}
802
803static inline int parseInt(const char **token) {
804 (*token) += strspn((*token), " \t");

Callers 3

LoadObjFunction · 0.85
LoadObjWithCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected