1
0
Fork 0
forked from fun/fun

Some refactoring and VM code cleanups. (0.41.6)

This commit is contained in:
Johannes Findeisen 2026-05-07 18:39:36 +02:00
commit 4825007b97
9 changed files with 80 additions and 177 deletions

View file

@ -16,16 +16,13 @@
* This unit may be included or compiled conditionally based on build flags.
*/
/* json-c helpers and VM opcode cases (included from vm.c) */
#ifdef FUN_WITH_JSON
#include "value.h"
#include "vm.h"
//#include "value.h"
//#include "vm.h"
#include <json-c/json.h>
#include <string.h>
//#include <string.h>
/* --- Conversion helpers between json-c and Fun Value --- */
/**
* @brief Convert a json-c object into a Fun Value.
*