Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8356294

Browse files
committedJun 30, 2024
Lua 5.4.7
1 parent f511bac commit 8356294

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+350
-251
lines changed
 

‎lua-5.4.6/lapi.c renamed to ‎lua-5.4.7/lapi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,9 @@ LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
417417
o = index2value(L, idx); /* previous call may reallocate the stack */
418418
}
419419
if (len != NULL)
420-
*len = vslen(o);
420+
*len = tsslen(tsvalue(o));
421421
lua_unlock(L);
422-
return svalue(o);
422+
return getstr(tsvalue(o));
423423
}
424424

425425

File renamed without changes.

0 commit comments

Comments
 (0)