1
0
Fork 0
forked from fun/fun

Added very basic XML support using libxml2. (0.35.0)

This commit is contained in:
Johannes Findeisen 2025-12-09 03:59:49 +01:00
commit e65756226d
17 changed files with 436 additions and 3 deletions

View file

@ -13,6 +13,9 @@
#include "string.c"
#include "pcsc.c"
#include "jsonc.c"
#ifdef FUN_WITH_XML2
#include "vm/xml/handles.h"
#endif
#ifdef FUN_WITH_INI
#if defined(__has_include)
# if __has_include(<iniparser/iniparser.h>)
@ -723,6 +726,14 @@ void vm_run(VM *vm, Bytecode *entry) {
#include "vm/json/from_file.c"
#include "vm/json/to_file.c"
/* XML ops (libxml2) */
#ifdef FUN_WITH_XML2
#include "vm/xml/parse.c"
#include "vm/xml/root.c"
#include "vm/xml/name.c"
#include "vm/xml/text.c"
#endif
/* INI ops (iniparser 4.2.6) */
#ifdef FUN_WITH_INI
#include "vm/ini/load.c"