diff --git a/objectbox/c.py b/objectbox/c.py index 79a1e39..ba12f0a 100644 --- a/objectbox/c.py +++ b/objectbox/c.py @@ -695,8 +695,12 @@ def c_array_pointer(py_list: Union[List[Any], np.ndarray], c_type): [OBX_query_p, obx_schema_id, obx_schema_id, ctypes.POINTER(ctypes.c_float), ctypes.c_size_t]) +# OBX_C_API obx_err obx_query_param_alias_int(OBX_query* query, const char* alias, int64_t value); +obx_query_param_alias_int = c_fn_rc('obx_query_param_alias_int', [OBX_query_p, ctypes.c_char_p, ctypes.c_int64]) + # OBX_C_API obx_err obx_query_param_alias_vector_float32(OBX_query* query, const char* alias, const float* value, size_t element_count); -# TODO +obx_query_param_alias_vector_float32 = c_fn_rc('obx_query_param_alias_vector_float32', + [OBX_query_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_float), ctypes.c_size_t]) # OBX_C_API obx_err obx_qb_order(OBX_query_builder* builder, obx_schema_id property_id, OBXOrderFlags flags); obx_qb_order = c_fn_rc('obx_qb_order', [OBX_query_builder_p, obx_schema_id, OBXOrderFlags])