[fpc-devel] Interface: Method resolution clauses

Sergei Gorelkin sergei_gorelkin at mail.ru
Mon Apr 30 17:25:37 CEST 2012


30.04.2012 19:06, Marcos Douglas пишет:
> Hi,
>
> Can I, using FPC trunk, do this sintaxe?
>
> type
>    TMemoryManager = class(TInterfacedObject, IMalloc, IErrorInfo)
>       function IMalloc.Alloc = Allocate;
>       procedure IMalloc.Free = Deallocate;
>      ...
> end;
>
> I'm using 2.6.1 and do not works.
>
To my knowledge, this kind of stuff should work.
What exact problem are you experiencing?

Sergei



More information about the fpc-devel mailing list