Debian Codegraph @

third_party/python/PyYAML/yaml/_yaml.h

raw
1
2 #include <yaml.h>
3
4 #define PyUnicode_FromYamlString(s) PyUnicode_FromString((const char *)(void *)(s))
5 #define PyBytes_AS_Yaml_STRING(s) ((yaml_char_t *)PyBytes_AS_STRING(s))
6
7 #ifdef _MSC_VER /* MS Visual C++ 6.0 */
8 #if _MSC_VER == 1200
9
10 #define PyLong_FromUnsignedLongLong(z) PyInt_FromLong(i)
11
12 #endif
13 #endif