MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / call_at_line

Function call_at_line

tests/test_extraction.c:8823–8831  ·  view source on GitHub ↗

The call to `callee` on source line `line`, or NULL. */

Source from the content-addressed store, hash-verified

8821
8822/* The call to `callee` on source line `line`, or NULL. */
8823static const CBMCall *call_at_line(CBMFileResult *r, const char *callee, int line) {
8824 for (int i = 0; i < r->calls.count; i++) {
8825 const CBMCall *c = &r->calls.items[i];
8826 if (c->start_line == line && c->callee_name && strcmp(c->callee_name, callee) == 0) {
8827 return c;
8828 }
8829 }
8830 return NULL;
8831}
8832
8833/* #946: ReGameDLL_CS defines its hookable methods as
8834 * `void CBasePlayer::__API_HOOK(ReloadWeapons)(...)`, a function-like macro in

Callers 1

test_extraction.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected