Bläddra i källkod

Documentation \param fixes

Sylvain 2 år sedan
förälder
incheckning
3d93b07d5b
3 ändrade filer med 4 tillägg och 4 borttagningar
  1. 1 1
      include/SDL3/SDL_hidapi.h
  2. 1 1
      include/SDL3/SDL_joystick.h
  3. 2 2
      include/SDL3/SDL_metal.h

+ 1 - 1
include/SDL3/SDL_hidapi.h

@@ -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).
  *
  * \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
  *          failure.
  *

+ 1 - 1
include/SDL3/SDL_joystick.h

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

+ 2 - 2
include/SDL3/SDL_metal.h

@@ -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
  * called after SDL_CreateWindow.
  *
- * \param view the view
+ * \param view the SDL_MetalView object
  *
  * \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.
  *
- * \param view the view
+ * \param view the SDL_MetalView object
  * \returns a pointer
  *
  * \since This function is available since SDL 3.0.0.