33 lines
697 B
C
33 lines
697 B
C
#ifndef SQLITE_VEC_H
|
|
#define SQLITE_VEC_H
|
|
|
|
#define SQLITE_CORE 1
|
|
#include <sqlite3.h>
|
|
|
|
#define SQLITE_VEC_API
|
|
#define SQLITE_VEC_VERSION "v0.1.3"
|
|
#define SQLITE_VEC_DATE "2024-08-15"
|
|
#define SQLITE_VEC_SOURCE "yams-embedded"
|
|
|
|
// Provide version triplet macros for sqlite-vec compatibility
|
|
#ifndef SQLITE_VEC_VERSION_MAJOR
|
|
#define SQLITE_VEC_VERSION_MAJOR 0
|
|
#endif
|
|
#ifndef SQLITE_VEC_VERSION_MINOR
|
|
#define SQLITE_VEC_VERSION_MINOR 1
|
|
#endif
|
|
#ifndef SQLITE_VEC_VERSION_PATCH
|
|
#define SQLITE_VEC_VERSION_PATCH 3
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SQLITE_VEC_H */
|