commit - b7817ecea7378269d1302883d3b11f8b268527c1
commit + aae852fcf4a8c4e24d1f2565c7f9cf32f782d5b5
blob - c71120c9204e0533087157650d98c099bdc08483
blob + 0939d01f479e774c09c344b49c48e701aecdd5aa
--- man3/lua_Reader.3
+++ man3/lua_Reader.3
.Dv NULL
or set size to zero.
The reader function may return pieces of any size greater than zero.
+.Sh SEE ALSO
+.Xr lua_load 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_Reader
blob - cd3770dc07bd9e07215b4f9206d0ef286db55bf3
blob + 9cc18caf585d80216f5a20ce4a6bbfef64e157e7
--- man3/lua_State.3
+++ man3/lua_State.3
which creates a Lua state from scratch.
.Sh SEE ALSO
.Xr lua_newstate 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Vt lua_State
blob - 3c9566bc6041caa2e6ae9ebc131b3b04cf73e08c
blob + 1abbed08ae7e042d21acd3a5aaa7020ddfdd4f1c
--- man3/lua_Writer.3
+++ man3/lua_Writer.3
error and stops
.Xr lua_dump 3
from calling the writer again.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Vt lua_Writer
blob - c1967bbd49d54c988710ba28f91df8b92c388d18
blob + 3bb407e627ba2b4847f86831730f2a6207c83b14
--- man3/lua_getlocal.3
+++ man3/lua_getlocal.3
.Pq and pushes nothing
when the index is greater than the number of active local variables.
.Sh SEE ALSO
+.Xr lua_Hook 3
.Rs
.%A Roberto Ierusalimschy
.%A Luiz Henrique de Figueiredo
blob - 48e555b03481d53775f2a7c1762d41ca44929217
blob + 8a50c38472a418b2fc1487bd42aa5e8e02c46cdf
--- man3/lua_pcall.3
+++ man3/lua_pcall.3
.It Dv LUA_ERRERR :
error while running the error handler function.
.El
+.Sh SEE ALSO
+.Xr lua_call 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pcall
blob - e61dbb4306c22d7396d8e90f83559e9ef741693e
blob + 3eeb713cf122b1a45f313bb8e74a1188ee5a709f
--- man3/lua_pop.3
+++ man3/lua_pop.3
pops
.Fa n
elements from the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pop
blob - 7a152a44d49b41e4f88de80bd0c2fb1443e5dcea
blob + b40f464897dadd50ff68310ed12878850fb9cc6a
--- man3/lua_pushboolean.3
+++ man3/lua_pushboolean.3
pushes a boolean value with value
.Fa b
onto the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushboolean
blob - 833c8612686194f03eccaae9146d173ae5c6328b
blob + 70ad7890e458b094daf24662bdf2db67c8ce4453
--- man3/lua_pushcclosure.3
+++ man3/lua_pushcclosure.3
The maximum value for
.Fa n
is 255.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushcclosure
blob - 4c042a9ed8efa6edfe213ff2f83eba0a4a64abf0
blob + 5bc6792d7ca20354bf9ee8f0c26391fefc00a899
--- man3/lua_pushcfunction.3
+++ man3/lua_pushcfunction.3
.Bd -literal -offset indent -compact
#define lua_pushcfunction(L,f) lua_pushcclosure(L,f,0)
.Ed
+.Sh SEE ALSO
+.Xr lua_CFunction 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushcfunction
blob - 406c2b06897faa70cb5a4ccc4746d4c7fc330203
blob + c065ffc23a112d797c89441e1f50f44b0a7cfc12
--- man3/lua_pushfstring.3
+++ man3/lua_pushfstring.3
.Sq %c
.Pq inserts an int as a character .
.El
+.Sh SEE ALSO
+.Xr lua_Number 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushfstring
blob - 30956d945f0fdce86a49a6d62c00e98f883fd009
blob + f4c30ac1c8fccba70d2d0a48295f34feda50abad
--- man3/lua_pushinteger.3
+++ man3/lua_pushinteger.3
pushes a number with value
.Fa n
onto the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushinteger
blob - 49a9575b425d977369dacdc5dff013fa062af780
blob + 7f8b7abeed4c70a2c5031521e2e9148d581bb69c
--- man3/lua_pushlightuserdata.3
+++ man3/lua_pushlightuserdata.3
It is a value (like a number): you do not create it, it has no individual
metatable, and it is not collected (as it was never created).
A light userdata is equal to "any" light userdata with the same C address.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushlightuserdata
blob - a091eec5ced27d92b3f70dd9e27389d26aa76528
blob + 8101ddd879ebffdf06e27d929efa48bde44a04c9
--- man3/lua_pushliteral.3
+++ man3/lua_pushliteral.3
.Fa s
is a literal string.
In these cases, it automatically provides the string length.
+.Sh SEE ALSO
+.Xr lua_pushlstring 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushliteral
blob - c3241298774037fb51f0fa5da9b3538c02ccd1eb
blob + a328231fead150c3c2528d5e3b78039f01c1fad0
--- man3/lua_pushlstring.3
+++ man3/lua_pushlstring.3
.Fa s
can be freed or reused immediately after the function returns.
The string can contain embedded zeros.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushlstring
blob - fea38065adbc1f7afa0a6933333b51045fdc5e9f
blob + 1c505590ce83da0933717df4f6e4c257ad8a1a75
--- man3/lua_pushnil.3
+++ man3/lua_pushnil.3
.Sh DESCRIPTION
.Fn lua_pushnil
pushes a nil value onto the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushnil
blob - 64061fc8d450ead1b77dae2e8edbd3c9c31b1339
blob + 4f019f90f2eba384485cb30f9b2af96595567df3
--- man3/lua_pushnumber.3
+++ man3/lua_pushnumber.3
pushes a number with value
.Fa n
onto the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushnumber
blob - 0b6fae648ec6137c15dbeeaf7076eb401d22f076
blob + f3122713b944e304cab730ec25318c76c4c753eb
--- man3/lua_pushstring.3
+++ man3/lua_pushstring.3
can be freed or reused immediately after the function returns.
The string cannot contain embedded zeros; it is assumed to end at the first
zero.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushstring
blob - c124d2e52ffb798218ecc165576eeccafbe85227
blob + a04d41c98c28dd42391ca443d24145347328a263
--- man3/lua_pushthread.3
+++ man3/lua_pushthread.3
.Fa L
onto the stack.
Returns 1 if this thread is the main thread of its state.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushthread
blob - 31211a02f1301f176057b7ca9c6ba80079d17877
blob + d0fe3d4ce1b275e0de3d3f61697c73308f74955d
--- man3/lua_pushvalue.3
+++ man3/lua_pushvalue.3
.Sh DESCRIPTION
.Fn lua_pushvalue
pushes a copy of the element at the given valid index onto the stack.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushvalue
blob - 2b33f77f36d051a87de058f7a8801f8d89cd95a0
blob + 3c78e20c9b4d037ac42a712117afeb62a223be69
--- man3/lua_pushvfstring.3
+++ man3/lua_pushvfstring.3
except that it receives a
.Fa va_list
instead of a variable number of arguments.
+.Sh SEE ALSO
+.Xr lua_pushfstring 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_pushvfstring
blob - 581a865d0972e52f93e8883370de67ad30cc2c01
blob + 3c00a0b9d0e3b302ce03e84bccd567ae3462dfcf
--- man3/lua_rawequal.3
+++ man3/lua_rawequal.3
are primitively equal (that is, without calling metamethods).
Otherwise returns 0.
Also returns 0 if any of the indices are non valid.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_rawequal
blob - 46ee99bc0e9b234b91a5b9007bfebe108842d6b6
blob + c51fc0adf15bad5eaf762ebd934fe079157ecd07
--- man3/lua_rawget.3
+++ man3/lua_rawget.3
.Pq i.e., without metamethods .
.Sh SEE ALSO
.Xr lua_gettable 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_rawget
blob - 42bc2e774576796d3a64c20d9781cde1f17d9505
blob + 210bc84f2f1307e52d03bb5fcf2dddc516c08cf0
--- man3/lua_rawgeti.3
+++ man3/lua_rawgeti.3
pushes onto the stack the value t[n], where t is the value at the given valid
index.
The access is raw; that is, it does not invoke metamethods.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_rawgeti
blob - daae6a4dfa1d42660c40d00440f34390913d1e8c
blob + 11eb37a6186674287de7c2e8486a4693d4b69443
--- man3/lua_rawset.3
+++ man3/lua_rawset.3
.Pq i.e., without metamethods .
.Sh SEE ALSO
.Xr lua_settable 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_rawset
blob - 7ca473d32996ea5a39f0446dd683b8935831088a
blob + b4effe0f9cbefba58e41c9d604e7282d0e3d9164
--- man3/lua_rawseti.3
+++ man3/lua_rawseti.3
.Pp
This function pops the value from the stack.
The assignment is raw; that is, it does not invoke metamethods.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_rawseti
blob - 3155b75e90d5d118d8baa840b853c659b131ab6a
blob + f73671cf2df665d0623d8bebdac334ab6cd615c1
--- man3/lua_register.3
+++ man3/lua_register.3
.Bd -literal -offset indent -compact
#define lua_register(L,n,f) (lua_pushcfunction(L, f), lua_setglobal(L, n))
.Ed
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_register
blob - 5b6eb36ffc1f20f6326dd397f823c5c0167f75fe
blob + b9cc54e0ea89fcfdb8ab14d458571150374265be
--- man3/lua_remove.3
+++ man3/lua_remove.3
this index to fill the gap.
Cannot be called with a pseudo-index, because a pseudo-index is not an actual
stack position.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_remove
blob - a862cff241f2b16488ae0c245c3b2482c12e9f87
blob + 6cc484531f2a74a22718a52543f6ef691ce5d894
--- man3/lua_replace.3
+++ man3/lua_replace.3
.Fn lua_replace
moves the top element into the given position (and pops it), without shifting
any element (therefore replacing the value at the given position).
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_replace
blob - 1f8884c9956fa12b91eabed632ca8e471f9d333d
blob + 1b11d900fbe1d62a3245ecdc152da5009ffd62bf
--- man3/lua_resume.3
+++ man3/lua_resume.3
errors, or an error code in case of errors (see
.Xr lua_pcall 3
).
+.Sh SEE ALSO
+.Xr lua_newthread 3 ,
+.Xr lua_pcall 3 ,
+.Xr lua_yield 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_resume
blob - ee7f30a8b7c579c4e028a1bcb88b3b3663fe488b
blob + d4b25e79bd47b176767e16b7b916b64a19872923
--- man3/lua_setallocf.3
+++ man3/lua_setallocf.3
.Fa f
with user data
.Fa ud .
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setallocf
blob - f607f7996d60277a72683ccf9a6ff3d608e6522d
blob + a6eae2a7ede82d3d02e8de52c9987543e269bbb0
--- man3/lua_setfenv.3
+++ man3/lua_setfenv.3
.Fn lua_setfenv
returns 0.
Otherwise it returns 1.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setfenv
blob - 045cebe2b47769287c69c93c09d4eb0b7635c0bc
blob + cf4b172a77b851c2d71d8ebae61fae5fa1f4f4ed
--- man3/lua_setfield.3
+++ man3/lua_setfield.3
As in Lua, this function may trigger a metamethod for the
.Qq newindex
event.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setfield
blob - e9aa04ce48532f630e47ec1945eea12893a00961
blob + 5264535d58e3b221f07d5ede88268c01ecbf99e4
--- man3/lua_setglobal.3
+++ man3/lua_setglobal.3
It is defined as a macro:
.Pp
.Fd #define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, s)
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setglobal
blob - 071f796312906caa2f59e15af30b466a327375bb
blob + 392aa5dff4b4fd2fdef1b20a3e570abf8e74d572
--- man3/lua_sethook.3
+++ man3/lua_sethook.3
.El
.Pp
A hook is disabled by setting mask to zero.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_sethook
blob - e51e7c3dae3df8c37da424680bba104910f98cc9
blob + 676fe0d26db5336641c8e2e54fe54ec80e0c41ad
--- man3/lua_setlocal.3
+++ man3/lua_setlocal.3
.Dv NULL
.Pq and pops nothing
when the index is greater than the number of active local variables.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setlocal
blob - 2dcbfbb654444efdbe3489b57d42083066f219cd
blob + 29833649d3742e28c1a6480a47f443ce3965ce27
--- man3/lua_setmetatable.3
+++ man3/lua_setmetatable.3
.Fn lua_setmetatable
pops a table from the stack and sets it as the new metatable for the value at
the given acceptable index.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setmetatable
blob - 9327fd66382d646992ed1fda486410bc2736b210
blob + b87ad7eb242f958f3f8586930fa799c6c822beed
--- man3/lua_settable.3
+++ man3/lua_settable.3
As in Lua, this function may trigger a metamethod for the
.Qq newindex
event.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_settable
blob - 64a22fc81fc4221528b13c3683d6a3a0d53f165f
blob + a55ce5ac46bbe39316653234576ba940675631ef
--- man3/lua_settop.3
+++ man3/lua_settop.3
with
.Dv nil .
If index is 0, then all stack elements are removed.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_settop
blob - b1cab1f10bd26150342c7bf3e3541ea9559353a3
blob + 58f26fc7602077b7e938209c5e87a7a526c46271
--- man3/lua_setupvalue.3
+++ man3/lua_setupvalue.3
.Dv NULL
.Pq and pops nothing
when the index is greater than the number of upvalues.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_setupvalue
blob - 0478d80d005201bc6b81ec4d7fd44e144a6c5a77
blob + 2887a2be67be7fa3779fb8a6db583989fe6b11de
--- man3/lua_status.3
+++ man3/lua_status.3
its execution with an error, or
.Dv LUA_YIELD
if the thread is suspended.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_status
blob - 03a1713a09a55f660e11bd4a095483e38fe6ad32
blob + 4ff5281457f98fd89a4f14ac7be4ed577ceb45ec
--- man3/lua_toboolean.3
+++ man3/lua_toboolean.3
to test the value's type.)
.Sh SEE ALSO
.Xr lua_isboolean 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_toboolean
blob - 43701a366b9e2deaf21604057fbebdc5c8db157c
blob + 17e600499347cc0bf82249e7820b3b82b1804daf
--- man3/lua_tocfunction.3
+++ man3/lua_tocfunction.3
.Sh RETURN VALUES
That value must be a C function; otherwise, returns
.Dv NULL .
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_tocfunction
blob - 6baa23ffaf1ffa4c45af70d27596c1015ed7a5ea
blob + e4695a0cba4141e836bfd2cd55ac197c07cee335
--- man3/lua_tointeger.3
+++ man3/lua_tointeger.3
If the number is not an integer, it is truncated in some non-specified way.
.Sh SEE ALSO
.Xr lua_Integer 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_tointeger
blob - 546753d6ffd52457d5056d5016bd091b524bc294
blob + 73811601c6db30224f8766604e12c8d559707254
--- man3/lua_tolstring.3
+++ man3/lua_tolstring.3
returned by
.Fn lua_tolstring
will be valid after the corresponding value is removed from the stack.
+.Sh SEE ALSO
+.Xr lua_next 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_tolstring
blob - 6a84b908b35af6358732562d47d5941230a5d66f
blob + 772f99d171895b778eb81bd7cf3296d42fef587d
--- man3/lua_tonumber.3
+++ man3/lua_tonumber.3
The Lua value must be a number or a string convertible to a number; otherwise,
.Nm lua_tonumber
returns 0.
+.Sh SEE ALSO
+.Xr lua_Number 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_tonumber
blob - 6d41f3e90a4d0f4009bfe68120edf5c161931492
blob + ac3dfd827da10bf4833354840c1aaa9c5cc904b0
--- man3/lua_topointer.3
+++ man3/lua_topointer.3
There is no way to convert the pointer back to its original value.
.Pp
Typically this function is used only for debug information.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_topointer
blob - 6267a855cf5f2d08b8bc274af86f969941ea0394
blob + 495d487829b48eb8f2b93ba42449214cba4b18f0
--- man3/lua_tostring.3
+++ man3/lua_tostring.3
.Dv NULL .
.Sh SEE ALSO
.Xr lua_tolstring 3
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_tostring
blob - 0adb6035afe1390181b8be25409188b6a5876861
blob + 936db681615845c5dcda478103b1a666e7563547
--- man3/lua_tothread.3
+++ man3/lua_tothread.3
Returns Lua thread represented as lua_State* and returns
.Dv NULL
when value is not a thread.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_gethook
blob - 806e3067e134b61b407647df4d81f65eec0f9e40
blob + 7707705f62b672ea19a62a8dcc1a1406bb5fd12c
--- man3/lua_touserdata.3
+++ man3/lua_touserdata.3
If the value is a light userdata, returns its pointer.
Otherwise, returns
.Dv NULL .
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_touserdata
blob - 535bfb030c52eefb320999281fdd620ed60ceaf8
blob + 933f6e194efdc0289f9e3d49fbf0dc9b042db51c
--- man3/lua_type.3
+++ man3/lua_type.3
.Dv LUA_TTHREAD ,
and
.Dv LUA_TLIGHTUSERDATA .
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_type
blob - f467cb1370aca1d7dd8edce3f84220a745bcbaf8
blob + f6ba5c7c4ca4a90274a442eb94f79971aa0149e6
--- man3/lua_typename.3
+++ man3/lua_typename.3
.Xr lua_type 3 .
.Sh RETURN VALUES
Returns the name of the type encoded by the value.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_typename
blob - ea78c358b993855a5764add704bdf5ef5512f18d
blob + ae0105dee449476981fc259af737b98c88630045
--- man3/lua_xmove.3
+++ man3/lua_xmove.3
exchange values between different threads of the same global state.
This function pops n values from the stack from, and pushes them onto the stack
to.
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_xmove
blob - 3051094828c8758a5111c9ac62cd670eb8b253ae
blob + be7bdd5a3d3e10cd5fa01ea8e83fe0b945910167
--- man3/lua_yield.3
+++ man3/lua_yield.3
.Nm lua_yield
in that way, the running coroutine suspends its execution, and the call to
lua_resume that started this coroutine returns.
-The parameter nresults is the number of values from the stack that are passed
-as results to
+The parameter
+.Fa nresults
+is the number of values from the stack that are passed as results to
.Xr lua_resume 3 .
+.Sh SEE ALSO
+.Rs
+.%A Roberto Ierusalimschy
+.%A Luiz Henrique de Figueiredo
+.%A Waldemar Celes
+.%T Lua 5.1 Reference Manual
+.Re
.Sh HISTORY
The
.Fn lua_yield