Staging
v0.5.1
Revision 3dc4428a3704b0173ddcf22e01d6b3003e0837a9 authored by Miss Islington (bot) on 08 June 2020, 17:55:13 UTC, committed by GitHub on 08 June 2020, 17:55:13 UTC
(cherry picked from commit 951d680d56d8c32556437a86f6b42f221635b97f)

Authored-by: Stefan Krah <skrah@bytereef.org>
1 parent ecdd28c
Raw File
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