add const qualifier to the first arg of TextJoin (#5166)

* add const qualifier to the first arg of TextJoin

* Update raylib_api.* by CI

* Update raylib.h

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ray <raysan5@gmail.com>
This commit is contained in:
JohnnyCena123
2025-09-02 19:58:39 +03:00
committed by GitHub
parent cb6a64843c
commit 4e8d08523f
6 changed files with 6 additions and 6 deletions

View File

@@ -9754,7 +9754,7 @@
"returnType": "char *",
"params": [
{
"type": "char **",
"type": "const char **",
"name": "textList"
},
{

View File

@@ -6933,7 +6933,7 @@ return {
description = "Join text strings with delimiter",
returnType = "char *",
params = {
{type = "char **", name = "textList"},
{type = "const char **", name = "textList"},
{type = "int", name = "count"},
{type = "const char *", name = "delimiter"}
}

View File

@@ -3734,7 +3734,7 @@ Function 434: TextJoin() (3 input parameters)
Name: TextJoin
Return type: char *
Description: Join text strings with delimiter
Param[1]: textList (type: char **)
Param[1]: textList (type: const char **)
Param[2]: count (type: int)
Param[3]: delimiter (type: const char *)
Function 435: TextSplit() (3 input parameters)

View File

@@ -2474,7 +2474,7 @@
<Param type="int" name="position" desc="" />
</Function>
<Function name="TextJoin" retType="char *" paramCount="3" desc="Join text strings with delimiter">
<Param type="char **" name="textList" desc="" />
<Param type="const char **" name="textList" desc="" />
<Param type="int" name="count" desc="" />
<Param type="const char *" name="delimiter" desc="" />
</Function>