summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-26 18:38:46 +0100
committerRay <[email protected]>2020-01-26 18:38:46 +0100
commit5ec87c4c6fd0b9aa40cda7bab527fa9ea1ee461f (patch)
treebe689e9b3e40e86c2eee770c23da61f855b84722 /src/raylib.h
parent05443cd0c88f8af2e861e37d7cba2d9db7c3eadc (diff)
downloadraylib-5ec87c4c6fd0b9aa40cda7bab527fa9ea1ee461f.tar.gz
raylib-5ec87c4c6fd0b9aa40cda7bab527fa9ea1ee461f.zip
ADDED: TextCopy() #1083
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 2c2d7246..ed13548d 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1204,6 +1204,7 @@ RLAPI int GetGlyphIndex(Font font, int codepoint);
// Text strings management functions (no utf8 strings, only byte chars)
// NOTE: Some strings allocate memory internally for returned strings, just be careful!
+RLAPI int TextCopy(char *dst, const char *src); // Copy one string to another, returns bytes copied
RLAPI bool TextIsEqual(const char *text1, const char *text2); // Check if two text string are equal
RLAPI unsigned int TextLength(const char *text); // Get text length, checks for '\0' ending
RLAPI const char *TextFormat(const char *text, ...); // Text formatting with variables (sprintf style)