Files
sqlite3/vfs/tests/mptest/wasm/main.c
2025-04-17 13:55:44 +01:00

19 lines
419 B
C

#include <unistd.h>
// Use the default callback, not the Go one we patched in.
#define sqliteBusyCallback sqliteDefaultBusyCallback
// Amalgamation
#include "sqlite3.c"
// VFS
#include "vfs.c"
__attribute__((constructor)) void init() { sqlite3_initialize(); }
// Ignore these.
#define sqlite3_enable_load_extension(...)
#define sqlite3_trace(...)
#define unlink(...) (0)
#undef UNUSED_PARAMETER
#include "mptest.c"