summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorIoIxD <[email protected]>2024-06-03 11:13:28 -0700
committerGitHub <[email protected]>2024-06-03 20:13:28 +0200
commit39f12859dcdf92822c8fefece1135bf6e76a1573 (patch)
treec3cfe9a317002ff65dc83c46d0063dbb23c623f2 /src/raylib.h
parent06f8c4f73318488e5a4bf1f7bd82fe991a66827e (diff)
downloadraylib-39f12859dcdf92822c8fefece1135bf6e76a1573.tar.gz
raylib-39f12859dcdf92822c8fefece1135bf6e76a1573.zip
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>
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index dfa98efb..c6128564 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1489,6 +1489,9 @@ RLAPI int TextFindIndex(const char *text, const char *find);
RLAPI const char *TextToUpper(const char *text); // Get upper case version of provided string
RLAPI const char *TextToLower(const char *text); // Get lower case version of provided string
RLAPI const char *TextToPascal(const char *text); // Get Pascal case notation version of provided string
+RLAPI const char *TextToSnake(const char *text); // Get Snake case notation version of provided string
+RLAPI const char *TextToCamel(const char *text); // Get Camel case notation version of provided string
+
RLAPI int TextToInteger(const char *text); // Get integer value from text (negative values not supported)
RLAPI float TextToFloat(const char *text); // Get float value from text (negative values not supported)