Leveldb_comparator_create typedef

LEVELDB_EXPORT leveldb_comparator_t* leveldb_comparator_create(
    void* state, void (*destructor)(void*),
    int (*compare)(void*, const char* a, size_t alen, const char* b,
                   size_t blen),
    const char* (*name)(void*));

Implementation

typedef Leveldb_comparator_create = Pointer<leveldb_comparator_t> Function(
  Pointer<NativeFunction<comparator_destructor>> destructor,
  Pointer<NativeFunction<comparator_compare>> compare,
  Pointer<NativeFunction<comparator_name>> name,
);