Staging
v0.5.1
https://github.com/python/cpython
Revision 0df1f4576ed2b12acc96cbfd732db247249ac573 authored by Miss Islington (bot) on 30 November 2018, 08:05:51 UTC, committed by GitHub on 30 November 2018, 08:05:51 UTC
(cherry picked from commit a40700439195a119878150f4f0d425c42ca957ef)

Co-authored-by: Kevin Adler <kadler@us.ibm.com>
1 parent e604b6c
Raw File
Tip revision: 0df1f4576ed2b12acc96cbfd732db247249ac573 authored by Miss Islington (bot) on 30 November 2018, 08:05:51 UTC
Fix typo in Memory Management doc. (GH-10798)
Tip revision: 0df1f45
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