better English in messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ff75eef478
commit
9bcdb69ab3
1 changed files with 4 additions and 4 deletions
|
|
@ -603,25 +603,25 @@ public:
|
|||
|
||||
Printf(f_header,"#if (PY_VERSION_HEX <= 0x02000000)\n");
|
||||
Printf(f_header,"# if !defined(SWIG_PYTHON_CLASSIC)\n");
|
||||
Printf(f_header,"# error \"This python version requires to use swig with the '-classic' option\"\n");
|
||||
Printf(f_header,"# error \"This python version requires swig to be run with the '-classic' option\"\n");
|
||||
Printf(f_header,"# endif\n");
|
||||
Printf(f_header,"#endif\n");
|
||||
|
||||
if (modern) {
|
||||
Printf(f_header,"#if (PY_VERSION_HEX <= 0x02020000)\n");
|
||||
Printf(f_header,"# error \"This python version requires to use swig with the '-nomodern' option\"\n");
|
||||
Printf(f_header,"# error \"This python version requires swig to be run with the '-nomodern' option\"\n");
|
||||
Printf(f_header,"#endif\n");
|
||||
}
|
||||
|
||||
if (modernargs) {
|
||||
Printf(f_header,"#if (PY_VERSION_HEX <= 0x02020000)\n");
|
||||
Printf(f_header,"# error \"This python version requires to use swig with the '-nomodernargs' option\"\n");
|
||||
Printf(f_header,"# error \"This python version requires swig to be run with the '-nomodernargs' option\"\n");
|
||||
Printf(f_header,"#endif\n");
|
||||
}
|
||||
|
||||
if (fastunpack) {
|
||||
Printf(f_header,"#ifndef METH_O\n");
|
||||
Printf(f_header,"# error \"This python version requires to use swig with the '-nofastunpack' option\"\n");
|
||||
Printf(f_header,"# error \"This python version requires swig to be run with the '-nofastunpack' option\"\n");
|
||||
Printf(f_header,"#endif\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue