comparison test/testwm.c @ 1769:290b5baf2fca

Fixed bug #215 The current SVN trunk is missing the SDLCALL specifier at numerous locations. It has to be added for all (possibly user provided) callbacks. I stumbled over this while creating a makefile for the OpenWatcom compiler for Win32.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 May 2006 03:40:06 +0000
parents 08e3393e9ffb
children 67fc81efcfc3
comparison
equal deleted inserted replaced
1768:814f9f2c7a33 1769:290b5baf2fca
166 printf("Posting internal quit request\n"); 166 printf("Posting internal quit request\n");
167 event.type = SDL_USEREVENT; 167 event.type = SDL_USEREVENT;
168 SDL_PushEvent(&event); 168 SDL_PushEvent(&event);
169 } 169 }
170 170
171 int FilterEvents(const SDL_Event *event) 171 int SDLCALL FilterEvents(const SDL_Event *event)
172 { 172 {
173 static int reallyquit = 0; 173 static int reallyquit = 0;
174 174
175 switch (event->type) { 175 switch (event->type) {
176 176