Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
changeset: 5272:cb08ef104ac4
Browse files Browse the repository at this point in the history
tag: tip
user: Martin Decky <martin@decky.cz>
date: Sat Feb 12 20:53:06 2011 +0100
summary: improve header files compatibility with SDL 1.2 applications (namely QEMU)
  • Loading branch information
slouken committed Feb 12, 2011
1 parent ba516b9 commit c3f3a70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion include/SDL_hints.h
Expand Up @@ -154,7 +154,7 @@ extern DECLSPEC const char * SDLCALL SDL_GetHint(const char *name);
*
* This function is called during SDL_Quit() to free stored hints.
*/
extern DECLSPEC void SDLCALL SDL_ClearHints();
extern DECLSPEC void SDLCALL SDL_ClearHints(void);


/* Ends C function definitions when using C++ */
Expand Down
10 changes: 0 additions & 10 deletions include/SDL_video.h
Expand Up @@ -602,16 +602,6 @@ extern DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window * window,
*/
extern DECLSPEC int SDLCALL SDL_GetWindowGrab(SDL_Window * window);

/**
* \brief Get driver specific information about a window.
*
* \note Include SDL_syswm.h for the declaration of SDL_SysWMinfo.
*/
struct SDL_SysWMinfo;
extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window,
struct SDL_SysWMinfo
*info);

/**
* \brief Destroy a window.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/video/SDL_sysvideo.h
Expand Up @@ -114,6 +114,9 @@ struct SDL_VideoDisplay
void *driverdata;
};

/* Forward declaration */
struct SDL_SysWMinfo;

/* Define the SDL video driver structure */
#define _THIS SDL_VideoDevice *_this

Expand Down

0 comments on commit c3f3a70

Please sign in to comment.