Staging
v0.5.1
https://github.com/python/cpython
Revision afec2d583a06849c5080c6cd40266743c8e04b3e authored by Miss Islington (bot) on 22 May 2018, 17:58:01 UTC, committed by GitHub on 22 May 2018, 17:58:01 UTC
(cherry picked from commit b2f5f59ae15564b991f3ca4850e6ad28d9faacbc)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
1 parent ca6d7ae
Raw File
Tip revision: afec2d583a06849c5080c6cd40266743c8e04b3e authored by Miss Islington (bot) on 22 May 2018, 17:58:01 UTC
bpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033)
Tip revision: afec2d5
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