e4b69d6c9c
"order" and "concat" operations choose tag methods the same way that "arith" operations do (first the first parameter, etc).
Roberto Ierusalimschy1997-06-16 15:42:32 -03:00
dd22ea4da5
new implementation for udata (again they are just void *); new implementation for the API: most operations now do not disturb structures lua2C and C2lua.
Roberto Ierusalimschy1997-06-09 14:28:14 -03:00
5fdcfeb353
new lua_Objects are created below the C2lua stack, so most API functions don't need to adjust stack.
Roberto Ierusalimschy1997-06-06 17:54:40 -03:00
d68d8287aa
new lua_Objects are created below the C2lua stack, so most API functions don't need to adjust stack. So lua_getref does not change the stack, and lua_pushref can use it as a macro.
Roberto Ierusalimschy1997-06-06 17:54:40 -03:00
e78c1c54aa
mem.h is now luamem.h removed warn added support for new opcodes (VARARGS, STOREMAP) better error messages with luaL_verror
Luiz Henrique de Figueiredo1997-04-14 09:12:40 -03:00
3a9516ffc8
luaL check functions do not need the function name (it can be accessed via luadebug interface).
Roberto Ierusalimschy1997-04-06 11:08:08 -03:00
1ea6e8064c
"setintmethod" returns old method (to be coerent with seterrormethod). BUG: wrong pointer arithmetic (index out of range when comparing). obs: version 4 is due to internal methods.
Roberto Ierusalimschy1997-04-03 15:27:06 -03:00
c1746340c3
obs: version 4 is due to internal methods. (some small details in comments)
Roberto Ierusalimschy1997-04-03 15:26:08 -03:00
d0339e7b72
"setintmethod" returns old method (to be coerent with seterrormethod). obs: version 2 is due to internal methods.
Roberto Ierusalimschy1997-04-03 15:24:23 -03:00
f29fbf2bf6
lua_getuserdata must return NULL if object is not userdata; small BUG: wrong error message for a=b[1] (b not a table)
Roberto Ierusalimschy1997-04-02 14:44:18 -03:00
4355e1afcd
"getbyte" returns userdata size when called without second parameter.
Roberto Ierusalimschy1997-04-02 14:44:18 -03:00
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
Roberto Ierusalimschy1997-03-31 11:19:01 -03:00
ad5574c4c9
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with pre-defined names in some C compilers.
Roberto Ierusalimschy1997-03-31 11:02:58 -03:00
205ee1ec84
userdata can handle arbitrary binary data; user tag is stored with data;
Roberto Ierusalimschy1997-02-11 09:40:01 -02:00
b48847c5fa
BUG: "inclinenumber" cannot use public buffer, since it could change the buffer pointer (luaY_lex and read_long_string have local pointers to it).
Roberto Ierusalimschy1997-02-07 11:49:46 -02:00
1143bf9286
better check when converting from float to int, to avoid overflow (on some machines it may result in run-time error)
Roberto Ierusalimschy1997-01-31 12:27:11 -02:00
65459e7938
small BUG: pragma deletes 0 at end of yytext, so a syntax error just after it may have a wrong token in message.
Roberto Ierusalimschy1996-11-21 12:44:04 -02:00