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

Function parseInt

source/external/tinyobj/tiny_obj_loader.h:874–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872}
873
874static inline int parseInt(const char **token) {
875 (*token) += strspn((*token), " \t");
876 int i = atoi((*token));
877 (*token) += strcspn((*token), " \t\r");
878 return i;
879}
880
881// Tries to parse a floating point number located at s.
882//

Callers 4

parseTagTripleFunction · 0.85
LoadMtlFunction · 0.85
LoadObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected