Re: [Qemu-devel] [PATCH] Introduce QEMU_NEW()

Avi Kivity
2011-07-25T14:50:28Z

On 07/25/2011 05:47 PM, malc wrote:
> Right right.. only g_new aborts on zero..
>

"If n_structs is 0 it returns NULL
<http://developer.gnome.org/glib/2.28/glib-Standard-Macros.html#NULL:CAPS>.
"

It's annoying that it takes this parameter at all, but I can live with it.

--
error compiling committee.c: too many arguments to function