Roberto Ierusalimschy
|
063d4e4543
Lua 5.3.5 ported to git
|
6 жил өмнө |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
8 жил өмнө |
Roberto Ierusalimschy
|
7b1fba69b7
using 'lastfree == NULL' to signal that table is using the dummy
|
8 жил өмнө |
Roberto Ierusalimschy
|
46de77b219
bug: despite its name, 'luaH_getstr' did not work for strings in
|
9 жил өмнө |
Roberto Ierusalimschy
|
3a15c7ce43
size for array part of a table ('sizearray') changed from 'int' to
|
11 жил өмнө |
Roberto Ierusalimschy
|
07c7fdb9df
simpler definition for 'setobj' (trust the compiler for the assignment)
|
11 жил өмнө |
Roberto Ierusalimschy
|
8ef9e8460e
bug (GC can collect long identifier during parser) + change (using
|
12 жил өмнө |
Roberto Ierusalimschy
|
d4e6b75098
"integer" keys in tables are now lua_Integer, not 'int'.
|
12 жил өмнө |
Roberto Ierusalimschy
|
89b59eee73
bug: __newindex metamethod may not work if metatable is its own
|
14 жил өмнө |
Roberto Ierusalimschy
|
92afcf2823
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
|
14 жил өмнө |
Roberto Ierusalimschy
|
d9ea6eca7c
macro 'key2tal' replaced by 'gkey' (as both were equal)
|
15 жил өмнө |
Roberto Ierusalimschy
|
fbf866a1a5
macro 'gkey' returns a "real" TValue*
|
15 жил өмнө |
Roberto Ierusalimschy
|
3135a6bbab
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
|
16 жил өмнө |
Roberto Ierusalimschy
|
3ca9af51a4
emergency garbage collector (core forces a GC when allocation fails)
|
19 жил өмнө |
Roberto Ierusalimschy
|
f8b7a5581e
avoid unnecessary exports
|
19 жил өмнө |
Roberto Ierusalimschy
|
ffb798e1e2
avoids type punning for table keys
|
19 жил өмнө |
Roberto Ierusalimschy
|
d987cf1f81
new mark LUAI_DATA for extern data
|
20 жил өмнө |
Roberto Ierusalimschy
|
8718fda9b2
added LUAI_FUNC to functions not in the API
|
20 жил өмнө |
Roberto Ierusalimschy
|
9ffae705ee
new "primitive" getn
|
20 жил өмнө |
Roberto Ierusalimschy
|
e2498e079e
change in hash algorithm so that it does not need empty slot
|
20 жил өмнө |
Roberto Ierusalimschy
|
65726f3e2e
cleaner interface to `ltable'
|
20 жил өмнө |
Roberto Ierusalimschy
|
bd38017ddf
small optimization for table size in machines with double allignment
|
21 жил өмнө |
Roberto Ierusalimschy
|
4c5d7b2ddd
small optimization for {f()}
|
21 жил өмнө |
Roberto Ierusalimschy
|
47fc57a252
`TObject' renamed to `TValue' + other name changes and better assertions
|
21 жил өмнө |
Roberto Ierusalimschy
|
b114142799
new auxiliary function `luaH_setstr'
|
22 жил өмнө |
Roberto Ierusalimschy
|
ab9e062928
name changes to avoid name collision between macros and variables
|
22 жил өмнө |
Roberto Ierusalimschy
|
81e142fc14
detail (`key' is always on stack)
|
23 жил өмнө |
Roberto Ierusalimschy
|
46c471d7e9
new `__newindex' eventfield
|
23 жил өмнө |
Roberto Ierusalimschy
|
71c716e5a8
avoid C identifiers beginning with '_'
|
23 жил өмнө |
Roberto Ierusalimschy
|
57fb51f975
`luaH_next' works like `next'
|
23 жил өмнө |