Roberto Ierusalimschy
e885b91326
'luaL_typeerror' deprecated
2010-11-10 15:38:10 -02:00
Roberto Ierusalimschy
c6b64ffe65
new type lua_Unsigned and corresponding projection/injection functions
2010-10-25 18:31:11 -02:00
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.
2010-07-02 08:38:13 -03:00
Roberto Ierusalimschy
a139e2e003
old (and complex) luaL_findtable now used only in compatibility code
...
inside lauxlib.c
2010-06-30 14:40:27 -03:00
Roberto Ierusalimschy
2c1a5d678d
factoring out common code in 'module' and 'luaL_openlib'
2010-05-31 13:34:19 -03:00
Roberto Ierusalimschy
2d7a81a204
missing parentheses in declaration
2010-05-04 14:21:08 -03:00
Roberto Ierusalimschy
376e939ef6
missing parentheses around 'luaL_pushresultsize' declaration
2010-04-19 15:52:15 -03:00
Roberto Ierusalimschy
afdb19ac82
no more 'ccall' nor 'cpcall' functions. (With light C functions they
...
are obsolete.)
2010-04-14 12:14:21 -03:00
Roberto Ierusalimschy
9100f7479a
new implementation for Generic Buffer manipulation (using userdata as
...
temporary buffer space)
2010-04-09 13:14:46 -03:00
Roberto Ierusalimschy
1514e49d43
avoid using function environments in C libraries (as it probably will
...
be deprecated)
2010-03-17 18:37:37 -03:00
Roberto Ierusalimschy
4f5f2fe367
new function 'luaL_cpcall'
2010-01-21 14:49:21 -02:00
Roberto Ierusalimschy
55d3138397
removed old prototype for 'luaI_openlib' (which does not exist anymore)
2010-01-11 14:00:45 -02:00
Roberto Ierusalimschy
f3a6815000
compatibility code removed or moved to luaconf.h
2010-01-06 13:14:15 -02:00
Roberto Ierusalimschy
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
2009-12-17 14:20:01 -02:00
Roberto Ierusalimschy
4a818f068a
'checkversion' implemented in the auxiliary library
2009-06-18 15:59:58 -03:00
Roberto Ierusalimschy
547e47649f
'luaL_typeerror' spelled right
2009-02-13 17:39:34 -02:00
Roberto Ierusalimschy
daddc57abd
luaL_tostring -> luaL_tolstring (more generic)
2008-01-03 15:07:59 -02:00
Roberto Ierusalimschy
ffc5f78229
detail
2007-06-22 12:39:34 -03:00
Roberto Ierusalimschy
3f78748ef3
traceback function moved to auxlib
2007-06-22 12:33:54 -03:00
Roberto Ierusalimschy
8d3dd04137
clearing some old compatibility code
2007-06-21 10:52:27 -03:00
Roberto Ierusalimschy
01fa1bc114
luaL_testudata (a luaL_checkudata that does not raise errors) is
...
very needed.
2007-05-15 15:46:12 -03:00
Roberto Ierusalimschy
cf86576a83
new function luaL_tostring
2007-02-07 15:51:21 -02:00
Roberto Ierusalimschy
18330b6091
lua_dostring/lua_dofile should return any values returned by the chunk
2006-04-12 17:31:15 -03:00
Roberto Ierusalimschy
bfdcbbcd76
small optimizations (lua_newtable -> lua_createtable)
2005-12-29 14:23:32 -02:00
Roberto Ierusalimschy
053e873145
new macro luaL_opt to avoid evaluating defaults when no needed
2005-10-21 11:47:42 -02:00
Roberto Ierusalimschy
ce67a9be31
avoid exporting undefined functions
2005-09-06 14:19:51 -03:00
Roberto Ierusalimschy
3390f9a35a
detail
2005-08-26 14:36:32 -03:00
Roberto Ierusalimschy
9273fbd131
no more 'luaL_get/setfield' (replaced by more direct luaL_findtable)
2005-08-26 14:32:05 -03:00
Roberto Ierusalimschy
027e9e99ca
simpler implementation for userdata types
2005-08-18 17:36:26 -03:00
Roberto Ierusalimschy
16ddf86168
luaL_openlib -> luaL_register and new function luaL_loadstring
2005-08-15 11:12:32 -03:00
Roberto Ierusalimschy
d6ff5d9f46
searchpath is "private affair" of loadlib
2005-07-13 16:02:42 -03:00
Roberto Ierusalimschy
d628795940
lua_objsize -> lua_objlen (more compatible with use of `len´ in other
...
places [opcode name, metamethod index, etc.])
2005-05-31 11:34:02 -03:00
Roberto Ierusalimschy
90de38bf1f
warnings in VS .Net
2005-05-31 11:25:18 -03:00
Roberto Ierusalimschy
e8a7ecb982
luaL_findstring -> luaL_checkoption
2005-05-25 10:21:26 -03:00
Roberto Ierusalimschy
38da9d568a
better use defined/undefined as flag values for macros
2005-05-20 16:09:05 -03:00
Roberto Ierusalimschy
e6e543a534
better control for compatibility code
2005-03-29 13:20:48 -03:00
Roberto Ierusalimschy
6eb68ba57a
all function declarations surround name with parentheses
2005-01-10 15:31:50 -02:00
Roberto Ierusalimschy
e5cfa7a367
use of parentheses around macro parameters in call lists, to avoid
...
problems with comma expressions
2004-10-18 09:51:44 -03:00
Roberto Ierusalimschy
cf2a194edc
better API for luaL_getfield/setfield
2004-09-29 18:00:25 -03:00
Roberto Ierusalimschy
6acfb91c8d
new auxiliary functions to implement new package system
2004-09-21 13:54:32 -03:00
Roberto Ierusalimschy
7a796a0682
new macro `luaL_typename'
2004-07-09 15:23:17 -03:00
Roberto Ierusalimschy
a6179adf12
detail
2004-06-30 09:58:44 -03:00
Roberto Ierusalimschy
753625c3f3
new interface for search-path function
2004-06-29 13:57:56 -03:00
Roberto Ierusalimschy
0c49857c1a
new scheme to search paths
2004-06-21 17:05:29 -03:00
Roberto Ierusalimschy
f4718544de
what is provided by lauxlib.c should be defined at lauxlib.h
2004-06-02 14:37:03 -03:00
Roberto Ierusalimschy
1e0aaf2156
luaL_dofile' and
luaL_dostring' are deprecated
2004-05-31 16:27:14 -03:00
Roberto Ierusalimschy
763b8fba1b
more stuff goes to configuration file
2004-05-03 09:28:43 -03:00
Roberto Ierusalimschy
9804467eeb
detail
2004-03-13 10:32:09 -03:00
Roberto Ierusalimschy
f04fe526cd
new functions `lua_tointeger' and lua_pushinteger'
2003-10-07 17:13:41 -03:00
Roberto Ierusalimschy
b97fb932ec
Lua kernel does not use malloc/free functions.
2003-10-02 17:31:17 -03:00