diff -Nr lua-5.5.0/Makefile lua-5.5.1/Makefile
39c39
< PLATS= guess aix bsd c89 freebsd generic ios linux macosx mingw posix solaris
---
> PLATS= guess aix bsd c89 freebsd generic ios linux linux-readline macosx mingw posix solaris
49c49
< R= $V.0
---
> R= $V.1
diff -Nr lua-5.5.0/README lua-5.5.1/README
2c2
< This is Lua 5.5.0, released on 15 Dec 2025.
---
> This is Lua 5.5.1, released on 24 Jul 2026.
diff -Nr lua-5.5.0/doc/contents.html lua-5.5.1/doc/contents.html
35c35
< Copyright © 2020–2025 Lua.org, PUC-Rio.
---
> Copyright © 2020–2026 Lua.org, PUC-Rio.
708c708
< Thu Dec 4 17:32:26 UTC 2025
---
> Mon Jul 13 21:19:58 UTC 2026
711c711
< Last change: revised for Lua 5.5.0
---
> Last change: revised for Lua 5.5.1
diff -Nr lua-5.5.0/doc/manual.css lua-5.5.1/doc/manual.css
9a10,13
> pre.api {
> white-space: normal ;
> }
>
diff -Nr lua-5.5.0/doc/manual.html lua-5.5.1/doc/manual.html
22c22
< Copyright © 2020–2025 Lua.org, PUC-Rio.
---
> Copyright © 2020–2026 Lua.org, PUC-Rio.
2103c2103
< foo() -- 'foo' can freely change any global
---
> foo() -- 'foo' can freely change any global
3266c3266,3280
< Several functions in the API return pointers (const char*)
---
> Several functions in the API have parameters
> that are pointers to C strings (const char*).
> Some of these parameters have an associated length (size_t).
> Unless stated otherwise,
> when there is an associated length,
> the string can contain embedded zeros;
> moreover, the pointer can be NULL if the length is zero.
> When there is no associated length,
> the pointer must point to a zero-terminated string.
> In any case, the string contents should remain unchanged
> until the function returns.
>
>
>
> Several functions in the API also return pointers (const char*)
3675c3689
<
int lua_absindex (lua_State *L, int idx);--- >
int lua_absindex (lua_State *L, int idx);3687c3701 <
typedef void * (*lua_Alloc) (void *ud, --- >typedef void * (*lua_Alloc) (void *ud, 3766c3780 <void lua_arith (lua_State *L, int op);--- >void lua_arith (lua_State *L, int op);3805c3819 <lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf);--- >lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf);3816c3830 <void lua_call (lua_State *L, int nargs, int nresults);--- >void lua_call (lua_State *L, int nargs, int nresults);3889c3903 <void lua_callk (lua_State *L, --- >void lua_callk (lua_State *L, 3904c3918 <typedef int (*lua_CFunction) (lua_State *L);--- >typedef int (*lua_CFunction) (lua_State *L);3956c3970 <int lua_checkstack (lua_State *L, int n);--- >int lua_checkstack (lua_State *L, int n);3976c3990 <void lua_close (lua_State *L);--- >void lua_close (lua_State *L);3998c4012 <void lua_closeslot (lua_State *L, int index);--- >void lua_closeslot (lua_State *L, int index);4016c4030 <int lua_closethread (lua_State *L, lua_State *from);--- >int lua_closethread (lua_State *L, lua_State *from);4051c4065 <int lua_compare (lua_State *L, int index1, int index2, int op);--- >int lua_compare (lua_State *L, int index1, int index2, int op);4079c4093 <void lua_concat (lua_State *L, int n);--- >void lua_concat (lua_State *L, int n);4096c4110 <void lua_copy (lua_State *L, int fromidx, int toidx);--- >void lua_copy (lua_State *L, int fromidx, int toidx);4110c4124 <void lua_createtable (lua_State *L, int nseq, int nrec);--- >void lua_createtable (lua_State *L, int nseq, int nrec);4129c4143 <int lua_dump (lua_State *L, --- >int lua_dump (lua_State *L, 4173c4187 <int lua_error (lua_State *L);--- >int lua_error (lua_State *L);4188c4202 <int lua_gc (lua_State *L, int what, ...);--- >int lua_gc (lua_State *L, int what, ...);4273c4287 <lua_Alloc lua_getallocf (lua_State *L, void **ud);--- >lua_Alloc lua_getallocf (lua_State *L, void **ud);4286c4300 <int lua_getfield (lua_State *L, int index, const char *k);--- >int lua_getfield (lua_State *L, int index, const char *k);4304c4318 <void *lua_getextraspace (lua_State *L);--- >void *lua_getextraspace (lua_State *L);4329c4343 <int lua_getglobal (lua_State *L, const char *name);--- >int lua_getglobal (lua_State *L, const char *name);4341c4355 <int lua_geti (lua_State *L, int index, lua_Integer i);--- >int lua_geti (lua_State *L, int index, lua_Integer i);4359c4373 <int lua_getmetatable (lua_State *L, int index);--- >int lua_getmetatable (lua_State *L, int index);4373c4387 <int lua_gettable (lua_State *L, int index);--- >int lua_gettable (lua_State *L, int index);4397c4411 <int lua_gettop (lua_State *L);--- >int lua_gettop (lua_State *L);4411c4425 <int lua_getiuservalue (lua_State *L, int index, int n);--- >int lua_getiuservalue (lua_State *L, int index, int n);4429c4443 <void lua_insert (lua_State *L, int index);--- >void lua_insert (lua_State *L, int index);4442c4456 <typedef ... lua_Integer;--- >typedef ... lua_Integer;4467c4481 <int lua_isboolean (lua_State *L, int index);--- >int lua_isboolean (lua_State *L, int index);4479c4493 <int lua_iscfunction (lua_State *L, int index);--- >int lua_iscfunction (lua_State *L, int index);4491c4505 <int lua_isfunction (lua_State *L, int index);--- >int lua_isfunction (lua_State *L, int index);4503c4517 <int lua_isinteger (lua_State *L, int index);--- >int lua_isinteger (lua_State *L, int index);4516c4530 <int lua_islightuserdata (lua_State *L, int index);--- >int lua_islightuserdata (lua_State *L, int index);4528c4542 <int lua_isnil (lua_State *L, int index);--- >int lua_isnil (lua_State *L, int index);4540c4554 <int lua_isnone (lua_State *L, int index);--- >int lua_isnone (lua_State *L, int index);4552c4566 <int lua_isnoneornil (lua_State *L, int index);--- >int lua_isnoneornil (lua_State *L, int index);4565c4579 <int lua_isnumber (lua_State *L, int index);--- >int lua_isnumber (lua_State *L, int index);4578c4592 <int lua_isstring (lua_State *L, int index);--- >int lua_isstring (lua_State *L, int index);4591c4605 <int lua_istable (lua_State *L, int index);--- >int lua_istable (lua_State *L, int index);4603c4617 <int lua_isthread (lua_State *L, int index);--- >int lua_isthread (lua_State *L, int index);4615c4629 <int lua_isuserdata (lua_State *L, int index);--- >int lua_isuserdata (lua_State *L, int index);4627c4641 <int lua_isyieldable (lua_State *L);--- >int lua_isyieldable (lua_State *L);4638c4652 <typedef ... lua_KContext;--- >typedef ... lua_KContext;4653c4667 <typedef int (*lua_KFunction) (lua_State *L, int status, lua_KContext ctx);--- >typedef int (*lua_KFunction) (lua_State *L, int status, lua_KContext ctx);4664c4678 <void lua_len (lua_State *L, int index);--- >void lua_len (lua_State *L, int index);4678c4692 <int lua_load (lua_State *L, --- >int lua_load (lua_State *L, 4758c4772 <lua_State *lua_newstate (lua_Alloc f, void *ud, --- >lua_State *lua_newstate (lua_Alloc f, void *ud, 4779c4793 <void lua_newtable (lua_State *L);--- >void lua_newtable (lua_State *L);4791c4805 <lua_State *lua_newthread (lua_State *L);--- >lua_State *lua_newthread (lua_State *L);4811c4825 <void *lua_newuserdatauv (lua_State *L, size_t size, int nuvalue);--- >void *lua_newuserdatauv (lua_State *L, size_t size, int nuvalue);4817,4818c4831,4838 < (The user values can be set and read with the functions <lua_setiuservalueandlua_getiuservalue.) --- > > >> The user values can be set and read with the functions >
lua_setiuservalueandlua_getiuservalue. > The block of memory is suitably aligned for any ISO C object. > (See macroLUAI_MAXALIGNin fileluaconf.hfor other > alignment requirements.) 4834c4854 <int lua_next (lua_State *L, int index);--- >int lua_next (lua_State *L, int index);4872,4873c4892,4895 < See functionnextfor the caveats of modifying < the table during its traversal. --- > > >> See function
nextfor more details about the traversal. 4880c4902 <typedef ... lua_Number;--- >typedef ... lua_Number;4896c4918 <int lua_numbertointeger (lua_Number n, lua_Integer *p);--- >int lua_numbertointeger (lua_Number n, lua_Integer *p);4918c4940 <unsigned lua_numbertocstring (lua_State *L, int idx, --- >unsigned lua_numbertocstring (lua_State *L, int idx, 4936c4958 <int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);--- >int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);4986c5008 <int lua_pcallk (lua_State *L, --- >int lua_pcallk (lua_State *L, 5003c5025 <void lua_pop (lua_State *L, int n);--- >void lua_pop (lua_State *L, int n);5015c5037 <void lua_pushboolean (lua_State *L, int b);--- >void lua_pushboolean (lua_State *L, int b);5026c5048 <void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n);--- >void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n);5075c5097 <void lua_pushcfunction (lua_State *L, lua_CFunction f);--- >void lua_pushcfunction (lua_State *L, lua_CFunction f);5087c5109 <const char *lua_pushexternalstring (lua_State *L, --- >const char *lua_pushexternalstring (lua_State *L, 5129c5151 <const char *lua_pushfstring (lua_State *L, const char *fmt, ...);--- >const char *lua_pushfstring (lua_State *L, const char *fmt, ...);5163c5185 <void lua_pushglobaltable (lua_State *L);--- >void lua_pushglobaltable (lua_State *L);5174c5196 <void lua_pushinteger (lua_State *L, lua_Integer n);--- >void lua_pushinteger (lua_State *L, lua_Integer n);5185c5207 <void lua_pushlightuserdata (lua_State *L, void *p);--- >void lua_pushlightuserdata (lua_State *L, void *p);5206c5228 <const char *lua_pushliteral (lua_State *L, const char *s);--- >const char *lua_pushliteral (lua_State *L, const char *s);5219c5241 <const char *lua_pushlstring (lua_State *L, const char *s, size_t len);--- >const char *lua_pushlstring (lua_State *L, const char *s, size_t len);5245c5267 <void lua_pushnil (lua_State *L);--- >void lua_pushnil (lua_State *L);5256c5278 <void lua_pushnumber (lua_State *L, lua_Number n);--- >void lua_pushnumber (lua_State *L, lua_Number n);5267c5289 <const char *lua_pushstring (lua_State *L, const char *s);--- >const char *lua_pushstring (lua_State *L, const char *s);5290c5312 <int lua_pushthread (lua_State *L);--- >int lua_pushthread (lua_State *L);5302c5324 <void lua_pushvalue (lua_State *L, int index);--- >void lua_pushvalue (lua_State *L, int index);5314c5336 <const char *lua_pushvfstring (lua_State *L, --- >const char *lua_pushvfstring (lua_State *L, 5332c5354 <int lua_rawequal (lua_State *L, int index1, int index2);--- >int lua_rawequal (lua_State *L, int index1, int index2);5347c5369 <int lua_rawget (lua_State *L, int index);--- >int lua_rawget (lua_State *L, int index);5360c5382 <int lua_rawgeti (lua_State *L, int index, lua_Integer n);--- >int lua_rawgeti (lua_State *L, int index, lua_Integer n);5378c5400 <int lua_rawgetp (lua_State *L, int index, const void *p);--- >int lua_rawgetp (lua_State *L, int index, const void *p);5397c5419 <lua_Unsigned lua_rawlen (lua_State *L, int index);--- >lua_Unsigned lua_rawlen (lua_State *L, int index);5414c5436 <void lua_rawset (lua_State *L, int index);--- >void lua_rawset (lua_State *L, int index);5427c5449 <void lua_rawseti (lua_State *L, int index, lua_Integer i);--- >void lua_rawseti (lua_State *L, int index, lua_Integer i);5446c5468 <void lua_rawsetp (lua_State *L, int index, const void *p);--- >void lua_rawsetp (lua_State *L, int index, const void *p);5465c5487 <typedef const char * (*lua_Reader) (lua_State *L, --- >typedef const char * (*lua_Reader) (lua_State *L, 5488c5510 <void lua_register (lua_State *L, const char *name, lua_CFunction f);--- >void lua_register (lua_State *L, const char *name, lua_CFunction f);5504c5526 <void lua_remove (lua_State *L, int index);--- >void lua_remove (lua_State *L, int index);5518c5540 <void lua_replace (lua_State *L, int index);--- >void lua_replace (lua_State *L, int index);5532c5554 <int lua_resume (lua_State *L, lua_State *from, int nargs, --- >int lua_resume (lua_State *L, lua_State *from, int nargs, 5543c5565 < then you calllua_resume, --- > Then you calllua_resume, 5581c5603 <void lua_rotate (lua_State *L, int idx, int n);--- >void lua_rotate (lua_State *L, int idx, int n);5601c5623 <void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);--- >void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);5613c5635 <void lua_setfield (lua_State *L, int index, const char *k);--- >void lua_setfield (lua_State *L, int index, const char *k);5632c5654 <void lua_setglobal (lua_State *L, const char *name);--- >void lua_setglobal (lua_State *L, const char *name);5644c5666 <void lua_seti (lua_State *L, int index, lua_Integer n);--- >void lua_seti (lua_State *L, int index, lua_Integer n);5663c5685 <int lua_setiuservalue (lua_State *L, int index, int n);--- >int lua_setiuservalue (lua_State *L, int index, int n);5677c5699 <int lua_setmetatable (lua_State *L, int index);--- >int lua_setmetatable (lua_State *L, int index);5695c5717 <void lua_settable (lua_State *L, int index);--- >void lua_settable (lua_State *L, int index);5715c5737 <void lua_settop (lua_State *L, int index);--- >void lua_settop (lua_State *L, int index);5735c5757 <void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud);--- >void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud);5748c5770 <typedef struct lua_State lua_State;--- >typedef struct lua_State lua_State;5769c5791 <int lua_status (lua_State *L);--- >int lua_status (lua_State *L);5793,5794c5815,5816 < [-0, +1, –] <size_t lua_stringtonumber (lua_State *L, const char *s);--- > [-0, +(0|1), –] >size_t lua_stringtonumber (lua_State *L, const char *s);5815c5837 <int lua_toboolean (lua_State *L, int index);--- >int lua_toboolean (lua_State *L, int index);5833c5855 <lua_CFunction lua_tocfunction (lua_State *L, int index);--- >lua_CFunction lua_tocfunction (lua_State *L, int index);5846c5868 <void lua_toclose (lua_State *L, int index);--- >void lua_toclose (lua_State *L, int index);5888c5910 <lua_Integer lua_tointeger (lua_State *L, int index);--- >lua_Integer lua_tointeger (lua_State *L, int index);5899c5921 <lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum);--- >lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum);5920c5942 <const char *lua_tolstring (lua_State *L, int index, size_t *len);--- >const char *lua_tolstring (lua_State *L, int index, size_t *len);5958c5980 <lua_Number lua_tonumber (lua_State *L, int index);--- >lua_Number lua_tonumber (lua_State *L, int index);5969c5991 <lua_Number lua_tonumberx (lua_State *L, int index, int *isnum);--- >lua_Number lua_tonumberx (lua_State *L, int index, int *isnum);5990c6012 <const void *lua_topointer (lua_State *L, int index);--- >const void *lua_topointer (lua_State *L, int index);6010c6032 <const char *lua_tostring (lua_State *L, int index);--- >const char *lua_tostring (lua_State *L, int index);6021c6043 <lua_State *lua_tothread (lua_State *L, int index);--- >lua_State *lua_tothread (lua_State *L, int index);6035c6057 <void *lua_touserdata (lua_State *L, int index);--- >void *lua_touserdata (lua_State *L, int index);6050c6072 <int lua_type (lua_State *L, int index);--- >int lua_type (lua_State *L, int index);6074c6096 <const char *lua_typename (lua_State *L, int tp);--- >const char *lua_typename (lua_State *L, int tp);6085c6107 <typedef ... lua_Unsigned;--- >typedef ... lua_Unsigned;6096c6118 <int lua_upvalueindex (int i);--- >int lua_upvalueindex (int i);6109c6131 <lua_Number lua_version (lua_State *L);--- >lua_Number lua_version (lua_State *L);6119c6141 <typedef void (*lua_WarnFunction) (void *ud, const char *msg, int tocont);--- >typedef void (*lua_WarnFunction) (void *ud, const char *msg, int tocont);6140c6162 <void lua_warning (lua_State *L, const char *msg, int tocont);--- >void lua_warning (lua_State *L, const char *msg, int tocont);6156c6178 <typedef int (*lua_Writer) (lua_State *L, --- >typedef int (*lua_Writer) (lua_State *L, 6188c6210 <void lua_xmove (lua_State *from, lua_State *to, int n);--- >void lua_xmove (lua_State *from, lua_State *to, int n);6204c6226 <int lua_yield (lua_State *L, int nresults);--- >int lua_yield (lua_State *L, int nresults);6221c6243 <int lua_yieldk (lua_State *L, --- >int lua_yieldk (lua_State *L, 6244c6266 < with thenresults removed and --- > with all the results (nresults) removed and 6345c6367 < The length of the stringsource. --- > the length of the stringsource. 6445c6467 <lua_Hook lua_gethook (lua_State *L);--- >lua_Hook lua_gethook (lua_State *L);6456c6478 <int lua_gethookcount (lua_State *L);--- >int lua_gethookcount (lua_State *L);6467c6489 <int lua_gethookmask (lua_State *L);--- >int lua_gethookmask (lua_State *L);6478c6500 <int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);--- >int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);6531c6553 < fills in the fieldssource,short_src, --- > fills in the fieldssource,srclen,short_src, 6564c6586 <const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);--- >const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);6605c6627 <int lua_getstack (lua_State *L, int level, lua_Debug *ar);--- >int lua_getstack (lua_State *L, int level, lua_Debug *ar);6628c6650 <const char *lua_getupvalue (lua_State *L, int funcindex, int n);--- >const char *lua_getupvalue (lua_State *L, int funcindex, int n);6647c6669 <typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);--- >typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);6696c6718 <void lua_sethook (lua_State *L, lua_Hook f, int mask, int count);--- >void lua_sethook (lua_State *L, lua_Hook f, int mask, int count);6746c6768 <const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);--- >const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);6762c6784,6786 < Parametersarandnare as in the functionlua_getlocal. --- > Parametersarandnare as in the functionlua_getlocal, > except thatarcannot beNULL, > aslua_setlocalonly operates on activation records. 6770c6794 <const char *lua_setupvalue (lua_State *L, int funcindex, int n);--- >const char *lua_setupvalue (lua_State *L, int funcindex, int n);6794c6818 <void *lua_upvalueid (lua_State *L, int funcindex, int n);--- >void *lua_upvalueid (lua_State *L, int funcindex, int n);6820c6844 <void lua_upvaluejoin (lua_State *L, int funcindex1, int n1, --- >void lua_upvaluejoin (lua_State *L, int funcindex1, int n1, 6895c6919 <void luaL_addchar (luaL_Buffer *B, char c);--- >void luaL_addchar (luaL_Buffer *B, char c);6907c6931 <const void luaL_addgsub (luaL_Buffer *B, const char *s, --- >const void luaL_addgsub (luaL_Buffer *B, const char *s, 6921c6945 <void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l);--- >void luaL_addlstring (luaL_Buffer *B, const char *s, size_t l);6935c6959 <void luaL_addsize (luaL_Buffer *B, size_t n);--- >void luaL_addsize (luaL_Buffer *B, size_t n);6948c6972 <void luaL_addstring (luaL_Buffer *B, const char *s);--- >void luaL_addstring (luaL_Buffer *B, const char *s);6961c6985 <void luaL_addvalue (luaL_Buffer *B);--- >void luaL_addvalue (luaL_Buffer *B);6981c7005 <void luaL_argcheck (lua_State *L, --- >void luaL_argcheck (lua_State *L, 6996c7020 <int luaL_argerror (lua_State *L, int arg, const char *extramsg);--- >int luaL_argerror (lua_State *L, int arg, const char *extramsg);7015c7039 <void luaL_argexpected (lua_State *L, --- >void luaL_argexpected (lua_State *L, 7030c7054 <typedef struct luaL_Buffer luaL_Buffer;--- >typedef struct luaL_Buffer luaL_Buffer;7102c7126 <char *luaL_buffaddr (luaL_Buffer *B);--- >char *luaL_buffaddr (luaL_Buffer *B);7115c7139 <void luaL_buffinit (lua_State *L, luaL_Buffer *B);--- >void luaL_buffinit (lua_State *L, luaL_Buffer *B);7129c7153 <size_t luaL_bufflen (luaL_Buffer *B);--- >size_t luaL_bufflen (luaL_Buffer *B);7141c7165 <char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz);--- >char *luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz);7153c7177 <void luaL_buffsub (luaL_Buffer *B, int n);--- >void luaL_buffsub (luaL_Buffer *B, int n);7166c7190 <int luaL_callmeta (lua_State *L, int obj, const char *e);--- >int luaL_callmeta (lua_State *L, int obj, const char *e);7187c7211 <void luaL_checkany (lua_State *L, int arg);--- >void luaL_checkany (lua_State *L, int arg);7199c7223 <lua_Integer luaL_checkinteger (lua_State *L, int arg);--- >lua_Integer luaL_checkinteger (lua_State *L, int arg);7212c7236 <const char *luaL_checklstring (lua_State *L, int arg, size_t *l);--- >const char *luaL_checklstring (lua_State *L, int arg, size_t *l);7231c7255 <lua_Number luaL_checknumber (lua_State *L, int arg);--- >lua_Number luaL_checknumber (lua_State *L, int arg);7243c7267 <int luaL_checkoption (lua_State *L, --- >int luaL_checkoption (lua_State *L, 7274c7298 <void luaL_checkstack (lua_State *L, int sz, const char *msg);--- >void luaL_checkstack (lua_State *L, int sz, const char *msg);7288c7312 <const char *luaL_checkstring (lua_State *L, int arg);--- >const char *luaL_checkstring (lua_State *L, int arg);7305c7329 <void luaL_checktype (lua_State *L, int arg, int t);--- >void luaL_checktype (lua_State *L, int arg, int t);7317c7341 <void *luaL_checkudata (lua_State *L, int arg, const char *tname);--- >void *luaL_checkudata (lua_State *L, int arg, const char *tname);7330c7354 <void luaL_checkversion (lua_State *L);--- >void luaL_checkversion (lua_State *L);7342c7366 <int luaL_dofile (lua_State *L, const char *filename);--- >int luaL_dofile (lua_State *L, const char *filename);7361c7385 <int luaL_dostring (lua_State *L, const char *str);--- >int luaL_dostring (lua_State *L, const char *str);7379c7403 <int luaL_error (lua_State *L, const char *fmt, ...);--- >int luaL_error (lua_State *L, const char *fmt, ...);7402c7426 <int luaL_execresult (lua_State *L, int stat);--- >int luaL_execresult (lua_State *L, int stat);7415c7439 <int luaL_fileresult (lua_State *L, int stat, const char *fname);--- >int luaL_fileresult (lua_State *L, int stat, const char *fname);7428c7452 <int luaL_getmetafield (lua_State *L, int obj, const char *e);--- >int luaL_getmetafield (lua_State *L, int obj, const char *e);7443c7467 <int luaL_getmetatable (lua_State *L, const char *tname);--- >int luaL_getmetatable (lua_State *L, const char *tname);7457c7481 <int luaL_getsubtable (lua_State *L, int idx, const char *fname);--- >int luaL_getsubtable (lua_State *L, int idx, const char *fname);7473c7497 <const char *luaL_gsub (lua_State *L, --- >const char *luaL_gsub (lua_State *L, 7490c7514 <lua_Integer luaL_len (lua_State *L, int index);--- >lua_Integer luaL_len (lua_State *L, int index);7505c7529 <int luaL_loadbuffer (lua_State *L, --- >int luaL_loadbuffer (lua_State *L, 7519c7543 <int luaL_loadbufferx (lua_State *L, --- >int luaL_loadbufferx (lua_State *L, 7545c7569 <int luaL_loadfile (lua_State *L, const char *filename);--- >int luaL_loadfile (lua_State *L, const char *filename);7556c7580 <int luaL_loadfilex (lua_State *L, const char *filename, --- >int luaL_loadfilex (lua_State *L, const char *filename, 7587c7611 <int luaL_loadstring (lua_State *L, const char *s);--- >int luaL_loadstring (lua_State *L, const char *s);7609c7633 <unsigned int luaL_makeseed (lua_State *L);--- >unsigned int luaL_makeseed (lua_State *L);7622c7646 <void luaL_newlib (lua_State *L, const luaL_Reg l[]);--- >void luaL_newlib (lua_State *L, const luaL_Reg l[]);7644c7668 <void luaL_newlibtable (lua_State *L, const luaL_Reg l[]);--- >void luaL_newlibtable (lua_State *L, const luaL_Reg l[]);7665c7689 <int luaL_newmetatable (lua_State *L, const char *tname);--- >int luaL_newmetatable (lua_State *L, const char *tname);7682a7707,7716 >> Usage note: Beware the use of the return value of this function to > conditionally initializes the new metatable > (e.g., by adding metamethods to it). > If the initialization raises an error, > the metatable will not be properly initialized, > but a subsequent execution of that code will detect that the > metatable already exists and then skip the initialization. > > 7688c7722 <
lua_State *luaL_newstate (void);--- >lua_State *luaL_newstate (void);7709c7743 <T luaL_opt (L, func, arg, dflt);--- >T luaL_opt (L, func, arg, dflt);7730c7764 <lua_Integer luaL_optinteger (lua_State *L, --- >lua_Integer luaL_optinteger (lua_State *L, 7748c7782 <const char *luaL_optlstring (lua_State *L, --- >const char *luaL_optlstring (lua_State *L, 7779c7813 <lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number d);--- >lua_Number luaL_optnumber (lua_State *L, int arg, lua_Number d);7794c7828 <const char *luaL_optstring (lua_State *L, --- >const char *luaL_optstring (lua_State *L, 7811c7845 <char *luaL_prepbuffer (luaL_Buffer *B);--- >char *luaL_prepbuffer (luaL_Buffer *B);7823c7857 <char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz);--- >char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz);7839c7873 <void luaL_pushfail (lua_State *L);--- >void luaL_pushfail (lua_State *L);7850c7884 <void luaL_pushresult (luaL_Buffer *B);--- >void luaL_pushresult (luaL_Buffer *B);7862c7896 <void luaL_pushresultsize (luaL_Buffer *B, size_t sz);--- >void luaL_pushresultsize (luaL_Buffer *B, size_t sz);7873c7907 <int luaL_ref (lua_State *L, int t);--- >int luaL_ref (lua_State *L, int t);7913c7947 <typedef struct luaL_Reg { --- >typedef struct luaL_Reg { 7932c7966 <void luaL_requiref (lua_State *L, const char *modname, --- >void luaL_requiref (lua_State *L, const char *modname, 7956c7990 <void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);--- >void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);7983c8017 <void luaL_setmetatable (lua_State *L, const char *tname);--- >void luaL_setmetatable (lua_State *L, const char *tname);7995c8029 <void *luaL_alloc (void *ud, void *ptr, size_t osize, size_t nsize);--- >void *luaL_alloc (void *ud, void *ptr, size_t osize, size_t nsize);8006c8040 <typedef struct luaL_Stream { --- >typedef struct luaL_Stream { 8045c8079 <void *luaL_testudata (lua_State *L, int arg, const char *tname);--- >void *luaL_testudata (lua_State *L, int arg, const char *tname);8058c8092 <const char *luaL_tolstring (lua_State *L, int idx, size_t *len);--- >const char *luaL_tolstring (lua_State *L, int idx, size_t *len);8081c8115 <void luaL_traceback (lua_State *L, lua_State *L1, const char *msg, --- >void luaL_traceback (lua_State *L, lua_State *L1, const char *msg, 8097c8131 <int luaL_typeerror (lua_State *L, int arg, const char *tname);--- >int luaL_typeerror (lua_State *L, int arg, const char *tname);8112c8146 <const char *luaL_typename (lua_State *L, int index);--- >const char *luaL_typename (lua_State *L, int index);8123c8157 <void luaL_unref (lua_State *L, int t, int ref);--- >void luaL_unref (lua_State *L, int t, int ref);8143c8177 <void luaL_where (lua_State *L, int lvl);--- >void luaL_where (lua_State *L, int lvl);8258c8292 <void luaL_openlibs (lua_State *L);--- >void luaL_openlibs (lua_State *L);8269c8303 <void luaL_openselectedlibs (lua_State *L, int load, int preload);--- >void luaL_openselectedlibs (lua_State *L, int load, int preload);8657,8658c8691 < See functionnextfor the caveats of modifying < the table during its traversal. --- > See functionnextfor more details about the traversal. 11683a11717,11719 > > >11692a11729,11730 > It is good practice to always require this library explicitly > before using it. 12308a12347,12351 > > >
> The compilation option
LUA_COMPAT_GLOBAL(seeluaconf.h) > makesglobala regular word. 12438c12481 < global attnamelist | --- > global attnamelist [‘=’ explist] | 12502c12545 < Mon Dec 15 21:02:05 UTC 2025 --- > Fri Jul 24 14:07:32 UTC 2026 12505c12548 < Last change: revised for Lua 5.5.0 --- > Last change: revised for Lua 5.5.1 diff -Nr lua-5.5.0/doc/readme.html lua-5.5.1/doc/readme.html 112c112 < the top-level directory, which is named lua-5.5.0. --- > the top-level directory, which is named lua-5.5.1. 265a266 >