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

Function popident

source/src/command.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void popident(ident &id)
65{
66 if(id.type != ID_ALIAS || !id.stack) return;
67 if(id.action != id.executing) delete[] id.action;
68 identstack *stack = id.stack;
69 id.action = stack->action;
70 id.stack = stack->next;
71 id.context = stack->context;
72 delete stack;
73}
74
75ident *newident(const char *name, int context = execcontext)
76{

Callers 5

popFunction · 0.85
executeretFunction · 0.85
loopaFunction · 0.85
looplistFunction · 0.85
popscontextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected