Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#692 Bug in asptr function leading to runtime crash?

open
Marcelo Matus
python (259)
5
2012-12-21
2006-06-13
nitro
No

Hi Marcelo,

Here's my initial problem:

http://sourceforge.net/mailarchive/forum.php?
thread_id=11069307&forum_id=46074

You answered this:

"Yes, that is a bug, it should be:

int res = (SWIG_ConvertPtr(obj, (void**)&p,
type_info<Type>(), 0) == SWIG_OK) ? SWIG_OLDOBJ :
SWIG_ERROR;"

However, you posted this before my follow-up about the
strange warning generated. I am also not sure if you
changed the SWIG_ERROR thing in the code already or if
you are still busy, that's why I am adding it here.

-Matthias

Discussion