Roberto Ierusalimschy
b2aa2ba046
using constants for "_LOADED" and "PRELOAD"
8 years ago
Roberto Ierusalimschy
c5112f7b15
details (comments)
9 years ago
Roberto Ierusalimschy
05afee0f50
definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror'
moved to 'lauxlib.h' (they do not need to be stable or configurable) +
prefixes changed from 'luai_' to 'lua_' (they are not part of the core)
10 years ago
Roberto Ierusalimschy
bdf566a8a3
`name' in comments changed to 'name'
10 years ago
Roberto Ierusalimschy
798660c9cd
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
10 years ago
Roberto Ierusalimschy
a77d263e86
unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)
deprecated
11 years ago
Roberto Ierusalimschy
4422b97472
keep 'luaL_checkversion_' with its signature in version 5.2, for
correct error messages in case of version mixings
11 years ago
Roberto Ierusalimschy
438c534ff4
'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.)
renamed all to 'arg'
11 years ago
Roberto Ierusalimschy
66d046833d
no need to check "bad conversion number->int;" in luaL_checkversion,
as now Lua does not use tricks for the conversion, but there is a
need to check the sizes of number types, as they can be different
in two modules
12 years ago
Roberto Ierusalimschy
982aa7058f
'luaL_len' returns lua_Integer instead of 'int'
12 years ago
Roberto Ierusalimschy
3617e04e97
'lua_load' has an extra argument 'mode'
13 years ago
Roberto Ierusalimschy
6cce5c0601
new function 'luaL_loadfilex'
13 years ago
Roberto Ierusalimschy
ef900f224c
strutcture for file handles exported in 'lauxlib.h'
13 years ago
Roberto Ierusalimschy
20d30bcd33
declarations should be present only when implementations are
14 years ago
Roberto Ierusalimschy
19fbdf6cae
'luaL_findtable' -> 'luaL_getsubtable'
14 years ago
Roberto Ierusalimschy
d806710ab5
returns for file-related functions and process-related functions
unified in 'auxlib'
14 years ago
Roberto Ierusalimschy
a10d495b18
'luaL_findtable' returns boolean about whether it created a new
table (to easy initializing table)
14 years ago
Roberto Ierusalimschy
d1c0efdb7d
comment about compatibility-only functions
14 years ago
Roberto Ierusalimschy
50334faad6
no more compatibility with (veryyyy) old ref system
14 years ago
Roberto Ierusalimschy
c97aa9485c
new function 'luaL_setmetatable'
14 years ago
Roberto Ierusalimschy
e885b91326
'luaL_typeerror' deprecated
14 years ago
Roberto Ierusalimschy
c6b64ffe65
new type lua_Unsigned and corresponding projection/injection functions
14 years ago
Roberto Ierusalimschy
7192afafee
new module policy: C modules do not create globals and do not register
themselves with 'require' (let 'require' do its work); new auxiliary
functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref.
Old luaL_register will be deprecated.
15 years ago
Roberto Ierusalimschy
a139e2e003
old (and complex) luaL_findtable now used only in compatibility code
inside lauxlib.c
15 years ago
Roberto Ierusalimschy
2c1a5d678d
factoring out common code in 'module' and 'luaL_openlib'
15 years ago
Roberto Ierusalimschy
2d7a81a204
missing parentheses in declaration
15 years ago
Roberto Ierusalimschy
376e939ef6
missing parentheses around 'luaL_pushresultsize' declaration
15 years ago
Roberto Ierusalimschy
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
are obsolete.)
15 years ago
Roberto Ierusalimschy
9100f7479a
new implementation for Generic Buffer manipulation (using userdata as
temporary buffer space)
15 years ago
Roberto Ierusalimschy
1514e49d43
avoid using function environments in C libraries (as it probably will
be deprecated)
15 years ago
Roberto Ierusalimschy
4f5f2fe367
new function 'luaL_cpcall'
15 years ago
Roberto Ierusalimschy
55d3138397
removed old prototype for 'luaI_openlib' (which does not exist anymore)
15 years ago
Roberto Ierusalimschy
f3a6815000
compatibility code removed or moved to luaconf.h
15 years ago
Roberto Ierusalimschy
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
15 years ago
Roberto Ierusalimschy
4a818f068a
'checkversion' implemented in the auxiliary library
16 years ago
Roberto Ierusalimschy
547e47649f
'luaL_typeerror' spelled right
16 years ago
Roberto Ierusalimschy
daddc57abd
luaL_tostring -> luaL_tolstring (more generic)
17 years ago
Roberto Ierusalimschy
ffc5f78229
detail
18 years ago
Roberto Ierusalimschy
3f78748ef3
traceback function moved to auxlib
18 years ago
Roberto Ierusalimschy
8d3dd04137
clearing some old compatibility code
18 years ago
Roberto Ierusalimschy
01fa1bc114
luaL_testudata (a luaL_checkudata that does not raise errors) is
very needed.
18 years ago
Roberto Ierusalimschy
cf86576a83
new function luaL_tostring
18 years ago
Roberto Ierusalimschy
18330b6091
lua_dostring/lua_dofile should return any values returned by the chunk
19 years ago
Roberto Ierusalimschy
bfdcbbcd76
small optimizations (lua_newtable -> lua_createtable)
19 years ago
Roberto Ierusalimschy
053e873145
new macro luaL_opt to avoid evaluating defaults when no needed
19 years ago
Roberto Ierusalimschy
ce67a9be31
avoid exporting undefined functions
19 years ago
Roberto Ierusalimschy
3390f9a35a
detail
19 years ago
Roberto Ierusalimschy
9273fbd131
no more 'luaL_get/setfield' (replaced by more direct luaL_findtable)
19 years ago
Roberto Ierusalimschy
027e9e99ca
simpler implementation for userdata types
20 years ago
Roberto Ierusalimschy
16ddf86168
luaL_openlib -> luaL_register and new function luaL_loadstring
20 years ago