From ff34cebaa50ebac63643a5e58989e416e09de4b9 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Thu, 15 Sep 2022 19:35:27 +0300 Subject: Initial commit --- tests/init.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/init.c (limited to 'tests/init.c') diff --git a/tests/init.c b/tests/init.c new file mode 100644 index 0000000..7fec8f1 --- /dev/null +++ b/tests/init.c @@ -0,0 +1,11 @@ +#include +#include + +typedef void (*entrypoint)(void); + +int sqlite3_http_init(sqlite3*, char**, const sqlite3_api_routines*); + +void test_init() { + sqlite3_initialize(); + sqlite3_auto_extension((entrypoint)sqlite3_http_init); +} -- cgit v1.2.3