Make the tsd member init functions to take tsd_t * type.
This commit is contained in:
@@ -425,13 +425,18 @@ rtree_leaf_elm_witness_release(tsdn_t *tsdn, const rtree_t *rtree,
|
||||
rtree_leaf_elm_witness_dalloc(tsdn_tsd(tsdn), witness, elm);
|
||||
}
|
||||
|
||||
bool
|
||||
void
|
||||
rtree_ctx_data_init(rtree_ctx_t *ctx) {
|
||||
for (unsigned i = 0; i < RTREE_CTX_NCACHE; i++) {
|
||||
rtree_ctx_cache_elm_t *cache = &ctx->cache[i];
|
||||
cache->leafkey = RTREE_LEAFKEY_INVALID;
|
||||
cache->leaf = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
tsd_rtree_ctx_data_init(tsd_t *tsd) {
|
||||
rtree_ctx_data_init(&tsd->rtree_ctx);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user