fix hex pointer conversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7079c05fb5
commit
3c1fce28ae
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
from swigobject import *
|
||||
|
||||
a = A()
|
||||
|
|
@ -14,7 +15,6 @@ lthis = long(a.this)
|
|||
xstr1 = "0x%x" % (lthis,)
|
||||
xstr2 = pointer_str(a)
|
||||
|
||||
print hex(lthis)
|
||||
if xstr1 != xstr2:
|
||||
print xstr1, xstr2
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue