[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Why not luaL_dobuffer
- From: Jose Marin <jose_marin2@...>
- Date: Wed, 2 Aug 2006 15:55:41 +0000 (GMT)
Hello.
There are luaL_dofile and luaL_dostring, but not
luaL_dobuffer.
Is there any technical reason to that?
I've implemented luaL_dobuffer like this:
#define luaL_dobuffer(L, b, n, s) \
(luaL_loadbuffer(L, b, n, s) || lua_pcall(L, 0,
LUA_MULTRET, 0))
Is there correct?
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/