Roberto Ierusalimschy
|
56fdab67d8
believe it or not, this makes a difference...
|
28 years ago |
Roberto Ierusalimschy
|
e81f184164
new #define LUA_COMPAT2_5 to select "compatibility mode".
|
28 years ago |
Roberto Ierusalimschy
|
88f020b626
new interface to "lua_seterrormethod" and "lua_settagmethod", to
|
28 years ago |
Roberto Ierusalimschy
|
a38f093f05
luaI_initTFunc initializes fileName.
|
28 years ago |
Roberto Ierusalimschy
|
4d2de484f6
"lua_seterrormethod" should return the previous handler.
|
28 years ago |
Roberto Ierusalimschy
|
e4b69d6c9c
"order" and "concat" operations choose tag methods the same way that
|
28 years ago |
Roberto Ierusalimschy
|
c9a2dfeb2c
using "zio" for parsing Lua code.
|
28 years ago |
Roberto Ierusalimschy
|
611680af08
functions "lua_settagmethod" and similars should be safe too.
|
28 years ago |
Roberto Ierusalimschy
|
dd22ea4da5
new implementation for udata (again they are just void *);
|
28 years ago |
Roberto Ierusalimschy
|
5fdcfeb353
new lua_Objects are created below the C2lua stack, so most API functions
|
28 years ago |
Roberto Ierusalimschy
|
b546a042e8
another (better?) implementation for "pushsubscript".
|
28 years ago |
Roberto Ierusalimschy
|
369dd65318
small optimization in the access to i.m. table.
|
28 years ago |
Roberto Ierusalimschy
|
209602ac31
BUG: input file must be closed just after parser.
|
28 years ago |
Roberto Ierusalimschy
|
42fa305649
better error messages;
|
28 years ago |
Roberto Ierusalimschy
|
1ea6e8064c
"setintmethod" returns old method (to be coerent with seterrormethod).
|
28 years ago |
Roberto Ierusalimschy
|
075b7918c3
new function "getintmethod"
|
28 years ago |
Roberto Ierusalimschy
|
27d95f1880
"newtag" does not need a type name.
|
28 years ago |
Roberto Ierusalimschy
|
f29fbf2bf6
lua_getuserdata must return NULL if object is not userdata;
|
28 years ago |
Roberto Ierusalimschy
|
59744f0311
"storeglobal" changed to "setglobal"
|
28 years ago |
Roberto Ierusalimschy
|
efaaf99c42
first version of "setglobal" and "getglobal" internal methods.
|
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
|
5d60470508
i.m. "arith" and "order" splited for different operations
|
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
|
b8af9c56c9
new form for constructors: {[exp] = exp, ...}
|
28 years ago |
Roberto Ierusalimschy
|
131d66efd2
first step in implementing internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
6769f34817
lua_Type is private (preparation for tags)
|
28 years ago |
Roberto Ierusalimschy
|
205ee1ec84
userdata can handle arbitrary binary data;
|
28 years ago |
Roberto Ierusalimschy
|
1143bf9286
better check when converting from float to int, to avoid overflow
|
28 years ago |