Roberto Ierusalimschy
|
f29fbf2bf6
lua_getuserdata must return NULL if object is not userdata;
|
28 years ago |
Roberto Ierusalimschy
|
4355e1afcd
"getbyte" returns userdata size when called without second parameter.
|
28 years ago |
Roberto Ierusalimschy
|
cae1eff901
small "bugs" detected by Purify: cannot read "next" after 0.
|
28 years ago |
Roberto Ierusalimschy
|
f83bc86e51
small "bugs" detected by Purify: some blocks may be smaller than
|
28 years ago |
Roberto Ierusalimschy
|
59744f0311
"storeglobal" changed to "setglobal"
|
28 years ago |
Roberto Ierusalimschy
|
bb2e2bec18
new lua function "tag"
|
28 years ago |
Roberto Ierusalimschy
|
efaaf99c42
first version of "setglobal" and "getglobal" internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
f8a571ee35
some new options for warnings and optimizations.
|
28 years ago |
Roberto Ierusalimschy
|
397e32399b
update of ".h" dependencies
|
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
|
264f8c5e7b
new (internal?) functions to manipulate userdata
|
28 years ago |
Roberto Ierusalimschy
|
9e9e2ea287
BUG: must mark userdata in garbage collection.
|
28 years ago |
Roberto Ierusalimschy
|
03d917f229
some corrections, improvements;
|
28 years ago |
Roberto Ierusalimschy
|
c3488f5115
must call "gc" i.m. for nil after all others.
|
28 years ago |
Roberto Ierusalimschy
|
6fef372fb8
mathlib now uses i.m. for "pow" operator.
|
28 years ago |
Roberto Ierusalimschy
|
052a1cc46c
files now have proper tags.
|
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
|
88d7ffb0d0
luaI_type moved to fallback.c
|
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
|
2de803c250
new header 'auxlib.h' + new function luaL_verror
|
28 years ago |
Roberto Ierusalimschy
|
fa08b42dd8
new header for auxiliar functions.
|
28 years ago |
Roberto Ierusalimschy
|
eea734aa88
new module 'auxlib' centralizes functions to get/check parameters.
|
28 years ago |
Roberto Ierusalimschy
|
b6d91e24e2
"tag" changed to "ttype" (since now tag has other meaning)
|
28 years ago |
Roberto Ierusalimschy
|
a82ab0852e
new explanation about communication between Lua and C.
|
28 years ago |
Roberto Ierusalimschy
|
b8af9c56c9
new form for constructors: {[exp] = exp, ...}
|
28 years ago |
Roberto Ierusalimschy
|
c3c0b52a1f
atualization of #include dependencies.
|
28 years ago |
Roberto Ierusalimschy
|
ec422ec7d0
skips can be nested (why not?).
|
28 years ago |