Added flexible array members for structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@1925 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2002 Ullrich von Bassewitz */
|
||||
/* Wacholderweg 14 */
|
||||
/* D-70597 Stuttgart */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* R<EFBFBD>merstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
@@ -4013,10 +4013,12 @@ void g_defbytes (const void* Bytes, unsigned Count)
|
||||
|
||||
|
||||
|
||||
void g_zerobytes (unsigned n)
|
||||
/* Output n bytes of data initialized with zero */
|
||||
void g_zerobytes (unsigned Count)
|
||||
/* Output Count bytes of data initialized with zero */
|
||||
{
|
||||
AddDataLine ("\t.res\t%u,$00", n);
|
||||
if (Count > 0) {
|
||||
AddDataLine ("\t.res\t%u,$00", Count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user