[Gc] Determining alignment constraints

Ludovic Courtès ludovic.courtes at laas.fr
Tue May 2 02:02:08 PDT 2006


Hi,

Is there a way for programs that use `libgc' to know (preferably at
compile-time) under what alignment constraints `GC_malloc ()' et
al. work?  For instance, it can be useful to know whether `GC_malloc ()'
always return 8-octet aligned memory chunks, as with `ALIGN_DOUBLE'
defined.

Thanks,
Ludovic.



More information about the Gc mailing list