summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2024-01-28 13:10:18 +0200
committerjussi2024-01-28 13:10:18 +0200
commit71cc89c3033365746e5dcdb933c460c8e0da7fb0 (patch)
tree4b08b5c379991894bb4aae974f22150841aa5204 /include
parent3b3d0ad32e24c2ff0a13daf3e865054f63afaf86 (diff)
downloadreilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.tar.gz
reilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.tar.bz2
reilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.zip
Text codepoints management functions.
Diffstat (limited to 'include')
-rw-r--r--include/text.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/text.h b/include/text.h
index 96c9b82..bbfe1ba 100644
--- a/include/text.h
+++ b/include/text.h
@@ -45,3 +45,11 @@ int ltextGetGlyphInfoValue( lua_State *L );
int ltextGetGlyphInfoOffset( lua_State *L );
int ltextGetGlyphInfoAdvanceX( lua_State *L );
int ltextGetGlyphInfoImage( lua_State *L );
+/* Text codepoints management functions (unicode characters). */
+int ltextLoadUTF8( lua_State *L );
+int ltextLoadCodepoints( lua_State *L );
+int ltextGetCodepointCount( lua_State *L );
+int ltextGetCodepoint( lua_State *L );
+int ltextGetCodepointNext( lua_State *L );
+int ltextGetCodepointPrevious( lua_State *L );
+int ltextCodepointToUTF8( lua_State *L );