Passing TMethod to a C-library on arm
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
On arm a TMethod parameter is not passed correctly to a C-library (cdecl)
pascal definition of library procedure to call:
HookH = TMethod;
procedure QButton_hook_hook_clicked(handle: QButton_hookH; hook: QHookH); cdecl;
this is a working workaround
procedure QButton_hook_hook_clicked2(handle: QButton_hookH; func: integer; data: integer); cdecl;
see also http://www.nl.freepascal.org/lists/fpc-pascal/2004-November/007698.html
Additional information:
Reporter: Den Jean
EMail: Den dot Jean at telenet dot be
Mantis conversion info:
- Mantis ID: 5736
- OS: Linux
- Version: 1.9.9
- Fixed in version: 2.0.4
- Fixed in revision: 3691 (#86d9e044)