Standardize placement of '*' in function declarations
Implemented using these sed commands on the headers: sed -E -i'' '/SDLCALL|;/ s,([a-z])\* ,\1 *,g' * sed -E -i'' 's,(\(.*[^\*])\* ([a-z])(.*\)),\1*\2\3,g' * sed -E -i'' 's,\*const,* const,g' * sed -E -i'' 's,\*SDLCALL,* SDLCALL,g' * sed -E -i'' 's,void\(,void (,g' * git checkout *gl*
This commit is contained in:
@@ -172,7 +172,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetVersion(void);
|
||||
*
|
||||
* \sa SDL_GetVersion
|
||||
*/
|
||||
extern SDL_DECLSPEC const char *SDLCALL SDL_GetRevision(void);
|
||||
extern SDL_DECLSPEC const char * SDLCALL SDL_GetRevision(void);
|
||||
|
||||
|
||||
/* Ends C function definitions when using C++ */
|
||||
|
||||
Reference in New Issue
Block a user