/usr/include/python3.5m/node.h:19:20: error: expected constructor, destructor, or type conversion before 'PyNode_New'
PyAPI_FUNC(node *) PyNode_New(int type);
^
/usr/include/python3.5m/node.h:20:17: error: expected constructor, destructor, or type conversion before 'PyNode_AddChild'
PyAPI_FUNC(int) PyNode_AddChild(node *n, int type,
^
/usr/include/python3.5m/node.h:22:18: error: expected constructor, destructor, or type conversion before 'PyNode_Free'
PyAPI_FUNC(void) PyNode_Free(node *n);
^
/usr/include/python3.5m/node.h:24:11: error: expected constructor, destructor, or type conversion before '(' token
PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n);
^
I'm getting a lot of errors during make command when adding pybind11 to my existing C++ project which uses "nan" node module to interact with node.js.