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

Function svc_ptr_to_enum

internal/cbm/service_patterns.c:757–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755 return (void *)(uintptr_t)((unsigned)k + 1u);
756}
757static inline cbm_svc_kind_t svc_ptr_to_enum(void *p) {
758 return (cbm_svc_kind_t)((uintptr_t)p - 1u);
759}
760
761static void svc_cache_free_key(const char *key, void *val, void *ud) {
762 (void)val;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected