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

Function tir_node

src/mcp/test_impact_result_json.c:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <string.h>
3
4tir_json *tir_node(tir_context *c, tir_kind kind) {
5 tir_json *node = tir_alloc(c, 1, sizeof(*node));
6 if (node)
7 node->kind = kind;
8 return node;
9}
10tir_json *tir_null(tir_context *c) {
11 return tir_node(c, TIR_NULL);
12}

Callers 15

tir_named_setFunction · 0.85
tir_case_jsonFunction · 0.85
tir_suite_jsonFunction · 0.85
tir_filter_jsonFunction · 0.85
tir_totals_jsonFunction · 0.85
tir_warnings_jsonFunction · 0.85
tir_nullFunction · 0.85
tir_boolFunction · 0.85
tir_uintFunction · 0.85
tir_intFunction · 0.85
tir_stringFunction · 0.85
tir_lane_plan_buildFunction · 0.85

Calls 1

tir_allocFunction · 0.85

Tested by

no test coverage detected