[fpc-devel] RTTI interface & variant late binding issue (mORMot)

Steve Hildebrandt Steve.Kassel at web.de
Mon Apr 13 12:02:23 CEST 2015



Am 13.04.2015 um 09:38 schrieb Alfred:
> Please do include me !
> I have included the rtti-patch (diff) based on the current (today : 
> 30566) trunk.
> Its nothing else than the patch-set from Steve, but with one change:
> for k:=0 to def.paras.count-1 do
> begin
>     para:=tparavarsym(def.paras[k]);
>     {note from Alf:}
>     {this was in the first patch set by Steve}
>     {left out by Steve in the current patch}
>     {?}
>     {
>     if (vo_is_hidden_para in para.varoptions) and not
>        (vo_is_self in para.varoptions) then
>        continue;
>     }
> Thanks, Alf.
This was made, when I started actually using the generated RTTI.
It was kind of problematic to invoke a method, if you have no 
information how to pass the self parameter along.

mfg Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150413/067994ef/attachment.html>


More information about the fpc-devel mailing list