summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2024-01-28 13:10:18 +0200
committerjussi2024-01-28 13:10:18 +0200
commit71cc89c3033365746e5dcdb933c460c8e0da7fb0 (patch)
tree4b08b5c379991894bb4aae974f22150841aa5204 /src/lua_core.c
parent3b3d0ad32e24c2ff0a13daf3e865054f63afaf86 (diff)
downloadreilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.tar.gz
reilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.tar.bz2
reilua-enhanced-71cc89c3033365746e5dcdb933c460c8e0da7fb0.zip
Text codepoints management functions.
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index 3465fce..a7c9f57 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -1757,6 +1757,14 @@ void luaRegister() {
assingGlobalFunction( "GetGlyphInfoOffset", ltextGetGlyphInfoOffset );
assingGlobalFunction( "GetGlyphInfoAdvanceX", ltextGetGlyphInfoAdvanceX );
assingGlobalFunction( "GetGlyphInfoImage", ltextGetGlyphInfoImage );
+ /* Text codepoints management functions (unicode characters). */
+ assingGlobalFunction( "LoadUTF8", ltextLoadUTF8 );
+ assingGlobalFunction( "LoadCodepoints", ltextLoadCodepoints );
+ assingGlobalFunction( "GetCodepointCount", ltextGetCodepointCount );
+ assingGlobalFunction( "GetCodepoint", ltextGetCodepoint );
+ assingGlobalFunction( "GetCodepointNext", ltextGetCodepointNext );
+ assingGlobalFunction( "GetCodepointPrevious", ltextGetCodepointPrevious );
+ assingGlobalFunction( "CodepointToUTF8", ltextCodepointToUTF8 );
/* Audio. */
/* Audio device management functions. */