Refactor native code.

This commit is contained in:
Nuno Cruces
2023-03-01 12:16:36 +00:00
parent 35265271aa
commit dbc400eb15
13 changed files with 131 additions and 101 deletions

14
sqlite3/main.c Normal file
View File

@@ -0,0 +1,14 @@
#include <stdbool.h>
#include "sqlite3.h"
int main() {
int rc = sqlite3_initialize();
if (rc != SQLITE_OK) return 1;
}
sqlite3_vfs *os_vfs();
int sqlite3_os_init() {
return sqlite3_vfs_register(os_vfs(), /*default=*/true);
}