MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / GraphContext_RegisterWithModule

Function GraphContext_RegisterWithModule

src/graph/graphcontext.c:771–776  ·  view source on GitHub ↗

register a new GraphContext for module-level tracking

Source from the content-addressed store, hash-verified

769
770// register a new GraphContext for module-level tracking
771void GraphContext_RegisterWithModule
772(
773 GraphContext *gc
774) {
775 Globals_AddGraph(gc);
776}
777
778// retrive GraphContext from the global array
779// graph isn't registered, NULL is returned

Callers 3

_GraphMetaType_RdbLoadFunction · 0.85
_GraphContext_CreateFunction · 0.85

Calls 1

Globals_AddGraphFunction · 0.85

Tested by

no test coverage detected