MCPcopy Create free account
hub / github.com/beefytech/Beef / TempRemoveTemplateStr

Method TempRemoveTemplateStr

IDEHelper/DbgModule.cpp:3143–3154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3141}
3142
3143void DbgModule::TempRemoveTemplateStr(const char*& name, int& templateNameIdx)
3144{
3145 if (templateNameIdx == 0)
3146 FindTemplateStr(name, templateNameIdx);
3147 if (templateNameIdx == -1)
3148 return;
3149
3150 if (!DbgIsStrMutable(name))
3151 name = DbgDupString(name);
3152
3153 ((char*)name)[templateNameIdx] = 0;
3154}
3155
3156void DbgModule::ReplaceTemplateStr(const char*& name, int& templateNameIdx)
3157{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected