src/graph/graphcontext.c
// Register a new GraphContext for module-level tracking
Register a new GraphContext for module-level tracking
Register a new GraphContext for module - level tracking
void GraphContext_RegisterWithModule(GraphContext *gc) {
	uint graph_count = array_len(graphs_in_keyspace);
	for(uint i = 0; i < graph_count; i ++) {
		if(graphs_in_keyspace[i] == gc) return;
	}
	graphs_in_keyspace = array_append(graphs_in_keyspace, gc);
}
void GraphContext_RegisterWithModule ( GraphContext * gc ) { uint graph_count = array_len ( graphs_in_keyspace ) ; for ( uint i = 0 ; i < graph_count ; i ++ ) { if ( graphs_in_keyspace [ i ] == gc ) return ; } graphs_in_keyspace = array_append ( graphs_in_keyspace , gc ) ; }
Register a new GraphContext for module-level tracking
Register a new GraphContext for module - level tracking
// See if the graph context is not already in the keyspace.