Re: [cc65] Initialize an array os structs

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2011-01-06 01:57:59
>  FOO test[] = {2, 5, 1, 4};

This is valid C:

FOO test[] = { { 2, 5 }, { 1, 4 } };

Regards,
Johan
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 6 01:58:28 2011

This archive was generated by hypermail 2.1.8 : 2011-01-06 01:58:30 CET