lbry-rocksdb/rocksdb/cache.pxd

9 lines
244 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)