2024-05-21 14:54:35 -07:00
|
|
|
#ifndef SQLITE_VEC_H
|
|
|
|
|
#define SQLITE_VEC_H
|
|
|
|
|
|
2024-04-20 13:38:58 -07:00
|
|
|
#include "sqlite3ext.h"
|
|
|
|
|
|
|
|
|
|
#define SQLITE_VEC_VERSION "v${VERSION}"
|
|
|
|
|
#define SQLITE_VEC_DATE "${DATE}"
|
|
|
|
|
#define SQLITE_VEC_SOURCE "${SOURCE}"
|
|
|
|
|
|
2024-05-21 14:54:35 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
2024-04-20 13:38:58 -07:00
|
|
|
|
2024-06-09 14:53:12 +08:00
|
|
|
#ifdef _WIN32
|
|
|
|
|
__declspec(dllexport)
|
|
|
|
|
#endif
|
2024-04-20 13:38:58 -07:00
|
|
|
int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg,
|
2024-05-21 14:54:35 -07:00
|
|
|
const sqlite3_api_routines *pApi);
|
2024-06-09 14:53:12 +08:00
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
__declspec(dllexport)
|
|
|
|
|
#endif
|
2024-04-20 13:38:58 -07:00
|
|
|
int sqlite3_vec_fs_read_init(sqlite3 *db, char **pzErrMsg,
|
2024-05-21 14:54:35 -07:00
|
|
|
const sqlite3_api_routines *pApi);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /* end of the 'extern "C"' block */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* ifndef SQLITE_VEC_H */
|