Re: [AD] PALETTE and RGB* (part 2)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> If you put these prototypes in the same file, a C compiler will not
> complain, so they are all equivalent:
>
>     void foo(RGB *pal);
>     void foo(RGB pal[PAL_SIZE]);
>     void foo(PALETTE pal);

Sorry for being so picky, but did you check with a C++ compiler ?

- Eric (who experienced a disk crash yesterday on this computer, luckily not
his, but lost a bunch of Allegro e-mails in the disaster though... :-(




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/