Skip to content

Commit 8a47a34

Browse files
committed
Revert header usage.
1 parent 18722e3 commit 8a47a34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cpp/bindings.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <iostream>
1111
#include <string>
1212
#include <vector>
13-
#include <powersync>
1413

1514
using namespace std;
1615
using namespace facebook;
@@ -20,6 +19,11 @@ string docPathStr;
2019
std::shared_ptr<react::CallInvoker> invoker;
2120
jsi::Runtime *runtime;
2221

22+
extern "C" {
23+
int sqlite3_powersync_init(sqlite3 *db, char **pzErrMsg,
24+
const sqlite3_api_routines *pApi);
25+
}
26+
2327
/**
2428
* This function loads the PowerSync extension into SQLite
2529
*/

0 commit comments

Comments
 (0)