Staging
v0.5.1
https://github.com/python/cpython
Revision 0fe3be03926c3468ed4c10980d1a030c8ef4e37e authored by Miss Islington (bot) on 31 May 2018, 06:10:28 UTC, committed by Serhiy Storchaka on 31 May 2018, 06:10:28 UTC
(cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent c2870b6
Raw File
Tip revision: 0fe3be03926c3468ed4c10980d1a030c8ef4e37e authored by Miss Islington (bot) on 31 May 2018, 06:10:28 UTC
bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) (GH-7269)
Tip revision: 0fe3be0
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