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

Function intptr_to_ptr

src/graph_buffer/graph_buffer.c:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#include <time.h>
43
44static inline void *intptr_to_ptr(intptr_t v) {
45 void *p;
46 memcpy(&p, &v, sizeof(p));
47 return p;
48}
49
50/* ── Internal types ──────────────────────────────────────────────── */
51

Callers 2

cbm_gbuf_delete_by_labelFunction · 0.70
cbm_gbuf_delete_by_fileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected