Re: [fpc-devel] Initialising method pointers with class methods

2022-05-26 Thread Sven Barth via fpc-devel
Am 24.12.2021 um 02:27 schrieb Blaise--- via fpc-devel: DCC allows the subj (provided that the class type is known at compile time), FPC does not. The attached init_methptr_with_classmeth.patch implements this feature. ---8<--- type C = class class procedure Foo; end; class procedu

[fpc-devel] Initialising method pointers with class methods

2021-12-23 Thread Blaise--- via fpc-devel
DCC allows the subj (provided that the class type is known at compile time), FPC does not. The attached init_methptr_with_classmeth.patch implements this feature. ---8<--- type C = class class procedure Foo; end; class procedure C.Foo; begin end; type CC = class of C; type H = c