lua-users home
lua-l archive

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


On Sunday, October 27, 2013 12:07:47 AM Paul Chavent wrote:
> Hi.
> 
> I would like to be able to redirect the lua prints.

What's wrong with `_G.print = myprint` ?

If you're linking Lua into your application, you can already redefine the 
luai_write* macros. That's why they're macros.

-- 
tom <telliamed@whoopdedo.org>