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:

http://wiki.lazarus.freepascal.org/FPC_New_Features_Trunk#Support_for_interfacing_with_C_blocks_functionality

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 support. There is even less sense in trying to port them as Object Pascal has anonymous functions which are already Work In Progress for FPC.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to