Flesh out the 3.0 deprecation to suggest using the ctypes module.
[python.git] / Include / pystrcmp.h
blobedb12397e3cbcc761a5ba28221215a62193a48ba
1 #ifndef Py_STRCMP_H
2 #define Py_STRCMP_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
9 PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);
11 #ifdef MS_WINDOWS
12 #define PyOS_strnicmp strnicmp
13 #define PyOS_stricmp stricmp
14 #else
15 #define PyOS_strnicmp PyOS_mystrnicmp
16 #define PyOS_stricmp PyOS_mystricmp
17 #endif
19 #ifdef __cplusplus
21 #endif
23 #endif /* !Py_STRCMP_H */