Exemple #1
0
// Close deallocates the Env, freeing the underlying struct.
func (env *Env) Close() {
	C.rocksdb_env_destroy(env.Env)
}
Exemple #2
0
// Release deallocates the Env object.
func (e *Env) Release() {
	C.rocksdb_env_destroy(e.c)
	e.c = nil
}
Exemple #3
0
// Destroy deallocates the Env object.
func (env *Env) Destroy() {
	C.rocksdb_env_destroy(env.c)
	env.c = nil
}
Exemple #4
0
// Destroy deallocates the Env object.
func (self *Env) Destroy() {
	C.rocksdb_env_destroy(self.c)
	self.c = nil
}