Skip to content

Commit

Permalink
support ruby 2.7 and update SWIG 4.0.2-3a329566f (unreleased) (#42)
Browse files Browse the repository at this point in the history
* test with ruby 2.7
* update SWIG 4.0.2-3a329566f (unreleased)
  • Loading branch information
shogo82148 committed Feb 20, 2020
1 parent e271b7c commit 0113ab6
Show file tree
Hide file tree
Showing 27 changed files with 215 additions and 174 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-linux-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
steps:
- run: sudo apt-get install gettext
- uses: actions/checkout@v2
Expand All @@ -42,7 +43,7 @@ jobs:
sudo make install
working-directory: mecab-ipadic
- name: setup ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: ruby -v
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/DictionaryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/Lattice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/MeCab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/MeCabPINVOKE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
13 changes: 2 additions & 11 deletions mecab/csharp/MeCab_wrap.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
Expand Down Expand Up @@ -358,15 +358,6 @@ SWIGINTERN void SWIG_CSharpException(int code, const char *msg) {

#include "mecab.h"

/* Workaround for ruby1.9.x */
#if defined SWIGRUBY
#include "ruby/version.h"
#if RUBY_API_VERSION_CODE >= 10900
#include "ruby/encoding.h"
#define rb_str_new rb_external_str_new
#endif
#endif



MeCab::Tagger* new_MeCab_Tagger (const char *arg) {
Expand Down Expand Up @@ -3210,7 +3201,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_MeCab_VERSION_get() {
char * jresult ;
char *result = 0 ;

result = (char *)("0.996");
result = (char *)("0.996.2");
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/Path.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/csharp/Tagger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
Expand Down
13 changes: 2 additions & 11 deletions mecab/java/MeCab_wrap.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
Expand Down Expand Up @@ -289,15 +289,6 @@ SWIGINTERN void SWIG_JavaException(JNIEnv *jenv, int code, const char *msg) {

#include "mecab.h"

/* Workaround for ruby1.9.x */
#if defined SWIGRUBY
#include "ruby/version.h"
#if RUBY_API_VERSION_CODE >= 10900
#include "ruby/encoding.h"
#define rb_str_new rb_external_str_new
#endif
#endif



MeCab::Tagger* new_MeCab_Tagger (const char *arg) {
Expand Down Expand Up @@ -3573,7 +3564,7 @@ SWIGEXPORT jstring JNICALL Java_org_chasen_mecab_MeCabJNI_VERSION_1get(JNIEnv *j

(void)jenv;
(void)jcls;
result = (char *)("0.996");
result = (char *)("0.996.2");
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/DictionaryInfo.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/Lattice.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/MeCab.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/MeCabConstants.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/MeCabJNI.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/Model.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/Node.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/Path.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/java/org/chasen/mecab/Tagger.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
Expand Down
2 changes: 1 addition & 1 deletion mecab/perl/MeCab.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
Expand Down
53 changes: 22 additions & 31 deletions mecab/perl/MeCab_wrap.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.1
* Version 4.0.2
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
Expand Down Expand Up @@ -1563,7 +1563,7 @@ static swig_module_info swig_module = {swig_types, 8, 0, 0, 0, 0};
#define SWIG_name "MeCabc::boot_MeCab"
#define SWIG_prefix "MeCabc::"

#define SWIGVERSION 0x040001
#define SWIGVERSION 0x040002
#define SWIG_VERSION SWIGVERSION


Expand All @@ -1590,15 +1590,6 @@ SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);

#include "mecab.h"

/* Workaround for ruby1.9.x */
#if defined SWIGRUBY
#include "ruby/version.h"
#if RUBY_API_VERSION_CODE >= 10900
#include "ruby/encoding.h"
#define rb_str_new rb_external_str_new
#endif
#endif



MeCab::Tagger* new_MeCab_Tagger (const char *arg) {
Expand Down Expand Up @@ -7270,102 +7261,102 @@ 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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%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);
} while(0) /*@SWIG@*/;
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:/usr/local/share/swig/4.0.1/perl5/perltypemaps.swg,65,%set_constant@*/ do {
/*@SWIG:/usr/local/share/swig/4.0.2/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "VERSION", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_FromCharPtr("0.996"));
sv_setsv(sv, SWIG_FromCharPtr("0.996.2"));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
ST(0) = &PL_sv_yes;
Expand Down
2 changes: 1 addition & 1 deletion mecab/python/MeCab.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
Expand Down

0 comments on commit 0113ab6

Please sign in to comment.