fix anon enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
da6e5673e8
commit
9c6a029e75
4 changed files with 29 additions and 8 deletions
|
|
@ -16,3 +16,8 @@ f.hola = f.Hello
|
|||
if f.hola != f.Hello:
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue