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

Function AllocateString

NULLC/Parser.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11CmdID opHandler[] = { cmdAdd, cmdSub, cmdMul, cmdDiv, cmdMod, cmdPow, cmdLess, cmdLEqual, cmdShl, cmdGreater, cmdGEqual, cmdShr, cmdEqual, cmdNEqual, cmdBitAnd, cmdBitOr, cmdBitXor, cmdLogAnd, cmdLogOr, cmdLogXor, cmdNop };
12
13char* AllocateString(unsigned int size)
14{
15 return (char*)stringPool.Allocate(size);
16}
17
18void ClearStringList()
19{

Callers 15

GetNameInNamespaceFunction · 0.85
GetClassFunctionNameFunction · 0.85
WrapNodeToFunctionFunction · 0.85
GetFunctionContextFunction · 0.85
AddMemberAccessNodeFunction · 0.85
AddInplaceVariableFunction · 0.85
FunctionPrototypeFunction · 0.85
FunctionStartFunction · 0.85
FunctionEndFunction · 0.85
AddMemberFunctionCallFunction · 0.85

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected