| /******************************* | |
| * stat() and fstat() fiddling * | |
| *******************************/ | |
| // VisualAge C/C++ Failed to Define MountType Field in sys/stat.h. | |
| // Windows doesn't define S_IFLNK, but posixmodule.c maps | |
| // IO_REPARSE_TAG_SYMLINK to S_IFLNK. | |
| // Move this down here since some C++ #include's don't like to be included | |
| // inside an extern "C". | |
| extern "C" { | |
| PyAPI_FUNC(wchar_t *) Py_DecodeLocale( | |
| const char *arg, | |
| size_t *size); | |
| PyAPI_FUNC(char*) Py_EncodeLocale( | |
| const wchar_t *text, | |
| size_t *error_pos); | |
| } | |