diff options
| author | jussi | 2024-01-28 13:10:18 +0200 |
|---|---|---|
| committer | jussi | 2024-01-28 13:10:18 +0200 |
| commit | 71cc89c3033365746e5dcdb933c460c8e0da7fb0 (patch) | |
| tree | 4b08b5c379991894bb4aae974f22150841aa5204 /src/lua_core.c | |
| parent | 3b3d0ad32e24c2ff0a13daf3e865054f63afaf86 (diff) | |
| download | reilua-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.c | 8 |
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. */ |
