[m-rev.] for review: use foreign_type instead of c_pointer
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Nov 22 03:54:43 AEDT 2002
On 22-Nov-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
>
> compiler/process_util.m:
> Avoid possible misaligned memory accesses by using
> `:- pragma foreign_type' for the signal_action type
> instead of c_pointer. It's now up to the compiler
> and runtime to get the alignment correct.
That looks fine.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list