[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Add hooks for print functions like the one for allocation.
- From: Tom N Harris <telliamed@...>
- Date: Sun, 27 Oct 2013 15:48:38 -0400
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>