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

Method addString

StandAlone/StandAlone.cpp:1290–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288 }
1289
1290 void addString(std::string& ifileName, const char* itext)
1291 {
1292 assert(count < maxCount);
1293 fileName[count] = ifileName;
1294 text[count] = itext;
1295 fileNameList[count] = fileName[count].c_str();
1296 ++count;
1297 }
1298};
1299
1300// Writes a string into a depfile, escaping some special characters following the Makefile rules.

Callers 1

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected