Staging
v0.5.1
https://github.com/python/cpython
Revision a48162a8b8f998d8b949c9a6265f8bc152dab9bb authored by Benjamin Peterson on 17 June 2014, 16:44:55 UTC, committed by Benjamin Peterson on 17 June 2014, 16:44:55 UTC
1 parent 3232384
Raw File
Tip revision: a48162a8b8f998d8b949c9a6265f8bc152dab9bb authored by Benjamin Peterson on 17 June 2014, 16:44:55 UTC
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
Tip revision: a48162a
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 *);

#if defined(MS_WINDOWS) || defined(PYOS_OS2)
#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