Roberto Ierusalimschy
|
e924a7f9ea
new API function 'lua_absindex'
|
15 years ago |
Roberto Ierusalimschy
|
dcc070683c
avoid reserving LUA_RIDX_LAST slots in any table used by reference
|
15 years ago |
Roberto Ierusalimschy
|
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
|
15 years ago |
Roberto Ierusalimschy
|
9100f7479a
new implementation for Generic Buffer manipulation (using userdata as
|
15 years ago |
Roberto Ierusalimschy
|
82a1f5d354
comments
|
15 years ago |
Roberto Ierusalimschy
|
28b2566c97
'lua_assert' not visible from libraries
|
15 years ago |
Roberto Ierusalimschy
|
caf74dd731
'cpcall' renamed to 'ccall' as it does not do a protected call
|
15 years ago |
Roberto Ierusalimschy
|
1514e49d43
avoid using function environments in C libraries (as it probably will
|
15 years ago |
Roberto Ierusalimschy
|
f292760f12
small optimization in luaL_addlstring (avoid adding chars one by one)
|
15 years ago |
Roberto Ierusalimschy
|
d08d237a49
detail: in loadfile read function, no need to return NULL on EOF;
|
15 years ago |
Roberto Ierusalimschy
|
64a7ec987c
avoid using 'ungetc' in loadfile
|
15 years ago |
Roberto Ierusalimschy
|
4274738e81
new macro 'luai_writestringerror'
|
15 years ago |
Roberto Ierusalimschy
|
d27108ccd5
removed support for '#fist-line comment' on binary files (as binary
|
15 years ago |
Roberto Ierusalimschy
|
4f5f2fe367
new function 'luaL_cpcall'
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 years ago |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
b0f2b288a6
new scheme for debug info about tail calls: no more 'fake' stack entries,
|
15 years ago |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 years ago |
Roberto Ierusalimschy
|
cee94df6e0
function list in luaL_register may be NULL for an empty list
|
16 years ago |
Roberto Ierusalimschy
|
99182c6872
references must start after predefined values in the registry
|
16 years ago |
Roberto Ierusalimschy
|
28419c4383
'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' and
|
16 years ago |
Roberto Ierusalimschy
|
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
|
16 years ago |
Roberto Ierusalimschy
|
47c562435b
better error messages for luaL_checkversion
|
16 years ago |
Roberto Ierusalimschy
|
4a818f068a
'checkversion' implemented in the auxiliary library
|
16 years ago |
Roberto Ierusalimschy
|
ae9ad6c694
added comment explaining why the 'feof' test when loading a file
|
16 years ago |
Roberto Ierusalimschy
|
83d2dbb15d
Lua will abort anyway, so 'panic' does not need to.
|
16 years ago |
Roberto Ierusalimschy
|
b403317325
error functions search global space for a name for a function when
|
16 years ago |
Roberto Ierusalimschy
|
9bf05e7364
code section 'Traceback' moved to the beginning of the file
|
16 years ago |
Roberto Ierusalimschy
|
d2ebdc045b
new macro 'lua_checkversion' to check whether core and application are
|
16 years ago |
Roberto Ierusalimschy
|
189378142a
buffer creation ensures buffer space plus MINSTACK in the stack
|
16 years ago |