Staging
v0.5.1
https://github.com/python/cpython
Revision 0c12d70bfdedf85c62e1c2b8c55ef4e84e6ee461 authored by Miss Islington (bot) on 23 January 2020, 18:15:15 UTC, committed by GitHub on 23 January 2020, 18:15:15 UTC
(cherry picked from commit 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1)

Co-authored-by: Shanavas M <shanavas.m2@gmail.com>
1 parent 958064f
Raw File
Tip revision: 0c12d70bfdedf85c62e1c2b8c55ef4e84e6ee461 authored by Miss Islington (bot) on 23 January 2020, 18:15:15 UTC
bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)
Tip revision: 0c12d70
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