MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / dStrEqual

Function dStrEqual

Engine/source/core/strings/stringFunctions.cpp:482–488  ·  view source on GitHub ↗

Safe form of dStrcmp: checks both strings for NULL before comparing

Source from the content-addressed store, hash-verified

480
481/// Safe form of dStrcmp: checks both strings for NULL before comparing
482bool dStrEqual(const char* str1, const char* str2)
483{
484 if (!str1 || !str2)
485 return false;
486 else
487 return (dStrcmp(str1, str2) == 0);
488}
489
490/// Check if one string starts with another
491bool dStrStartsWith(const char* str1, const char* str2)

Callers 15

processAnimationMethod · 0.85
processNodeFunction · 0.85
findInputSourceFunction · 0.85
initSourceReaderMethod · 0.85
classifyInputsMethod · 0.85
getNameMethod · 0.85
animatesMatFrameMethod · 0.85
animatesFrameMethod · 0.85
addMaterialMethod · 0.85
getMorphVertexDataMethod · 0.85
findExtraTechniqueMethod · 0.85

Calls 1

dStrcmpFunction · 0.70

Tested by

no test coverage detected