sqlite-vec.h 838 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef SQLITE_VEC_H
  2. #define SQLITE_VEC_H
  3. #ifndef SQLITE_CORE
  4. #include "sqlite3ext.h"
  5. #else
  6. #include "sqlite3.h"
  7. #endif
  8. #ifdef SQLITE_VEC_STATIC
  9. #define SQLITE_VEC_API
  10. #else
  11. #ifdef _WIN32
  12. #define SQLITE_VEC_API __declspec(dllexport)
  13. #else
  14. #define SQLITE_VEC_API
  15. #endif
  16. #endif
  17. #define SQLITE_VEC_VERSION "v0.1.7-alpha.2"
  18. // TODO rm
  19. #define SQLITE_VEC_DATE "2025-01-10T23:18:50Z+0000"
  20. #define SQLITE_VEC_SOURCE "bdc336d1cf2a2222b6227784bd30c6631603279b"
  21. #define SQLITE_VEC_VERSION_MAJOR 0
  22. #define SQLITE_VEC_VERSION_MINOR 1
  23. #define SQLITE_VEC_VERSION_PATCH 7
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. SQLITE_VEC_API int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg,
  28. const sqlite3_api_routines *pApi);
  29. #ifdef __cplusplus
  30. } /* end of the 'extern "C"' block */
  31. #endif
  32. #endif /* ifndef SQLITE_VEC_H */