pascaldragon at googlemail.com
Thu Nov 15 07:27:40 CET 2018
Am 15.11.2018 um 03:59 schrieb Ryan Joseph:
> Can c-blocks support Jonas added for Cocoa support be extended to other platforms or is this stuck with OS X? It uses a runtime library by Apple but is it possible to replace this with a custom Pascal implementation?
> Somes notes:
> In the compiler sources is the blockrtl.pp file which has the interface to the library, a mere 4 functions it looks like. Jonas did lots of work on this so it would be a shame if it was tied to OS X forever.
They are only useful when interacting with the external runtime. On
other OSes nothing would support them thus there is no use for them.
Additionally this requires extensive runtime, not to mention Objective C
There is even less sense in trying to port them as Object Pascal has
anonymous functions which are already Work In Progress for FPC.
More information about the fpc-pascal