On 17 Jan 2012, at 16:19, Felipe Monteiro de Carvalho wrote:

I need to convert this:

[felipe@localhost android]$ gedit
~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/ jni.h

void (*CallStaticVoidMethodV)(JNIEnv*, jclass, jmethodID, va_list);

To Pascal. I tryed using array of const, but it keeps crashing in this call =(

"array of const" or "varargs" only matches "..." in C. va_list is an ABI-defined, and often at least partially handled via compiler magic, record type. Look for the copy of varargs.h for the gcc version you use on Android.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to