Skip to content

Commit 0b57c7c

Browse files
committed
Merge pull request #19 from flamerokz/header-swig-fix
fix SWIG preprocessor typos in mecab.h
2 parents 79c670a + e16181c commit 0b57c7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mecab/src/mecab.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ class MECAB_DLL_CLASS_EXTERN Model {
11221122

11231123
virtual ~Model() {}
11241124

1125-
#ifndef SIWG
1125+
#ifndef SWIG
11261126
/**
11271127
* Factory method to create a new Model with a specified main's argc/argv-style parameters.
11281128
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the
@@ -1411,7 +1411,7 @@ class MECAB_DLL_CLASS_EXTERN Tagger {
14111411

14121412
virtual ~Tagger() {}
14131413

1414-
#ifndef SIWG
1414+
#ifndef SWIG
14151415
/**
14161416
* Factory method to create a new Tagger with a specified main's argc/argv-style parameters.
14171417
* Return NULL if new model cannot be initialized. Use MeCab::getLastError() to obtain the

0 commit comments

Comments
 (0)