On 03.03.2013 18:20, Joao Morais wrote:
On Sun, Mar 3, 2013 at 2:16 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
On 03.03.2013 18:03, Joao Morais wrote:

Is there some compiler magic I am missing?

Nope, you don't miss anything. The only thing which *could* help you is when
the new RTTI unit is implemented which contains a TVirtualMethodInterceptor
which allows you to - as its name suggests - intercept all calls to virtual
methods, change their parameters, swallow or raise exceptions or discard the
call completely. This will only work on virtual methods however (because
this constructs a special VMT on the fly) and it might still take some time
until this is implemented.

Great new! Where do I click +1? =)

2.8 or pos 2.8 roadmap?

My *hope* is to get it into the next major version (aka 2.8) together with the complete extended RTTI, but I don't promise anything, as I first need to work on generics.

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to