src/video/bwindow/SDL_bwindow.cc
changeset 7860 2b0bcdea3a79
parent 6885 700f1b25f77f
equal deleted inserted replaced
7859:af63b63e7aac 7860:2b0bcdea3a79
    29 /* Define a path to window's BWIN data */
    29 /* Define a path to window's BWIN data */
    30 #ifdef __cplusplus
    30 #ifdef __cplusplus
    31 extern "C" {
    31 extern "C" {
    32 #endif
    32 #endif
    33 
    33 
    34 static inline SDL_BWin *_ToBeWin(SDL_Window *window) {
    34 static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
    35 	return ((SDL_BWin*)(window->driverdata));
    35 	return ((SDL_BWin*)(window->driverdata));
    36 }
    36 }
    37 
    37 
    38 static inline SDL_BApp *_GetBeApp() {
    38 static SDL_INLINE SDL_BApp *_GetBeApp() {
    39 	return ((SDL_BApp*)be_app);
    39 	return ((SDL_BApp*)be_app);
    40 }
    40 }
    41 
    41 
    42 static int _InitWindow(_THIS, SDL_Window *window) {
    42 static int _InitWindow(_THIS, SDL_Window *window) {
    43 	uint32 flags = 0;
    43 	uint32 flags = 0;