]> git.ipfire.org Git - location/libloc.git/blobdiff - src/python/database.h
python: Remove reference to context from database
[location/libloc.git] / src / python / database.h
index 8155cbd1144037fad32828db43efc6eeb3fa128b..2609d1bf78bb0b1b161a8068647e1da290f60fa6 100644 (file)
 
 #include <Python.h>
 
+#include <loc/database.h>
+
 typedef struct {
        PyObject_HEAD
-       struct loc_ctx* ctx;
        struct loc_database* db;
 } DatabaseObject;