Roberto Ierusalimschy
|
2a1da64872
"lua_getobjname" must return "tag-method" and not "fallback".
|
28 years ago |
Roberto Ierusalimschy
|
dd22ea4da5
new implementation for udata (again they are just void *);
|
28 years ago |
Roberto Ierusalimschy
|
e1249970c2
new API function to force garbage collection.
|
28 years ago |
Roberto Ierusalimschy
|
bd9e68cfcd
new implementation of gc: "Pre-collect" garbage in temporary lists and
|
28 years ago |
Roberto Ierusalimschy
|
c9e3d32182
first implementation of "$if";
|
28 years ago |
Roberto Ierusalimschy
|
3a9516ffc8
luaL check functions do not need the function name (it can be
|
28 years ago |
Roberto Ierusalimschy
|
9319735744
using new lib auxlib.
|
28 years ago |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 years ago |
Roberto Ierusalimschy
|
ad5574c4c9
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with
|
28 years ago |
Roberto Ierusalimschy
|
9e9e2ea287
BUG: must mark userdata in garbage collection.
|
28 years ago |
Roberto Ierusalimschy
|
c3488f5115
must call "gc" i.m. for nil after all others.
|
28 years ago |
Roberto Ierusalimschy
|
1444d28476
first full implementation of internal methods
|
28 years ago |
Roberto Ierusalimschy
|
b6d91e24e2
"tag" changed to "ttype" (since now tag has other meaning)
|
28 years ago |
Roberto Ierusalimschy
|
131d66efd2
first step in implementing internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
d106f3f43c
pre-defined variable _VERSION_
|
29 years ago |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 years ago |
Roberto Ierusalimschy
|
ec6677e551
when "block" is computed, "nentity" == "block". So the change is only
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
820ec63bdf
as strings are no more duplicated, "nextvar" can use "pushstring".
|
29 years ago |
Roberto Ierusalimschy
|
21c9ebf4a9
new algotithm to adjust garbage collection: it tries to adapt gc calls
|
29 years ago |
Roberto Ierusalimschy
|
0ef5cf2289
lock mechanism seperseded by the REFERENCE mechanism.
|
29 years ago |
Roberto Ierusalimschy
|
7a35f23c16
a simplification about memory error messages.
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
3226ac2da8
"lua_ntable" and "lua_nconstant" are public (undump.c uses them).
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
d1608c597e
reserved words are stored in main string table; "marked" field is
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
0d50b87aa4
lua_table now has references to global variable names (TreeNode's).
|
29 years ago |
Roberto Ierusalimschy
|
8dae4657a1
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
|
29 years ago |