Skip to content

Commit 79d5353

Browse files
rlparser: update raylib_api.* by CI
1 parent 98efce4 commit 79d5353

4 files changed

Lines changed: 355 additions & 293 deletions

File tree

tools/rlparser/output/raylib_api.json

Lines changed: 52 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6838,7 +6838,7 @@
68386838
]
68396839
},
68406840
{
6841-
"name": "GetSplinePointBezierQuad",
6841+
"name": "GetSplinePointBezierQuadratic",
68426842
"description": "Get (evaluate) spline point: Quadratic Bezier",
68436843
"returnType": "Vector2",
68446844
"params": [
@@ -7944,7 +7944,7 @@
79447944
"name": "image"
79457945
},
79467946
{
7947-
"type": "float",
7947+
"type": "int",
79487948
"name": "contrast"
79497949
}
79507950
]
@@ -8384,6 +8384,37 @@
83848384
"name": "ImageDrawRectangleLines",
83858385
"description": "Draw rectangle lines within an image",
83868386
"returnType": "void",
8387+
"params": [
8388+
{
8389+
"type": "Image *",
8390+
"name": "dst"
8391+
},
8392+
{
8393+
"type": "int",
8394+
"name": "posX"
8395+
},
8396+
{
8397+
"type": "int",
8398+
"name": "posY"
8399+
},
8400+
{
8401+
"type": "int",
8402+
"name": "width"
8403+
},
8404+
{
8405+
"type": "int",
8406+
"name": "height"
8407+
},
8408+
{
8409+
"type": "Color",
8410+
"name": "color"
8411+
}
8412+
]
8413+
},
8414+
{
8415+
"name": "ImageDrawRectangleLinesEx",
8416+
"description": "Draw rectangle lines within an image with extended parameters",
8417+
"returnType": "void",
83878418
"params": [
83888419
{
83898420
"type": "Image *",
@@ -11809,25 +11840,6 @@
1180911840
}
1181011841
]
1181111842
},
11812-
{
11813-
"name": "UpdateSound",
11814-
"description": "Update sound buffer with new data (default data format: 32 bit float, stereo)",
11815-
"returnType": "void",
11816-
"params": [
11817-
{
11818-
"type": "Sound",
11819-
"name": "sound"
11820-
},
11821-
{
11822-
"type": "const void *",
11823-
"name": "data"
11824-
},
11825-
{
11826-
"type": "int",
11827-
"name": "sampleCount"
11828-
}
11829-
]
11830-
},
1183111843
{
1183211844
"name": "LoadSoundAlias",
1183311845
"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 @@
1185011862
}
1185111863
]
1185211864
},
11865+
{
11866+
"name": "UpdateSound",
11867+
"description": "Update sound buffer with new data (default data format: 32 bit float, stereo)",
11868+
"returnType": "void",
11869+
"params": [
11870+
{
11871+
"type": "Sound",
11872+
"name": "sound"
11873+
},
11874+
{
11875+
"type": "const void *",
11876+
"name": "data"
11877+
},
11878+
{
11879+
"type": "int",
11880+
"name": "frameCount"
11881+
}
11882+
]
11883+
},
1185311884
{
1185411885
"name": "UnloadWave",
1185511886
"description": "Unload wave data",

tools/rlparser/output/raylib_api.lua

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5383,7 +5383,7 @@ return {
53835383
}
53845384
},
53855385
{
5386-
name = "GetSplinePointBezierQuad",
5386+
name = "GetSplinePointBezierQuadratic",
53875387
description = "Get (evaluate) spline point: Quadratic Bezier",
53885388
returnType = "Vector2",
53895389
params = {
@@ -5981,7 +5981,7 @@ return {
59815981
returnType = "void",
59825982
params = {
59835983
{type = "Image *", name = "image"},
5984-
{type = "float", name = "contrast"}
5984+
{type = "int", name = "contrast"}
59855985
}
59865986
},
59875987
{
@@ -6206,6 +6206,19 @@ return {
62066206
name = "ImageDrawRectangleLines",
62076207
description = "Draw rectangle lines within an image",
62086208
returnType = "void",
6209+
params = {
6210+
{type = "Image *", name = "dst"},
6211+
{type = "int", name = "posX"},
6212+
{type = "int", name = "posY"},
6213+
{type = "int", name = "width"},
6214+
{type = "int", name = "height"},
6215+
{type = "Color", name = "color"}
6216+
}
6217+
},
6218+
{
6219+
name = "ImageDrawRectangleLinesEx",
6220+
description = "Draw rectangle lines within an image with extended parameters",
6221+
returnType = "void",
62096222
params = {
62106223
{type = "Image *", name = "dst"},
62116224
{type = "Rectangle", name = "rec"},
@@ -8032,16 +8045,6 @@ return {
80328045
{type = "Wave", name = "wave"}
80338046
}
80348047
},
8035-
{
8036-
name = "UpdateSound",
8037-
description = "Update sound buffer with new data (default data format: 32 bit float, stereo)",
8038-
returnType = "void",
8039-
params = {
8040-
{type = "Sound", name = "sound"},
8041-
{type = "const void *", name = "data"},
8042-
{type = "int", name = "sampleCount"}
8043-
}
8044-
},
80458048
{
80468049
name = "LoadSoundAlias",
80478050
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 {
80588061
{type = "Sound", name = "sound"}
80598062
}
80608063
},
8064+
{
8065+
name = "UpdateSound",
8066+
description = "Update sound buffer with new data (default data format: 32 bit float, stereo)",
8067+
returnType = "void",
8068+
params = {
8069+
{type = "Sound", name = "sound"},
8070+
{type = "const void *", name = "data"},
8071+
{type = "int", name = "frameCount"}
8072+
}
8073+
},
80618074
{
80628075
name = "UnloadWave",
80638076
description = "Unload wave data",

0 commit comments

Comments
 (0)