MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / strtobool

Function strtobool

src/testrender/testrender.cpp:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165bool strtobool(const char* str) {
166 return strcmp(str, "1") == 0 ||
167 strcmp(str, "on") == 0 ||
168 strcmp(str, "yes") == 0;
169}
170
171template <int N>
172struct ParamStorage {

Callers 1

parse_sceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected