[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/4] libxl: CODING_STYLE: Much new material
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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |