Skip to content

Commit

Permalink
rtext: added functions for camel case and snake case (reopened due to…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
IoIxD and github-actions[bot] committed Jun 3, 2024
1 parent 06f8c4f commit 39f1285
Show file tree
Hide file tree
Showing 6 changed files with 265 additions and 143 deletions.
22 changes: 22 additions & 0 deletions parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
16 changes: 16 additions & 0 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
Loading

0 comments on commit 39f1285

Please sign in to comment.