Mercurial > sdl-ios-xcode
diff src/video/qtopia/SDL_sysevents.cc @ 1336:3692456e7b0f
Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 06:59:48 +0000 |
parents | c9b51268668f |
children | 19418e4422cb |
line wrap: on
line diff
--- a/src/video/qtopia/SDL_sysevents.cc Mon Feb 06 17:28:04 2006 +0000 +++ b/src/video/qtopia/SDL_sysevents.cc Tue Feb 07 06:59:48 2006 +0000 @@ -85,7 +85,7 @@ } /* If our view is active, we'll find key changes here */ - if ( memcmp(keyinfo[0].key_states, keyinfo[1].key_states, 16) != 0 ) { + if ( SDL_memcmp(keyinfo[0].key_states, keyinfo[1].key_states, 16) != 0 ) { for ( i=0; i<16; ++i ) { Uint8 new_state, transition; @@ -149,7 +149,7 @@ /* Initialize all the key states as "up" */ key_flip = 0; - memset(keyinfo[key_flip].key_states, 0, 16); + SDL_memset(keyinfo[key_flip].key_states, 0, 16); /* Initialize the key translation table */ for ( i=0; i<SDL_TABLESIZE(keymap); ++i )