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 |
Roberto Ierusalimschy
|
547e47649f
'luaL_typeerror' spelled right
|
16 years ago |
Roberto Ierusalimschy
|
f858a155c2
identation error (pointed by lint)
|
17 years ago |
Roberto Ierusalimschy
|
480a1da34a
when error is 'bad self' original message probably makes no sense, so
|
17 years ago |
Roberto Ierusalimschy
|
eb8ac6e2a0
'luaL_testudata' does not leave garbage on the stack in case of failure
|
17 years ago |
Roberto Ierusalimschy
|
56c17ba4c7
detail
|
17 years ago |
Roberto Ierusalimschy
|
daddc57abd
luaL_tostring -> luaL_tolstring (more generic)
|
17 years ago |
Roberto Ierusalimschy
|
9cb0607f6f
avoid warnings about exit; return
|
18 years ago |