Roberto Ierusalimschy
|
99a39f6f4a
tells the allocation function that the first block is a thread
|
15 years ago |
Roberto Ierusalimschy
|
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
|
15 years ago |
Roberto Ierusalimschy
|
d20ff60615
new macro LUA_NUMTAGS
|
15 years ago |
Roberto Ierusalimschy
|
055104f5b6
keep memory-error message in the global state, so that its use
|
15 years ago |
Roberto Ierusalimschy
|
6abde1b05a
no need to keep "_ENV" name in global state (can be kept in lex state)
|
15 years ago |
Roberto Ierusalimschy
|
a8d3aa14fd
global table now is only kept in the registry
|
15 years ago |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
15 years ago |
Roberto Ierusalimschy
|
5c87f61e6b
major collections in generational mode
|
15 years ago |
Roberto Ierusalimschy
|
3aa9598177
'mainthread' is not inserted in the 'allgc' list anymore, but swept
|
15 years ago |
Roberto Ierusalimschy
|
4433dbb5f5
userdata with finalizers are kept in a separated list ('udgc'), instead
|
15 years ago |
Roberto Ierusalimschy
|
9c196bebad
detail (wrong comment about LUAI_GCPAUSE)
|
15 years ago |
Roberto Ierusalimschy
|
caf74dd731
'cpcall' renamed to 'ccall' as it does not do a protected call
|
15 years ago |
Roberto Ierusalimschy
|
22ef84b6c8
'_ENV' name permanently stored in global state for easier access
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 years ago |
Roberto Ierusalimschy
|
de6fc75d63
several configuration options that do not change often moved out of
|
15 years ago |
Roberto Ierusalimschy
|
2af0d3b459
allocator function receives the tag of object being allocated in 'osize'
|
15 years ago |
Roberto Ierusalimschy
|
15b823ce4f
cleaner way to add extra space in a lua state.
|
15 years ago |
Roberto Ierusalimschy
|
ce444bff33
(huge) simplification of GC management
|
15 years ago |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 years ago |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 years ago |
Roberto Ierusalimschy
|
ba21aa8b2b
'cpcall' must ensure correct environment for called function
|
16 years ago |
Roberto Ierusalimschy
|
bed2cb725a
initialize g->estimate (just in case)
|
16 years ago |
Roberto Ierusalimschy
|
a650378822
'cpcall' reimplemented as a predefined value in the registry
|
16 years ago |
Roberto Ierusalimschy
|
67cae2854c
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
|
16 years ago |
Roberto Ierusalimschy
|
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
|
16 years ago |
Roberto Ierusalimschy
|
1d6ebce296
new function 'lua_version' (so that 'checkversion' can be implemented
|
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
|
e091a254df
new way to GC stacks: the entire stack must be correct all the times;
|
16 years ago |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
16 years ago |
Roberto Ierusalimschy
|
c6b442bd36
'luaM_freearray' does not need array type as argument
|
16 years ago |