// Close deallocates the Env, freeing the underlying struct. func (env *Env) Close() { C.rocksdb_env_destroy(env.Env) }
// Release deallocates the Env object. func (e *Env) Release() { C.rocksdb_env_destroy(e.c) e.c = nil }
// Destroy deallocates the Env object. func (env *Env) Destroy() { C.rocksdb_env_destroy(env.c) env.c = nil }
// Destroy deallocates the Env object. func (self *Env) Destroy() { C.rocksdb_env_destroy(self.c) self.c = nil }