[fpc-devel] interfaces / inheritance / again
Martin Frb
lazarus at mfriebe.de
Tue Feb 3 12:55:22 CET 2026
On 03/02/2026 01:06, Martin Frb via fpc-devel wrote:
>
> I am trying to ditch as little of the available type as possible.
I may have found a solution...
I can decouple the interface for the item sync-stuff and the payload.
The latter does not need to inherit from the first.
I have to see if it fully works, I then need to use the index to get
from the sync interface to the payload, in order to update the payload.
But the index is always integer, so it does not have the problem of
changing.
Need to see, how exactly that can be done.
Or I add the payload as empty interface (returned by function), and have
to cast it... (I don't like that, but...)
More information about the fpc-devel
mailing list