Fix display of pointers on 64 bit systems, only 32 bit values were being shown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
594fd2b410
commit
7b58300cbd
15 changed files with 85 additions and 82 deletions
|
|
@ -242,7 +242,7 @@ static DOH *List_str(DOH *lo) {
|
|||
List *l = (List *) ObjData(lo);
|
||||
s = NewStringEmpty();
|
||||
if (ObjGetMark(lo)) {
|
||||
Printf(s, "List(%x)", lo);
|
||||
Printf(s, "List(%p)", lo);
|
||||
return s;
|
||||
}
|
||||
ObjSetMark(lo, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue