include/SDL_stdinc.h
changeset 7005 6c69ad0b184e
parent 7003 eeaf77005c30
child 7006 ffcf28627e1c
     1.1 --- a/include/SDL_stdinc.h	Fri Mar 15 01:09:19 2013 -0400
     1.2 +++ b/include/SDL_stdinc.h	Thu Mar 14 23:10:51 2013 -0700
     1.3 @@ -175,10 +175,6 @@
     1.4     enums having the size of an int must be enabled.
     1.5     This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11).
     1.6  */
     1.7 -/* Enable enums always int in CodeWarrior (for MPW use "-enum int") */
     1.8 -#ifdef __MWERKS__
     1.9 -#pragma enumsalwaysint on
    1.10 -#endif
    1.11  
    1.12  /** \cond */
    1.13  #ifndef DOXYGEN_SHOULD_IGNORE_THIS
    1.14 @@ -239,14 +235,12 @@
    1.15  
    1.16  /* SDL stdinc inline functions:
    1.17  
    1.18 -   The theory here is that, by default, we forcibly inline what we can--with
    1.19 -   real inline functions that avoid macro side-effects--and your app will use
    1.20 -   the inline version by default. However, we expose a non-inline version
    1.21 -   too, which internally just wraps the inline version in a real function,
    1.22 -   so the symbol is always available in the library even if your app
    1.23 -   bypassed it with the inline version. The SDL_*_inline versions aren't
    1.24 -   guaranteed to exist, so never call them directly; use SDL_* instead,
    1.25 -   and trust the system to give you the right thing.
    1.26 +   The theory here is that by default we forcibly inline what we can, and your
    1.27 +   app will use the inline version by default. However we expose a non-inline
    1.28 +   version too, so the symbol is always available in the library even if your app
    1.29 +   bypassed the inline version. The SDL_*_inline versions aren't guaranteed to
    1.30 +   exist, so never call them directly; use SDL_* instead, and trust the system
    1.31 +   to give you the right thing.
    1.32  
    1.33     The benefit here is that you can dlsym() these functions, which you
    1.34     couldn't if you had macros, you can link against a foreign build of SDL