github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/vfs/tests/mptest/testdata/main.c (about)

     1  #include <unistd.h>
     2  
     3  #define sqliteBusyCallback sqliteDefaultBusyCallback
     4  
     5  // Amalgamation
     6  #include "sqlite3.c"
     7  // VFS
     8  #include "vfs.c"
     9  
    10  __attribute__((constructor)) void init() { sqlite3_initialize(); }
    11  
    12  #define sqlite3_enable_load_extension(...)
    13  #define sqlite3_trace(...)
    14  #define unlink(...) (0)
    15  #undef UNUSED_PARAMETER
    16  #include "mptest.c"