Staging
v0.5.1
https://github.com/python/cpython
Revision 16e79a47ca3b4efb2300f24aa084c20bb5e8ae0d authored by Miss Islington (bot) on 25 June 2020, 11:28:47 UTC, committed by GitHub on 25 June 2020, 11:28:47 UTC
(cherry picked from commit 589e8fe07934a8585d6c5c31d12ae5f766b8fec7)

Co-authored-by: Ned Deily <nad@python.org>
1 parent bdc55eb
Raw File
Tip revision: 16e79a47ca3b4efb2300f24aa084c20bb5e8ae0d authored by Miss Islington (bot) on 25 June 2020, 11:28:47 UTC
bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141)
Tip revision: 16e79a4
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