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

Function cs_frame_push

internal/cbm/doclink_cs.c:2752–2758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2750} cs_stack_t;
2751
2752static void cs_frame_push(cs_scan_t *s, cs_stack_t *st, cs_frame_t f) {
2753 if (st->sp >= CS_FRAMES) {
2754 s->failed = true; /* cannot happen (see CS_FRAMES); no scope rather than a wrong one */
2755 return;
2756 }
2757 st->frames[st->sp++] = f;
2758}
2759
2760/* Segments of a dotted name. */
2761static int cs_segments(const char *name) {

Callers 2

cs_place_namespaceFunction · 0.85
cs_place_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected