aboutsummaryrefslogtreecommitdiff
path: root/lobject.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* size for array part of a table ('sizearray') changed from 'int' toRoberto Ierusalimschy2014-09-041-2/+2
| | | | 'unsigned int', which allows twice as many elements in the array part
* new macro 'cvt2str' to better control whether numbers are convertibleRoberto Ierusalimschy2014-07-301-1/+2
| | | | to strings
* simpler definition for 'setobj' (trust the compiler for the assignment)Roberto Ierusalimschy2014-07-291-3/+9
|
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-16/+29
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-16/+27
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-3/+3
| | | | problems detected by this check)
* no need for field 'gch' anymoreRoberto Ierusalimschy2014-07-171-6/+4
|
* change in GCObject: instead of being a union, it is now a structureRoberto Ierusalimschy2014-07-171-7/+9
| | | | | | | | with the common header of all collectable objects; union is used only for conversions. (Goal is to be able to check that the cast 'obj2gco' can have a check to ensure that object being converted is really a collectable object.). This is the first step in the change.
* use proper macros to convert 'GCObject' to other objects + betterRoberto Ierusalimschy2014-06-191-24/+23
| | | | type cheking in 'set*value' macros
* detail (to avoid warnings of unused variable)Roberto Ierusalimschy2014-05-291-2/+2
|
* small changes in field order in some structs to reduce paddingRoberto Ierusalimschy2014-05-151-12/+12
|
* removed macro 'luai_checknum' (as NaN trick is not doable now)Roberto Ierusalimschy2014-05-151-5/+1
|
* better alignments (for 64-bit arquitectures) for structures 'Table' andRoberto Ierusalimschy2014-05-071-4/+4
| | | | 'TString'
* 'lua_strtonum' (and 'luaO_str2num') now return string size, instead ofRoberto Ierusalimschy2014-05-011-2/+2
| | | | receiving it
* 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which convertsRoberto Ierusalimschy2014-04-301-3/+2
| | | | to float or integer according to the string syntax)
* 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')Roberto Ierusalimschy2014-04-291-2/+2
|
* userdata can have any Lua value as uservalueRoberto Ierusalimschy2014-02-191-2/+14
|
* UTF-8 encoding exported as format '%U' in 'lua_pushfstring'Roberto Ierusalimschy2014-02-061-1/+4
|
* detail ('ttisuserdata' renamed to 'ttisfulluserdata')Roberto Ierusalimschy2013-12-041-3/+3
|
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-2/+3
| | | | | 'hnext' field, to strings are still collected like all other objects)
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-9/+4
|
* 'next' field for tables changed from pointer to integer (for betterRoberto Ierusalimschy2013-08-181-2/+2
| | | | alignment on 64-bit machines)
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-8/+2
| | | | traversal of all non-marked threads
* 'luaO_str2int' more generic: accepts white spaces around the numeralRoberto Ierusalimschy2013-05-141-2/+2
| | | | and handles signal
* macro 'nvalue' removed (direct conversion from integer to double,Roberto Ierusalimschy2013-05-061-4/+1
| | | | without an intermediate variable, can cause "excessive precision"
* constant folding and API arithmetic with integersRoberto Ierusalimschy2013-05-021-2/+3
|
* 'luaO_arith' -> 'luaO_numarith'Roberto Ierusalimschy2013-04-291-2/+2
|
* first implementation of literal integers (no constant folding yet)Roberto Ierusalimschy2013-04-161-1/+2
|
* first steps in the support of integers: basic representation + table ↵Roberto Ierusalimschy2013-04-151-118/+20
| | | | indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
* 'ttypenv' -> 'ttnov'Roberto Ierusalimschy2013-04-121-3/+3
|
* no more macro 'changenvalue'Roberto Ierusalimschy2012-09-111-5/+2
|
* better(?) handling of '#define's for IEEE-related tricks + avoid usingRoberto Ierusalimschy2012-05-111-18/+19
| | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines)
* no more 'Proto' objects on the stack. Protos are anchored on outerRoberto Ierusalimschy2012-05-081-6/+1
| | | | Protos or on a Closure, which must be created before the Proto.
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-3/+12
|
* field 'reserved' -> 'extra' (may be used for other purposes too)Roberto Ierusalimschy2012-01-231-1/+1
|
* new macro 'checktype'Roberto Ierusalimschy2012-01-201-2/+8
|
* object tag keeps variant bits too -> no need for 'isC' field inRoberto Ierusalimschy2012-01-201-5/+7
| | | | Closures + more strick typing for closure variants
* extra comments about what fields are optional debug informationRoberto Ierusalimschy2011-10-311-4/+4
|
* more macros to try to make NaN trick work with other sizes ofRoberto Ierusalimschy2011-10-171-17/+39
| | | | | IEEE float numbers. (It has not been tested with such different sizes...)
* dead objects are not collectable.Roberto Ierusalimschy2011-09-241-3/+5
|
* NILCONSTANT also depends no endianess (with NaN trick)Roberto Ierusalimschy2011-07-041-4/+4
|
* configuration for NaN trick big-endian + macro 'luai_checknum' toRoberto Ierusalimschy2011-06-131-2/+19
| | | | | ensure numbers comming from C are not "improper" (some kinds of signaling NaNs)
* macro 'NNMARK' (mark for non-number values using the NaN trick)Roberto Ierusalimschy2011-06-091-4/+6
|
* first version with 'NANTRICK' (packing all Lua values inside a 'double')Roberto Ierusalimschy2011-06-071-15/+103
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-15/+32
|
* yet another macro ('num_')Roberto Ierusalimschy2011-05-311-4/+5
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-311-2/+2
| | | | one with metamethods)
* yet another macro abstracting TValue representationRoberto Ierusalimschy2011-05-261-12/+13
|
* new macro 'lua_longassert' that is equivalent to an assertion withoutRoberto Ierusalimschy2011-05-051-4/+3
| | | | | a stringfication of the condition, to avoid too long string literals (limited by C90 to ~510 characters)
* new macros abstracting TValue representation (to easy change toRoberto Ierusalimschy2011-05-051-43/+48
| | | | other representations)