MCPcopy Create free account
hub / github.com/assaultcube/AC / findbinda

Function findbinda

source/src/console.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164keym **findbinda(const char *action, int type)
165{
166 static vector<keym *> res;
167 res.setsize(0);
168 enumerate(keyms, keym, km, if(!strcasecmp(km.actions[type], action)) res.add(&km););
169 res.add(NULL);
170 return res.getbuf();
171}
172
173keym *findbindc(int code)
174{

Callers 2

initMethod · 0.85
keyMethod · 0.85

Calls 3

setsizeMethod · 0.80
addMethod · 0.45
getbufMethod · 0.45

Tested by

no test coverage detected