[C++-sig] Fw: arg type equivivalence (constness)
Mike Rovner
mike at bindkey.com
Thu Aug 21 01:17:55 CEST 2003
Mike Rovner wrote:
>> David Abrahams wrote:
>>> "Mike Rovner" <mike at nospam.com> writes:
>>
>>>> Boost.Python.ArgumentError: Python argument types in
>>>> Scheme.ishintable(Scheme, Layer, int)
>>>> did not match C++ signature:
>>>> ishintable(class Tcn::DerivationScheme const *, class
>>>> Tcn::LayerDef const *)
>>>>
>>>> I overlooked extra parameter in Python args and tried to fix
>>>> immaginable bug in Scheme pointer.
>>>
>>> See what I get for providing readable error messages? More support
>>> requests! ;->
>>>
>>>> Scheme is mentioned twice and that probably confused me.
>>>
>>> That's the "self" object, I bet.
>
> What do you think about reporting object instances as "Name()"
> (i.e. Scheme.ishintable(Scheme(), Layer(), int) in previous example)
>
> I can do that. ;) (add PyInstance_Check to reporting routine)
>
> Mike
>
> PS. Seems it was not posted.
PPS. My news.gmane.org interface seems not to work :(
More information about the Cplusplus-sig
mailing list