diff --git a/mecab/csharp/DictionaryInfo.cs b/mecab/csharp/DictionaryInfo.cs index aaa22bc..954a970 100644 --- a/mecab/csharp/DictionaryInfo.cs +++ b/mecab/csharp/DictionaryInfo.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/Lattice.cs b/mecab/csharp/Lattice.cs index bf4b74a..06dd6bb 100644 --- a/mecab/csharp/Lattice.cs +++ b/mecab/csharp/Lattice.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/MeCab.cs b/mecab/csharp/MeCab.cs index 7d45ec4..babb2f4 100644 --- a/mecab/csharp/MeCab.cs +++ b/mecab/csharp/MeCab.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/MeCabPINVOKE.cs b/mecab/csharp/MeCabPINVOKE.cs index 730e822..0cbd409 100644 --- a/mecab/csharp/MeCabPINVOKE.cs +++ b/mecab/csharp/MeCabPINVOKE.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/MeCab_wrap.cxx b/mecab/csharp/MeCab_wrap.cxx index 62bf997..cdb6ecc 100644 --- a/mecab/csharp/MeCab_wrap.cxx +++ b/mecab/csharp/MeCab_wrap.cxx @@ -1,13 +1,13 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040200 +#define SWIG_VERSION 0x040201 #define SWIGCSHARP /* ----------------------------------------------------------------------------- @@ -134,12 +134,17 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #endif +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. @@ -160,7 +165,6 @@ #endif - #include #include #include @@ -3246,7 +3250,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_MeCab_VERSION_get() { char * jresult ; char *result = 0 ; - result = (char *)("0.996.9"); + result = (char *)("0.996.10"); jresult = SWIG_csharp_string_callback((const char *)result); return jresult; } diff --git a/mecab/csharp/Model.cs b/mecab/csharp/Model.cs index e184629..008d4cc 100644 --- a/mecab/csharp/Model.cs +++ b/mecab/csharp/Model.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/Node.cs b/mecab/csharp/Node.cs index 3aa6b47..b564947 100644 --- a/mecab/csharp/Node.cs +++ b/mecab/csharp/Node.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/Path.cs b/mecab/csharp/Path.cs index e69e162..93f95ae 100644 --- a/mecab/csharp/Path.cs +++ b/mecab/csharp/Path.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/csharp/Tagger.cs b/mecab/csharp/Tagger.cs index 218e7ee..8b9a16d 100644 --- a/mecab/csharp/Tagger.cs +++ b/mecab/csharp/Tagger.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/mecab/java/MeCab_wrap.cxx b/mecab/java/MeCab_wrap.cxx index a13c284..6c90b84 100644 --- a/mecab/java/MeCab_wrap.cxx +++ b/mecab/java/MeCab_wrap.cxx @@ -1,13 +1,13 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040200 +#define SWIG_VERSION 0x040201 #define SWIGJAVA /* ----------------------------------------------------------------------------- @@ -134,12 +134,17 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #endif +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. @@ -160,7 +165,6 @@ #endif - #include #include #include @@ -3597,7 +3601,7 @@ SWIGEXPORT jstring JNICALL Java_org_chasen_mecab_MeCabJNI_VERSION_1get(JNIEnv *j (void)jenv; (void)jcls; - result = (char *)("0.996.9"); + result = (char *)("0.996.10"); if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; } diff --git a/mecab/java/org/chasen/mecab/DictionaryInfo.java b/mecab/java/org/chasen/mecab/DictionaryInfo.java index 427f406..2fb8cf6 100644 --- a/mecab/java/org/chasen/mecab/DictionaryInfo.java +++ b/mecab/java/org/chasen/mecab/DictionaryInfo.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/Lattice.java b/mecab/java/org/chasen/mecab/Lattice.java index bb93d66..6ee617d 100644 --- a/mecab/java/org/chasen/mecab/Lattice.java +++ b/mecab/java/org/chasen/mecab/Lattice.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/MeCab.java b/mecab/java/org/chasen/mecab/MeCab.java index 26508b1..d0592bb 100644 --- a/mecab/java/org/chasen/mecab/MeCab.java +++ b/mecab/java/org/chasen/mecab/MeCab.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/MeCabConstants.java b/mecab/java/org/chasen/mecab/MeCabConstants.java index 28a32c5..9ce4eae 100644 --- a/mecab/java/org/chasen/mecab/MeCabConstants.java +++ b/mecab/java/org/chasen/mecab/MeCabConstants.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/MeCabJNI.java b/mecab/java/org/chasen/mecab/MeCabJNI.java index 0853619..a72a897 100644 --- a/mecab/java/org/chasen/mecab/MeCabJNI.java +++ b/mecab/java/org/chasen/mecab/MeCabJNI.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/Model.java b/mecab/java/org/chasen/mecab/Model.java index 016d78f..e5d03b4 100644 --- a/mecab/java/org/chasen/mecab/Model.java +++ b/mecab/java/org/chasen/mecab/Model.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/Node.java b/mecab/java/org/chasen/mecab/Node.java index 05ee547..8f93d03 100644 --- a/mecab/java/org/chasen/mecab/Node.java +++ b/mecab/java/org/chasen/mecab/Node.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/Path.java b/mecab/java/org/chasen/mecab/Path.java index 91f0d84..49b5072 100644 --- a/mecab/java/org/chasen/mecab/Path.java +++ b/mecab/java/org/chasen/mecab/Path.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/java/org/chasen/mecab/Tagger.java b/mecab/java/org/chasen/mecab/Tagger.java index 7bb3e72..7506db6 100644 --- a/mecab/java/org/chasen/mecab/Tagger.java +++ b/mecab/java/org/chasen/mecab/Tagger.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. diff --git a/mecab/perl/MeCab.pm b/mecab/perl/MeCab.pm index bb57970..9a9a685 100644 --- a/mecab/perl/MeCab.pm +++ b/mecab/perl/MeCab.pm @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (https://www.swig.org). -# Version 4.2.0 +# Version 4.2.1 # # Do not make changes to this file unless you know what you are doing - modify # the SWIG interface file instead. diff --git a/mecab/perl/MeCab_wrap.cxx b/mecab/perl/MeCab_wrap.cxx index 7337531..ff08dc2 100644 --- a/mecab/perl/MeCab_wrap.cxx +++ b/mecab/perl/MeCab_wrap.cxx @@ -1,13 +1,13 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040200 +#define SWIG_VERSION 0x040201 #define SWIGPERL #define SWIG_CASTRANK_MODE @@ -135,12 +135,17 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #endif +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. @@ -160,7 +165,6 @@ # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B) #endif - /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -7261,92 +7265,92 @@ XS(SWIG_init) { SWIG_TypeClientData(SWIGTYPE_p_mecab_dictionary_info_t, (void*) "MeCab::DictionaryInfo"); SWIG_TypeClientData(SWIGTYPE_p_mecab_path_t, (void*) "MeCab::Path"); SWIG_TypeClientData(SWIGTYPE_p_mecab_node_t, (void*) "MeCab::Node"); - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_NOR_NODE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_NOR_NODE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_UNK_NODE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_UNK_NODE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_BOS_NODE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_BOS_NODE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_EOS_NODE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_EOS_NODE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_EON_NODE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_EON_NODE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_SYS_DIC", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_SYS_DIC))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_USR_DIC", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_USR_DIC))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_UNK_DIC", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_UNK_DIC))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_ONE_BEST", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_ONE_BEST))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_NBEST", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_NBEST))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_PARTIAL", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_PARTIAL))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_MARGINAL_PROB", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_MARGINAL_PROB))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_ALTERNATIVE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_ALTERNATIVE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_ALL_MORPHS", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_ALL_MORPHS))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_ALLOCATE_SENTENCE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_ALLOCATE_SENTENCE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_ANY_BOUNDARY", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_ANY_BOUNDARY))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_TOKEN_BOUNDARY", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_TOKEN_BOUNDARY))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "MECAB_INSIDE_TOKEN", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(MECAB_INSIDE_TOKEN))); SvREADONLY_on(sv); @@ -7354,9 +7358,9 @@ XS(SWIG_init) { SWIG_TypeClientData(SWIGTYPE_p_MeCab__Lattice, (void*) "MeCab::Lattice"); SWIG_TypeClientData(SWIGTYPE_p_MeCab__Model, (void*) "MeCab::Model"); SWIG_TypeClientData(SWIGTYPE_p_MeCab__Tagger, (void*) "MeCab::Tagger"); - /*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/perl5/perltypemaps.swg,67,%set_constant@*/ do { + /*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/perl5/perltypemaps.swg,67,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "VERSION", TRUE | 0x2 | GV_ADDMULTI); - sv_setsv(sv, SWIG_FromCharPtr("0.996.9")); + sv_setsv(sv, SWIG_FromCharPtr("0.996.10")); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; ST(0) = &PL_sv_yes; diff --git a/mecab/python/MeCab.py b/mecab/python/MeCab.py index 5fe5fbe..fcadead 100644 --- a/mecab/python/MeCab.py +++ b/mecab/python/MeCab.py @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (https://www.swig.org). -# Version 4.2.0 +# Version 4.2.1 # # Do not make changes to this file unless you know what you are doing - modify # the SWIG interface file instead. diff --git a/mecab/python/MeCab_wrap.cxx b/mecab/python/MeCab_wrap.cxx index 37920ea..51c66d5 100644 --- a/mecab/python/MeCab_wrap.cxx +++ b/mecab/python/MeCab_wrap.cxx @@ -1,13 +1,13 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040200 +#define SWIG_VERSION 0x040201 #define SWIGPYTHON #define SWIG_PYTHON_DIRECTOR_NO_VTABLE @@ -135,12 +135,17 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #endif +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. @@ -161,7 +166,6 @@ #endif - #if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND) /* Workaround for '::hypot' has not been declared', see https://bugs.python.org/issue11566 */ # include @@ -8517,7 +8521,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "MECAB_ANY_BOUNDARY",SWIG_From_int(static_cast< int >(MECAB_ANY_BOUNDARY))); SWIG_Python_SetConstant(d, "MECAB_TOKEN_BOUNDARY",SWIG_From_int(static_cast< int >(MECAB_TOKEN_BOUNDARY))); SWIG_Python_SetConstant(d, "MECAB_INSIDE_TOKEN",SWIG_From_int(static_cast< int >(MECAB_INSIDE_TOKEN))); - SWIG_Python_SetConstant(d, "VERSION",SWIG_FromCharPtr("0.996.9")); + SWIG_Python_SetConstant(d, "VERSION",SWIG_FromCharPtr("0.996.10")); #if PY_VERSION_HEX >= 0x03000000 return m; #else diff --git a/mecab/ruby/MeCab_wrap.cpp b/mecab/ruby/MeCab_wrap.cpp index d8549c9..1ef950c 100644 --- a/mecab/ruby/MeCab_wrap.cpp +++ b/mecab/ruby/MeCab_wrap.cpp @@ -1,13 +1,13 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.0 + * Version 4.2.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040200 +#define SWIG_VERSION 0x040201 #define SWIGRUBY /* ----------------------------------------------------------------------------- @@ -134,12 +134,17 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #endif +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. @@ -159,7 +164,6 @@ # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B) #endif - /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -284,7 +288,7 @@ # pragma warning disable 592 #endif -#if __cplusplus >=201103L +#if defined(__cplusplus) && __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL @@ -2163,7 +2167,7 @@ SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2)) } -/*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg) { VALUE *args = (VALUE *)arg; @@ -2240,7 +2244,7 @@ SWIG_From_bool (bool value) } -/*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE arg) { VALUE *args = (VALUE *)arg; @@ -2278,7 +2282,7 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val) #ifdef SWIG_LONG_LONG_AVAILABLE -/*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE arg) { VALUE *args = (VALUE *)arg; @@ -2357,7 +2361,7 @@ SWIG_From_size_t (size_t value) } -/*@SWIG:/opt/homebrew/Cellar/swig/4.2.0/share/swig/4.2.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ +/*@SWIG:/opt/homebrew/Cellar/swig/4.2.1/share/swig/4.2.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE arg) { VALUE *args = (VALUE *)arg; @@ -6796,6 +6800,6 @@ SWIGEXPORT void Init_MeCab(void) { SwigClassTagger.mark = 0; SwigClassTagger.destroy = (void (*)(void *)) free_MeCab_Tagger; SwigClassTagger.trackObjects = 0; - rb_define_const(mMeCab, "VERSION", SWIG_FromCharPtr("0.996.9")); + rb_define_const(mMeCab, "VERSION", SWIG_FromCharPtr("0.996.10")); }