Removed new_bloom_filter function...

master
Jordan Terrell 6 years ago
parent 895c3f0c32
commit e2949d094c
  1. 4
      src/db.rs
  2. 4
      src/lib.rs

@ -29,10 +29,6 @@ use std::slice;
use std::str;
use std::sync::{Arc, RwLock};
pub fn new_bloom_filter(bits: c_int) -> *mut ffi::rocksdb_filterpolicy_t {
unsafe { ffi::rocksdb_filterpolicy_create_bloom(bits) }
}
unsafe impl Send for DB {}
unsafe impl Sync for DB {}

@ -63,8 +63,8 @@ mod slice_transform;
pub use compaction_filter::Decision as CompactionDecision;
pub use db::{
new_bloom_filter, DBCompactionStyle, DBCompressionType, DBIterator, DBRawIterator,
DBRecoveryMode, DBVector, Direction, IteratorMode, ReadOptions, Snapshot, WriteBatch,
DBCompactionStyle, DBCompressionType, DBIterator, DBRawIterator, DBRecoveryMode,
DBVector, Direction, IteratorMode, ReadOptions, Snapshot, WriteBatch,
};
pub use slice_transform::SliceTransform;

Loading…
Cancel
Save