Roberto Ierusalimschy
|
d1df829f8d
lua_getmetatable must accept any acceptable index
|
22 年之前 |
Roberto Ierusalimschy
|
0d88545b82
warnings from several compilers (mainly typecasts when lua_Number is float)
|
22 年之前 |
Roberto Ierusalimschy
|
c9ea94ec92
out-of-bound upvalues (in C) are acceptable indices
|
22 年之前 |
Roberto Ierusalimschy
|
e1a424e8a3
avoid the identifier `index' (clashes with BSD `index' function)
|
22 年之前 |
Roberto Ierusalimschy
|
5cd99b82b7
`set/getenvtable' -> `set/getfenv'
|
22 年之前 |
Roberto Ierusalimschy
|
67f9a2a98f
details
|
22 年之前 |
Roberto Ierusalimschy
|
9866fb0ef1
`set/getglobals' -> `set/getenvtable'
|
22 年之前 |
Roberto Ierusalimschy
|
7a40cdbda0
different variables for number of upvalues and size of upvalue array
|
22 年之前 |
Roberto Ierusalimschy
|
dd8edecae1
new functions to manipulate upvales (get/setupvalue)
|
22 年之前 |
Roberto Ierusalimschy
|
27c6b4d422
each .c file defines its own name
|
23 年之前 |
Roberto Ierusalimschy
|
0bb8eb5151
new function `lua_cpcall'
|
23 年之前 |
Roberto Ierusalimschy
|
5a228bb1d8
new function `lua_version'
|
23 年之前 |
Roberto Ierusalimschy
|
709b27b456
ULONG_MAX>>10 may not fit into an int
|
23 年之前 |
Roberto Ierusalimschy
|
ddc144e4d2
keep L->ci->base in L->base for faster access
|
23 年之前 |
Roberto Ierusalimschy
|
1648674653
must check GC every time it can create new objects
|
23 年之前 |
Roberto Ierusalimschy
|
41fd639cab
documentation for write barriers
|
23 年之前 |
Roberto Ierusalimschy
|
5c5d9b2703
back to `__mode' metafield to specify weakness
|
23 年之前 |
Roberto Ierusalimschy
|
63633c5b5f
better name for `lua_movethread'
|
23 年之前 |
Roberto Ierusalimschy
|
dff9be4224
new macros to distinguish different types of object moves (for future GC
|
23 年之前 |
Roberto Ierusalimschy
|
118347d8c3
new API for coroutines
|
23 年之前 |
Roberto Ierusalimschy
|
118e9cd843
new facility for dumping chunks
|
23 年之前 |
Roberto Ierusalimschy
|
96e15b8501
threads now are real Lua objects, subject to garbage collection
|
23 年之前 |
Roberto Ierusalimschy
|
ce09af1e25
easier to define `api_check' using `assert'
|
23 年之前 |
Roberto Ierusalimschy
|
fdafd4f4a8
new structure for collectable objects, sharing a common header
|
23 年之前 |
Roberto Ierusalimschy
|
9998082839
external messages add their own extra information
|
23 年之前 |
Roberto Ierusalimschy
|
b6e2f1a86e
small bugs when stack is reallocated
|
23 年之前 |
Roberto Ierusalimschy
|
4664f2e927
any Lua closure has a table of globals (not only active functions)
|
23 年之前 |
Roberto Ierusalimschy
|
634344d61f
new API for weak mode
|
23 年之前 |
Roberto Ierusalimschy
|
a2fa48a570
new (old?) error handling scheme
|
23 年之前 |
Roberto Ierusalimschy
|
5037196f6f
new macros `ttis*'
|
23 年之前 |