2020-07-14 19:46:01 +00:00
|
|
|
#ifndef WF_IMPL_JSON_DOC_H
|
|
|
|
#define WF_IMPL_JSON_DOC_H
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#include <stddef.h>
|
|
|
|
#else
|
|
|
|
#include <cstddef>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct wf_json_doc;
|
|
|
|
struct wf_json;
|
|
|
|
|
|
|
|
extern struct wf_json_doc *
|
|
|
|
wf_impl_json_doc_loadb(
|
|
|
|
char * data,
|
|
|
|
size_t length);
|
|
|
|
|
|
|
|
extern void
|
|
|
|
wf_impl_json_doc_dispose(
|
|
|
|
struct wf_json_doc * doc);
|
|
|
|
|
|
|
|
extern struct wf_json const *
|
2020-07-15 16:55:09 +00:00
|
|
|
wf_impl_json_doc_root(
|
2020-07-14 19:46:01 +00:00
|
|
|
struct wf_json_doc * doc);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|