MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / StringInList

Function StringInList

engine/Poseidon/IO/PackFiles.cpp:472–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470const char* DefFileBankEncrypt[] = {".p3d", ".bin", ".cpp", ".sqm", ".sqs", ".ext", ".csv", nullptr};
471
472static bool StringInList(const char* str, const char** list)
473{
474 while (*list)
475 {
476 if (!strcmpi(*list, str))
477 {
478 return true;
479 }
480 list++;
481 }
482 return false;
483}
484
485LSError FileBankManager::Create(const char* tgt, const char* src, bool compress, bool optimize, const char* logFile,
486 const char** doNotCompress, const QFProperty* properties, int nProperties)

Callers 1

CreateMethod · 0.70

Calls 1

strcmpiFunction · 0.50

Tested by

no test coverage detected