* include/jni.h (class _Jv_JNIEnv): Corrected calls using `...'.
From-SVN: r31745
This commit is contained in:
parent
78a0d70cdf
commit
8928191114
2 changed files with 12 additions and 10 deletions
|
@ -1,5 +1,7 @@
|
||||||
2000-02-01 Tom Tromey <tromey@cygnus.com>
|
2000-02-01 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* include/jni.h (class _Jv_JNIEnv): Corrected calls using `...'.
|
||||||
|
|
||||||
* include/jni.h (class _Jv_JNIEnv): Added all C++ inline methods.
|
* include/jni.h (class _Jv_JNIEnv): Added all C++ inline methods.
|
||||||
|
|
||||||
* jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'.
|
* jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'.
|
||||||
|
|
|
@ -790,7 +790,7 @@ public:
|
||||||
jobject CallNonvirtualObjectMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jobject CallNonvirtualObjectMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jobject result = p->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, args);
|
jobject result = p->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -805,7 +805,7 @@ public:
|
||||||
jboolean CallNonvirtualBooleanMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jboolean CallNonvirtualBooleanMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jboolean result = p->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, args);
|
jboolean result = p->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -820,7 +820,7 @@ public:
|
||||||
jbyte CallNonvirtualByteMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jbyte CallNonvirtualByteMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jbyte result = p->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, args);
|
jbyte result = p->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -835,7 +835,7 @@ public:
|
||||||
jchar CallNonvirtualCharMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jchar CallNonvirtualCharMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jchar result = p->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, args);
|
jchar result = p->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -850,7 +850,7 @@ public:
|
||||||
jshort CallNonvirtualShortMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jshort CallNonvirtualShortMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jshort result = p->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, args);
|
jshort result = p->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -865,7 +865,7 @@ public:
|
||||||
jint CallNonvirtualIntMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jint CallNonvirtualIntMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jint result = p->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, args);
|
jint result = p->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -880,7 +880,7 @@ public:
|
||||||
jlong CallNonvirtualLongMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jlong CallNonvirtualLongMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jlong result = p->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, args);
|
jlong result = p->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -895,7 +895,7 @@ public:
|
||||||
jfloat CallNonvirtualFloatMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jfloat CallNonvirtualFloatMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jfloat result = p->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, args);
|
jfloat result = p->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -910,7 +910,7 @@ public:
|
||||||
jdouble CallNonvirtualDoubleMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
jdouble CallNonvirtualDoubleMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
jdouble result = p->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, args);
|
jdouble result = p->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
return result;
|
return result;
|
||||||
|
@ -925,7 +925,7 @@ public:
|
||||||
void CallNonvirtualVoidMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
void CallNonvirtualVoidMethod (jobject obj0, jclass cl1, jmethodID meth2, ...)
|
||||||
{
|
{
|
||||||
_Jv_va_list args;
|
_Jv_va_list args;
|
||||||
va_start (args, cl1);
|
va_start (args, meth2);
|
||||||
p->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, args);
|
p->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue