MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / SetConfigFile

Function SetConfigFile

StandAlone/StandAlone.cpp:328–339  ·  view source on GitHub ↗

.conf => this is a config file that can set limits/resources

Source from the content-addressed store, hash-verified

326// *.conf => this is a config file that can set limits/resources
327//
328bool SetConfigFile(const std::string& name)
329{
330 if (name.size() < 5)
331 return false;
332
333 if (name.compare(name.size() - 5, 5, ".conf") == 0) {
334 ConfigFile = name;
335 return true;
336 }
337
338 return false;
339}
340
341//
342// Give error and exit with failure code.

Callers 1

ProcessArgumentsFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected