add the -modernargs/-nomodernargs options and code to deal with old python 1.5

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-20 00:35:03 +00:00
commit c805e48d35
4 changed files with 155 additions and 35 deletions

View file

@ -27,9 +27,6 @@
/**** The PySequence C++ Wrap ***/
%insert(header) %{
#if PY_VERSION_HEX < 0x02000000
#define PySequence_Size PySequence_Length
#endif
#include <stdexcept>
%}