MCPcopy Create free account
hub / github.com/JACoders/OpenJK / PC_FindDefine

Function PC_FindDefine

codemp/botlib/l_precomp.cpp:624–633  ·  view source on GitHub ↗

DEFINEHASHING ============================================================================ Parameter: - Returns: - Changes Globals: - ============================================================================

Source from the content-addressed store, hash-verified

622// Changes Globals: -
623//============================================================================
624define_t *PC_FindDefine(define_t *defines, char *name)
625{
626 define_t *d;
627
628 for (d = defines; d; d = d->next)
629 {
630 if (!strcmp(d->name, name)) return d;
631 } //end for
632 return NULL;
633} //end of the function PC_FindDefine
634//============================================================================
635//
636// Parameter: -

Callers 7

PC_Directive_defineFunction · 0.85
PC_RemoveGlobalDefineFunction · 0.85
PC_Directive_if_defFunction · 0.85
PC_EvaluateTokensFunction · 0.85
PC_EvaluateFunction · 0.85
PC_DollarEvaluateFunction · 0.85
PC_ReadTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected