El 20/12/20 a les 14:00, Jonas Maebe via fpc-pascal ha escrit:
On 20/12/2020 13:01, Luca Olivetti via fpc-pascal wrote:
El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
It is indeed not possible to implement a function with C varargs in FPC.
I was afraid that's the answer :-(
a
On 20/12/2020 14:43, Tomas Hajny via fpc-pascal wrote:
> On 2020-12-20 14:00, Jonas Maebe via fpc-pascal wrote:
>> On 20/12/2020 13:01, Luca Olivetti via fpc-pascal wrote:
>>> El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
It is indeed not possible to implement a function with
On 2020-12-20 14:00, Jonas Maebe via fpc-pascal wrote:
On 20/12/2020 13:01, Luca Olivetti via fpc-pascal wrote:
El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
It is indeed not possible to implement a function with C varargs in
FPC.
I was afraid that's the answer :-(
as an ugl
On 20/12/2020 13:01, Luca Olivetti via fpc-pascal wrote:
> El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
>> It is indeed not possible to implement a function with C varargs in FPC.
>
> I was afraid that's the answer :-(
>
> as an ugly workaround, I wrote a c library that vsnprint
El 19/12/20 a les 23:15, Jonas Maebe via fpc-pascal ha escrit:
On 19/12/2020 22:35, Luca Olivetti via fpc-pascal wrote:
I'm trying to use a c library where I can define a logging plugin.
The c prototype for the callback is
void (*log)(void *logContext, UA_LogLevel level, UA_LogCategory
ca
On 19/12/2020 22:35, Luca Olivetti via fpc-pascal wrote:
> I'm trying to use a c library where I can define a logging plugin.
>
> The c prototype for the callback is
>
> void (*log)(void *logContext, UA_LogLevel level, UA_LogCategory
> category, const char *msg, va_list args);
>
>
> however