Skip to content

Commit 557738b

Browse files
committed
Minor fixes following review objectbox#24
1 parent 42eae0b commit 557738b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

objectbox/c.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class OBX_id_score(ctypes.Structure):
162162

163163
class OBX_id_score_array(ctypes.Structure):
164164
_fields_ = [
165-
('ids_scores', ctypes.POINTER(OBX_id_score)),
165+
('ids_scores', OBX_id_score_p),
166166
('count', ctypes.c_size_t)
167167
]
168168

objectbox/model/properties.py

-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def _set_flags(self):
159159
self._flags |= OBXPropertyFlags_INDEXED
160160
if isinstance(self._index, Index): # Generic index
161161
self._flags |= self._index.type
162-
print("Flags set to", self._flags, bin(self._flags))
163162

164163
def op(self, op: _ConditionOp, value, case_sensitive: bool = True) -> QueryCondition:
165164
return QueryCondition(self._id, op, value, case_sensitive)

0 commit comments

Comments
 (0)