[Xcb] adding const in parameters prototypes
jamey at minilop.net
Thu Mar 16 11:31:32 PST 2006
On Thu, Mar 16, 2006 at 06:48:15PM +0100, Vincent Torri wrote:
> On Thu, 16 Mar 2006, Jamey Sharp wrote:
> > On Thu, Mar 16, 2006 at 08:16:36AM +0100, Vincent Torri wrote:
> > > I'm wondering if it's possible to add const to some parameters of function
> > > (like XCBConnSetupSuccessRepRootsIter, for example). I think that this
> > > must be done in the xml description.
> > Not in the XML, but in the XSLT, yes.
> do you think that it's a good idea to add some const ? (for example, for
> all the functions that require a XCBConnSetupSuccessRep *)
I'm not sure. constness is infectious. :-) Still, I think const should be
harmless in the parameters to all the functions that return iterators.
It's not entirely obvious to me how to make this change to the XSLT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060316/2410cdd3/attachment.pgp
More information about the Xcb