[Xcb] no more *_new functions

Vincent Torri vtorri at univ-evry.fr
Tue Oct 10 11:26:07 PDT 2006


Hey,

While updating evas, I've remarked that xproto.h has no more *_new 
functions (nor in the extension header files).

might be a bug in c-client.xsl : I see no occurrence of _new.

In old c-client.xsl, there was that template :

   <xsl:template match="xidtype" mode="pass1">
     <struct name="{xcb:xcb-prefix(@name)}_t">
       <field type="uint32_t" name="xid" />
     </struct>
     <iterator ref="{xcb:xcb-prefix(@name)}" />
     <iterator-functions ref="{xcb:xcb-prefix(@name)}" />
     <function type="{xcb:xcb-prefix(@name)}_t" 
name="{xcb:xcb-prefix(@name)}_new">
       <field type="xcb_connection_t *" name="c" />
       <l><xsl:value-of select="concat(xcb:xcb-prefix(@name), '_t')" /> 
ret;</l>
       <l>ret.xid = xcb_generate_id(c);</l>
       <l>return ret;</l>
     </function>
   </xsl:template>

It is now missing.

Vincent


More information about the Xcb mailing list