+ add __neq__ operator : ( self != self )

This commit is contained in:
Artem Pavlenko 2011-06-07 16:14:26 +00:00
parent 1d2abb8206
commit 6a92e63cc1

View file

@ -81,6 +81,7 @@ void export_color ()
"Gets or sets the alpha component.\n"
"The value is between 0 and 255.\n")
.def(self == self)
.def(self != self)
.def_pickle(color_pickle_suite())
.def("__str__",&color::to_string)
.def("to_hex_string",&color::to_hex_string,