On Wed, 2014-11-05 at 14:43 +0000, Ian Jackson wrote:

Sorry to be a bit late to the game, do I win a prize? ;-)

[...]
> + Usually, don't use:     Instead, use (see libxl_internal.h):
> +  libxl__log[v]           LOG, LOGE, LOGEV
> +  libxl__sprintf          GCSPRINTF
> +  libxl__*alloc et al.    GCNEW, GCNEW_ARRAY, GCREALLOC_ARRAY
> +  malloc et al.           GCNEW, GCNEW_ARRAY, GCREALLOC_ARRAY with NOGC

This last one isn't possible, because those macros do not take an explicit
gc (they assume gc in the calling context) so you can't pass them NOGC.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to