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
|
42fa305649
better error messages;
|
28 years ago |
Roberto Ierusalimschy
|
d0339e7b72
"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
|
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
|
03d917f229
some corrections, improvements;
|
28 years ago |
Roberto Ierusalimschy
|
6fef372fb8
mathlib now uses i.m. for "pow" operator.
|
28 years ago |
Roberto Ierusalimschy
|
ae067dcddd
BUG: lua_newtag can be called before luaI_IMtable is initialized.
|
28 years ago |
Roberto Ierusalimschy
|
5d60470508
i.m. "arith" and "order" splited for different operations
|
28 years ago |
Roberto Ierusalimschy
|
47527d2d3c
setmethods should return old methods.
|
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
|
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
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
a275d9a25b
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
74102bd716
small corrections.
|
29 years ago |
Roberto Ierusalimschy
|
8c1a9899d4
functions "luaI_free" and "luaI_realloc" (or macro "growvector") may be
|
29 years ago |
Roberto Ierusalimschy
|
369c5fe3c0
lock mechanism more robust; nil is pseudo-locked under index -1.
|
29 years ago |
Roberto Ierusalimschy
|
43382ce5a2
new fallback "getglobal".
|
29 years ago |
Roberto Ierusalimschy
|
a66404aca6
function "setfallback" now gives an error if called with wrong parameters.
|
30 years ago |
Roberto Ierusalimschy
|
970995c3f2
'luaI_travfallbacks' now can look for a fallback.
|
30 years ago |
Roberto Ierusalimschy
|
1bb3fb73cc
fallback table now has number of parameters and results of each
|
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 |