// Destroy deallocates the BlockBasedTableOptions object. func (self *BlockBasedTableOptions) Destroy() { C.rocksdb_block_based_options_destroy(self.c) self.c = nil self.fp = nil self.cache = nil self.comp_cache = nil }
func (o *BlockBasedOptions) Close() { C.rocksdb_block_based_options_destroy(o.Opt) }
// Close deallocates the Options, freeing its underlying C struct. func (o *Options) Close() { C.rocksdb_options_destroy(o.Opt) C.rocksdb_block_based_options_destroy(o.Bopt) }
// Close deallocates the TableOptions, freeing its underlying C struct. func (o *TableOptions) Close() { C.rocksdb_block_based_options_destroy(o.Opt) }
// Destroy deallocates the BlockBasedTableOptions object. func (opts *BlockBasedTableOptions) Destroy() { C.rocksdb_block_based_options_destroy(opts.c) opts.c = nil opts.cache = nil opts.compCache = nil }
// Release deallocates the BlockBasedTableOptions object. func (o *BlockBasedTableOptions) Release() { C.rocksdb_block_based_options_destroy(o.c) o.c = nil o.cache = nil o.compCache = nil }