Skip to content

Commit

Permalink
Fix: C: missing argument in usearch_count (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
huahaiy authored Jan 23, 2025
1 parent ab88e98 commit 23e2fdb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions c/usearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ USEARCH_EXPORT void usearch_view(usearch_index_t index, char const* path, usearc
* @param[in] path The file path from where the index will be loaded.
* @param[out] options Pointer to the `usearch_init_options_t` structure to be populated.
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
* @return A handle to the initialized USearch index, or `NULL` on failure.
*/
USEARCH_EXPORT void usearch_metadata(char const* path, usearch_init_options_t* options, usearch_error_t* error);

Expand Down Expand Up @@ -219,7 +218,6 @@ USEARCH_EXPORT void usearch_view_buffer(usearch_index_t index, void const* buffe
* @param[in] buffer The in-memory continuous buffer from where the view will be created.
* @param[out] options Pointer to the `usearch_init_options_t` structure to be populated.
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
* @return A handle to the initialized USearch index, or `NULL` on failure.
*/
USEARCH_EXPORT void usearch_metadata_buffer(void const* buffer, size_t length, usearch_init_options_t* options,
usearch_error_t* error);
Expand Down Expand Up @@ -356,7 +354,7 @@ USEARCH_EXPORT bool usearch_contains(usearch_index_t index, usearch_key_t key, u
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
* @return Number of vectors found under that key.
*/
USEARCH_EXPORT size_t usearch_count(usearch_index_t index, usearch_key_t, usearch_error_t* error);
USEARCH_EXPORT size_t usearch_count(usearch_index_t index, usearch_key_t key, usearch_error_t* error);

/**
* @brief Performs k-Approximate Nearest Neighbors (kANN) Search for closest vectors to query.
Expand Down

0 comments on commit 23e2fdb

Please sign in to comment.