oniguruma.h | oniguruma.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
* SUCH DAMAGE. | * SUCH DAMAGE. | |||
*/ | */ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#define ONIGURUMA | #define ONIGURUMA | |||
#define ONIGURUMA_VERSION_MAJOR 5 | #define ONIGURUMA_VERSION_MAJOR 5 | |||
#define ONIGURUMA_VERSION_MINOR 9 | #define ONIGURUMA_VERSION_MINOR 9 | |||
#define ONIGURUMA_VERSION_TEENY 4 | #define ONIGURUMA_VERSION_TEENY 5 | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
# ifndef HAVE_PROTOTYPES | # ifndef HAVE_PROTOTYPES | |||
# define HAVE_PROTOTYPES 1 | # define HAVE_PROTOTYPES 1 | |||
# endif | # endif | |||
# ifndef HAVE_STDARG_PROTOTYPES | # ifndef HAVE_STDARG_PROTOTYPES | |||
# define HAVE_STDARG_PROTOTYPES 1 | # define HAVE_STDARG_PROTOTYPES 1 | |||
# endif | # endif | |||
#endif | #endif | |||
skipping to change at line 99 | skipping to change at line 99 | |||
#ifndef ONIG_EXTERN | #ifndef ONIG_EXTERN | |||
#define ONIG_EXTERN extern | #define ONIG_EXTERN extern | |||
#endif | #endif | |||
/* PART: character encoding */ | /* PART: character encoding */ | |||
#ifndef ONIG_ESCAPE_UCHAR_COLLISION | #ifndef ONIG_ESCAPE_UCHAR_COLLISION | |||
#define UChar OnigUChar | #define UChar OnigUChar | |||
#endif | #endif | |||
typedef unsigned char OnigUChar; | #ifdef _WIN32 | |||
# include <windows.h> | ||||
typedef ULONG_PTR OnigCodePoint; | ||||
#else | ||||
typedef unsigned long OnigCodePoint; | typedef unsigned long OnigCodePoint; | |||
#endif | ||||
typedef unsigned char OnigUChar; | ||||
typedef unsigned int OnigCtype; | typedef unsigned int OnigCtype; | |||
typedef unsigned int OnigDistance; | typedef unsigned int OnigDistance; | |||
#define ONIG_INFINITE_DISTANCE ~((OnigDistance )0) | #define ONIG_INFINITE_DISTANCE ~((OnigDistance )0) | |||
typedef unsigned int OnigCaseFoldType; /* case fold flag */ | typedef unsigned int OnigCaseFoldType; /* case fold flag */ | |||
ONIG_EXTERN OnigCaseFoldType OnigDefaultCaseFoldFlag; | ONIG_EXTERN OnigCaseFoldType OnigDefaultCaseFoldFlag; | |||
/* #define ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA (1<<1) */ | /* #define ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA (1<<1) */ | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 7 lines changed or added | |||