rlparser: update raylib_api.* by CI

This commit is contained in:
github-actions[bot]
2026-04-27 09:48:08 +00:00
parent 98efce4b0d
commit 79d5353cfd
4 changed files with 355 additions and 293 deletions

View File

@ -6838,7 +6838,7 @@
] ]
}, },
{ {
"name": "GetSplinePointBezierQuad", "name": "GetSplinePointBezierQuadratic",
"description": "Get (evaluate) spline point: Quadratic Bezier", "description": "Get (evaluate) spline point: Quadratic Bezier",
"returnType": "Vector2", "returnType": "Vector2",
"params": [ "params": [
@ -7944,7 +7944,7 @@
"name": "image" "name": "image"
}, },
{ {
"type": "float", "type": "int",
"name": "contrast" "name": "contrast"
} }
] ]
@ -8384,6 +8384,37 @@
"name": "ImageDrawRectangleLines", "name": "ImageDrawRectangleLines",
"description": "Draw rectangle lines within an image", "description": "Draw rectangle lines within an image",
"returnType": "void", "returnType": "void",
"params": [
{
"type": "Image *",
"name": "dst"
},
{
"type": "int",
"name": "posX"
},
{
"type": "int",
"name": "posY"
},
{
"type": "int",
"name": "width"
},
{
"type": "int",
"name": "height"
},
{
"type": "Color",
"name": "color"
}
]
},
{
"name": "ImageDrawRectangleLinesEx",
"description": "Draw rectangle lines within an image with extended parameters",
"returnType": "void",
"params": [ "params": [
{ {
"type": "Image *", "type": "Image *",
@ -11809,25 +11840,6 @@
} }
] ]
}, },
{
"name": "UpdateSound",
"description": "Update sound buffer with new data (default data format: 32 bit float, stereo)",
"returnType": "void",
"params": [
{
"type": "Sound",
"name": "sound"
},
{
"type": "const void *",
"name": "data"
},
{
"type": "int",
"name": "sampleCount"
}
]
},
{ {
"name": "LoadSoundAlias", "name": "LoadSoundAlias",
"description": "Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data", "description": "Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data",
@ -11850,6 +11862,25 @@
} }
] ]
}, },
{
"name": "UpdateSound",
"description": "Update sound buffer with new data (default data format: 32 bit float, stereo)",
"returnType": "void",
"params": [
{
"type": "Sound",
"name": "sound"
},
{
"type": "const void *",
"name": "data"
},
{
"type": "int",
"name": "frameCount"
}
]
},
{ {
"name": "UnloadWave", "name": "UnloadWave",
"description": "Unload wave data", "description": "Unload wave data",

View File

@ -5383,7 +5383,7 @@ return {
} }
}, },
{ {
name = "GetSplinePointBezierQuad", name = "GetSplinePointBezierQuadratic",
description = "Get (evaluate) spline point: Quadratic Bezier", description = "Get (evaluate) spline point: Quadratic Bezier",
returnType = "Vector2", returnType = "Vector2",
params = { params = {
@ -5981,7 +5981,7 @@ return {
returnType = "void", returnType = "void",
params = { params = {
{type = "Image *", name = "image"}, {type = "Image *", name = "image"},
{type = "float", name = "contrast"} {type = "int", name = "contrast"}
} }
}, },
{ {
@ -6206,6 +6206,19 @@ return {
name = "ImageDrawRectangleLines", name = "ImageDrawRectangleLines",
description = "Draw rectangle lines within an image", description = "Draw rectangle lines within an image",
returnType = "void", returnType = "void",
params = {
{type = "Image *", name = "dst"},
{type = "int", name = "posX"},
{type = "int", name = "posY"},
{type = "int", name = "width"},
{type = "int", name = "height"},
{type = "Color", name = "color"}
}
},
{
name = "ImageDrawRectangleLinesEx",
description = "Draw rectangle lines within an image with extended parameters",
returnType = "void",
params = { params = {
{type = "Image *", name = "dst"}, {type = "Image *", name = "dst"},
{type = "Rectangle", name = "rec"}, {type = "Rectangle", name = "rec"},
@ -8032,16 +8045,6 @@ return {
{type = "Wave", name = "wave"} {type = "Wave", name = "wave"}
} }
}, },
{
name = "UpdateSound",
description = "Update sound buffer with new data (default data format: 32 bit float, stereo)",
returnType = "void",
params = {
{type = "Sound", name = "sound"},
{type = "const void *", name = "data"},
{type = "int", name = "sampleCount"}
}
},
{ {
name = "LoadSoundAlias", name = "LoadSoundAlias",
description = "Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data", description = "Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data",
@ -8058,6 +8061,16 @@ return {
{type = "Sound", name = "sound"} {type = "Sound", name = "sound"}
} }
}, },
{
name = "UpdateSound",
description = "Update sound buffer with new data (default data format: 32 bit float, stereo)",
returnType = "void",
params = {
{type = "Sound", name = "sound"},
{type = "const void *", name = "data"},
{type = "int", name = "frameCount"}
}
},
{ {
name = "UnloadWave", name = "UnloadWave",
description = "Unload wave data", description = "Unload wave data",

File diff suppressed because it is too large Load Diff

View File

@ -682,7 +682,7 @@
<Param type="unsigned int" name="frames" desc="" /> <Param type="unsigned int" name="frames" desc="" />
</Callback> </Callback>
</Callbacks> </Callbacks>
<Functions count="601"> <Functions count="602">
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context"> <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
<Param type="int" name="width" desc="" /> <Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" /> <Param type="int" name="height" desc="" />
@ -1705,7 +1705,7 @@
<Param type="Vector2" name="p4" desc="" /> <Param type="Vector2" name="p4" desc="" />
<Param type="float" name="t" desc="" /> <Param type="float" name="t" desc="" />
</Function> </Function>
<Function name="GetSplinePointBezierQuad" retType="Vector2" paramCount="4" desc="Get (evaluate) spline point: Quadratic Bezier"> <Function name="GetSplinePointBezierQuadratic" retType="Vector2" paramCount="4" desc="Get (evaluate) spline point: Quadratic Bezier">
<Param type="Vector2" name="p1" desc="" /> <Param type="Vector2" name="p1" desc="" />
<Param type="Vector2" name="c2" desc="" /> <Param type="Vector2" name="c2" desc="" />
<Param type="Vector2" name="p3" desc="" /> <Param type="Vector2" name="p3" desc="" />
@ -1997,7 +1997,7 @@
</Function> </Function>
<Function name="ImageColorContrast" retType="void" paramCount="2" desc="Modify image color: contrast (-100 to 100)"> <Function name="ImageColorContrast" retType="void" paramCount="2" desc="Modify image color: contrast (-100 to 100)">
<Param type="Image *" name="image" desc="" /> <Param type="Image *" name="image" desc="" />
<Param type="float" name="contrast" desc="" /> <Param type="int" name="contrast" desc="" />
</Function> </Function>
<Function name="ImageColorBrightness" retType="void" paramCount="2" desc="Modify image color: brightness (-255 to 255)"> <Function name="ImageColorBrightness" retType="void" paramCount="2" desc="Modify image color: brightness (-255 to 255)">
<Param type="Image *" name="image" desc="" /> <Param type="Image *" name="image" desc="" />
@ -2112,7 +2112,15 @@
<Param type="Rectangle" name="rec" desc="" /> <Param type="Rectangle" name="rec" desc="" />
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />
</Function> </Function>
<Function name="ImageDrawRectangleLines" retType="void" paramCount="4" desc="Draw rectangle lines within an image"> <Function name="ImageDrawRectangleLines" retType="void" paramCount="6" desc="Draw rectangle lines within an image">
<Param type="Image *" name="dst" desc="" />
<Param type="int" name="posX" desc="" />
<Param type="int" name="posY" desc="" />
<Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="ImageDrawRectangleLinesEx" retType="void" paramCount="4" desc="Draw rectangle lines within an image with extended parameters">
<Param type="Image *" name="dst" desc="" /> <Param type="Image *" name="dst" desc="" />
<Param type="Rectangle" name="rec" desc="" /> <Param type="Rectangle" name="rec" desc="" />
<Param type="int" name="thick" desc="" /> <Param type="int" name="thick" desc="" />
@ -3019,17 +3027,17 @@
<Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data"> <Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data">
<Param type="Wave" name="wave" desc="" /> <Param type="Wave" name="wave" desc="" />
</Function> </Function>
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data (default data format: 32 bit float, stereo)">
<Param type="Sound" name="sound" desc="" />
<Param type="const void *" name="data" desc="" />
<Param type="int" name="sampleCount" desc="" />
</Function>
<Function name="LoadSoundAlias" retType="Sound" paramCount="1" desc="Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data"> <Function name="LoadSoundAlias" retType="Sound" paramCount="1" desc="Load sound alias, new sound that shares the same sample data as the source sound, does not own the sound data">
<Param type="Sound" name="source" desc="" /> <Param type="Sound" name="source" desc="" />
</Function> </Function>
<Function name="IsSoundValid" retType="bool" paramCount="1" desc="Check if a sound is valid (data loaded and buffers initialized)"> <Function name="IsSoundValid" retType="bool" paramCount="1" desc="Check if a sound is valid (data loaded and buffers initialized)">
<Param type="Sound" name="sound" desc="" /> <Param type="Sound" name="sound" desc="" />
</Function> </Function>
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data (default data format: 32 bit float, stereo)">
<Param type="Sound" name="sound" desc="" />
<Param type="const void *" name="data" desc="" />
<Param type="int" name="frameCount" desc="" />
</Function>
<Function name="UnloadWave" retType="void" paramCount="1" desc="Unload wave data"> <Function name="UnloadWave" retType="void" paramCount="1" desc="Unload wave data">
<Param type="Wave" name="wave" desc="" /> <Param type="Wave" name="wave" desc="" />
</Function> </Function>