MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / findCompressor

Method findCompressor

Engine/source/core/util/zip/compressor.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46//-----------------------------------------------------------------------------
47
48Compressor *Compressor::findCompressor(S32 method)
49{
50 for(Compressor *walk = gCompressorInitList;walk;walk = walk->mNext)
51 {
52 if(walk->getMethod() == method)
53 return walk;
54 }
55
56 return NULL;
57}
58
59Compressor *Compressor::findCompressor(const char *name)
60{

Callers

nothing calls this directly

Calls 3

dStricmpFunction · 0.85
getMethodMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected