Browse Source

Update raylib_api.* by CI

pull/4565/head
github-actions[bot] 2 weeks ago
parent
commit
e5e2bc83c3
4 changed files with 20 additions and 20 deletions
  1. +6
    -6
      parser/output/raylib_api.json
  2. +6
    -6
      parser/output/raylib_api.lua
  3. +6
    -6
      parser/output/raylib_api.txt
  4. +2
    -2
      parser/output/raylib_api.xml

+ 6
- 6
parser/output/raylib_api.json View File

@ -4882,9 +4882,9 @@
"returnType": "int" "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": [ "params": [
{ {
"type": "int", "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": [ "params": [
{ {
"type": "int", "type": "int",

+ 6
- 6
parser/output/raylib_api.lua View File

@ -4327,17 +4327,17 @@ return {
returnType = "int" 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 = { params = {
{type = "int", name = "key"} {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 = { params = {
{type = "int", name = "key"} {type = "int", name = "key"}
} }

+ 6
- 6
parser/output/raylib_api.txt View File

@ -1886,16 +1886,16 @@ Function 167: GetCharPressed() (0 input parameters)
Return type: int Return type: int
Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
No input parameters 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 Name: SetExitKey
Return type: void Return type: void
Description: Set a custom key to exit program (default is ESC) Description: Set a custom key to exit program (default is ESC)
Param[1]: key (type: int) 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) Function 170: IsGamepadAvailable() (1 input parameters)
Name: IsGamepadAvailable Name: IsGamepadAvailable
Return type: bool Return type: bool

+ 2
- 2
parser/output/raylib_api.xml View File

@ -1181,10 +1181,10 @@
</Function> </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 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>
<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="" /> <Param type="int" name="key" desc="" />
</Function> </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="" /> <Param type="int" name="key" desc="" />
</Function> </Function>
<Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available"> <Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">

Loading…
Cancel
Save