| 811 | |
| 812 | |
| 813 | SWIGINTERN PyObject* |
| 814 | SWIG_Python_str_FromChar(const char *c) |
| 815 | { |
| 816 | #if PY_VERSION_HEX >= 0x03000000 |
| 817 | return PyUnicode_FromString(c); |
| 818 | #else |
| 819 | return PyString_FromString(c); |
| 820 | #endif |
| 821 | } |
| 822 | |
| 823 | /* Add PyOS_snprintf for old Pythons */ |
| 824 | #if PY_VERSION_HEX < 0x02020000 |
no outgoing calls
no test coverage detected