Re: [AD] New END_OF_MAIN() Proposal

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


Dustin Dettmer wrote:
I recently came up with an idea that would remove the
need for the phrase END_OF_MAIN() after the user's
'main' function.  It still involves macro magic and
the 'main' function would still need to have 'int'
specified, but this method would pretty it up a little
bit.

Unfortunately, using that way would cause things like:

struct {
   int value;
   char *main;
} my_struct;

to die horribly.




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