[fpc-pascal] Converting header with va_list

2012-01-18 Thread Felipe Monteiro de Carvalho
Hello, 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 =(

Re: [fpc-pascal] Converting header with va_list

2012-01-18 Thread Jeppe Græsdal Johansen
Den 17-01-2012 16:19, Felipe Monteiro de Carvalho skrev: Hello, 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

Re: [fpc-pascal] Converting header with va_list

2012-01-18 Thread Jonas Maebe
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

Re: [fpc-pascal] Converting header with va_list

2012-01-18 Thread Felipe Monteiro de Carvalho
Hello, Thanks, it is good to have some input as to what would be necessary, but in the mean time I solved my problem in another way. JNI has another way of sending the parameters, the A functions: CallStaticVoidMethodA:procedure(Env:PJNIEnv;AClass:JClass;MethodID:JMethodID;Args:PJValue); And