Re: [AD] SF.net SVN: alleg:[11915] allegro/branches/4.9/src |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[11915] allegro/branches/4.9/src
- From: Milan Mimica <milan.mimica@xxxxxxxxxx>
- Date: Sun, 22 Mar 2009 23:47:28 +0100
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