feat: add infinite loop control args

This commit is contained in:
samsonium
2026-10-25 04:52:07 +03:00
parent 04fdd58e4f
commit 3bb60071bb
3 changed files with 63 additions and 28 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ typedef struct
fzl_vm_t *fzl_mkvm(const char *filepath);
// Load and run code
int fzl_vm_run(fzl_vm_t *vm);
int fzl_vm_run(fzl_vm_t *vm, bool allow_infinite, uint64_t max_iter);
// Get last VM error message
char *fzl_vm_geterror();