How to call delphi iOS function with va_list parameter?

I need to call this function from firebase library:

FOUNDATION_EXTERN NS_FORMAT_FUNCTION(1, 0)
void FIRCrashLogv(NSString *format, va_list ap);

      

I found out in my previous question that Delphi does not offer a way to create arguments va_list

and instead expects me to call a variadic function FIRCrashLog

. Unfortunately this library is FIRCrashLog

not exported and is instead a built-in function. This means that I cannot import it with a declaration external

using varargs

.

Is it possible to call a variant FIRCrashLogv

from Delphi, and if so, how can I do it?

+3


source to share





All Articles