mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
19 lines
269 B
C
19 lines
269 B
C
#pragma once
|
|
|
|
#ifdef FF_HAVE_JSONC
|
|
|
|
#include "fastfetch.h"
|
|
|
|
#include <json-c/json.h>
|
|
|
|
bool ffJsonLoadLibrary(const FFinstance* instance);
|
|
|
|
static inline void wrapJsoncFree(json_object** root)
|
|
{
|
|
assert(root);
|
|
if (*root)
|
|
json_object_put(*root);
|
|
}
|
|
|
|
#endif
|