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

Function cvecstr

source/src/docs.cpp:151–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151char *cvecstr(vector<char *> &cvec, const char *substr, int *rline = NULL)
152{
153 char *r = NULL;
154 loopv(cvec) if(cvec[i]) if((r = strstr(cvec[i], substr)) != NULL)
155 {
156 if(rline) *rline = i;
157 break;
158 }
159 return r;
160}
161
162void listundoneidents(vector<const char *> &inames, int allidents)
163{

Callers 2

listundoneidentsFunction · 0.85
loopvjFunction · 0.85

Calls 1

loopvFunction · 0.70

Tested by

no test coverage detected