Re: [cc65] Best way to get aligned memory...

Date view Thread view Subject view

From: Greg King (gngking_at_erols.com)
Date: 2003-01-24 02:21:51


-----Original Message-----
From: Ullrich von Bassewitz
Date: Sunday, January 19, 2003, 06:45 AM
>
> On Thu, Jan 16, 2003 at 05:51:12PM -0500, Greg King wrote:
> > Here is a more compact source version of his code:
>
> The only problem is now, that "BUFALIGN" is no longer the alignment, so it
> should become another name (this was the reason, why I used (BUFALIGN-1)
in
> several places).

In your code, it's the buffer's alignment.
In my code, it's the buffer-aligner.

A symbol's spelling can be chosen to describe its value or its purpose.
So, I think that "BUFALIGN" is acceptable in both versions.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-27 12:54:42 CET