[fpc-pascal] Better way to handle callback types

Michael Van Canneyt michael at freepascal.org
Sat Aug 21 21:30:31 CEST 2021

On Sat, 21 Aug 2021, Ryan Joseph via fpc-pascal wrote:

>> On Aug 21, 2021, at 12:08 PM, Jonas Maebe via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>> You can pass global functions to "is nested" procvars, so at least these
>> two don't need to be separate.
>> OTOH, there's another type: cblocks :)
> So up to 4 types are needed: "is nested", "of object" and "reference to" (for cblocks and eventually closures). Ouch.

"Reference to" can be used for the others as well.


More information about the fpc-pascal mailing list