summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-09-01 23:40:51 +0200
committerRay <[email protected]>2021-09-01 23:40:51 +0200
commit9362eaf9c670c86e3ce4045b7465e55db47bddb7 (patch)
treec6adbca1371e113fa10da21e168a29ef27300d4f /src/raylib.h
parent6e76baa6a93d039e132fe11eedc74958971bf4a3 (diff)
downloadraylib-9362eaf9c670c86e3ce4045b7465e55db47bddb7.tar.gz
raylib-9362eaf9c670c86e3ce4045b7465e55db47bddb7.zip
REVIEWED: Naming: length vs size
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 6b26713d..9e46e842 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1336,7 +1336,7 @@ RLAPI int *LoadCodepoints(const char *text, int *count); // Load al
RLAPI void UnloadCodepoints(int *codepoints); // Unload codepoints data from memory
RLAPI int GetCodepointCount(const char *text); // Get total number of codepoints in a UTF-8 encoded string
RLAPI int GetCodepoint(const char *text, int *bytesProcessed); // Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
-RLAPI const char *CodepointToUTF8(int codepoint, int *byteLength); // Encode one codepoint into UTF-8 byte array (array length returned as parameter)
+RLAPI const char *CodepointToUTF8(int codepoint, int *byteSize); // Encode one codepoint into UTF-8 byte array (array length returned as parameter)
RLAPI char *TextCodepointsToUTF8(int *codepoints, int length); // Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)
// Text strings management functions (no UTF-8 strings, only byte chars)