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:
@@ -66,7 +66,7 @@ typedef void *SDL_MetalView;
|
||||
* \sa SDL_Metal_DestroyView
|
||||
* \sa SDL_Metal_GetLayer
|
||||
*/
|
||||
extern SDL_DECLSPEC SDL_MetalView SDLCALL SDL_Metal_CreateView(SDL_Window * window);
|
||||
extern SDL_DECLSPEC SDL_MetalView SDLCALL SDL_Metal_CreateView(SDL_Window *window);
|
||||
|
||||
/**
|
||||
* Destroy an existing SDL_MetalView object.
|
||||
@@ -90,7 +90,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view);
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*/
|
||||
extern SDL_DECLSPEC void *SDLCALL SDL_Metal_GetLayer(SDL_MetalView view);
|
||||
extern SDL_DECLSPEC void * SDLCALL SDL_Metal_GetLayer(SDL_MetalView view);
|
||||
|
||||
/* @} *//* Metal support functions */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user