Add missing C namespace

This commit is contained in:
Bi-Ruei, Chiu 2018-10-12 14:59:30 +08:00
parent 7312dd1974
commit 3427835ecc
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#include <yaml.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
yaml_document_t *document;
yaml_node_t *node;