Skip to content

Commit 113e7ec

Browse files
committed
Enum variants now have CamelCase style.
1 parent f6e8de1 commit 113e7ec

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/lib.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -558,34 +558,34 @@ extern "C" {
558558
#[derive(Copy, Clone, Debug)]
559559
#[repr(C)]
560560
pub enum rocksdb_block_based_table_index_type_t {
561-
binary_search = 0,
562-
hash_search = 1,
561+
BinarySearch = 0,
562+
HashSearch = 1,
563563
}
564564

565565
#[derive(Copy, Clone, Debug)]
566566
#[repr(C)]
567567
pub enum rocksdb_compression_type_t {
568-
no = 0,
569-
snappy = 1,
570-
zlib = 2,
571-
bz2 = 3,
572-
lz4 = 4,
573-
lz4hc = 5,
568+
None = 0,
569+
Snappy = 1,
570+
Zlib = 2,
571+
Bz2 = 3,
572+
Lz4 = 4,
573+
Lz4hc = 5,
574574
}
575575

576576
#[derive(Copy, Clone, Debug)]
577577
#[repr(C)]
578578
pub enum rocksdb_compaction_style_t {
579-
level = 0,
580-
universal = 1,
581-
fifo = 2,
579+
Level = 0,
580+
Yniversal = 1,
581+
Fifo = 2,
582582
}
583583

584584
#[derive(Copy, Clone, Debug)]
585585
#[repr(C)]
586586
pub enum rocksdb_compaction_stop_style_t {
587-
similar_size = 0,
588-
total_size = 1,
587+
SimilarSize = 0,
588+
TotalSize = 1,
589589
}
590590

591591
pub enum rocksdb_t { }

0 commit comments

Comments
 (0)