comparison include/SDL_events.h @ 930:02759105b989

Date: Fri, 20 Aug 2004 08:31:20 +0200 From: "Markus F.X.J. Oberhumer" Subject: [SDL-CVS][patch] add missing SDLCALL to headers the small patch attached below (against current CVS) adds some missing SDLCALL decorations to callback types and arguments. Unfortunately one of these changes breaks your gen{def,exp}.pl scripts which should be changed to use non-greedy regular expression matching...
author Sam Lantinga <slouken@libsdl.org>
date Fri, 20 Aug 2004 18:57:01 +0000
parents 04a403e4ccf5
children b2283b0ded26
comparison
equal deleted inserted replaced
929:03fb90fc135e 930:02759105b989
283 This function sets up a filter to process all events before they 283 This function sets up a filter to process all events before they
284 change internal state and are posted to the internal event queue. 284 change internal state and are posted to the internal event queue.
285 285
286 The filter is protypted as: 286 The filter is protypted as:
287 */ 287 */
288 typedef int (*SDL_EventFilter)(const SDL_Event *event); 288 typedef int (SDLCALL *SDL_EventFilter)(const SDL_Event *event);
289 /* 289 /*
290 If the filter returns 1, then the event will be added to the internal queue. 290 If the filter returns 1, then the event will be added to the internal queue.
291 If it returns 0, then the event will be dropped from the queue, but the 291 If it returns 0, then the event will be dropped from the queue, but the
292 internal state will still be updated. This allows selective filtering of 292 internal state will still be updated. This allows selective filtering of
293 dynamically arriving events. 293 dynamically arriving events.