41 lines
838 B
C
41 lines
838 B
C
#ifndef SQLITE_VEC_H
|
|
#define SQLITE_VEC_H
|
|
|
|
#ifndef SQLITE_CORE
|
|
#include "sqlite3ext.h"
|
|
#else
|
|
#include "sqlite3.h"
|
|
#endif
|
|
|
|
#ifdef SQLITE_VEC_STATIC
|
|
#define SQLITE_VEC_API
|
|
#else
|
|
#ifdef _WIN32
|
|
#define SQLITE_VEC_API __declspec(dllexport)
|
|
#else
|
|
#define SQLITE_VEC_API
|
|
#endif
|
|
#endif
|
|
|
|
#define SQLITE_VEC_VERSION "v0.1.7-alpha.2"
|
|
// TODO rm
|
|
#define SQLITE_VEC_DATE "2025-01-10T23:18:50Z+0000"
|
|
#define SQLITE_VEC_SOURCE "bdc336d1cf2a2222b6227784bd30c6631603279b"
|
|
|
|
|
|
#define SQLITE_VEC_VERSION_MAJOR 0
|
|
#define SQLITE_VEC_VERSION_MINOR 1
|
|
#define SQLITE_VEC_VERSION_PATCH 7
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SQLITE_VEC_API int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg,
|
|
const sqlite3_api_routines *pApi);
|
|
|
|
#ifdef __cplusplus
|
|
} /* end of the 'extern "C"' block */
|
|
#endif
|
|
|
|
#endif /* ifndef SQLITE_VEC_H */
|