[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Question about AOP-like function calls interception
- From: Petite Abeille <petite.abeille@...>
- Date: Fri, 26 Jul 2013 00:07:23 +0200
On Jul 25, 2013, at 11:10 PM, Leo Romanoff <firstname.lastname@example.org> wrote:
> I'd like to ask if there is an (easy) way to intercept invocation of a normal Lua function?
local _print = print
print = function( … )
_print( … )
Out of curiosity… are you recent questions theoretical? or practical?