symbian-qemu-0.9.1-12/python-win32-2.6.1/include/pystrcmp.h
author Shabe Razvi <shaber@symbian.org>
Fri, 13 Nov 2009 15:54:25 +0000
changeset 23 cc51249fbd9c
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Added tag PDK_2.0.1 for changeset c506b18dc03f

#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 */