aboutsummaryrefslogtreecommitdiff
path: root/yaml/_yaml.h
blob: e3984c4da351688f4c4420c1f876720c10e54c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include <yaml.h>

#define PyUnicode_FromYamlString(s) PyUnicode_FromString((const char *)(void *)(s))
#define PyBytes_AS_Yaml_STRING(s) ((yaml_char_t *)PyBytes_AS_STRING(s))

#ifdef _MSC_VER	/* MS Visual C++ 6.0 */
#if _MSC_VER == 1200

#define PyLong_FromUnsignedLongLong(z)	PyInt_FromLong(i)

#endif
#endif