Documentation \param fixes

This commit is contained in:
Sylvain 2023-02-12 10:17:18 +01:00 committed by Sam Lantinga
parent 49e47b523a
commit 3d93b07d5b
3 changed files with 4 additions and 4 deletions

View file

@ -237,7 +237,7 @@ extern DECLSPEC SDL_hid_device * SDLCALL SDL_hid_open(unsigned short vendor_id,
* platform-specific path name can be used (eg: /dev/hidraw0 on Linux). * platform-specific path name can be used (eg: /dev/hidraw0 on Linux).
* *
* \param path The path name of the device to open * \param path The path name of the device to open
* \param bExclusive exclusive opening (windows only?FIXME) * \param bExclusive Open device in exclusive mode (Windows only)
* \returns a pointer to a SDL_hid_device object on success or NULL on * \returns a pointer to a SDL_hid_device object on success or NULL on
* failure. * failure.
* *

View file

@ -309,7 +309,7 @@ extern DECLSPEC SDL_Joystick *SDLCALL SDL_GetJoystickFromPlayerIndex(int player_
/** /**
* Attach a new virtual joystick. * Attach a new virtual joystick.
* *
* \param type Type of joystick * \param type type of joystick
* \param naxes number of axes * \param naxes number of axes
* \param nbuttons number of buttons * \param nbuttons number of buttons
* \param nhats number of hats * \param nhats number of hats

View file

@ -74,7 +74,7 @@ extern DECLSPEC SDL_MetalView SDLCALL SDL_Metal_CreateView(SDL_Window * window);
* This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was * This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was
* called after SDL_CreateWindow. * called after SDL_CreateWindow.
* *
* \param view the view * \param view the SDL_MetalView object
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.
* *
@ -85,7 +85,7 @@ extern DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view);
/** /**
* Get a pointer to the backing CAMetalLayer for the given view. * Get a pointer to the backing CAMetalLayer for the given view.
* *
* \param view the view * \param view the SDL_MetalView object
* \returns a pointer * \returns a pointer
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.