[fpc-devel] comparing methods

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Sep 13 22:05:17 CEST 2009


On 13 Sep 2009, at 22:02, Den Jean wrote:

> So I cannot directly give the hooked procedure as a parameter
> to a procedure, I have to do stuff like this
> var M : TMethod
> TSomeMethodTyp(M):=MyMethod
> Hook_Signal(M);
> Instead of
> Hook_Signal(MyMethod)

That's why in objfpc mode you can (have to) use Hook_Signal(@MyMethod)  
and everything is unambiguous.


Jonas



More information about the fpc-devel mailing list