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

Method replaceValue

Engine/source/console/simDatablock.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void SimDataBlock::SubstitutionStatement::replaceValue(const char* value)
77{
78 dFree(this->mValue);
79 this->mValue = dStrdup(value);
80}
81
82// this is the copy-constructor for creating temp-clones.
83SimDataBlock::SimDataBlock(const SimDataBlock& other, bool temp_clone) : SimObject(other, temp_clone)

Callers 1

addSubstitutionMethod · 0.80

Calls 1

dFreeFunction · 0.50

Tested by

no test coverage detected