[Spice-devel] [PATCH spice-gtk 1/4] coroutine: don't force coroutine_init checking

Christophe Fergeau cfergeau at redhat.com
Tue Nov 19 08:09:50 PST 2013


On Tue, Nov 19, 2013 at 11:05:13AM -0500, Marc-André Lureau wrote:
> 
> 
> ----- Original Message -----
> > On Tue, Nov 19, 2013 at 04:14:22PM +0100, Marc-André Lureau wrote:
> > > Just like any other C function
> > 
> > NACK, I just added this annotation as not checking its return value will
> > cause very hard to track down failures (no usable backtraces), so better to
> > force it to be checked, especially as this is only used internally.
> 
> This is really different from any other C API.

GList, GSList make extensive use of it, and it's also used in a several other
places in glib.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131119/cd43794d/attachment.pgp>


More information about the Spice-devel mailing list