[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] jni wrapper (possible?)

From: Daishi Kato
Subject: [Chicken-users] jni wrapper (possible?)
Date: Sun, 13 Nov 2005 20:33:43 +0900
User-agent: Wanderlust/2.15.1 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)


I am thinking of wappring JNI (Java Native Interface)
for chicken.  The problem I'm facing right now is
that I don't know how to wrap va_list arguments.

from jni.h
  void     (JNICALL *CallStaticVoidMethod)    (JNIEnv *, jclass, jmethodID,
  void     (JNICALL *CallStaticVoidMethodV)   (JNIEnv *, jclass, jmethodID,
  void     (JNICALL *CallStaticVoidMethodA)   (JNIEnv *, jclass, jmethodID,
                                               jvalue *);
one of these should be wrapped.
The point is that I need to specify types from the caller.
I'd like to ask if it is possible, and give me a hint.

Attached file is my work so far.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]