[retro-gtk/build-doc: 1/8] input: Make private structs as such for GTK-Doc



commit 651e17e6d8e2089d4d47d57bf0dbc5efe39052e9
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Apr 12 20:54:17 2020 +0200

    input: Make private structs as such for GTK-Doc
    
    This will avoid warnings when building the documentation.

 shared/retro-input-private.h | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/shared/retro-input-private.h b/shared/retro-input-private.h
index e3cc1bb..231973d 100644
--- a/shared/retro-input-private.h
+++ b/shared/retro-input-private.h
@@ -20,43 +20,51 @@ typedef struct _RetroInputAnalog RetroInputAnalog;
 typedef struct _RetroInputPointer RetroInputPointer;
 
 struct _RetroInputAny {
+  /*< private >*/
   RetroControllerType type;
   gint id;
   gint index;
 };
 
 struct _RetroInputJoypad {
+  /*< private >*/
   RetroControllerType type;
   RetroJoypadId id;
 };
 
 struct _RetroInputMouse {
+  /*< private >*/
   RetroControllerType type;
   RetroMouseId id;
 };
 
 struct _RetroInputKeyboard {
+  /*< private >*/
   RetroControllerType type;
   RetroKeyboardKey key;
 };
 
 struct _RetroInputLightgun {
+  /*< private >*/
   RetroControllerType type;
   RetroLightgunId id;
 };
 
 struct _RetroInputAnalog {
+  /*< private >*/
   RetroControllerType type;
   RetroAnalogId id;
   RetroAnalogIndex index;
 };
 
 struct _RetroInputPointer {
+  /*< private >*/
   RetroControllerType type;
   RetroPointerId id;
 };
 
 union _RetroInput {
+  /*< private >*/
   RetroInputAny any;
   RetroInputJoypad joypad;
   RetroInputMouse mouse;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]