Roberto Ierusalimschy
|
c3eb89544f
'luaL_loadlib' accepts Utf8 BOM in the beginning of files
|
15 years ago |
Roberto Ierusalimschy
|
cd6c276e41
use index 0 for header of list of free references
|
15 years ago |
Roberto Ierusalimschy
|
d447945685
'module'/'luaL_register' and associates are deprecated
|
15 years ago |
Roberto Ierusalimschy
|
a9dc7c8828
functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx
|
15 years ago |
Roberto Ierusalimschy
|
7192afafee
new module policy: C modules do not create globals and do not register
|
15 years ago |
Roberto Ierusalimschy
|
a139e2e003
old (and complex) luaL_findtable now used only in compatibility code
|
15 years ago |
Roberto Ierusalimschy
|
79f11fb2bb
back with #-comments for binary files
|
15 years ago |
Roberto Ierusalimschy
|
2c1a5d678d
factoring out common code in 'module' and 'luaL_openlib'
|
15 years ago |
Roberto Ierusalimschy
|
e8a2c36909
more comments
|
15 years ago |
Roberto Ierusalimschy
|
3c39a0e8cb
bug: loadfile of binary files read first character twice
|
15 years ago |
Roberto Ierusalimschy
|
3811e23b32
detail (comment)
|
15 years ago |
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 |