Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
826d70fcba
new type lua_Function for activation records
|
29 years ago |
Roberto Ierusalimschy
|
5a3a1fe458
debug interface functions to manipulated local variables:
|
29 years ago |
Roberto Ierusalimschy
|
43382ce5a2
new fallback "getglobal".
|
29 years ago |
Roberto Ierusalimschy
|
445872a6e2
"dofile" does not issue a warning when unable to open the file,
|
29 years ago |
Roberto Ierusalimschy
|
b2afc410fa
hooks for line change and function calls; first version.
|
30 years ago |
Roberto Ierusalimschy
|
415ee250b5
bug: luaI_findconstantbyname may change the value of lua_constant.
|
30 years ago |
Roberto Ierusalimschy
|
f188e1000b
useless "#include math.h"
|
30 years ago |
Roberto Ierusalimschy
|
87fe07c0d4
little improvement
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |
Roberto Ierusalimschy
|
a66404aca6
function "setfallback" now gives an error if called with wrong parameters.
|
30 years ago |
Roberto Ierusalimschy
|
d80659759b
new module luadebug.h.
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |
Roberto Ierusalimschy
|
b17c76817d
new function "luaI_findconstantbyname".
|
30 years ago |
Roberto Ierusalimschy
|
36a7fda014
bug: stack overflow error must leave space on the stack for error function.
|
30 years ago |
Roberto Ierusalimschy
|
7e01348658
"docall" now assumes that called function is always on the stack, just
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
3ec4f4eb86
small corrections to avoid warnings.
|
30 years ago |
Roberto Ierusalimschy
|
ec79f25286
new lua function "getstack"; new interface to function luaI_reportbug.
|
30 years ago |
Roberto Ierusalimschy
|
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
|
30 years ago |
Waldemar Celes
|
8156604823
run-time stack now is controled at run time, instead of
|
30 years ago |
Roberto Ierusalimschy
|
2043a0ca30
adjust checks if stack has enough space
|
30 years ago |
Roberto Ierusalimschy
|
7c342c488e
header "stdlib.h" was missing (gcc does not warn that)
|
30 years ago |
Roberto Ierusalimschy
|
dd28b830e9
a null lua_Object is LUA_NOOBJECT, not NULL.
|
30 years ago |
Waldemar Celes
|
8795aab83e
new API function lua_pushlocked & lua_checkstack is a macro
|
30 years ago |
Roberto Ierusalimschy
|
5b8ced84b4
stack is indexed by integers, not Words, to allow bigger stack on 32 bit machines
|
31 years ago |
Roberto Ierusalimschy
|
df3a81ec88
functions that no more return error codes now have return type void
|
31 years ago |
Waldemar Celes
|
b8e76d9b5c
'lua_getsubscript' and 'lua_storesubscript' now run unprotected (to improve efficiency)
|
31 years ago |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 years ago |