MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal / parseString

Function parseString

RprTest/tiny_obj_loader.cpp:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81static inline std::string parseString(const char*& token)
82{
83 std::string s;
84 int b = (int)strspn(token, " \t");
85 int e = (int)strcspn(token, " \t\r");
86 s = std::string(&token[b], &token[e]);
87
88 token += (e - b);
89 return s;
90}
91
92static inline int parseInt(const char*& token)
93{

Callers 1

LoadObjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected