fix msvc build (#14)

This commit is contained in:
k.h.lai 2024-06-09 14:53:12 +08:00 committed by GitHub
parent 0c75fd292f
commit 80531b53e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 15 deletions

View file

@ -11,8 +11,15 @@
extern "C" {
#endif
#ifdef _WIN32
__declspec(dllexport)
#endif
int sqlite3_vec_init(sqlite3 *db, char **pzErrMsg,
const sqlite3_api_routines *pApi);
#ifdef _WIN32
__declspec(dllexport)
#endif
int sqlite3_vec_fs_read_init(sqlite3 *db, char **pzErrMsg,
const sqlite3_api_routines *pApi);