mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
35 lines
668 B
Cheetah
35 lines
668 B
Cheetah
#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 "v${VERSION}"
|
|
#define SQLITE_VEC_DATE "${DATE}"
|
|
#define SQLITE_VEC_SOURCE "${SOURCE}"
|
|
|
|
#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 */
|