MCPcopy Create free account
hub / github.com/WheretIB/nullc / GetEscapedName

Function GetEscapedName

NULLC/SyntaxTreeTranslate.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <float.h>
7
8void GetEscapedName(char* result)
9{
10 unsigned int finalLength = strlen(result);
11 for(unsigned int k = 0; k < finalLength; k++)
12 {
13 if(result[k] == ':' || result[k] == '$' || result[k] == '[' || result[k] == ']' || result[k] == ' ' || result[k] == '(' || result[k] == ')' || result[k] == ',')
14 result[k] = '_';
15 }
16}
17
18void GetCFunctionName(char* fName, unsigned int size, FunctionInfo *funcInfo)
19{

Callers 2

TranslateToCMethod · 0.85
TranslateToCMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected