From c1dc08e8e8e22af9902a6341b4a9a9a7811954cc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 24 Jun 2024 12:03:59 -0300 Subject: Length of external strings must fit in Lua integer (As the length of any string in Lua.) --- manual/manual.of | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index 774981c4..56619afe 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -3942,6 +3942,8 @@ holding the string content, and @id{len} is the length of the string. The string should have a zero at its end, that is, the condition @T{s[len] == '\0'} should hold. +As with any string in Lua, +the length must fit in a Lua integer. If @id{falloc} is different from @id{NULL}, that function will be called by Lua -- cgit v1.2.3-55-g6feb