changeset 279:6566e24f44fb

work with cdb logging, not sure why it was necessary
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 27 Feb 2025 18:23:05 +0000
parents 1f2063a6417a
children e054fe9403af
files lib/python/cc/lmh/cdb.pxd
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/python/cc/lmh/cdb.pxd	Wed Feb 26 19:52:22 2025 +0000
+++ b/lib/python/cc/lmh/cdb.pxd	Thu Feb 27 18:23:05 2025 +0000
@@ -3,7 +3,7 @@
     ctypedef unsigned int uint32;
 
     ctypedef struct Cdb:
-        pass
+      pass
 
     Cdb* cdb_new ()
     void cdb_free(Cdb* cdb)
@@ -46,4 +46,9 @@
   char *error_str(int);
   int error_temp(int);
 
+cdef extern from "strerr.h":
+  ctypedef struct strerr:
+    pass
 
+  void strerr_warn(char *,char *,char *,char *,char *,char *,strerr *);
+  void strerr_warn4(x1,x2,x3,x4,se);