Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-10-11 05:26:01
Size: 1202
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 4 as of 2010-10-18 05:35:54
Size: 1154
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
||'''filter'''||^a pointer to the SDL_!EventFilter to be read/called^ ???||
||'''userdata'''||^a pointer to a pointer containing user-specified data^||

<<Color2(green,Is userdata an exception to the 'pointer rule'?)>>
||'''filter'''||^a pointer to fill in with the function to call when an event happens^ ???||
||'''userdata'''||^a pointer to a pointer filled in with user-specified data^||

DRAFT

SDL_GetEventFilter

Use this function to return the current event filter.

Syntax

SDL_bool SDL_GetEventFilter(SDL_EventFilter* filter,
                            void**           userdata)

Function Parameters

filter

a pointer to fill in with the function to call when an event happens ???

userdata

a pointer to a pointer filled in with user-specified data

Return Value

Returns the current event filter. If there is no event filter set, this function returns SDL_FALSE.

green

Code Examples

You can add your code example here

Remarks

Can be used to "chain" filters.

*green

*


CategoryAPI, CategoryEvents

None: SDL_GetEventFilter (last edited 2013-08-08 22:36:07 by RyanGordon)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit