commit d6c1aa2ee2316ac450c7b54219b0f5bf82350ef3 from: Sergey Bronnikov date: Tue Jul 25 10:11:56 2023 UTC man3: add a function's indicators The patch addes function's indicators to a short description. Lua 5.1 Reference Manual in "3.7 – Functions and Types" [1] describes function's indicators and how to read this notation: Each function has an indicator like this: `[-o, +p, x]`. The first field, `o`, is how many elements the function pops from the stack. The second field, `p`, is how many elements the function pushes onto the stack. (Any function always pushes its results after popping its arguments.) A field in the form `x|y` means the function can push (or pop) `x` or `y` elements, depending on the situation; an interrogation mark '?' means that we cannot know how many elements the function pops/pushes by looking only at its arguments (e.g., they may depend on what is on the stack). The third field, `x`, tells whether the function may throw errors: '-' means the function never throws any error; 'm' means the function may throw an error only due to not enough memory; 'e' means the function may throw other kinds of errors; 'v' means the function may throw an error on purpose. 1. http://www.lua.org/manual/5.1/manual.html#3.7 commit - e55231768bea68f01aaf7eb3730002361d27a16f commit + d6c1aa2ee2316ac450c7b54219b0f5bf82350ef3 blob - 6ddc13ae0bad9a0edd912fb9fa6e803bd5316b2b blob + ff1fb8ac2b53424ea49e0c29fac6516ed2deb30b --- CHANGELOG.md +++ CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http ### Added +- Function's indicators. + ### Changed ### Fixed blob - 93849f6b1a297eeb67367767207afb57541ef81c blob + e5c9b4f1930f776dc23e90b4c1a54f8b96f96c34 --- man3/luaL_addchar.3 +++ man3/luaL_addchar.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_addchar -.Nd adds the character to the buffer +.Nd adds the character to the buffer, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - e597b34172f84781b9731650969afca6dae68a8c blob + daa564c0c2a4b6058b8a6c89685619d6caebab7f --- man3/luaL_addlstring.3 +++ man3/luaL_addlstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_addlstring -.Nd adds the string to the buffer +.Nd adds the string to the buffer, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - e41a091b9088be7f6861cdb2ff34f1f1b344e1ee blob + fae1d0c1b77ba90c7111de96fc0e2d80559d447f --- man3/luaL_addsize.3 +++ man3/luaL_addsize.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_addsize -.Nd adds to the buffer a string +.Nd adds to the buffer a string, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 999c71a4ff688239b5e2f2ffcfa8b9688f840e16 blob + b82bb2b02fd135f36c252fc9df5c6b4eb4c4ca55 --- man3/luaL_addstring.3 +++ man3/luaL_addstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_addstring -.Nd adds the zero-terminated string to the buffer +.Nd adds the zero-terminated string to the buffer, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 0b040d22da499660d0ebcf182e4c2ec6637f1488 blob + 964146d5e9d99a92a4099fe736c290fa5d237113 --- man3/luaL_addvalue.3 +++ man3/luaL_addvalue.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_addvalue -.Nd adds the value at the top of the stack to the buffer +.Nd adds the value at the top of the stack to the buffer, function indicator +.Bq -1, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 4237c99f0e4a9fe0cfd061d68e79ccb996c0c1b3 blob + 3aeaf8cce7eae5356700c9fedb9ade08a9e95d92 --- man3/luaL_argcheck.3 +++ man3/luaL_argcheck.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_argcheck -.Nd checks whether cond is true +.Nd checks whether cond is true, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 6a6d8dfaf27a71437d4c6e19f12d9d4e70bce3ce blob + b2fd2f1b3bf275777d1a3059a9b837aeccf9fbd7 --- man3/luaL_argerror.3 +++ man3/luaL_argerror.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_argerror -.Nd raises an error with the message +.Nd raises an error with the message, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - edbd16164471105d89735185ce4e36b2c84a223c blob + 1ac8ff3a92ab4aa47836edb4b014b035442444dc --- man3/luaL_buffinit.3 +++ man3/luaL_buffinit.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_buffinit -.Nd initializes a buffer +.Nd initializes a buffer, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 6f661e2c62cb88dab44e0e451263c1ec031048f6 blob + a602df59f98e87b7bc3165b2e5160d121274efa0 --- man3/luaL_callmeta.3 +++ man3/luaL_callmeta.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm luaL_callmeta -.Nd calls a metamethod +.Nd calls a metamethod, function indicator +.Bo -0, + Pq 0|1 , +e +.Bc .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 8dffc35c8ded7799950a875178745fe13fe301c3 blob + e0a83f212f8baad2fbb475c54a08f84f7789ab2b --- man3/luaL_checkany.3 +++ man3/luaL_checkany.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkany -.Nd checks whether the function has an argument of any type +.Nd checks whether the function has an argument of any type, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 6a4b9afed8048024cda5dabb44c3dd8973f2be75 blob + c62fc27b63292688258b7cb994158d3e91bf391b --- man3/luaL_checkint.3 +++ man3/luaL_checkint.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkint -.Nd checks whether the function argument is a number +.Nd checks whether the function argument is a number, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 21ad45eaf7affaf7cc0806a54b0bcc5cd624fe8d blob + 7419965f27d9fc101c220a374566eb2746bb8f22 --- man3/luaL_checkinteger.3 +++ man3/luaL_checkinteger.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkinteger -.Nd checks whether the function argument is a number +.Nd checks whether the function argument is a number, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft lua_Integer blob - 0b4cd7fdb194052e0bc4968fc8677964863c5ae3 blob + f775f4bb699ef3a751da5bea9fb45b2d3a66980c --- man3/luaL_checklong.3 +++ man3/luaL_checklong.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checklong -.Nd checks whether the function argument is a number +.Nd checks whether the function argument is a number, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft long blob - 5040092fc3021cb4385b83d151d92fa712590607 blob + be08cebd023759dc05c5cac2151df96c75394675 --- man3/luaL_checklstring.3 +++ man3/luaL_checklstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checklstring -.Nd checks whether the function argument is a string +.Nd checks whether the function argument is a string, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - c25a3bb23182870b17535b0ba9106cc7233ac572 blob + e78b18f66f826f986d9e1b6d8c0fe1544f3788a1 --- man3/luaL_checknumber.3 +++ man3/luaL_checknumber.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm luaL_checknumber .Nd checks whether the function argument narg is a number and returns this -number +number, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft lua_Number blob - 41c147945a6e698bd52a4a39b0d07854b3248217 blob + dfa3354957890bc14cf8b5c252cc60f6bef563fd --- man3/luaL_checkoption.3 +++ man3/luaL_checkoption.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkoption -.Nd checks whether the function argument is a string +.Nd checks whether the function argument is a string, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 14a16717d0886d773176b590d7cd7e52e2ccba3e blob + acfd3ace0dc16b9a484c6a855b016051f1d1809a --- man3/luaL_checkstack.3 +++ man3/luaL_checkstack.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkstack -.Nd grows the stack size to specified size of elements +.Nd grows the stack size to specified size of elements, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft void blob - c413017352dab90d3c127838eabee19e02792f4d blob + 56faab9805b88041231fe42b70bf61730fc73ae7 --- man3/luaL_checkstring.3 +++ man3/luaL_checkstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkstring -.Nd checks whether the function argument is a string and returns this string +.Nd checks whether the function argument is a string and returns this string, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - 9c67b486ecdf37842e7523227ed87fe965e50224 blob + 7813b5cb80442d0512292bf904d19b9eed1a9910 --- man3/luaL_checktype.3 +++ man3/luaL_checktype.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checktype -.Nd checks whether the function argument has a certain type +.Nd checks whether the function argument has a certain type, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 057fc8cf7183dfdace357e99c981e4d1e294d023 blob + 76602744fd6ed6342997a020cfae881547a87475 --- man3/luaL_checkudata.3 +++ man3/luaL_checkudata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_checkudata -.Nd checks whether the function argument is a userdata of a certain type +.Nd checks whether the function argument is a userdata of a certain type, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft void * blob - 4f3d888dcf60d40b31dd63c33d1fc7b45f270046 blob + 2eeaf443440a541a2970299fbd386ba3f7267256 --- man3/luaL_dofile.3 +++ man3/luaL_dofile.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_dofile -.Nd loads and runs the given file +.Nd loads and runs the given file, function indicator +.Bq -0, +?, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - a42e449490730d4cf134d80b84522c32939aee6f blob + feb1e9815050abad535c62dccea7688c752f2259 --- man3/luaL_dostring.3 +++ man3/luaL_dostring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_dostring -.Nd loads and runs the given string +.Nd loads and runs the given string, function indicator +.Bq -0, +?, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - a8d6235b348bc25c6d45df76f00c3b66133fcb79 blob + 437c7e18e08d26aeb895e0bb23e5b110b3213b36 --- man3/luaL_error.3 +++ man3/luaL_error.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_error -.Nd raises an error +.Nd raises an error, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - c53f356115705ea4e6c90c91ce52eb71223806cb blob + 818b23eb9ca41a3aeef2c9ba4f86ec17f97cab86 --- man3/luaL_getmetafield.3 +++ man3/luaL_getmetafield.3 @@ -4,7 +4,10 @@ .Sh NAME .Nm luaL_getmetafield .Nd pushes onto the stack the field from the metatable of the object at the -specified index +specified index, function indicator +.Bo -0, + Pq 0|1 , +m +.Bc .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 103a59f5e876f010ad13aead7f6f9790ec8a474c blob + 0df1288e77c08f173c5f2444efa9a2645a5ed913 --- man3/luaL_getmetatable.3 +++ man3/luaL_getmetatable.3 @@ -3,7 +3,9 @@ .Os .Sh NAME .Nm luaL_getmetatable -.Nd pushes onto the stack the metatable associated with name in the registry +.Nd pushes onto the stack the metatable associated with name in the registry, +function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 32eca7f10c0dbc5503f285efd1b55029339b8794 blob + a2fb6f5712cfd54a5283fb3d4a2809b34054353a --- man3/luaL_gsub.3 +++ man3/luaL_gsub.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm luaL_gsub .Nd creates a copy of string A by replacing any occurrence of the string B with -the string C +the string C, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - b7a0c452619f8f6586c76ccf5fc603c1feec6556 blob + 631d216df90275fc25d4d0c6e821dff48ab89ce4 --- man3/luaL_loadbuffer.3 +++ man3/luaL_loadbuffer.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_loadbuffer -.Nd loads a buffer as a Lua chunk +.Nd loads a buffer as a Lua chunk, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 8255ed36136fba727ed9ba81caf358f7a973cb5e blob + 02aa511f859beb57644c609000363a8b2f419bee --- man3/luaL_loadfile.3 +++ man3/luaL_loadfile.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_loadfile -.Nd loads a file as a Lua chunk +.Nd loads a file as a Lua chunk, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - ff451dc263329b5b5604ea25727256173bc2d4b8 blob + f629eb0db7a3ccb05b4fb992d1d1ede066a685f1 --- man3/luaL_loadstring.3 +++ man3/luaL_loadstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_loadstring -.Nd loads a string as a Lua chunk +.Nd loads a string as a Lua chunk, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 330549d7d024faae9a1e9640f6069ff8ae9029fa blob + d4e80614b026d1b6d237d1264523477c02fd31b4 --- man3/luaL_newmetatable.3 +++ man3/luaL_newmetatable.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_newmetatable -.Nd creates a new table to be used as a metatable for userdata +.Nd creates a new table to be used as a metatable for userdata, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 04a3b3c9937587cb228bef85d67176283795616c blob + abeab7eeb2d73a6a1a06a0abddca798d178ede8c --- man3/luaL_newstate.3 +++ man3/luaL_newstate.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_newstate -.Nd creates a new Lua state +.Nd creates a new Lua state, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lauxlib.h .Ft lua_State * blob - 1704cc31862ac1d8fbacfa41f77b98e144a47727 blob + 83ef1f61ebb21d91a422cef5307f7be9ae8c1f71 --- man3/luaL_openlibs.3 +++ man3/luaL_openlibs.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_openlibs -.Nd opens all standard Lua libraries into the given state +.Nd opens all standard Lua libraries into the given state, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 7c1e60aeb970394fb04aad723c05e2e6f3a90b86 blob + e8f7930bea6bb983499a1092b3eafc99ff18e9b3 --- man3/luaL_optint.3 +++ man3/luaL_optint.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optint -.Nd casts a number to an int +.Nd casts a number to an int, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 483cedaf7adfbea6b1f47f8ba73c6f768c2f478d blob + 78ea493787c549149e5356b6db6c647bfc4d37fc --- man3/luaL_optinteger.3 +++ man3/luaL_optinteger.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optinteger -.Nd casts a number to a lua_Integer +.Nd casts a number to a lua_Integer, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft lua_Integer blob - 9b21ea94bd1d19a5962f05af1de252b84fee97da blob + c404fe3b6e58f982fb7674340b4f42df705d026e --- man3/luaL_optlong.3 +++ man3/luaL_optlong.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optlong -.Nd casts a number to a long +.Nd casts a number to a long, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft long blob - b997fc0b2c84a399571b89acff33665f562097a8 blob + 99113c5620c0aa923ef9e84b1fce9dec695090e9 --- man3/luaL_optlstring.3 +++ man3/luaL_optlstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optlstring -.Nd if the function argument is a string, returns this string +.Nd if the function argument is a string, returns this string, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - 1842cb75421391d1bd018fef7e5d8f251791de94 blob + 4b560a5897fd8bfab771a788370488c37056cfb1 --- man3/luaL_optnumber.3 +++ man3/luaL_optnumber.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optnumber -.Nd if the function argument is a number, returns this number +.Nd if the function argument is a number, returns this number, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft lua_Number blob - 6b77d185adf263527ad5c5222e722accf29960d6 blob + 594a361da9226248f7702b75f8f6d5338dfa6bb5 --- man3/luaL_optstring.3 +++ man3/luaL_optstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_optstring -.Nd if the function argument is a string, returns this string +.Nd if the function argument is a string, returns this string, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - 869dbeb92516ab51cc1ef574e0f0792ea1e109b8 blob + ced9c35e1b90bc5e470669dd785d163527d3b500 --- man3/luaL_prepbuffer.3 +++ man3/luaL_prepbuffer.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm luaL_prepbuffer -.Nd prepares a buffer luaL_Buffer +.Nd prepares a buffer +.Xr luaL_Buffer 3 , +function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lauxlib.h .Ft char * blob - e656ecf49c77a5b394ebbd8a4e5a96615d0610a7 blob + de66fc1f19eedc4bc0ea364e4d370533f1f05e6d --- man3/luaL_pushresult.3 +++ man3/luaL_pushresult.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_pushresult -.Nd finishes the use of buffer +.Nd finishes the use of buffer, function indicator +.Bq -?, +1, m .Sh SYNOPSIS .In luaxlib.h .Ft void blob - c87a17a20bf74d82738832058953584c9b2e983e blob + 0ddf16430addbfaa24aa68104731e624b8cafe01 --- man3/luaL_ref.3 +++ man3/luaL_ref.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm luaL_ref .Nd creates and returns a reference for the object at the top of the stack and -pops the object +pops the object, function indicator +.Bq -1, +0, m .Sh SYNOPSIS .In lauxlib.h .Ft int blob - a9f1855b08c8bd5c5144e5c7d21ab96c2ea56ad5 blob + 9d602dffad3589ba83aa6279f4878a7e526b2990 --- man3/luaL_register.3 +++ man3/luaL_register.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm luaL_register -.Nd opens a library +.Nd opens a library, function indicator +.Bo - Pq 0|1 , ++1, m +.Bc .Sh SYNOPSIS .In lauxlib.h .Ft void blob - de478df7dba5bd65c0441e57fbe1d50d1901b082 blob + 3ba20e00320ba185bd805f219e4b5cf2b70b6a23 --- man3/luaL_typename.3 +++ man3/luaL_typename.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_typename -.Nd returns the name of the type of the value +.Nd returns the name of the type of the value, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lauxlib.h .Ft const char * blob - 03567dc44aa7e286c63dcd85b835e689da128386 blob + 9948a26952464d88ad324c599950ff23820bc850 --- man3/luaL_typerror.3 +++ man3/luaL_typerror.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_typerror -.Nd generates an error with a message +.Nd generates an error with a message, function indicator +.Bq -0, +0, v .Sh SYNOPSIS .In lauxlib.h .Ft int blob - 796985f0656070f0138edbcefd7265172d88364e blob + 43e60ad7b744ea06ee66ac4f9859986900a124f4 --- man3/luaL_unref.3 +++ man3/luaL_unref.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm luaL_unref -.Nd releases reference from the table +.Nd releases reference from the table, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lauxlib.h .Ft void blob - 7a268acae8672ce544f0c19ec325d3e66ce20a2f blob + 41ef646825b16066b8eb61e39f8c797f4d81fd4b --- man3/luaL_where.3 +++ man3/luaL_where.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm luaL_where .Nd pushes onto the stack a string identifying the current position of the -control +control, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lauxlib.h .Ft void blob - e02f2dcea2807d938a591213c56e0d3ca33375af blob + 29c25517471acb939ab85ea8a9f12da296e173b3 --- man3/lua_atpanic.3 +++ man3/lua_atpanic.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_atpanic -.Nd sets a new panic function and returns the old one +.Nd sets a new panic function and returns the old one, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_CFunction blob - f8f32c7655810914ee250b27513e838b5a8b4888 blob + 162de47e3ba0acdcbf723d48e4af89ab2eda9841 --- man3/lua_call.3 +++ man3/lua_call.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_call -.Nd calls a function +.Nd calls a function, function indicator +.Bo - Pq nargs + 1 , ++nresults, e +.Bc .Sh SYNOPSIS .In lua.h .Ft void blob - 8fe8b3ffd205f66f986b5c3ad45fe8d8008d290e blob + 4fce50efb4a8da7f64de873a5c438c6f6d9876a7 --- man3/lua_checkstack.3 +++ man3/lua_checkstack.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_checkstack -.Nd ensures that there are at least extra free stack slots in the stack +.Nd ensures that there are at least extra free stack slots in the stack, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lua.h .Ft int blob - 43d1bb648bd3428647541b08f2fe546de517d8b9 blob + 20612fbcd658221acc5e29a7f900766e7f2b3ebc --- man3/lua_close.3 +++ man3/lua_close.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_close -.Nd ensures that there are at least extra free stack slots in the stack +.Nd ensures that there are at least extra free stack slots in the stack, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft void blob - c7d284ff8c07d87c03ce7a10635e76dbfb16a598 blob + 7cfe738d294f11f3f1675ae558278ea9f3bb0b4e --- man3/lua_concat.3 +++ man3/lua_concat.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm lua_concat .Nd concatenates the values at the top of the stack, pops them, and leaves the -result at the top +result at the top, function indicator +.Bq -n, +1, e .Sh SYNOPSIS .In lua.h .Ft void blob - b34af570cfe94bf90cd468a8dd26177c9dd7f2a5 blob + d543b4b33bdc4d0cec6daf41803106222e24e33c --- man3/lua_cpcall.3 +++ man3/lua_cpcall.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_cpcall -.Nd calls the C function in protected mode +.Nd calls the C function in protected mode, function indicator +.Bo -0, + Pq 0|1 , +- +.Bc .Sh SYNOPSIS .In lua.h .Ft int blob - 59d340427446afacc99be9ae907283636aaaa07c blob + 7549e39fbf966cbf93a30672d8ca14debbe59702 --- man3/lua_createtable.3 +++ man3/lua_createtable.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_createtable -.Nd creates a new empty table and pushes it onto the stack +.Nd creates a new empty table and pushes it onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - 4c8349a1b835be6d393def9d920ef485700fafbf blob + d6737a244bc90f63bf49435928e5b9d4cd759c0a --- man3/lua_dump.3 +++ man3/lua_dump.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_dump -.Nd dumps a function as a binary chunk +.Nd dumps a function as a binary chunk, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lua.h .Ft int blob - b95a856b7c53a7c399a406e54081f69815f450a4 blob + ff6645c0ba70f37e05200ccdf8b6c5883354ffa8 --- man3/lua_equal.3 +++ man3/lua_equal.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_equal -.Nd compare two values for equality +.Nd compare two values for equality, function indicator +.Bq -0, +0, e .Sh SYNOPSIS .In lua.h .Ft int blob - 4280d878af688b2d681405306bb76eb29c15e2eb blob + c52c0438af6480b88461795f2a34c6c9d325a1b5 --- man3/lua_error.3 +++ man3/lua_error.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_error -.Nd generates a Lua error +.Nd generates a Lua error, function indicator +.Bq -1, +0, v .Sh SYNOPSIS .In lua.h .Ft int blob - 3546f12f608065ff8603cd5698265bca6f7050ee blob + 4b1b16b3f5d44792b566e8f1bdd7fd3fdbf5d0a9 --- man3/lua_gc.3 +++ man3/lua_gc.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_gc -.Nd controls the garbage collector +.Nd controls the garbage collector, function indicator +.Bq -0, +0, e .Sh SYNOPSIS .In lua.h .Ft int blob - 7c348ff7bbdda8e9cb08d1c8e0f7c69b00989970 blob + e45b25f5740174c7ea92347a15f06945aafebd9d --- man3/lua_getallocf.3 +++ man3/lua_getallocf.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_getallocf -.Nd returns the memory-allocation function of a given state +.Nd returns the memory-allocation function of a given state, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_Alloc blob - e3bbc2efc6bbef3e6e80739e8241b99a431694e8 blob + e73ec64c301c22c1ea5e79fef98c08254453fa9b --- man3/lua_getfenv.3 +++ man3/lua_getfenv.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_getfenv -.Nd pushes onto the stack the environment table of the value at the given index +.Nd pushes onto the stack the environment table of the value at the given index, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 3727ded3cb58f444fdc3bfdf2885ba171863c1d9 blob + 73680b8161b41d0d1c00ada0200612af283a1a16 --- man3/lua_getfield.3 +++ man3/lua_getfield.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_getfield -.Nd pushes onto the stack the value t[k], where t is the value at the given valid index +.Nd pushes onto the stack the value t[k], where t is the value at the given valid index, function indicator +.Bq -0, +1, e .Sh SYNOPSIS .In lua.h .Ft void blob - f72a7c976c731b526a65422e05d4793f59519d06 blob + b49e8aa2baa4e679263c7404f1392c1160ea539f --- man3/lua_getglobal.3 +++ man3/lua_getglobal.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_getglobal -.Nd pushes onto the stack the value of the global name +.Nd pushes onto the stack the value of the global name, function indicator +.Bq -0, +1, e .Sh SYNOPSIS .In lua.h .Ft void blob - 9fc0d5e31247fafbb1b88cc6fee0538786b42890 blob + d350ac19e902c5da6a22f154705f4c2e32cca6ad --- man3/lua_gethook.3 +++ man3/lua_gethook.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_gethook -.Nd returns the current hook function +.Nd returns the current hook function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_Hook blob - 4cc898065a8265f9d107b2210e10b1e32182e683 blob + 7c5420bb088fb193043a619f9293ba5f1e89219f --- man3/lua_gethookcount.3 +++ man3/lua_gethookcount.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_gethookcount -.Nd returns the current hook count +.Nd returns the current hook count, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 26852c63f5120a59bfcf6c9ef0714cade336e977 blob + 390fd2a4a9c5643f9359cd58e9a8c4cffa5b952d --- man3/lua_gethookmask.3 +++ man3/lua_gethookmask.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_gethookmask -.Nd returns the current hook mask +.Nd returns the current hook mask, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - a9536a1077d27f3edf9b0eb4bb2b567512aaefcd blob + 76f1888072e4f2b3e21799480258da92dde62545 --- man3/lua_getinfo.3 +++ man3/lua_getinfo.3 @@ -3,7 +3,11 @@ .Os .Sh NAME .Nm lua_getinfo -.Nd returns information about a specific function or function invocation +.Nd returns information about a specific function or function invocation, function indicator +.Bo - Pq 0|1 , ++ Pq 0|1|2 , +m +.Bc .Sh SYNOPSIS .In lua.h .Ft int blob - 3bb407e627ba2b4847f86831730f2a6207c83b14 blob + 9a4d9855ceb31c4769019011a402677e8dc1c214 --- man3/lua_getlocal.3 +++ man3/lua_getlocal.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_getlocal -.Nd gets information about a local variable of a given activation record +.Nd gets information about a local variable of a given activation record, function indicator +.Bo -0, + Pq 0|1 , +- +.Bc .Sh SYNOPSIS .In lua.h .Ft const char * blob - d508132557f202c48017c1fdd342e23621189cd2 blob + fd93ee4252a086efb1a144270de3d652427b1dfe --- man3/lua_getmetatable.3 +++ man3/lua_getmetatable.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_getmetatable -.Nd pushes onto the stack the metatable of the value at the given acceptable index +.Nd pushes onto the stack the metatable of the value at the given acceptable index, function indicator +.Bo -0, + Pq 0|1 , +- +.Bc .Sh SYNOPSIS .In lua.h .Ft int blob - 10ef22f1255cb90ec5bb69e68cdbf3df14b57511 blob + 9b59c11a3c5e35a1eeaf62da8cbe96917bc164d1 --- man3/lua_getstack.3 +++ man3/lua_getstack.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_getstack -.Nd get information about the interpreter runtime stack +.Nd get information about the interpreter runtime stack, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 76a86364e1df4f17796a9fa8ec39234159659176 blob + 56283924e8d5361c3cab3b068517bb607b1445a8 --- man3/lua_gettable.3 +++ man3/lua_gettable.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm lua_gettable .Nd pushes onto the stack the value t[k], where t is the value at the given valid -index and k is the value at the top of the stack +index and k is the value at the top of the stack, function indicator +.Bq -1, +1, e .Sh SYNOPSIS .In lua.h .Ft void blob - 8da859c48707a0e13baa8347da07e577b26b58c3 blob + a6d31dcaefbe88875f386b1a2e21776783e2f65b --- man3/lua_gettop.3 +++ man3/lua_gettop.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_gettop -.Nd returns the index of the top element in the stack +.Nd returns the index of the top element in the stack, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 55de275046b8460a84d79e0828c3a2565a31e5c3 blob + e6f67b48e8a0da7429facf2f059d9d620e4d2b3d --- man3/lua_getupvalue.3 +++ man3/lua_getupvalue.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_getupvalue -.Nd gets information about a closure's upvalue +.Nd gets information about a closure's upvalue, function indicator +.Bo -0, + Pq 0|1 , +- +.Bc .Sh SYNOPSIS .In lua.h .Ft const char * blob - 5d761df28d9aca518695b9342a62e4171af20f1e blob + 9ebb18f911852bc590e0712c5ebee2c63e3e4479 --- man3/lua_insert.3 +++ man3/lua_insert.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm lua_insert .Nd moves the top element into the given valid index, shifting up the elements -above this index to open space +above this index to open space, function indicator +.Bq -1, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - ee7b02bd31bfb67cf34b1404db1caa4b6e1c2ee5 blob + c7b6cb6d9e8b852265d84abbd382121a0a9114a3 --- man3/lua_isboolean.3 +++ man3/lua_isboolean.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isboolean -.Nd check whether a value is a boolean +.Nd check whether a value is a boolean, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 6558385f59c2e319d5137aa9b429739fababb4c5 blob + 9f736d4afe9ed7fc63f8ccea00be84fba8ccabc8 --- man3/lua_iscfunction.3 +++ man3/lua_iscfunction.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_iscfunction -.Nd check whether a value is a C function +.Nd check whether a value is a C function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - c96dc84923a533c383f0cbab5f874aa5db6f748f blob + ac577f4da0040d2fbf9b08bf00cecaa402095ba5 --- man3/lua_isfunction.3 +++ man3/lua_isfunction.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isfunction -.Nd check whether a value is a function +.Nd check whether a value is a function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 00622693069d916eb84155cde6b1f2aa602da642 blob + 8173d75551062fd2999d8ccb8a2f834ec99b7f26 --- man3/lua_islightuserdata.3 +++ man3/lua_islightuserdata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_islightuserdata -.Nd check whether a value is a light userdata +.Nd check whether a value is a light userdata, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 8ece0c7f4242fdb5f7b6746be8edcc12a1a2ac6f blob + 353af1bb9677e5d217bdf713c2483adcbd6038ed --- man3/lua_isnil.3 +++ man3/lua_isnil.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isnil -.Nd check whether a value is a nil +.Nd check whether a value is a nil, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 2337f07202173d7ad2ca3f92fdc3ee2ded48dac1 blob + 8b26670be0e6391bca03dd6b9a0a9f373338d8d7 --- man3/lua_isnone.3 +++ man3/lua_isnone.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isnone -.Nd check whether a value is not valid +.Nd check whether a value is not valid, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 07cf95ac0ed2af47041a8ec40b7036f8e33dffd8 blob + 7f5786aff1f5d816accafe2c171f36600257ad25 --- man3/lua_isnoneornil.3 +++ man3/lua_isnoneornil.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isnoneornil -.Nd check whether a value is not valid or if the value is nil +.Nd check whether a value is not valid or if the value is nil, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 67375aaf54cf37314d50964b4a7183d5351c0c40 blob + 8cad513cbbfde8427cedf673e62b5e498487915f --- man3/lua_isnumber.3 +++ man3/lua_isnumber.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isnumber -.Nd check whether a value is a number +.Nd check whether a value is a number, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - d2b8c264c0da360c10c4ca87028b044e085d514f blob + 509b607e6bf2217abcf4b70cd7139ef137639dd0 --- man3/lua_isstring.3 +++ man3/lua_isstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isstring -.Nd check whether a value is a string or a number +.Nd check whether a value is a string or a number, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 7183c88fda82f3de2b6d6add509f8a0f827110e7 blob + eed62fdf1e53ac1446704fd1dc83cbbe2d4e83d8 --- man3/lua_istable.3 +++ man3/lua_istable.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_istable -.Nd check whether a value is a table +.Nd check whether a value is a table, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - cbc0a288d97e5a2e357256fe92aafb29cb554b25 blob + 92905425115c1bddbebb20bf07e236a555a0c520 --- man3/lua_isthread.3 +++ man3/lua_isthread.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isthread -.Nd check whether a value is a thread +.Nd check whether a value is a thread, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - f6b066a7389e3fcb6a819a86f7d88860da0a81a2 blob + 7386181dad4e9b95aab900f430fff19e1f3ff73c --- man3/lua_isuserdata.3 +++ man3/lua_isuserdata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_isuserdata -.Nd check whether a value is a userdata +.Nd check whether a value is a userdata, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 21d651b70712462d3838e1f5116533fb8ce8b542 blob + 50f7b2975429575f48c7e426ce70e0fa17e19eb6 --- man3/lua_lessthan.3 +++ man3/lua_lessthan.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_lessthan -.Nd compares two values +.Nd compares two values, function indicator +.Bq -0, +0, e .Sh SYNOPSIS .In lua.h .Ft int blob - 237d92fb3ad2cea9fa4dcbc34992d48b6fb6c50b blob + c17438645c0efba08a5f7e202df873e10e077e9c --- man3/lua_load.3 +++ man3/lua_load.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_load -.Nd loads a Lua chunk +.Nd loads a Lua chunk, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft int blob - ab3781e7ff87589fa40aa65809b0423a4be3a187 blob + 412533627dc7c1aabbf1757092f30b56a7aebd65 --- man3/lua_newstate.3 +++ man3/lua_newstate.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_newstate -.Nd creates a new, independent state +.Nd creates a new, independent state, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_State * blob - b6537ab9a19b6efd9f4c912e2dd661e01bb2bf21 blob + e6890a26c516323d35f97105b354d07fe9669491 --- man3/lua_newtable.3 +++ man3/lua_newtable.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_newtable -.Nd creates a new empty table and pushes it onto the stack +.Nd creates a new empty table and pushes it onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - bbde69cc60bf8e531ca58595056694a088114319 blob + 4051eb23394e46784877a3b6e23c5e4522173f99 --- man3/lua_newthread.3 +++ man3/lua_newthread.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_newthread -.Nd creates a new thread +.Nd creates a new thread, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft lua_State * blob - 30e905ded2624b87f7cddf4b32450a842fdf0ef5 blob + a2e6fc5eff7694e26457351c0b019a313e635eea --- man3/lua_newuserdata.3 +++ man3/lua_newuserdata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_newuserdata -.Nd allocates a new block of memory with the given size +.Nd allocates a new block of memory with the given size, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void * blob - 4c65fdbd197e5248213707078628affa858e637a blob + 02ade0c74110ede2787c78cbcecbc38a517102ce --- man3/lua_next.3 +++ man3/lua_next.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_next -.Nd pops a key from the stack, and pushes a key-value pair from the table +.Nd pops a key from the stack, and pushes a key-value pair from the table, function indicator +.Bo -1, + Pq 2|0 , +e +.Bc .Sh SYNOPSIS .In lua.h .Ft int blob - f82aec52f12a48d83f9dab1aae2a3ba1abedcbd9 blob + 581c470ed23405e45bbe22b64a363c343ea164c0 --- man3/lua_objlen.3 +++ man3/lua_objlen.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_objlen -.Nd returns the "length" of the value +.Nd returns the "length" of the value, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft size_t blob - e01fb2e0c7eee1981dd998348efa301d22119392 blob + 00d007e7bf6e5b11979f03de0968f71c40c41978 --- man3/lua_pcall.3 +++ man3/lua_pcall.3 @@ -3,7 +3,11 @@ .Os .Sh NAME .Nm lua_pcall -.Nd calls a function in protected mode +.Nd calls a function in protected mode, function indicator +.Bo - Pq nargs + 1 , ++ Pq nresults|1 , +- +.Bc .Sh SYNOPSIS .In lua.h .Ft int blob - 3eeb713cf122b1a45f313bb8e74a1188ee5a709f blob + 31cde859c57950244b997bd206b10d7016ef3803 --- man3/lua_pop.3 +++ man3/lua_pop.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pop -.Nd pops n elements from the stack +.Nd pops n elements from the stack, function indicator +.Bq -n, +0, - .Sh SYNOPSIS .In lua.h .Ft void blob - b40f464897dadd50ff68310ed12878850fb9cc6a blob + 290d9c0a17c9459b525f0d7628a507a035c047d9 --- man3/lua_pushboolean.3 +++ man3/lua_pushboolean.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushboolean -.Nd pushes a boolean value onto the stack +.Nd pushes a boolean value onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 70ad7890e458b094daf24662bdf2db67c8ce4453 blob + 2572c9bb2b1297e4338089dd5c20d877f291f9d4 --- man3/lua_pushcclosure.3 +++ man3/lua_pushcclosure.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushcclosure -.Nd pushes a new C closure onto the stack +.Nd pushes a new C closure onto the stack, function indicator +.Bq -n, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - 5bc6792d7ca20354bf9ee8f0c26391fefc00a899 blob + 16c67baa4741a196b073223b605f752cf2e9535a --- man3/lua_pushcfunction.3 +++ man3/lua_pushcfunction.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushcfunction -.Nd pushes a C function onto the stack +.Nd pushes a C function onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - c065ffc23a112d797c89441e1f50f44b0a7cfc12 blob + e767ee8db52845eaacbe46aa6df09671714988e2 --- man3/lua_pushfstring.3 +++ man3/lua_pushfstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushfstring -.Nd pushes onto the stack a formatted string and returns a pointer to this string +.Nd pushes onto the stack a formatted string and returns a pointer to this string, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft const char * blob - f4c30ac1c8fccba70d2d0a48295f34feda50abad blob + 1e1fc62ea53b94b6ba294bf63ce24ec9afde5d33 --- man3/lua_pushinteger.3 +++ man3/lua_pushinteger.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushinteger -.Nd pushes a number with value +.Nd pushes a number with value, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 7f8b7abeed4c70a2c5031521e2e9148d581bb69c blob + cbcb686a482a488217eab32b952cc7fa5c0e3257 --- man3/lua_pushlightuserdata.3 +++ man3/lua_pushlightuserdata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushlightuserdata -.Nd pushes a light userdata onto the stack +.Nd pushes a light userdata onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 8101ddd879ebffdf06e27d929efa48bde44a04c9 blob + 3747567bc37e94ffe79c23d8a4726b62eb36fe9e --- man3/lua_pushliteral.3 +++ man3/lua_pushliteral.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushliteral -.Nd pushes the string onto the stack +.Nd pushes the string onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - a328231fead150c3c2528d5e3b78039f01c1fad0 blob + e6791cf1175a5fdcce9d52cbaa0b486ab89a4ec2 --- man3/lua_pushlstring.3 +++ man3/lua_pushlstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushlstring -.Nd pushes the string onto the stack +.Nd pushes the string onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - 1c505590ce83da0933717df4f6e4c257ad8a1a75 blob + ca2470d5c13a84ce31e9e0fee946e58fea2383c8 --- man3/lua_pushnil.3 +++ man3/lua_pushnil.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushnil -.Nd pushes a nil value onto the stack +.Nd pushes a nil value onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 4f019f90f2eba384485cb30f9b2af96595567df3 blob + 8009499ad699105efd3553a08999647d8b5403de --- man3/lua_pushnumber.3 +++ man3/lua_pushnumber.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushnumber -.Nd pushes a number onto the stack +.Nd pushes a number onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - f3122713b944e304cab730ec25318c76c4c753eb blob + 13edb58470ecf382588a6e5a07e92ef752f57120 --- man3/lua_pushstring.3 +++ man3/lua_pushstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushstring -.Nd pushes the zero-terminated string onto the stack +.Nd pushes the zero-terminated string onto the stack, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft void blob - a04d41c98c28dd42391ca443d24145347328a263 blob + 96c9c33f4c409e5c98f007b79c520382c3750079 --- man3/lua_pushthread.3 +++ man3/lua_pushthread.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushthread -.Nd pushes the thread onto the stack +.Nd pushes the thread onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft int blob - d0fe3d4ce1b275e0de3d3f61697c73308f74955d blob + b6de6a245e9415149773861d48cb6e4b171abf64 --- man3/lua_pushvalue.3 +++ man3/lua_pushvalue.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushvalue -.Nd pushes a copy of the element onto the stack +.Nd pushes a copy of the element onto the stack, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 3c78e20c9b4d037ac42a712117afeb62a223be69 blob + 6a18e69ff520abf46967e52c23dcae69ce4b7676 --- man3/lua_pushvfstring.3 +++ man3/lua_pushvfstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_pushvfstring -.Nd pushes onto the stack a formatted string and returns a pointer to this string +.Nd pushes onto the stack a formatted string and returns a pointer to this string, function indicator +.Bq -0, +1, m .Sh SYNOPSIS .In lua.h .Ft const char * blob - 3c00a0b9d0e3b302ce03e84bccd567ae3462dfcf blob + cd8f40ad91bd6ee5eac18242ded59a960796e3d2 --- man3/lua_rawequal.3 +++ man3/lua_rawequal.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_rawequal -.Nd compare two values for equality without calling metamethods +.Nd compare two values for equality without calling metamethods, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - c51fc0adf15bad5eaf762ebd934fe079157ecd07 blob + 9eba354a3bd0ec2306b21cfc2f61851c76ad7ea4 --- man3/lua_rawget.3 +++ man3/lua_rawget.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_rawget -.Nd pops the key from the stack +.Nd pops the key from the stack, function indicator +.Bq -1, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 210bc84f2f1307e52d03bb5fcf2dddc516c08cf0 blob + 8980cfa7313930a26a7b048c87e206b075d405ec --- man3/lua_rawgeti.3 +++ man3/lua_rawgeti.3 @@ -4,7 +4,8 @@ .Sh NAME .Nm lua_rawgeti .Nd pushes onto the stack the value t[n], where t is the value at the given -valid index +valid index, function indicator +.Bq -0, +1, - .Sh SYNOPSIS .In lua.h .Ft void blob - 11eb37a6186674287de7c2e8486a4693d4b69443 blob + 59966b7c3547fb02e6fa7378daf5cbcd02fca38c --- man3/lua_rawset.3 +++ man3/lua_rawset.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_rawset -.Nd pops both the key and the value from the stack +.Nd pops both the key and the value from the stack, function indicator +.Bq -2, +0, m .Sh SYNOPSIS .In lua.h .Ft void blob - b4effe0f9cbefba58e41c9d604e7282d0e3d9164 blob + 8c654a156850bfa04815f9fc7ccf14c22ec53e19 --- man3/lua_rawseti.3 +++ man3/lua_rawseti.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_rawseti -.Nd pops the value from the stack +.Nd pops the value from the stack, function indicator +.Bq -1, +0, m .Sh SYNOPSIS .In lua.h .Ft void blob - f73671cf2df665d0623d8bebdac334ab6cd615c1 blob + b6a3c53edafe028a4ddb10158d96c6be0d92bc25 --- man3/lua_register.3 +++ man3/lua_register.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_register -.Nd sets the C function as the new value of global name +.Nd sets the C function as the new value of global name, function indicator +.Bq -0, +0, e .Sh SYNOPSIS .In lua.h .Ft void blob - b9cc54e0ea89fcfdb8ab14d458571150374265be blob + 19bb10c8f3fad5f1168250f1c740b9e52952d7be --- man3/lua_remove.3 +++ man3/lua_remove.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_remove -.Nd removes the element at the given index +.Nd removes the element at the given index, function indicator +.Bq -1, +0, - .Sh SYNOPSIS .In lua.h .Ft void blob - 6cc484531f2a74a22718a52543f6ef691ce5d894 blob + 80ccdf3b6741c11415b11367626f0ef4372a9639 --- man3/lua_replace.3 +++ man3/lua_replace.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_replace -.Nd moves the top element into the given position +.Nd moves the top element into the given position, function indicator +.Bq -1, +0, - .Sh SYNOPSIS .In lua.h .Ft void blob - 1b11d900fbe1d62a3245ecdc152da5009ffd62bf blob + 3a78cd7a461aea56005633b38547965343a827ee --- man3/lua_resume.3 +++ man3/lua_resume.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_resume -.Nd starts and resumes a coroutine in a given thread +.Nd starts and resumes a coroutine in a given thread, function indicator +.Bq -?, +?, - .Sh SYNOPSIS .In lua.h .Ft int blob - d4b25e79bd47b176767e16b7b916b64a19872923 blob + 15c4ff6d93be54f6334a73138f16ff517dae38b8 --- man3/lua_setallocf.3 +++ man3/lua_setallocf.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_setallocf -.Nd changes the allocator function +.Nd changes the allocator function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft void blob - a6eae2a7ede82d3d02e8de52c9987543e269bbb0 blob + ad3b58d17b0e57dbf179f750d269c29650587143 --- man3/lua_setfenv.3 +++ man3/lua_setfenv.3 @@ -3,7 +3,9 @@ .Os .Sh NAME .Nm lua_setfenv -.Nd pops a table from the stack and sets it as the new environment for the value +.Nd pops a table from the stack and sets it as the new environment for the +value, function indicator +.Bq -1, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - cf4b172a77b851c2d71d8ebae61fae5fa1f4f4ed blob + c86ad89c801370c84920a37440d0dd4176c10663 --- man3/lua_setfield.3 +++ man3/lua_setfield.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_setfield -.Nd pops the value from the stack +.Nd pops the value from the stack, function indicator +.Bq -1, +0, e .Sh SYNOPSIS .In lua.h .Ft void blob - 5264535d58e3b221f07d5ede88268c01ecbf99e4 blob + e4a2a1186f69f72c72369035b0b8b41eb13153c3 --- man3/lua_setglobal.3 +++ man3/lua_setglobal.3 @@ -3,7 +3,9 @@ .Os .Sh NAME .Nm lua_setglobal -.Nd pops a value from the stack and sets it as the new value of global name +.Nd pops a value from the stack and sets it as the new value of global name, +function indicator +.Bq -1, +0, e .Sh SYNOPSIS .In lua.h .Ft void blob - 005ef1505add9b2fa718f381d293e34ffd3037b2 blob + 7ba32d8ce1901bfbb06790f2d27da10c422bd145 --- man3/lua_sethook.3 +++ man3/lua_sethook.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_sethook -.Nd sets the debugging hook function +.Nd sets the debugging hook function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In fcntl.h .Ft int blob - 676fe0d26db5336641c8e2e54fe54ec80e0c41ad blob + 478cb02fe0c81346bfcd2c1636df75021331880f --- man3/lua_setlocal.3 +++ man3/lua_setlocal.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_setlocal -.Nd sets the value of a local variable of a given activation record +.Nd sets the value of a local variable of a given activation record, function indicator +.Bo - Pq 0|1 , ++0, - +.Bc .Sh SYNOPSIS .In lua.h .Ft const char * blob - 29833649d3742e28c1a6480a47f443ce3965ce27 blob + 7b9a0c12bf06e0ca1a5a490004a8a6920915f626 --- man3/lua_setmetatable.3 +++ man3/lua_setmetatable.3 @@ -3,7 +3,9 @@ .Os .Sh NAME .Nm lua_setmetatable -.Nd pops a table from the stack and sets it as the new metatable for the value +.Nd pops a table from the stack and sets it as the new metatable for the value, +function indicator +.Bq -1, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - b87ad7eb242f958f3f8586930fa799c6c822beed blob + 8f9547dd0b70eb3ae2ba7af2d2511a8cdc9e01dc --- man3/lua_settable.3 +++ man3/lua_settable.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_settable -.Nd pops both the key and the value from the stack +.Nd pops both the key and the value from the stack, function indicator +.Bq -2, +0, e .Sh SYNOPSIS .In lua.h .Ft void blob - a55ce5ac46bbe39316653234576ba940675631ef blob + e885c31c46d9e677730c2a8d5a597e0a5e5d8e42 --- man3/lua_settop.3 +++ man3/lua_settop.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_settop -.Nd sets the stack top to the index +.Nd sets the stack top to the index, function indicator +.Bq -?, +?, - .Sh SYNOPSIS .In lua.h .Ft void blob - 58f26fc7602077b7e938209c5e87a7a526c46271 blob + 80b9888aa931431e16431220015aad8900b69b67 --- man3/lua_setupvalue.3 +++ man3/lua_setupvalue.3 @@ -3,7 +3,10 @@ .Os .Sh NAME .Nm lua_setupvalue -.Nd sets the value of a closure's upvalue +.Nd sets the value of a closure's upvalue, function indicator +.Bo - Pq 0|1 , ++0, - +.Bc .Sh SYNOPSIS .In lua.h .Ft const char * blob - 2887a2be67be7fa3779fb8a6db583989fe6b11de blob + 82d7f11e53d49661e8f76b13c7cfae228e95f9c3 --- man3/lua_status.3 +++ man3/lua_status.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_status -.Nd returns the status of the thread L +.Nd returns the status of the thread L, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - 4ff5281457f98fd89a4f14ac7be4ed577ceb45ec blob + 8ad72bee06e24868725ebec26c0be8b1ac33643f --- man3/lua_toboolean.3 +++ man3/lua_toboolean.3 @@ -7,7 +7,8 @@ .Sh SYNOPSIS .In lua.h .Ft int -.Fn lua_toboolean "lua_State *L" "int index" +.Fn lua_toboolean "lua_State *L" "int index", function indicator +.Bq -0, +0, - .Sh DESCRIPTION .Fn lua_toboolean converts the Lua value at the given acceptable index to a C boolean value (0 or blob - 17e600499347cc0bf82249e7820b3b82b1804daf blob + 8651dbaa73e9851f2d925bb2f13fced8124895c8 --- man3/lua_tocfunction.3 +++ man3/lua_tocfunction.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tocfunction -.Nd converts a value to a C function +.Nd converts a value to a C function, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_CFunction blob - d54ea07f906da5102fc9479cc7d40baea4f7b239 blob + 6a60d5fdd5fc5d2ca22fa8deca265589657ed22a --- man3/lua_tointeger.3 +++ man3/lua_tointeger.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tointeger -.Nd converts the Lua value to the signed integral type +.Nd converts the Lua value to the signed integral type, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_Integer blob - 73811601c6db30224f8766604e12c8d559707254 blob + da7f69b4cd09995020b31828875426a8425e097b --- man3/lua_tolstring.3 +++ man3/lua_tolstring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tolstring -.Nd converts the Lua value to a C string +.Nd converts the Lua value to a C string, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lua.h .Ft const char * blob - 772f99d171895b778eb81bd7cf3296d42fef587d blob + 3cf381cab79c7389b9459fb1a48698f0ad9190b8 --- man3/lua_tonumber.3 +++ man3/lua_tonumber.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tonumber -.Nd converts the Lua value to the C type +.Nd converts the Lua value to the C type, function indicator +.Bq -0, +0, - .Xr lua_Number 3 .Sh SYNOPSIS .In lua.h blob - ac3dfd827da10bf4833354840c1aaa9c5cc904b0 blob + e4a86251e3d0e1473a9ce38f935ed25258bc1d16 --- man3/lua_topointer.3 +++ man3/lua_topointer.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_topointer -.Nd converts the value to a generic C pointer +.Nd converts the value to a generic C pointer, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft const void * blob - 495d487829b48eb8f2b93ba42449214cba4b18f0 blob + aabeaac95cded9cfff9c01e07e26eff3da3bbc63 --- man3/lua_tostring.3 +++ man3/lua_tostring.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tostring -.Nd converts the Lua value to a C string +.Nd converts the Lua value to a C string, function indicator +.Bq -0, +0, m .Sh SYNOPSIS .In lua.h .Ft const char * blob - 936db681615845c5dcda478103b1a666e7563547 blob + c675976b6941778f02c653448c3104a6d0fb196b --- man3/lua_tothread.3 +++ man3/lua_tothread.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_tothread -.Nd converts the value to a Lua thread +.Nd converts the value to a Lua thread, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft lua_State * blob - 7707705f62b672ea19a62a8dcc1a1406bb5fd12c blob + 9ada715c349403babc90082093a8089e17c454d0 --- man3/lua_touserdata.3 +++ man3/lua_touserdata.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_touserdata -.Nd returns address to userdata +.Nd returns address to userdata, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft void * blob - 933f6e194efdc0289f9e3d49fbf0dc9b042db51c blob + 3453a7a387e701b4825734add3c3e16bd37b2011 --- man3/lua_type.3 +++ man3/lua_type.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_type -.Nd returns the type of the value +.Nd returns the type of the value, function indicator +.Bq -0, +0, - .Sh SYNOPSIS .In lua.h .Ft int blob - f6ba5c7c4ca4a90274a442eb94f79971aa0149e6 blob + 0f9f366fbb68b14a74803c3deabe5314e9a7a390 --- man3/lua_typename.3 +++ man3/lua_typename.3 @@ -4,6 +4,9 @@ .Sh NAME .Nm lua_typename .Nd returns the name of the type encoded by the value +.Bd -literal -compact +.Bq -0, +0, - +.Ed .Sh SYNOPSIS .In lua.h .Ft const char * blob - ae0105dee449476981fc259af737b98c88630045 blob + 5809851ba613c0bd642f792873dc0cbf2c00bd77 --- man3/lua_xmove.3 +++ man3/lua_xmove.3 @@ -3,7 +3,9 @@ .Os .Sh NAME .Nm lua_xmove -.Nd exchange values between different threads of the same global state +.Nd exchange values between different threads of the same global state, +function indicator +.Bq -?, +?, - .Sh SYNOPSIS .In lua.h .Ft void blob - be7bdd5a3d3e10cd5fa01ea8e83fe0b945910167 blob + 28c9d3bc9597362b50bd2027bfbe6c96ac5b1fc1 --- man3/lua_yield.3 +++ man3/lua_yield.3 @@ -3,7 +3,8 @@ .Os .Sh NAME .Nm lua_yield -.Nd yields a coroutine +.Nd yields a coroutine, function indicator +.Bq -?, +?, - .Sh SYNOPSIS .In lua.h .Ft int