MCPcopy Create free account
hub / github.com/ElementsProject/elements / leveldb_options_set_comparator

Function leveldb_options_set_comparator

src/leveldb/db/c.cc:372–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370void leveldb_options_destroy(leveldb_options_t* options) { delete options; }
371
372void leveldb_options_set_comparator(leveldb_options_t* opt,
373 leveldb_comparator_t* cmp) {
374 opt->rep.comparator = cmp;
375}
376
377void leveldb_options_set_filter_policy(leveldb_options_t* opt,
378 leveldb_filterpolicy_t* policy) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68