Add missing C namespace

This commit is contained in:
Bi-Ruei, Chiu
2018-10-12 14:59:30 +08:00
parent 7312dd1974
commit 3427835ecc

View File

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