comparison include/SDL_stdinc.h @ 4755:436183eb30c8

Merge with main repo (mainly for non-printable character fix)
author dewyatt
date Sun, 18 Jul 2010 13:48:23 -0400
parents 2072fed2f583 bff93336121e
children e2f4e31b41fc
comparison
equal deleted inserted replaced
4754:2072fed2f583 4755:436183eb30c8
98 #else 98 #else
99 #define SDL_reinterpret_cast(type, expression) ((type)(expression)) 99 #define SDL_reinterpret_cast(type, expression) ((type)(expression))
100 #define SDL_static_cast(type, expression) ((type)(expression)) 100 #define SDL_static_cast(type, expression) ((type)(expression))
101 #endif 101 #endif
102 /*@}*//*Cast operators*/ 102 /*@}*//*Cast operators*/
103
104 /* Define a four character code as a Uint32 */
105 #define SDL_FOURCC(A, B, C, D) \
106 ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \
107 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \
108 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \
109 (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24))
103 110
104 /** 111 /**
105 * \name Basic data types 112 * \name Basic data types
106 */ 113 */
107 /*@{*/ 114 /*@{*/