minor(c_api): duplicated & mismatched definition (#525)

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Jalin Wang 2026-06-26 10:27:28 +08:00 committed by GitHub
parent 0ead918eb0
commit 0a008ebfbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 8 deletions

View File

@ -3721,13 +3721,6 @@ ZVEC_EXPORT size_t ZVEC_CALL zvec_doc_memory_usage(const zvec_doc_t *doc);
ZVEC_EXPORT zvec_error_code_t ZVEC_CALL
zvec_doc_to_detail_string(const zvec_doc_t *doc, char **detail_str);
/**
* @brief Free docs array memory
* @param docs Document array pointer
* @param count Document count
*/
ZVEC_EXPORT void ZVEC_CALL zvec_docs_free(zvec_doc_t **docs, size_t count);
// =============================================================================
// Utility Functions
// =============================================================================
@ -3761,7 +3754,8 @@ zvec_index_type_to_string(zvec_index_type_t index_type);
* @param metric_type Metric type
* @return const char* Metric type string
*/
const char *zvec_metric_type_to_string(zvec_metric_type_t metric_type);
ZVEC_EXPORT const char *ZVEC_CALL
zvec_metric_type_to_string(zvec_metric_type_t metric_type);
// =============================================================================
// Helper Functions