mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Initial bindings.
This commit is contained in:
12
sqlite3/main.c
Normal file
12
sqlite3/main.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "sqlite3.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int rc = sqlite3_initialize();
|
||||
if (rc != SQLITE_OK) return -1;
|
||||
}
|
||||
|
||||
sqlite3_vfs *sqlite3_demovfs();
|
||||
|
||||
int sqlite3_os_init() {
|
||||
return sqlite3_vfs_register(sqlite3_demovfs(), /*default=*/1);
|
||||
}
|
||||
Reference in New Issue
Block a user