lbry-rocksdb/rocksdb/cache.pxd
2020-09-03 08:50:52 +02:00

8 lines
245 B
Cython

from .std_memory cimport shared_ptr
cdef extern from "rocksdb/cache.h" namespace "rocksdb":
cdef cppclass Cache:
pass
cdef extern shared_ptr[Cache] NewLRUCache(size_t)
cdef extern shared_ptr[Cache] NewLRUCache(size_t, int)