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

malc
2011-07-25T14:58:19Z

On Mon, 25 Jul 2011, Avi Kivity wrote:

> 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>. "

Right you are.

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

n_structs?

--
mailto:av1474@comtv.ru