Commit a01a235c by Steven Augart Committed by Tom Tromey

jni.h (_Jv_func): Removed.

2004-05-14  Steven Augart  <augart@watson.ibm.com>

	* include/jni.h (_Jv_func): Removed.
	(struct JNINativeInterface): Use `void *' for reserved slots.
	(struct JNIInvokeInterface): Likewise.

From-SVN: r81851
parent 7b08cf92
2004-05-14 Steven Augart <augart@watson.ibm.com>
* include/jni.h (_Jv_func): Removed.
(struct JNINativeInterface): Use `void *' for reserved slots.
(struct JNIInvokeInterface): Likewise.
2004-05-11 Michael Koch <konqueror@gmx.de> 2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc * gnu/java/net/natPlainSocketImplPosix.cc
......
/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation /* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation
This file is part of libgcj. This file is part of libgcj.
...@@ -240,12 +240,6 @@ typedef union jvalue ...@@ -240,12 +240,6 @@ typedef union jvalue
jobject l; jobject l;
} jvalue; } jvalue;
#ifdef __cplusplus
typedef void * (*_Jv_func) (...);
#else
typedef void * (*_Jv_func) ();
#endif
/* This structure is used when registering native methods. */ /* This structure is used when registering native methods. */
typedef struct typedef struct
{ {
...@@ -256,10 +250,10 @@ typedef struct ...@@ -256,10 +250,10 @@ typedef struct
struct JNINativeInterface struct JNINativeInterface
{ {
_Jv_func reserved0; void *reserved0;
_Jv_func reserved1; void *reserved1;
_Jv_func reserved2; void *reserved2;
_Jv_func reserved3; void *reserved3;
jint (JNICALL *GetVersion) (JNIEnv *); jint (JNICALL *GetVersion) (JNIEnv *);
jclass (JNICALL *DefineClass) (JNIEnv *, const char *, jclass (JNICALL *DefineClass) (JNIEnv *, const char *,
...@@ -1574,9 +1568,9 @@ public: ...@@ -1574,9 +1568,9 @@ public:
struct JNIInvokeInterface struct JNIInvokeInterface
{ {
_Jv_func reserved0; void *reserved0;
_Jv_func reserved1; void *reserved1;
_Jv_func reserved2; void *reserved2;
jint (JNICALL *DestroyJavaVM) (JavaVM *); jint (JNICALL *DestroyJavaVM) (JavaVM *);
jint (JNICALL *AttachCurrentThread) (JavaVM *, void **, void *); jint (JNICALL *AttachCurrentThread) (JavaVM *, void **, void *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment