lbry-rocksdb/rocksdb/cache.pxd

9 lines
245 B
Cython
Raw Normal View History

2020-09-03 08:50:52 +02:00
from .std_memory cimport shared_ptr
2014-01-13 19:52:22 +01:00
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)