This commit is contained in:
Abdelrahman Said 2023-07-09 22:30:14 +01:00
parent f1519cf0ea
commit 25e9c2db04

View File

@ -4,6 +4,10 @@
#include <stdio.h>
#include <stdlib.h>
// TODO (Abdelrahman): Because print_json and free_json are recursive functions,
// they seem to cause stack overflow when dealing with large files. Refactor
// both of them to avoid this problem.
void print_json(const jentity_t *entity, u32 indent) {
PERSISTENT i32 indentation = 0;