oniguruma.h | oniguruma.h | |||
---|---|---|---|---|
#ifndef ONIGURUMA_H | #ifndef ONIGURUMA_H | |||
#define ONIGURUMA_H | #define ONIGURUMA_H | |||
/********************************************************************** | /********************************************************************** | |||
oniguruma.h - Oniguruma (regular expression library) | oniguruma.h - Oniguruma (regular expression library) | |||
**********************************************************************/ | **********************************************************************/ | |||
/*- | /*- | |||
* Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> | * Copyright (c) 2002-2009 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> | |||
* All rights reserved. | * All rights reserved. | |||
* | * | |||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | |||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | |||
* are met: | * are met: | |||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | |||
* notice, this list of conditions and the following disclaimer. | * notice, this list of conditions and the following disclaimer. | |||
* 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright | |||
* notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the | |||
* documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. | |||
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 1 | #define ONIGURUMA_VERSION_TEENY 2 | |||
#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 713 | skipping to change at line 713 | |||
int onig_init P_((void)); | int onig_init P_((void)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_error_code_to_str PV_((OnigUChar* s, int err_code, ...)); | int onig_error_code_to_str PV_((OnigUChar* s, int err_code, ...)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
void onig_set_warn_func P_((OnigWarnFunc f)); | void onig_set_warn_func P_((OnigWarnFunc f)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
void onig_set_verb_warn_func P_((OnigWarnFunc f)); | void onig_set_verb_warn_func P_((OnigWarnFunc f)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pat tern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pat tern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_reg_init P_((regex_t* reg, OnigOptionType option, OnigCaseFoldTyp | ||||
e case_fold_flag, OnigEncoding enc, OnigSyntaxType* syntax)); | ||||
int onig_new_without_alloc P_((OnigRegex, const OnigUChar* pattern, const O | ||||
nigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxT | ||||
ype* syntax, OnigErrorInfo* einfo)); | ||||
ONIG_EXTERN | ||||
int onig_new_deluxe P_((OnigRegex* reg, const OnigUChar* pattern, const Oni gUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo)); | int onig_new_deluxe P_((OnigRegex* reg, const OnigUChar* pattern, const Oni gUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
void onig_free P_((OnigRegex)); | void onig_free P_((OnigRegex)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
void onig_free_body P_((OnigRegex)); | ||||
ONIG_EXTERN | ||||
int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar * pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syn tax, OnigErrorInfo* einfo)); | int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar * pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syn tax, OnigErrorInfo* einfo)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_recompile_deluxe P_((OnigRegex reg, const OnigUChar* pattern, cons t OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo)); | int onig_recompile_deluxe P_((OnigRegex reg, const OnigUChar* pattern, cons t OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOpt ionType option)); | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOpt ionType option)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, c onst OnigUChar* at, OnigRegion* region, OnigOptionType option)); | int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, c onst OnigUChar* at, OnigRegion* region, OnigOptionType option)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
OnigRegion* onig_region_new P_((void)); | OnigRegion* onig_region_new P_((void)); | |||
ONIG_EXTERN | ONIG_EXTERN | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 10 lines changed or added | |||