[Xcb] XCBImageGetPixel

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Fri Jun 30 02:37:09 PDT 2006


Hey,

Yes, it should be const, as the pointer is not modified.

Vincent

On Wed, 28 Jun 2006, Orhun Birsoy wrote:

> Hi,
>
> I think XCBImageGetPixel should take const XCBImage*.
>
> It should be
>      XCBImageGetPixel (const XCBImage *image, int x, int y)
> instead of
>      XCBImageGetPixel (XCBImage *image, int x, int y)
>
> Or is there a specific reason for this?
>
> Orhun Birsoy
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>


More information about the Xcb mailing list