[Xcb] const XCBGetSetup
Vincent Torri
Vincent.Torri at iecn.u-nancy.fr
Tue Mar 14 14:56:35 PST 2006
On Tue, 14 Mar 2006, Ian Osgood wrote:
> Vincent,
>
> The recent DOxygen patch to xcb.h also changed the const-ness of
> XCBGetSetup's return value. Assuming this was intentional, I also had
> to fix xcb_conn.c to match in order to compile. There are also lots
> of warnings introduced in xcb-util, when passing the const
> XCBConnSetupSuccessRep * to XCBConnSetup*Iter(). Should these
> prototypes also change to use a const value?
It's intentional, as the returned values must not be freed. I've
completely forgotten to fix these warnings. Do you want me to fix them ?
Vincent
More information about the Xcb
mailing list