We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 526cea9 commit 4e9446fCopy full SHA for 4e9446f
1 file changed
objectbox/c.py
@@ -5,6 +5,10 @@
5
# initialize the C library
6
C = ctypes.CDLL(ctypes.util.find_library("objectbox"))
7
8
+assert C.obx_version_is_at_least(0, 5, 103) == 1, \
9
+ "ObjectBox v0.5.103+ is not installed. " \
10
+ "Please upgrade/install by following the instructions at https://github.com/objectbox/objectbox-c"
11
+
12
# define some basic types
13
obx_err = ctypes.c_int
14
obx_schema_id = ctypes.c_uint32
0 commit comments