summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2024-04-13 18:44:42 +0300
committerjussi2024-04-13 18:44:42 +0300
commit1d66edf4f2390c25485ef4205b20c184de1c2f5d (patch)
tree7a3cd79e26d7b93a2fb4a3764171fbe90d22a9d4 /ReiLua_API.lua
parentb96960a1f97f815a6872fedc422ea950ed477cda (diff)
downloadreilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.gz
reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.tar.bz2
reilua-enhanced-1d66edf4f2390c25485ef4205b20c184de1c2f5d.zip
Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index 4802b7f..aa2e956 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -4151,23 +4151,26 @@ function RL.GetCodepointCount( text ) end
---Get codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
---- Success return int, int
---@param text string
+---@param position integer
---@return any codepoint
---@return any codepointSize
-function RL.GetCodepoint( text ) end
+function RL.GetCodepoint( text, position ) end
---Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
---- Success return int, int
---@param text string
+---@param position integer
---@return any codepoint
---@return any codepointSize
-function RL.GetCodepointNext( text ) end
+function RL.GetCodepointNext( text, position ) end
---Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
---- Success return int, int
---@param text string
+---@param position integer
---@return any codepoint
---@return any codepointSize
-function RL.GetCodepointPrevious( text ) end
+function RL.GetCodepointPrevious( text, position ) end
---Encode one codepoint into UTF-8 byte array
---- Success return string