lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

We have lua_pushliteral, why not add luaL_addliteral ?

#define luaL_addliteral(B, s) \
        luaL_addlstring(B, "" s, (sizeof(s)/sizeof(char))-1)

Also, why not document those macros in the manual ?

Mildred
-- 
Mildred       <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG :    <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]