Roberto Ierusalimschy
|
4a714cebd1
API checks now have explanatory messages
|
16 years ago |
Roberto Ierusalimschy
|
3135a6bbab
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
|
16 years ago |
Roberto Ierusalimschy
|
bd5fa9cc8f
new macro 'getproto'
|
16 years ago |
Roberto Ierusalimschy
|
215885768c
'index2adr' -> 'index2addr' (correct spelling)
|
16 years ago |
Roberto Ierusalimschy
|
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
|
16 years ago |
Roberto Ierusalimschy
|
02504d86d3
l_version may be local to 'lua_version'
|
16 years ago |
Roberto Ierusalimschy
|
1d6ebce296
new function 'lua_version' (so that 'checkversion' can be implemented
|
16 years ago |
Roberto Ierusalimschy
|
c1de1fdac6
small optimization in 'lua_arith' (avoids overhead in the common case
|
16 years ago |
Roberto Ierusalimschy
|
14115170bc
lua_objlen should not work for numbers (according to the manual)
|
16 years ago |
Roberto Ierusalimschy
|
6980cb1aa7
new functions 'lua_arith' and 'lua_compare'
|
16 years ago |
Roberto Ierusalimschy
|
a21c89ddc8
new API function 'lua_mainthread'
|
16 years ago |
Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
16 years ago |
Roberto Ierusalimschy
|
57f8414de1
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
16 years ago |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
16 years ago |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
16 years ago |
Roberto Ierusalimschy
|
70a63fa5ad
first implementation of yieldable 'pcall'
|
16 years ago |
Roberto Ierusalimschy
|
4e43741943
in 'lua_call', avoid preparing a continuation when thread cannot yield.
|
16 years ago |
Roberto Ierusalimschy
|
6d0ae11c57
'context' added to suspendable calls
|
16 years ago |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 years ago |
Roberto Ierusalimschy
|
0cea28a785
better error messages for 'lua_checkversion'
|
16 years ago |
Roberto Ierusalimschy
|
d2ebdc045b
new macro 'lua_checkversion' to check whether core and application are
|
16 years ago |
Roberto Ierusalimschy
|
e23da9edee
GC step does not unblock collector (when it is blocked by "stop")
|
17 years ago |
Roberto Ierusalimschy
|
5298392c5a
bug: GC step could loop forever under very particular circumstances
|
17 years ago |
Roberto Ierusalimschy
|
e2b366c760
userdata with finalizers are kept in a separated list
|
17 years ago |
Roberto Ierusalimschy
|
6d182faab6
bug: lua_checkstack may have arithmetic overflow for large 'size'
|
17 years ago |
Roberto Ierusalimschy
|
3deb38814d
added assertions checking maximum number of upvalues
|
17 years ago |
Roberto Ierusalimschy
|
dd3519ab89
comment (LUA_GLOBALSINDEX does not need write barrier in lua_replace)
|
17 years ago |
Roberto Ierusalimschy
|
abcc124df0
BUG: lua_setfenv may crash if called over an invalid object
|
17 years ago |
Roberto Ierusalimschy
|
72c2f75648
detail (LUA_COPYRIGHT includes release number)
|
18 years ago |
Roberto Ierusalimschy
|
619be354c8
lua_pushstring/pushlstring return string
|
18 years ago |