[C++-sig] Getter/Setter as Property with Pyste
Nicodemus
nicodemus at esss.com.br
Sun Jul 4 19:30:19 CEST 2004
Hi Achim, sorry about the delay,
Achim Domma wrote:
>Hi,
>
>I try to generate Code with Pyste. The wrapped classes have lots of getter
>and setter functions. The generated code looks like this:
>
>.def("borderColor", (void (Magick::Image::*)(const
>Magick::Color&) )&Magick::Image::borderColor)
>.def("borderColor", (Magick::Color (Magick::Image::*)()
>const)&Magick::Image::borderColor)
>
>Is there a simple way to tell Pyste to generate an add_property call for
>'borderColor' instead of the two functions?
>
>
Right now there is no direct support for that, sorry! 8(
Regards,
Nicodemus.
More information about the Cplusplus-sig
mailing list