test: don't use wiki urls for documentation comments

Also make consistent use of \ as documentation escape character.
This commit is contained in:
Anonymous Maarten 2023-02-02 00:21:53 +01:00
parent bff449eb24
commit 08bcee8570
31 changed files with 434 additions and 510 deletions

View file

@ -24,7 +24,7 @@ static int mouseStateCheck(Uint32 state)
}
/**
* @brief Check call to SDL_GetMouseState
* \brief Check call to SDL_GetMouseState
*
*/
int mouse_getMouseState(void *arg)
@ -69,7 +69,7 @@ int mouse_getMouseState(void *arg)
}
/**
* @brief Check call to SDL_GetRelativeMouseState
* \brief Check call to SDL_GetRelativeMouseState
*
*/
int mouse_getRelativeMouseState(void *arg)
@ -187,10 +187,10 @@ static SDL_Cursor *initArrowCursor(const char *image[])
}
/**
* @brief Check call to SDL_CreateCursor and SDL_DestroyCursor
* \brief Check call to SDL_CreateCursor and SDL_DestroyCursor
*
* @sa http://wiki.libsdl.org/SDL_CreateCursor
* @sa http://wiki.libsdl.org/SDL_DestroyCursor
* \sa SDL_CreateCursor
* \sa SDL_DestroyCursor
*/
int mouse_createFreeCursor(void *arg)
{
@ -212,10 +212,10 @@ int mouse_createFreeCursor(void *arg)
}
/**
* @brief Check call to SDL_CreateColorCursor and SDL_DestroyCursor
* \brief Check call to SDL_CreateColorCursor and SDL_DestroyCursor
*
* @sa http://wiki.libsdl.org/SDL_CreateColorCursor
* @sa http://wiki.libsdl.org/SDL_DestroyCursor
* \sa SDL_CreateColorCursor
* \sa SDL_DestroyCursor
*/
int mouse_createFreeColorCursor(void *arg)
{
@ -268,9 +268,9 @@ static void changeCursorVisibility(SDL_bool state)
}
/**
* @brief Check call to SDL_ShowCursor
* \brief Check call to SDL_ShowCursor
*
* @sa http://wiki.libsdl.org/SDL_ShowCursor
* \sa SDL_ShowCursor
*/
int mouse_showCursor(void *arg)
{
@ -293,9 +293,9 @@ int mouse_showCursor(void *arg)
}
/**
* @brief Check call to SDL_SetCursor
* \brief Check call to SDL_SetCursor
*
* @sa http://wiki.libsdl.org/SDL_SetCursor
* \sa SDL_SetCursor
*/
int mouse_setCursor(void *arg)
{
@ -325,9 +325,9 @@ int mouse_setCursor(void *arg)
}
/**
* @brief Check call to SDL_GetCursor
* \brief Check call to SDL_GetCursor
*
* @sa http://wiki.libsdl.org/SDL_GetCursor
* \sa SDL_GetCursor
*/
int mouse_getCursor(void *arg)
{
@ -342,10 +342,10 @@ int mouse_getCursor(void *arg)
}
/**
* @brief Check call to SDL_GetRelativeMouseMode and SDL_SetRelativeMouseMode
* \brief Check call to SDL_GetRelativeMouseMode and SDL_SetRelativeMouseMode
*
* @sa http://wiki.libsdl.org/SDL_GetRelativeMouseMode
* @sa http://wiki.libsdl.org/SDL_SetRelativeMouseMode
* \sa SDL_GetRelativeMouseMode
* \sa SDL_SetRelativeMouseMode
*/
int mouse_getSetRelativeMouseMode(void *arg)
{
@ -412,7 +412,7 @@ static SDL_Window *createMouseSuiteTestWindow()
return window;
}
/*
/**
* Destroy test window
*/
static void destroyMouseSuiteTestWindow(SDL_Window *window)
@ -425,9 +425,9 @@ static void destroyMouseSuiteTestWindow(SDL_Window *window)
}
/**
* @brief Check call to SDL_WarpMouseInWindow
* \brief Check call to SDL_WarpMouseInWindow
*
* @sa http://wiki.libsdl.org/SDL_WarpMouseInWindow
* \sa SDL_WarpMouseInWindow
*/
int mouse_warpMouseInWindow(void *arg)
{
@ -488,9 +488,9 @@ int mouse_warpMouseInWindow(void *arg)
}
/**
* @brief Check call to SDL_GetMouseFocus
* \brief Check call to SDL_GetMouseFocus
*
* @sa http://wiki.libsdl.org/SDL_GetMouseFocus
* \sa SDL_GetMouseFocus
*/
int mouse_getMouseFocus(void *arg)
{
@ -548,9 +548,9 @@ int mouse_getMouseFocus(void *arg)
}
/**
* @brief Check call to SDL_GetDefaultCursor
* \brief Check call to SDL_GetDefaultCursor
*
* @sa http://wiki.libsdl.org/SDL_GetDefaultCursor
* \sa SDL_GetDefaultCursor
*/
int mouse_getDefaultCursor(void *arg)
{
@ -565,9 +565,9 @@ int mouse_getDefaultCursor(void *arg)
}
/**
* @brief Check call to SDL_GetGlobalMouseState
* \brief Check call to SDL_GetGlobalMouseState
*
* @sa http://wiki.libsdl.org/SDL_GetGlobalMouseState
* \sa SDL_GetGlobalMouseState
*/
int mouse_getGlobalMouseState(void *arg)
{