summaryrefslogtreecommitdiff
path: root/llimits.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-1/+1
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* details (typos in comments)Roberto Ierusalimschy2015-11-191-2/+2
|
* small changes to allow 'precall' to spend time preserving 'func'Roberto Ierusalimschy2015-10-211-6/+7
| | | | only when needed (that is, when stack actually changes)
* detail (string cache a bit smaller by default)Roberto Ierusalimschy2015-10-061-2/+2
|
* code for string cache generalized for "associative sets" (compilerRoberto Ierusalimschy2015-09-221-4/+7
| | | | will optimize away or inline the extra loops)
* 'lua_longassert' defined as an expression (instead of a command)Roberto Ierusalimschy2015-09-081-2/+2
|
* 'lua_Number' added to 'L_Umaxalign' unionRoberto Ierusalimschy2015-07-151-2/+8
|
* commentRoberto Ierusalimschy2015-06-091-6/+6
|
* macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameterRoberto Ierusalimschy2015-03-061-8/+4
| | | | (some people use it)
* new cache for interning stringsRoberto Ierusalimschy2015-03-041-1/+9
|
* 'point2int' -> 'point2uint' (to reflect its actual result type)Roberto Ierusalimschy2015-03-031-3/+3
|
* detail (use 'l_floor' instead of 'l_mathop(floor)')Roberto Ierusalimschy2015-02-091-2/+2
|
* macros 'luai_num*' (for float arithmetic operations) moved toRoberto Ierusalimschy2015-02-051-1/+48
| | | | llimits.h.
* LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does notRoberto Ierusalimschy2015-01-161-1/+11
| | | | affect the API and is seldom modified)
* larger MINSTRTABSIZE (standard Lua starts with ~230 strings, afterRoberto Ierusalimschy2015-01-161-3/+8
| | | | oppening the standard libraries)
* commentsRoberto Ierusalimschy2015-01-161-2/+12
|
* definition for 'MAXUPVAL' moved for a more "private" place and itsRoberto Ierusalimschy2015-01-131-6/+1
| | | | value and comment corrected to reflect current implementation
* old Visual Studio versions did not support 'noreturn' attributeRoberto Ierusalimschy2014-12-191-2/+2
|
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-021-2/+2
| | | | international name
* configurations for types 'lu_mem'/'l_mem'/'Instruction' moved to hereRoberto Ierusalimschy2014-10-291-14/+26
| | | | | (from 'luaconf.h'), as they are not needed by the API and probably will not be changed
* 'MAXSTACK' -> 'MAXREGS' and moved to 'lcode.c' (there is no reasonRoberto Ierusalimschy2014-10-271-5/+1
| | | | to change that constant...)
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-3/+3
|
* no more "-2" for limits. (Limits should be precise; safety is inRoberto Ierusalimschy2014-07-181-6/+6
| | | | the code that handles these limits.)
* detail (no need to define LUAI_USER_ALIGNMENT_T when it is notRoberto Ierusalimschy2014-07-181-4/+5
| | | | defined; simpler to define 'L_Umaxalign' directly)
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-151-7/+4
|
* 'IntPoint' -> 'point2int' + ensure that casted value fits inRoberto Ierusalimschy2014-06-261-3/+3
| | | | destination type
* cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable fromRoberto Ierusalimschy2014-04-151-5/+9
| | | | outside (mostly for testing)
* macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, thatRoberto Ierusalimschy2014-04-151-3/+12
| | | | should be used only between lua_Integer and lua_Unsigned
* new global macro 'LUA_MAXUNSIGNED'Roberto Ierusalimschy2014-04-121-5/+1
|
* correct definition for 'MAX_SIZE' (using singed integers as the limit,Roberto Ierusalimschy2014-04-111-8/+9
| | | | not unsigned ones) + new type 'l_uacInt'
* 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'Roberto Ierusalimschy2014-04-111-5/+2
|
* new macro 'cast_void'Roberto Ierusalimschy2014-03-071-1/+2
|
* added macro MAX_UINTEGERRoberto Ierusalimschy2014-02-261-3/+5
|
* initial size of string table (MINSTRTABSIZE) should be large enoughRoberto Ierusalimschy2013-08-211-2/+2
| | | | to hold all strings needed by an empty Lua state
* new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visibleRoberto Ierusalimschy2013-06-191-1/+7
| | | | from Lua; these must fit in a lua_Integer
* removed all tricks for conversions + 'luai_hashnum' moved to ltable.cRoberto Ierusalimschy2013-05-291-43/+1
|
* "legal" way to convert a float to an integer in CRoberto Ierusalimschy2013-05-271-1/+7
|
* removed 'IEEE tricks' (should not be needed in Lua with integers)Roberto Ierusalimschy2013-05-231-56/+1
|
* new cast macros for lua_Integer and lua_UnsignedRoberto Ierusalimschy2013-04-251-1/+3
|
* 'l_tg' was renamed to 'l_mathop' and this use was not corrected atRoberto Ierusalimschy2013-02-201-2/+2
| | | | the time
* small improvement in the support of 'float' as lua_NumberRoberto Ierusalimschy2013-01-291-2/+2
|
* macro 'lua_number2unsigned' also needs proper definition ifRoberto Ierusalimschy2012-10-021-2/+2
| | | | lua_Number is float
* LUA_CORE condition removed from definition of some 'tricks' (as itRoberto Ierusalimschy2012-10-011-2/+2
| | | | | controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK
* definition for 'MAX_LMEM'Roberto Ierusalimschy2012-05-281-1/+3
|
* better(?) handling of '#define's for IEEE-related tricks + avoid usingRoberto Ierusalimschy2012-05-111-5/+10
| | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines)
* definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)Roberto Ierusalimschy2012-03-281-10/+1
|
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-1/+10
|
* no more explicit support for 'luaall_c': unifying file can doRoberto Ierusalimschy2011-12-061-2/+2
| | | | the work
* small change to avoid warnings of non-specified order of accessRoberto Ierusalimschy2011-11-291-2/+2
| | | | to volatile fields
* new type 'l_noret' for function that do not returnRoberto Ierusalimschy2011-10-071-1/+14
|