lbry-rocksdb/rocksdb/cache.pxd

10 lines
308 B
Cython
Raw Normal View History

2014-01-13 19:52:22 +01:00
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)
cdef extern shared_ptr[Cache] NewLRUCache(size_t, int, int)