[fpc-pascal] Get TMethod from function reference
Hairy Pixels
genericptr at gmail.com
Thu Sep 8 18:39:41 CEST 2022
> On Sep 8, 2022, at 9:09 AM, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> To me it seems logical that you cannot do this, since a function reference is actually an
> interface, and there is no actual object to back it up.
>
> Your function reference could also be a regular procedure (no data at all) or even a local
> procedure.
I thought it keeps the method data in the interface so it could dispatch it later. How would it work otherwise?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list