From: Marcelo M. <mar...@us...> - 2004-05-28 02:10:12
|
Update of /cvsroot/swig/SWIG/Examples/test-suite/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7646/python Modified Files: cpp_enum_runme.py Log Message: fix anon enums Index: cpp_enum_runme.py =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/test-suite/python/cpp_enum_runme.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cpp_enum_runme.py 11 Apr 2004 06:05:36 -0000 1.2 --- cpp_enum_runme.py 28 May 2004 02:10:02 -0000 1.3 *************** *** 17,18 **** --- 17,23 ---- print f.hola raise RuntimeError + + cpp_enum.cvar.hi = cpp_enum.Hello + if cpp_enum.cvar.hi != cpp_enum.Hello: + print cpp_enum.cvar.hi + raise RuntimeError |