search for: stringtypemap

Displaying 1 result from an estimated 1 matches for "stringtypemap".

2005 Oct 09
1
[Fwd: Re: [Swig] typemap + default argument bug?]
...B calls SWIG_ConvertPtr to convert the instanceName > argument to a p_String, thereby ignoring the typemap. > > Previous versions of swig do not seem to exhibit this behavior (I > checked 1.3.22 and 1.3.24). They seem to treat the instanceName > argument as a PyObject* before calling stringTypemap. > > Do I misunderstand something, or is this a bug in 1.3.25? Is there a > workaround? Here''s my guess. What you are seeing results from the fact that the handling of default arguments changed to be like the handling of overloaded functions. For overloaded functions to work ri...