Mercurial > sdl-ios-xcode
view docs/man3/SDL_GetEventFilter.3 @ 3925:78ff7d10dbb5 SDL-1.2
From: Laurence Passmore
Date: Mon, 26 Mar 2007 23:22:45 +0100
To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@lists.libsdl.org>
Subject: [SDL] SDL_config_macosx.h: MAC_OS_X_VERSION_MIN_REQUIRED
Hi,
I just compiled my SDL application on Mac OS X with -Wundef and it
threw a number of errors. Of note was:
SDL_config_macosx.h: 34
warning: "MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
Line 34 is:
#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined (__POWERPC__)) )
Now according to this mailing on the Apple developer lists:
http://lists.apple.com/archives/Xcode-users/2005/May/msg00602.html
that particular #define was removed from the gcc compiler defaults
and AvailabilityMacros.h (/usr/include/AvailabilityMacros.h) should
be pulled in directly instead.
Would someone closer to the Mac OS X version of SDL be willing to
make that change please? Thanks.
Laurence Passmore
Homeworld SDL @ www.homeworldsdl.org
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 27 Mar 2007 00:37:51 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
line wrap: on
line source
.TH "SDL_GetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" .SH "NAME" SDL_GetEventFilter\- Retrieves a pointer to he event filter .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" .sp \fBSDL_EventFilter \fBSDL_GetEventFilter\fP\fR(\fBvoid\fR); .SH "DESCRIPTION" .PP This function retrieces a pointer to the event filter that was previously set using \fI\fBSDL_SetEventFilter\fP\fR\&. An SDL_EventFilter function is defined as: .PP .nf \f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR .fi .PP .SH "RETURN VALUE" .PP Returns a pointer to the event filter or \fBNULL\fP if no filter has been set\&. .SH "SEE ALSO" .PP \fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59