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:1086–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084 return (void *)(uintptr_t)((unsigned)k + 1u);
1085}
1086static inline cbm_svc_kind_t svc_ptr_to_enum(void *p) {
1087 return (cbm_svc_kind_t)((uintptr_t)p - 1u);
1088}
1089
1090static void svc_cache_free_key(const char *key, void *val, void *ud) {
1091 (void)val;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected