[fpc-devel] TFPList / TList Sort with Context parameter
Ondrej Pokorny
lazarus at kluug.net
Mon Aug 12 13:05:34 CEST 2019
On 12.08.2019 13:02, Ondrej Pokorny wrote:
> If this is not possible (which I think it is not), will a patch be
> accepted that adds these methods to TFPList/TList?:
> procedure Sort(Compare: TListSortComparer_Context);
> procedure Sort(Compare: TListSortComparer_Context;
> SortingAlgorithm: PSortingAlgorithm);
The methods will be:
procedure Sort(Compare: TListSortComparer_Context; Context: Pointer);
procedure Sort(Compare: TListSortComparer_Context; Context:
Pointer; SortingAlgorithm: PSortingAlgorithm);
obviously...
Ondrej
More information about the fpc-devel
mailing list