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

Function rb_init

src/cypher/cypher.c:3041–3045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3039} result_builder_t;
3040
3041static void rb_init(result_builder_t *rb) {
3042 memset(rb, 0, sizeof(*rb));
3043 rb->row_cap = CBM_SZ_32;
3044 rb->rows = malloc(rb->row_cap * sizeof(const char **));
3045}
3046
3047static void rb_set_columns(result_builder_t *rb, const char **cols, int count) {
3048 rb->columns = malloc((count > 0 ? (size_t)count : SKIP_ONE) * sizeof(const char *));

Callers 1

ret_sink_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected