MCPcopy Index your code
hub / github.com/assaultcube/AC / newident

Function newident

source/src/command.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75ident *newident(const char *name, int context = execcontext)
76{
77 ident *id = idents->access(name);
78 if(!id)
79 {
80 ident init(ID_ALIAS, newstring(name), newstring(""), persistidents, context);
81 id = &idents->access(init.name, init);
82 }
83 return id;
84}
85
86void pusha(const char *name, char *action)
87{

Callers 4

pushaFunction · 0.85
executeretFunction · 0.85
loopaFunction · 0.85
looplistFunction · 0.85

Calls 2

newstringFunction · 0.85
accessMethod · 0.80

Tested by

no test coverage detected