[Xcb] no more *_new functions

Jeremy A. Kolb jkolb at brandeis.edu
Tue Oct 10 12:09:55 PDT 2006

On Tue, 10 Oct 2006, Jamey Sharp wrote:

> On Tue, Oct 10, 2006 at 08:26:07PM +0200, Vincent Torri wrote:
> > Hey,
> Hi, Vincent!

Hi Jamey!

> > While updating evas, I've remarked that xproto.h has no more *_new 
> > functions (nor in the extension header files).
> Yes, the _new functions are no longer useful since XID types are just
> typedef'd integers now. Instead, just call xcb_generate_id, which has
> been moved to xcb.h.

I kind of liked seeing the type names in there.  It's less error prone and 
I think the user would be less likely to use an xid w/o initializing 
it first.

> The API conversion script takes care of this for you, by the way.
> --Jamey


More information about the Xcb mailing list