File indexing completed on 2025-01-18 10:06:50
0001 #ifndef Py_STRCMP_H
0002 #define Py_STRCMP_H
0003
0004 #ifdef __cplusplus
0005 extern "C" {
0006 #endif
0007
0008 PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
0009 PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);
0010
0011 #ifdef MS_WINDOWS
0012 #define PyOS_strnicmp strnicmp
0013 #define PyOS_stricmp stricmp
0014 #else
0015 #define PyOS_strnicmp PyOS_mystrnicmp
0016 #define PyOS_stricmp PyOS_mystricmp
0017 #endif
0018
0019 #ifdef __cplusplus
0020 }
0021 #endif
0022
0023 #endif