MCPcopy Create free account
hub / github.com/ZDoom/Raze / MatchString

Function MatchString

source/core/thingdef_properties.cpp:273–285  ·  view source on GitHub ↗

========================================================================== ==========================================================================

Source from the content-addressed store, hash-verified

271//
272//==========================================================================
273int MatchString (const char *in, const char **strings)
274{
275 int i;
276
277 for (i = 0; *strings != NULL; i++)
278 {
279 if (!stricmp(in, *strings++))
280 {
281 return i;
282 }
283 }
284 return -1;
285}
286
287//==========================================================================
288//

Callers 1

MustMatchStringMethod · 0.85

Calls 1

stricmpFunction · 0.85

Tested by

no test coverage detected