Re: [AD] SF.net SVN: alleg:[11915] allegro/branches/4.9/src

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


Peter Wang wrote:

The only problem with it is the fragility. Whenever a new setting is added, tls.c will have to be updated.

In C you can write:

    int x[10] = {0};

Ah I knew there must be way.


/* Isn't it true that &tls->new_display_settings == settings? */

No, but it may happen, changed memcpy to memmove.


Fix anything else you like, I'm going to sleep now.


--
Milan Mimica
http://sparklet.sf.net




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