rtext: added functions for camel case and snake case (reopened due to formatting errors) (#4033)
* rtext: added functions for camel case and snake case * Update raylib_api.* by CI * rtext: removed always false comparison --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
06f8c4f733
commit
39f12859dc
6 changed files with 265 additions and 143 deletions
|
@ -9479,6 +9479,28 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TextToSnake",
|
||||
"description": "Get Snake case notation version of provided string",
|
||||
"returnType": "const char *",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "text"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TextToCamel",
|
||||
"description": "Get Camel case notation version of provided string",
|
||||
"returnType": "const char *",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "text"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TextToInteger",
|
||||
"description": "Get integer value from text (negative values not supported)",
|
||||
|
|
|
@ -6776,6 +6776,22 @@ return {
|
|||
{type = "const char *", name = "text"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "TextToSnake",
|
||||
description = "Get Snake case notation version of provided string",
|
||||
returnType = "const char *",
|
||||
params = {
|
||||
{type = "const char *", name = "text"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "TextToCamel",
|
||||
description = "Get Camel case notation version of provided string",
|
||||
returnType = "const char *",
|
||||
params = {
|
||||
{type = "const char *", name = "text"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "TextToInteger",
|
||||
description = "Get integer value from text (negative values not supported)",
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -670,7 +670,7 @@
|
|||
<Param type="unsigned int" name="frames" desc="" />
|
||||
</Callback>
|
||||
</Callbacks>
|
||||
<Functions count="564">
|
||||
<Functions count="566">
|
||||
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
||||
<Param type="int" name="width" desc="" />
|
||||
<Param type="int" name="height" desc="" />
|
||||
|
@ -2405,6 +2405,12 @@
|
|||
<Function name="TextToPascal" retType="const char *" paramCount="1" desc="Get Pascal case notation version of provided string">
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
</Function>
|
||||
<Function name="TextToSnake" retType="const char *" paramCount="1" desc="Get Snake case notation version of provided string">
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
</Function>
|
||||
<Function name="TextToCamel" retType="const char *" paramCount="1" desc="Get Camel case notation version of provided string">
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
</Function>
|
||||
<Function name="TextToInteger" retType="int" paramCount="1" desc="Get integer value from text (negative values not supported)">
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
</Function>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue