Getter/Setter as Property with Pyste
June 27, 2004
4 p.m.
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? regards, Achim
7996
Age (days ago)
7996
Last active (days ago)
0 comments
1 participants
participants (1)
-
Achim Domma (Procoders)