Re: [pygccxml-development] USE_CALLDEF_ORGANIZER
Brought to you by:
mbaas,
roman_yakovenko
From: Berserker <ber...@ho...> - 2010-01-28 09:18:39
|
I forgot to report another important problem about calldef_organizer_t. I have a case like this: class Foo { public: void setValue(bool v); void setValue(int v); void setValue(double v); }; Actually, enabling USE_CALLDEF_ORGANIZER, the "bool" override is registered after the "int" one but before "double" and so the python code: f = Foo() f.setValue(True) invokes the "double" override. The problem is that "is_related" method invokes is_integral and not is_arithmetic as I expected: I think that this is another reason to implement a custom "is_related" method in calldef_organizer_t. _________________________________________________________________ 25 Gygabite gratis online. Archivia e condividi i tuoi file! http://www.windowslive.it/skyDrive.aspx |