aboutsummaryrefslogtreecommitdiff
path: root/lapi.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Using CIST_CLSRET instead of trick with 'nresults'Roberto Ierusalimschy2024-07-191-16/+0
| | | | | The callstatus flag CIST_CLSRET is used in all tests for the presence of variables to be closed in C functions.
* Cleaning of llimits.hRoberto Ierusalimschy2024-06-201-0/+20
| | | | | | Several definitions that don't need to be "global" (that is, that concerns only specific parts of the code) moved out of llimits.h, to more appropriate places.
* API asserts for illegal pops of to-be-closed variablesRoberto Ierusalimschy2024-03-111-2/+12
|
* DetailsRoberto Ierusalimschy2024-01-291-3/+2
|
* Stack indices changed to union'sRoberto Ierusalimschy2022-10-291-7/+10
| | | | | That will allow to change pointers to offsets while reallocating the stack.
* '__close' methods can yield in the return of a C functionRoberto Ierusalimschy2021-02-121-0/+2
| | | | | | | When, inside a coroutine, a C function with to-be-closed slots return, the corresponding metamethods can yield. ('__close' metamethods called through 'lua_closeslot' still cannot yield, as there is no continuation to go when resuming.)
* Comments (mosty typos)Roberto Ierusalimschy2019-12-301-1/+1
|
* Small corrections when setting 'L->top'Roberto Ierusalimschy2019-07-251-0/+10
| | | | | | | | | - OP_NEWTABLE can use 'ra + 1' to set top (instead of ci->top); - OP_CLOSE doesn't need to set top ('Protect' already does that); - OP_TFORCALL must use 'ProtectNT', to preserve the top already set. (That was a small bug, because iterators could be called with extra parameters besides the state and the control variable.) - Comments and an extra test for the bug in previous item.
* To-be-closed variables in the C APIRoberto Ierusalimschy2018-10-251-1/+14
|
* Removed extra information from RCS keyword stringsRoberto Ierusalimschy2018-08-231-1/+1
| | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept.
* back to 'CallInfo' (no gains with its removal)Roberto Ierusalimschy2017-11-071-5/+4
|
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-031-3/+4
|
* using 'L->func' when possibleRoberto Ierusalimschy2017-11-011-2/+2
|
* macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameterRoberto Ierusalimschy2015-03-061-3/+3
| | | | (some people use it)
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-151-3/+3
|
* extra api checks for number of returns of C functions and for lua_yieldRoberto Ierusalimschy2009-11-271-1/+4
|
* API checks now have explanatory messagesRoberto Ierusalimschy2009-08-311-2/+3
|
* detailRoberto Ierusalimschy2009-04-031-2/+2
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-1/+5
|
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-4/+4
|
* added LUAI_FUNC to functions not in the APIRoberto Ierusalimschy2005-04-251-2/+2
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-2/+2
| | | | for incremental garbage collection
* `luaA_index' is a local macro nowRoberto Ierusalimschy2002-03-041-2/+1
|
* new implementation for `next'Roberto Ierusalimschy2000-08-311-2/+1
|
* first version for new APIRoberto Ierusalimschy2000-08-281-3/+2
|
* detailsRoberto Ierusalimschy2000-05-081-2/+1
|
* global variables are stored in a Lua tableRoberto Ierusalimschy2000-05-081-2/+1
|
* no more special cases for closures with 0 upvalues (performance is the same,Roberto Ierusalimschy2000-03-291-2/+1
| | | | memory use a little higher, code much simpler).
* some name changesRoberto Ierusalimschy2000-03-101-2/+2
|
* many details (most by lhf).Roberto Ierusalimschy2000-03-031-2/+2
|
* new debug API (first version)Roberto Ierusalimschy2000-01-191-7/+1
|
* new ttypes to distinguish between C closures and Lua closures.Roberto Ierusalimschy1999-12-231-2/+6
|
* many details + code redistributionRoberto Ierusalimschy1999-12-141-1/+6
|
* lua_Object is a pointer to the stack (because now the stack doen't move)Roberto Ierusalimschy1999-12-021-2/+1
|
* first implementation of multiple states (reentrant code).Roberto Ierusalimschy1999-11-221-7/+6
|
* new implementation for global variable values (separated from strings)Roberto Ierusalimschy1999-11-041-4/+2
|
* `put_luaObjectonTop' must be public (to be used by lfback.c), and soRoberto Ierusalimschy1999-09-211-2/+2
| | | | it must have a "public" name: `luaA_putObjectOnTop'
* compatibility with old fallback system now provided by external moduleRoberto Ierusalimschy1999-09-201-1/+2
|
* "const" !!!Roberto Ierusalimschy1999-08-161-3/+3
|
* new function "lua_next" (+ new implementation for "next")Roberto Ierusalimschy1999-02-231-1/+2
|
* new function lua_nextvarRoberto Ierusalimschy1999-02-221-1/+2
|
* small corrections in commentsRoberto Ierusalimschy1998-06-191-2/+2
|
* auxiliar functions from Lua APIRoberto Ierusalimschy1997-09-161-0/+20