mirror of
https://github.com/omniscale/imposm3.git
synced 2026-04-03 12:54:25 +02:00
13 lines
362 B
Go
13 lines
362 B
Go
package levigo
|
|
|
|
// #cgo LDFLAGS: -lleveldb
|
|
// #include "leveldb/c.h"
|
|
import "C"
|
|
|
|
// DestroyComparator deallocates a *C.leveldb_comparator_t.
|
|
//
|
|
// This is provided as a convienience to advanced users that have implemented
|
|
// their own comparators in C in their own code.
|
|
func DestroyComparator(cmp *C.leveldb_comparator_t) {
|
|
C.leveldb_comparator_destroy(cmp)
|
|
}
|