Clarified inline function documentation, removed obsolete Metrowerks compiler directive.
authorSam Lantinga <slouken@libsdl.org>
Thu, 14 Mar 2013 23:10:51 -0700
changeset 7005 6c69ad0b184e
parent 7004 18d4df6942c2
child 7006 ffcf28627e1c
Clarified inline function documentation, removed obsolete Metrowerks compiler directive.
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Fri Mar 15 01:09:19 2013 -0400
+++ b/include/SDL_stdinc.h	Thu Mar 14 23:10:51 2013 -0700
@@ -175,10 +175,6 @@
    enums having the size of an int must be enabled.
    This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11).
 */
-/* Enable enums always int in CodeWarrior (for MPW use "-enum int") */
-#ifdef __MWERKS__
-#pragma enumsalwaysint on
-#endif
 
 /** \cond */
 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
@@ -239,14 +235,12 @@
 
 /* SDL stdinc inline functions:
 
-   The theory here is that, by default, we forcibly inline what we can--with
-   real inline functions that avoid macro side-effects--and your app will use
-   the inline version by default. However, we expose a non-inline version
-   too, which internally just wraps the inline version in a real function,
-   so the symbol is always available in the library even if your app
-   bypassed it with the inline version. The SDL_*_inline versions aren't
-   guaranteed to exist, so never call them directly; use SDL_* instead,
-   and trust the system to give you the right thing.
+   The theory here is that by default we forcibly inline what we can, and your
+   app will use the inline version by default. However we expose a non-inline
+   version too, so the symbol is always available in the library even if your app
+   bypassed the inline version. The SDL_*_inline versions aren't guaranteed to
+   exist, so never call them directly; use SDL_* instead, and trust the system
+   to give you the right thing.
 
    The benefit here is that you can dlsym() these functions, which you
    couldn't if you had macros, you can link against a foreign build of SDL