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

Method setExpression

Engine/source/core/strings/findMatch.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void FindMatch::setExpression( const char *_expression )
71{
72 delete [] expression;
73
74 dsize_t expressionLen = dStrlen(_expression) + 1;
75 expression = new char[expressionLen];
76 dStrcpy(expression, _expression, expressionLen);
77 dStrupr(expression);
78}
79
80bool FindMatch::findMatch( const char *str, bool caseSensitive )
81{

Callers

nothing calls this directly

Calls 3

dStrcpyFunction · 0.85
dStruprFunction · 0.85
dStrlenFunction · 0.70

Tested by

no test coverage detected