Re: [cc65] Optimizations of structures

From: Shay Green <gblargg1gmail.com>
Date: 2010-09-11 13:29:51
On 9/11/10, thefox xofeht <thefox@aspekt.fi> wrote:
> But yeah, pointers to the array would be impossible to do
> (without some additional attributes to the pointer, i.e. the array
> size, and then things start to get messy).

Standard C can do pointers to arrays:

char a [10];
char (*ap) [10] = &a;
assert( &(*ap) [3] == &a [3] );
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Sep 11 13:29:58 2010

This archive was generated by hypermail 2.1.8 : 2010-09-11 13:30:00 CEST