Third (and I hope final) take.  This round I've done the following:

  *  added the JNI 1.4 methods in stead of placeholders

  *  removed the _JNINATIVEMETHOD #ifdef'ing.  [This is no longer 
     necessary for Kissme, which now uses a different struct to
     hold native methods internally.]

  *  removed the #include of config.h, and modified configure.in
     to directly substitute the "#define JNI_EXTENSION" into jni.h

  *  commented the JNI_EXTENSION macros

-- Steve

  //--------------------------------------------------
  //kissme-specific JNI extension functions
  //--------------------------------------------------

#define JNI_EXTENSION_FUNCTIONS \
  jheap   (JNICALL *GetHeap)     (JNIEnv *); \
  jobject (*SwizzleObjectField)  (JNIEnv *, jobject, jfieldID); \
  jobject (*SwizzleArrayElement) (JNIEnv *, jobjectArray, jint); \
  void    (*MarkUpdated)         (JNIEnv *, jobject); \
  void    (*MarkRefsUpdated)     (JNIEnv *, jobject); \
  void    (*EnterGCPoint)        (JNIEnv *); \
  void    (*EnterGCRegion)       (JNIEnv *); \
  void    (*ExitGCRegion)        (JNIEnv *);

#define JNI_EXTENSION_TYPES \
  typedef void *jheap;


Attachment: kissme.diffs.gz
Description: kissme.diffs.gz

Attachment: classpath.diffs.gz
Description: classpath.diffs.gz

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to