1
0
Fork 0
forked from fun/fun

Added SQLite support and updated the Handbook. (0.32.0)

This commit is contained in:
Johannes Findeisen 2025-11-26 22:21:31 +01:00
commit 9416ec3457
17 changed files with 631 additions and 388 deletions

View file

@ -13,6 +13,10 @@
#include "string.c"
#include "pcsc.c"
#include "jsonc.c"
#ifdef FUN_WITH_SQLITE
#include <sqlite3.h>
#include "vm/sqlite/common.c"
#endif
#include "vm.h"
#include "value.h"
#include <stdio.h>
@ -703,6 +707,12 @@ void vm_run(VM *vm, Bytecode *entry) {
#include "vm/curl/post.c"
#include "vm/curl/download.c"
/* SQLite ops */
#include "vm/sqlite/open.c"
#include "vm/sqlite/close.c"
#include "vm/sqlite/exec.c"
#include "vm/sqlite/query.c"
/* PCRE2 ops */
#include "vm/pcre2/test.c"
#include "vm/pcre2/match.c"