Files
zeekayandHanzo Dev c4b60583e5 go: commit the generated header the module cannot build without
v0.1.10 shipped a tree with no sqlite-vec.h: upstream gitignores it as a make
artifact, so `git add sqlite-vec.h` was silently skipped and the tag is not
go-gettable — the proxy archive lacks the one header cgo/lib.go includes. The
local probe passed because the file existed on disk.

Forced in and tagged v0.1.11; v0.1.10 stays where it is rather than being moved
under anyone. Generated-and-committed is the same contract as tokens.gen.ts in
@hanzo/design: `make sqlite-vec.h` regenerates it, the tree always carries it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-31 11:23:23 -07:00

42 lines
840 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.10-alpha.4"
// TODO rm
#define SQLITE_VEC_DATE "2026-07-31T11:18:38Z-0700"
#define SQLITE_VEC_SOURCE "04d28bd21773981e2d266bbf6aa4efbd011eb4f6"
#define SQLITE_VEC_VERSION_MAJOR 0
#define SQLITE_VEC_VERSION_MINOR 1
#define SQLITE_VEC_VERSION_PATCH 10
#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 */