Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
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
|
6d0ae11c57
'context' added to suspendable calls
|
16 years ago |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 years ago |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
16 years ago |
Roberto Ierusalimschy
|
d2ebdc045b
new macro 'lua_checkversion' to check whether core and application are
|
16 years ago |
Roberto Ierusalimschy
|
f94cd2201c
better control of call status through CallInfo
|
17 years ago |
Roberto Ierusalimschy
|
394646891c
new field 'status' in CallInfo structure
|
17 years ago |
Roberto Ierusalimschy
|
0c8f5fc2fd
simplification in the handling of finalizers: no more 'tmudata' list +
|
17 years ago |
Roberto Ierusalimschy
|
8fd28611d5
outdated comment
|
17 years ago |
Roberto Ierusalimschy
|
e2b366c760
userdata with finalizers are kept in a separated list
|
17 years ago |
Roberto Ierusalimschy
|
a73930228a
more options for 'kinds' of Garbage Collection
|
17 years ago |
Roberto Ierusalimschy
|
5e8dd55574
first implementation of ephemerons
|
18 years ago |
Roberto Ierusalimschy
|
0e961ad47a
some changes toward ephemerons
|
18 years ago |
Roberto Ierusalimschy
|
593bfc9668
should not manipulate NULL pointers (even without accessing them)
|
18 years ago |
Roberto Ierusalimschy
|
d1ef7e0ec6
avoid local "pc" in interpreter loop (tricky optimization with no real gain)
|
19 years ago |
Roberto Ierusalimschy
|
93bf618504
BUG: there is only one C stack, so nCcalls must be global
|
19 years ago |
Roberto Ierusalimschy
|
3ca9af51a4
emergency garbage collector (core forces a GC when allocation fails)
|
19 years ago |
Roberto Ierusalimschy
|
ea2cc2bc47
small improvements for allignments
|
19 years ago |
Roberto Ierusalimschy
|
e84b11a494
avoid names starting with '_'
|
20 years ago |
Roberto Ierusalimschy
|
eca9fa02d2
small improvement
|
20 years ago |
Roberto Ierusalimschy
|
6cf85dcc90
metatables for all types
|
20 years ago |
Roberto Ierusalimschy
|
8718fda9b2
added LUAI_FUNC to functions not in the API
|
20 years ago |
Roberto Ierusalimschy
|
7b6c3b463e
small optimizations
|
20 years ago |
Roberto Ierusalimschy
|
390256edf7
better name for GC pause
|
20 years ago |
Roberto Ierusalimschy
|
fb0f95a2b7
call limit may be larger than shorts
|
20 years ago |
Roberto Ierusalimschy
|
d55bb795fa
details
|
20 years ago |
Roberto Ierusalimschy
|
7d45a5f48f
C functions and userdata also have environments
|
20 years ago |