mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
add guard and c++ support to header file
This commit is contained in:
parent
f0c9282299
commit
2e5ab64f1c
1 changed files with 15 additions and 2 deletions
|
|
@ -1,11 +1,24 @@
|
|||
#ifndef SQLITE_VEC_H
|
||||
#define SQLITE_VEC_H
|
||||
|
||||
#include "sqlite3ext.h"
|
||||
|
||||
#define SQLITE_VEC_VERSION "v${VERSION}"
|
||||
#define SQLITE_VEC_DATE "${DATE}"
|
||||
#define SQLITE_VEC_SOURCE "${SOURCE}"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg,
|
||||
const sqlite3_api_routines *pApi);
|
||||
int sqlite3_vec_fs_read_init(sqlite3 *db, char **pzErrMsg,
|
||||
const sqlite3_api_routines *pApi);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end of the 'extern "C"' block */
|
||||
#endif
|
||||
|
||||
#endif /* ifndef SQLITE_VEC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue