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