Staging
v0.5.1
https://github.com/python/cpython
Revision f093007d4cf59fca19cb779c798752f7fbf837f8 authored by Serhiy Storchaka on 18 September 2020, 07:13:57 UTC, committed by Ɓukasz Langa on 04 October 2020, 15:32:39 UTC
(cherry picked from commit 27201cddf3b25be7df25bbe36966531539757d60)
1 parent 3d87eee
Raw File
Tip revision: f093007d4cf59fca19cb779c798752f7fbf837f8 authored by Serhiy Storchaka on 18 September 2020, 07:13:57 UTC
[3.9] Remove duplicated words words (GH-22298). (GH-22299)
Tip revision: f093007
pystrcmp.h
#ifndef Py_STRCMP_H
#define Py_STRCMP_H

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);

#ifdef MS_WINDOWS
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
#define PyOS_strnicmp PyOS_mystrnicmp
#define PyOS_stricmp PyOS_mystricmp
#endif

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRCMP_H */
back to top