20.11.2010 17:53, Jonas Maebe wrote:
Also, the default calling convention on non-x86 platforms is supposed to be compliant with the default ABI of the platform. Many of these platforms pass small records all by value (const or not).
Const is a pascal keyword which can mean for pascal "pass records by reference". If you need to pass a record by value to some system C routine then don't mark that argument as const during the header convertion. What is wrong?
Best regards, Paul Ishenin. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
