Jelajahi Sumber

Update raylib_api.* by CI

github-actions[bot] 9 bulan lalu
induk
melakukan
e5e2bc83c3

+ 6 - 6
parser/output/raylib_api.json

@@ -4882,9 +4882,9 @@
       "returnType": "int"
     },
     {
-      "name": "SetExitKey",
-      "description": "Set a custom key to exit program (default is ESC)",
-      "returnType": "void",
+      "name": "GetKeyName",
+      "description": "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)",
+      "returnType": "const char *",
       "params": [
         {
           "type": "int",
@@ -4893,9 +4893,9 @@
       ]
     },
     {
-      "name": "GetKeyName",
-      "description": "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)",
-      "returnType": "const char *",
+      "name": "SetExitKey",
+      "description": "Set a custom key to exit program (default is ESC)",
+      "returnType": "void",
       "params": [
         {
           "type": "int",

+ 6 - 6
parser/output/raylib_api.lua

@@ -4327,17 +4327,17 @@ return {
       returnType = "int"
     },
     {
-      name = "SetExitKey",
-      description = "Set a custom key to exit program (default is ESC)",
-      returnType = "void",
+      name = "GetKeyName",
+      description = "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)",
+      returnType = "const char *",
       params = {
         {type = "int", name = "key"}
       }
     },
     {
-      name = "GetKeyName",
-      description = "Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)",
-      returnType = "const char *",
+      name = "SetExitKey",
+      description = "Set a custom key to exit program (default is ESC)",
+      returnType = "void",
       params = {
         {type = "int", name = "key"}
       }

+ 6 - 6
parser/output/raylib_api.txt

@@ -1886,16 +1886,16 @@ Function 167: GetCharPressed() (0 input parameters)
   Return type: int
   Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
   No input parameters
-Function 168: SetExitKey() (1 input parameters)
+Function 168: GetKeyName() (1 input parameters)
+  Name: GetKeyName
+  Return type: const char *
+  Description: Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)
+  Param[1]: key (type: int)
+Function 169: SetExitKey() (1 input parameters)
   Name: SetExitKey
   Return type: void
   Description: Set a custom key to exit program (default is ESC)
   Param[1]: key (type: int)
-Function 169: GetKeyName() (1 input parameters)
-  Name: GetKeyName
-  Return type: const char *
-  Description: Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)
-  Param[1]: key (type: int)
 Function 170: IsGamepadAvailable() (1 input parameters)
   Name: IsGamepadAvailable
   Return type: bool

+ 2 - 2
parser/output/raylib_api.xml

@@ -1181,10 +1181,10 @@
         </Function>
         <Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty">
         </Function>
-        <Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
+        <Function name="GetKeyName" retType="const char *" paramCount="1" desc="Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)">
             <Param type="int" name="key" desc="" />
         </Function>
-        <Function name="GetKeyName" retType="const char *" paramCount="1" desc="Get name of a QWERTY key on the current keyboard layout (eg returns string "q" for KEY_A on an AZERTY keyboard)">
+        <Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
             <Param type="int" name="key" desc="" />
         </Function>
         <Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">