瀏覽代碼

include: Fix documentation generation for SDL_SensorType.

anon 1 年之前
父節點
當前提交
1abaacedb2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_sensor.h

+ 1 - 1
include/SDL3/SDL_sensor.h

@@ -69,7 +69,7 @@ typedef Uint32 SDL_SensorID;
  * Hare are the additional Android sensors:
  * Hare are the additional Android sensors:
  * https://developer.android.com/reference/android/hardware/SensorEvent.html#values
  * https://developer.android.com/reference/android/hardware/SensorEvent.html#values
  */
  */
-typedef enum
+typedef enum SDL_SensorType
 {
 {
     SDL_SENSOR_INVALID = -1,    /**< Returned for an invalid sensor */
     SDL_SENSOR_INVALID = -1,    /**< Returned for an invalid sensor */
     SDL_SENSOR_UNKNOWN,         /**< Unknown sensor type */
     SDL_SENSOR_UNKNOWN,         /**< Unknown sensor type */