[m-dev.] for review: mkpragmaframe() bug fix

Andrew Bromage bromage at cs.mu.OZ.AU
Thu Dec 10 07:47:07 AEDT 1998


G'day all.

You (Fergus Henderson) wrote:

> +/* convert a size in bytes to a size in words, rounding up if necessary */
> +#define MR_bytes_to_words(x) (((x) + sizeof(Word) - 1) / sizeof(Word))
> +

There's a macro ML_IO_BYTES_TO_WORDS in io.m that you might want to
move out of there if you're defining this macro somewhere else.

Cheers,
Andrew Bromage



More information about the developers mailing list