Re: [fpc-pascal] Header translation, argument list, array of const?

2012-06-30 Thread Bernd
2012/6/30 Sven Barth pascaldra...@googlemail.com: Your explanation is very nice and mostly correct, but in case of external cdecl functions in FPC the varargs modifier and a array of const parameter imply the same C compatible parameter passing in the compiler. See also here:

Re: [fpc-pascal] Header translation, argument list, array of const?

2012-06-30 Thread Sven Barth
Am 30.06.2012 12:50 schrieb Bernd prof7...@gmail.com: 2012/6/30 Sven Barth pascaldra...@googlemail.com: Your explanation is very nice and mostly correct, but in case of external cdecl functions in FPC the varargs modifier and a array of const parameter imply the same C compatible

[fpc-pascal] Header translation, argument list, array of const?

2012-06-29 Thread Bernd
Hello, I need to call the following function: /** * Notifies Purple that a buddy's status has been activated. * * This is meant to be called from protocol plugins. * * @param account The account the user is on. * @param name The name of the buddy. * @param status_id The status ID.

Re: [fpc-pascal] Header translation, argument list, array of const?

2012-06-29 Thread kyan
On Sat, Jun 30, 2012 at 12:21 AM, Bernd prof7...@gmail.com wrote: Hello, I need to call the following function: /**  * Notifies Purple that a buddy's status has been activated.  *  * This is meant to be called from protocol plugins.  *  * @param account   The account the user is on.  *