[fpc-pascal] FFI or RTTI invoke for Apple arm64

Sven Barth pascaldragon at googlemail.com
Wed Aug 19 14:09:10 CEST 2020


Carlo Kok via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Mi.,
19. Aug. 2020, 13:17:

> Hi,
>
> for PascalScript FFI support, are there plans to support RTTI .Invoke, or
> any form of FFI available to do dynamic invoke from Pascalscript to FPC/api
> code?
>

Rtti.Invoke is available in 3.2.0 however for all platforms except for
Win64 and the register calling convention on i386 the libffi library is
used. Officially libffi does not yet seem to support macOS on Aarch64
however it supports iOS, so you'll need to check whether you can get a
variant working for macOS on Aarch64.

Alternatively you'd need to implement a custom function call manager for
Aarch64.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200819/50e6f8a7/attachment.htm>


More information about the fpc-pascal mailing list