changeset 260:5b2e675ac556

cython header file for db.pyx
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 24 Jan 2025 15:04:41 +0000
parents 41ed24203e14
children d3db9e4a0533
files lib/python/cc/lmh/db.pxd
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/python/cc/lmh/db.pxd	Fri Jan 24 15:04:41 2025 +0000
@@ -0,0 +1,5 @@
+cimport cdb
+cdef class CCdb:
+  cdef cdb.Cdb* _c_cdb
+  cdef int find(self, bytes p)
+  cdef char[::1] init(self, int fno)