Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 years ago |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
a25b8ff69c
detail ('lua_tolstring' instead of lua_objlen)
|
15 years ago |
Roberto Ierusalimschy
|
2e51792596
avoid using deprecated macros lua_[gs]etglobal
|
15 years ago |
Roberto Ierusalimschy
|
64d5df7772
detail (lua_resume should empty coroutine stack even if they do not
|
15 years ago |
Roberto Ierusalimschy
|
a654e82f5c
coroutines may have C bodies
|
15 years ago |
Roberto Ierusalimschy
|
3c4d970a7b
comment typos
|
15 years ago |
Roberto Ierusalimschy
|
b0f2b288a6
new scheme for debug info about tail calls: no more 'fake' stack entries,
|
15 years ago |
Roberto Ierusalimschy
|
a6f465f558
new mark LUAMOD_API for all luaopen_* functions
|
15 years ago |
Roberto Ierusalimschy
|
45dec34597
comments
|
15 years ago |
Roberto Ierusalimschy
|
c5050b1c41
functions 'getfenv' and 'setfenv' are deprecated
|
15 years ago |
Roberto Ierusalimschy
|
b9063a08f5
new function 'loadin'
|
15 years ago |
Roberto Ierusalimschy
|
1ce819333d
new option 'isrunning' for 'lua_gc' (and 'collectgarbage')
|
15 years ago |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 years ago |
Roberto Ierusalimschy
|
f5073de0a7
'ipairs' goes until length of array instead of stopping at the first nil
|
16 years ago |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 years ago |
Roberto Ierusalimschy
|
323f33d014
'collectgarbage"count"' returns a second argument with the count%1024.
|
16 years ago |
Roberto Ierusalimschy
|
5bff2aaf47
calls with LUA_MULTRET may leave no free slots in the stack
|
16 years ago |
Roberto Ierusalimschy
|
aabe3ddbf4
errors in 'resume' should be all protected
|
16 years ago |
Roberto Ierusalimschy
|
70a63fa5ad
first implementation of yieldable 'pcall'
|
16 years ago |
Roberto Ierusalimschy
|
6d0ae11c57
'context' added to suspendable calls
|
16 years ago |
Roberto Ierusalimschy
|
9e613b8583
missing argument to 'assert' raises "assertion failed" error
|
16 years ago |
Roberto Ierusalimschy
|
9428ec42d0
new optional argument to 'load', to control allowed modes (binary or
|
16 years ago |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 years ago |
Roberto Ierusalimschy
|
5d3cc5def8
'writestring' changed into a configurable macro
|
16 years ago |
Roberto Ierusalimschy
|
53db607963
avoid using 'fputs' in 'print' to avoid problems with embedded zeros
|
16 years ago |
Roberto Ierusalimschy
|
f9dec5fc84
do not use compatibility macros in Lua
|
17 years ago |
Roberto Ierusalimschy
|
202de59254
useless #include removed (pointed by lint)
|
17 years ago |
Roberto Ierusalimschy
|
7316d61a66
'coroutine.running' should work for the main thread too
|
17 years ago |
Roberto Ierusalimschy
|
fa19baab7f
proxies must be created with a __gc field in their metatables to work
|
17 years ago |