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 |
Roberto Ierusalimschy
|
d8b0bbb2ad
BUG: pointer arithmetic does not have to work when pointing outside
|
29 years ago |
Roberto Ierusalimschy
|
d59c52753f
undump needs file in binary mode
|
29 years ago |
Roberto Ierusalimschy
|
e5ec547eb3
"call" returns separate results, instead of a table.
|
29 years ago |
Roberto Ierusalimschy
|
6d383202dc
"dofile" and "dostring" may return values.
|
29 years ago |
Roberto Ierusalimschy
|
82f9f3e552
better structure to control stack interface lua-C.
|
29 years ago |
Roberto Ierusalimschy
|
d289ac81d3
functions may have tags CMARK and MARK, too.
|
29 years ago |
Roberto Ierusalimschy
|
d763b69740
skip first line of a lua file if it starts with a '#' (to allow shell
|
29 years ago |
Roberto Ierusalimschy
|
7a38bdd4b3
"exit" is defined in "stdlib".
|
29 years ago |
Roberto Ierusalimschy
|
3211a9648a
"lua_dofile" returns different error codes if it could not open the file
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
bced00ab9e
lua_Reference is int, so say so.
|
29 years ago |
Roberto Ierusalimschy
|
0ef5cf2289
lock mechanism seperseded by the REFERENCE mechanism.
|
29 years ago |
Roberto Ierusalimschy
|
ce23901f04
smaller limit to stack size (otherwise C stack can finish first)
|
29 years ago |