On 01/02/2014 18:54, Sven Barth wrote:
On 01.02.2014 19:10, Howard Page-Clark wrote:
In a situation where

   PPropInfo^.PropType^.Kind=tkMethod

does RTTI enable you to determine the number and/or types of the
parameters that method uses (if any)?

Yes, please take a look at the tkMethod part of the case inside
TTypeData in $fpcdir/rtl/objpas/typinfo.pp
There are AFAIK no functions yet that simplify the access though. Maybe
someone else has already written a wrapper for it.

I should have known to look at the source. Thanks Sven for pointing me to the correct place.

H

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

Reply via email to