[Xcb] Reply Buffering Question

Barton C Massey bart at cs.pdx.edu
Fri Nov 16 17:08:21 PST 2007


Actually, this is implicit in all _reply() results, so I
don't think it needs to be documented here.  I just updated
the stub API documentation to make this clearer...

	Bart

In message <473E2B3C.5010402 at tycho.nsa.gov> you wrote:
> Barton C Massey wrote:
> > The reply data is copied as it is passed to you by
> > xcb_input_list_input_devices_reply().  That's why you need
> > to free the reply at the end.
> >
> > 	Bart
> >   
> 
> diff --git a/src/c-client.xsl b/src/c-client.xsl
> index c90e94f..e61ce82 100644
> --- a/src/c-client.xsl
> +++ b/src/c-client.xsl
> @@ -407,6 +407,8 @@ authorization from the authors.
>          <doc> * The parameter @p e supplied to this function must be NULL if</doc>
>          <doc> * <xsl:value-of select="xcb:xcb-prefix(@name)" />_unchecked(). is used.</doc>
>          <doc> * Otherwise, it stores the error if any.</doc>
> +        <doc> *</doc>
> +        <doc> * The returned value must be freed by the caller using free().</doc>
>          <doc> */</doc>
>          <field type="xcb_connection_t *" name="c" />
>          <field name="cookie">
> 
> 
> -- 
> Eamon Walsh <ewalsh at tycho.nsa.gov>
> National Security Agency
> 


More information about the Xcb mailing list