DocDeclA(
bool, GetRGB(int pixel, byte* OUTPUT, byte* OUTPUT, byte* OUTPUT),
- "GetRGB(int pixel) -> (R,G,B)");
+ "GetRGB(self, int pixel) -> (R,G,B)");
- bool Ok();
+ int GetColoursCount() const;
+ bool IsOk();
+ %pythoncode { Ok = IsOk }
- %pythoncode { def __nonzero__(self): return self.Ok() }
+ %pythoncode { def __nonzero__(self): return self.IsOk() }
+
+ %property(ColoursCount, GetColoursCount, doc="See `GetColoursCount`");
};