front_idill/extern/fajran-npTuioClient/npapi/jni.h
author bastiena
Fri, 06 Apr 2012 10:44:54 +0200
changeset 21 e4e5f02787a1
permissions -rw-r--r--
Front IDILL : Added Communication extern named fajran-npTuioClient It contains the project generating a dll used as a browser plugin.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     1
/* ***** BEGIN LICENSE BLOCK *****
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     3
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     4
 * The contents of this file are subject to the Mozilla Public License Version
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     5
 * 1.1 (the "License"); you may not use this file except in compliance with
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     6
 * the License. You may obtain a copy of the License at
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     7
 * http://www.mozilla.org/MPL/
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     8
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
     9
 * Software distributed under the License is distributed on an "AS IS" basis,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    10
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    11
 * for the specific language governing rights and limitations under the
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    12
 * License.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    13
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    14
 * The Original Code is the Java Runtime Interface.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    15
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    16
 * The Initial Developer of the Original Code is
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    17
 * Netscape Communications Corporation and Sun Microsystems, Inc.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    18
 * Portions created by the Initial Developer are Copyright (C) 1993-1996
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    19
 * the Initial Developer. All Rights Reserved.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    20
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    21
 * Contributor(s):
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    22
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    23
 * Alternatively, the contents of this file may be used under the terms of
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    24
 * either the GNU General Public License Version 2 or later (the "GPL"), or
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    25
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    26
 * in which case the provisions of the GPL or the LGPL are applicable instead
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    27
 * of those above. If you wish to allow use of your version of this file only
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    28
 * under the terms of either the GPL or the LGPL, and not to allow others to
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    29
 * use your version of this file under the terms of the MPL, indicate your
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    30
 * decision by deleting the provisions above and replace them with the notice
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    31
 * and other provisions required by the GPL or the LGPL. If you do not delete
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    32
 * the provisions above, a recipient may use your version of this file under
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    33
 * the terms of any one of the MPL, the GPL or the LGPL.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    34
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    35
 * ***** END LICENSE BLOCK ***** */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    36
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    37
#ifndef JNI_H
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    38
#define JNI_H
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    39
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    40
#include <stdio.h>
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    41
#include <stdarg.h>
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    42
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    43
/* jni_md.h contains the machine-dependent typedefs for jbyte, jint 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    44
   and jlong */ 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    45
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    46
#include "jni_md.h"
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    47
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    48
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    49
extern "C" {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    50
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    51
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    52
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    53
 * JNI Types
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    54
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    55
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    56
typedef unsigned char	jboolean;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    57
typedef unsigned short	jchar;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    58
typedef short		jshort;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    59
typedef float		jfloat;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    60
typedef double		jdouble;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    61
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    62
typedef jint            jsize;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    63
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    64
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    65
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    66
class _jobject {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    67
class _jclass : public _jobject {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    68
class _jthrowable : public _jobject {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    69
class _jstring : public _jobject {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    70
class _jarray : public _jobject {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    71
class _jbooleanArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    72
class _jbyteArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    73
class _jcharArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    74
class _jshortArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    75
class _jintArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    76
class _jlongArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    77
class _jfloatArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    78
class _jdoubleArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    79
class _jobjectArray : public _jarray {};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    80
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    81
typedef _jobject *jobject;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    82
typedef _jclass *jclass;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    83
typedef _jthrowable *jthrowable;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    84
typedef _jstring *jstring;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    85
typedef _jarray *jarray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    86
typedef _jbooleanArray *jbooleanArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    87
typedef _jbyteArray *jbyteArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    88
typedef _jcharArray *jcharArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    89
typedef _jshortArray *jshortArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    90
typedef _jintArray *jintArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    91
typedef _jlongArray *jlongArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    92
typedef _jfloatArray *jfloatArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    93
typedef _jdoubleArray *jdoubleArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    94
typedef _jobjectArray *jobjectArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    95
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    96
#else
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    97
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    98
struct _jobject;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
    99
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   100
typedef struct _jobject *jobject;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   101
typedef jobject jclass;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   102
typedef jobject jthrowable;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   103
typedef jobject jstring;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   104
typedef jobject jarray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   105
typedef jarray jbooleanArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   106
typedef jarray jbyteArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   107
typedef jarray jcharArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   108
typedef jarray jshortArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   109
typedef jarray jintArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   110
typedef jarray jlongArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   111
typedef jarray jfloatArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   112
typedef jarray jdoubleArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   113
typedef jarray jobjectArray;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   114
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   115
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   116
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   117
typedef jobject jweak;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   118
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   119
#if 0	/* moved to jri_md.h */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   120
typedef jobject jref; /* For transition---not meant to be part of public 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   121
			 API anymore.*/
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   122
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   123
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   124
typedef union jvalue {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   125
    jboolean z;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   126
    jbyte    b;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   127
    jchar    c;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   128
    jshort   s;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   129
    jint     i;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   130
    jlong    j;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   131
    jfloat   f;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   132
    jdouble  d;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   133
    jobject  l;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   134
} jvalue;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   135
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   136
struct _jfieldID;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   137
typedef struct _jfieldID *jfieldID;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   138
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   139
struct _jmethodID;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   140
typedef struct _jmethodID *jmethodID;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   141
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   142
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   143
 * jboolean constants
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   144
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   145
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   146
#define JNI_FALSE 0
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   147
#define JNI_TRUE 1
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   148
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   149
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   150
 * possible return values for JNI functions.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   151
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   152
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   153
#define JNI_OK           0                 /* success */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   154
#define JNI_ERR          (-1)              /* unknown error */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   155
#define JNI_EDETACHED    (-2)              /* thread detached from the VM */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   156
#define JNI_EVERSION     (-3)              /* JNI version error */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   157
#define JNI_ENOMEM       (-4)              /* not enough memory */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   158
#define JNI_EEXIST       (-5)              /* VM already created */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   159
#define JNI_EINVAL       (-6)              /* invalid arguments */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   160
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   161
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   162
 * used in ReleaseScalarArrayElements
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   163
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   164
  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   165
#define JNI_COMMIT 1
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   166
#define JNI_ABORT 2
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   167
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   168
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   169
 * used in RegisterNatives to describe native method name, signature,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   170
 * and function pointer.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   171
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   172
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   173
typedef struct {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   174
    char *name;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   175
    char *signature;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   176
    void *fnPtr;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   177
} JNINativeMethod;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   178
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   179
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   180
 * JNI Native Method Interface.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   181
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   182
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   183
struct JNINativeInterface_;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   184
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   185
struct JNIEnv_;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   186
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   187
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   188
typedef JNIEnv_ JNIEnv;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   189
#else
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   190
typedef const struct JNINativeInterface_ *JNIEnv;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   191
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   192
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   193
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   194
 * JNI Invocation Interface.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   195
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   196
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   197
struct JNIInvokeInterface_;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   198
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   199
struct JavaVM_;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   200
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   201
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   202
typedef JavaVM_ JavaVM;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   203
#else
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   204
typedef const struct JNIInvokeInterface_ *JavaVM;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   205
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   206
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   207
struct JNINativeInterface_ {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   208
    void *reserved0;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   209
    void *reserved1;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   210
    void *reserved2;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   211
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   212
    void *reserved3;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   213
    jint (JNICALL *GetVersion)(JNIEnv *env);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   214
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   215
    jclass (JNICALL *DefineClass)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   216
      (JNIEnv *env, const char *name, jobject loader, const jbyte *buf, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   217
       jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   218
    jclass (JNICALL *FindClass)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   219
      (JNIEnv *env, const char *name);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   220
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   221
    jmethodID (JNICALL *FromReflectedMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   222
      (JNIEnv *env, jobject method);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   223
    jfieldID (JNICALL *FromReflectedField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   224
      (JNIEnv *env, jobject field);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   225
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   226
    jobject (JNICALL *ToReflectedMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   227
      (JNIEnv *env, jclass cls, jmethodID methodID, jboolean isStatic);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   228
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   229
    jclass (JNICALL *GetSuperclass)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   230
      (JNIEnv *env, jclass sub);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   231
    jboolean (JNICALL *IsAssignableFrom)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   232
      (JNIEnv *env, jclass sub, jclass sup);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   233
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   234
    jobject (JNICALL *ToReflectedField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   235
      (JNIEnv *env, jclass cls, jfieldID fieldID, jboolean isStatic);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   236
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   237
    jint (JNICALL *Throw)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   238
      (JNIEnv *env, jthrowable obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   239
    jint (JNICALL *ThrowNew)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   240
      (JNIEnv *env, jclass clazz, const char *msg);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   241
    jthrowable (JNICALL *ExceptionOccurred)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   242
      (JNIEnv *env);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   243
    void (JNICALL *ExceptionDescribe)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   244
      (JNIEnv *env);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   245
    void (JNICALL *ExceptionClear)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   246
      (JNIEnv *env);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   247
    void (JNICALL *FatalError)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   248
      (JNIEnv *env, const char *msg);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   249
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   250
    jint (JNICALL *PushLocalFrame)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   251
      (JNIEnv *env, jint capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   252
    jobject (JNICALL *PopLocalFrame)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   253
      (JNIEnv *env, jobject result);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   254
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   255
    jobject (JNICALL *NewGlobalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   256
      (JNIEnv *env, jobject lobj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   257
    void (JNICALL *DeleteGlobalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   258
      (JNIEnv *env, jobject gref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   259
    void (JNICALL *DeleteLocalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   260
      (JNIEnv *env, jobject obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   261
    jboolean (JNICALL *IsSameObject)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   262
      (JNIEnv *env, jobject obj1, jobject obj2);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   263
    jobject (JNICALL *NewLocalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   264
      (JNIEnv *env, jobject ref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   265
    jint (JNICALL *EnsureLocalCapacity)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   266
      (JNIEnv *env, jint capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   267
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   268
    jobject (JNICALL *AllocObject)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   269
      (JNIEnv *env, jclass clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   270
    jobject (JNICALL *NewObject)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   271
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   272
    jobject (JNICALL *NewObjectV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   273
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   274
    jobject (JNICALL *NewObjectA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   275
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   276
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   277
    jclass (JNICALL *GetObjectClass)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   278
      (JNIEnv *env, jobject obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   279
    jboolean (JNICALL *IsInstanceOf)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   280
      (JNIEnv *env, jobject obj, jclass clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   281
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   282
    jmethodID (JNICALL *GetMethodID)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   283
      (JNIEnv *env, jclass clazz, const char *name, const char *sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   284
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   285
    jobject (JNICALL *CallObjectMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   286
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   287
    jobject (JNICALL *CallObjectMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   288
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   289
    jobject (JNICALL *CallObjectMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   290
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   291
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   292
    jboolean (JNICALL *CallBooleanMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   293
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   294
    jboolean (JNICALL *CallBooleanMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   295
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   296
    jboolean (JNICALL *CallBooleanMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   297
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   298
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   299
    jbyte (JNICALL *CallByteMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   300
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   301
    jbyte (JNICALL *CallByteMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   302
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   303
    jbyte (JNICALL *CallByteMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   304
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   305
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   306
    jchar (JNICALL *CallCharMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   307
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   308
    jchar (JNICALL *CallCharMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   309
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   310
    jchar (JNICALL *CallCharMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   311
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   312
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   313
    jshort (JNICALL *CallShortMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   314
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   315
    jshort (JNICALL *CallShortMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   316
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   317
    jshort (JNICALL *CallShortMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   318
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   319
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   320
    jint (JNICALL *CallIntMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   321
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   322
    jint (JNICALL *CallIntMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   323
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   324
    jint (JNICALL *CallIntMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   325
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   326
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   327
    jlong (JNICALL *CallLongMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   328
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   329
    jlong (JNICALL *CallLongMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   330
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   331
    jlong (JNICALL *CallLongMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   332
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   333
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   334
    jfloat (JNICALL *CallFloatMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   335
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   336
    jfloat (JNICALL *CallFloatMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   337
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   338
    jfloat (JNICALL *CallFloatMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   339
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   340
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   341
    jdouble (JNICALL *CallDoubleMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   342
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   343
    jdouble (JNICALL *CallDoubleMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   344
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   345
    jdouble (JNICALL *CallDoubleMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   346
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   347
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   348
    void (JNICALL *CallVoidMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   349
      (JNIEnv *env, jobject obj, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   350
    void (JNICALL *CallVoidMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   351
      (JNIEnv *env, jobject obj, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   352
    void (JNICALL *CallVoidMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   353
      (JNIEnv *env, jobject obj, jmethodID methodID, jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   354
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   355
    jobject (JNICALL *CallNonvirtualObjectMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   356
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   357
    jobject (JNICALL *CallNonvirtualObjectMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   358
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   359
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   360
    jobject (JNICALL *CallNonvirtualObjectMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   361
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   362
       jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   363
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   364
    jboolean (JNICALL *CallNonvirtualBooleanMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   365
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   366
    jboolean (JNICALL *CallNonvirtualBooleanMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   367
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   368
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   369
    jboolean (JNICALL *CallNonvirtualBooleanMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   370
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   371
       jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   372
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   373
    jbyte (JNICALL *CallNonvirtualByteMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   374
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   375
    jbyte (JNICALL *CallNonvirtualByteMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   376
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   377
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   378
    jbyte (JNICALL *CallNonvirtualByteMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   379
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   380
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   381
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   382
    jchar (JNICALL *CallNonvirtualCharMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   383
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   384
    jchar (JNICALL *CallNonvirtualCharMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   385
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   386
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   387
    jchar (JNICALL *CallNonvirtualCharMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   388
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   389
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   390
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   391
    jshort (JNICALL *CallNonvirtualShortMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   392
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   393
    jshort (JNICALL *CallNonvirtualShortMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   394
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   395
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   396
    jshort (JNICALL *CallNonvirtualShortMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   397
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   398
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   399
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   400
    jint (JNICALL *CallNonvirtualIntMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   401
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   402
    jint (JNICALL *CallNonvirtualIntMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   403
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   404
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   405
    jint (JNICALL *CallNonvirtualIntMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   406
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   407
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   408
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   409
    jlong (JNICALL *CallNonvirtualLongMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   410
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   411
    jlong (JNICALL *CallNonvirtualLongMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   412
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   413
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   414
    jlong (JNICALL *CallNonvirtualLongMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   415
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   416
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   417
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   418
    jfloat (JNICALL *CallNonvirtualFloatMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   419
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   420
    jfloat (JNICALL *CallNonvirtualFloatMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   421
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   422
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   423
    jfloat (JNICALL *CallNonvirtualFloatMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   424
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   425
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   426
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   427
    jdouble (JNICALL *CallNonvirtualDoubleMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   428
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   429
    jdouble (JNICALL *CallNonvirtualDoubleMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   430
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   431
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   432
    jdouble (JNICALL *CallNonvirtualDoubleMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   433
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   434
       jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   435
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   436
    void (JNICALL *CallNonvirtualVoidMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   437
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   438
    void (JNICALL *CallNonvirtualVoidMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   439
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   440
       va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   441
    void (JNICALL *CallNonvirtualVoidMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   442
      (JNIEnv *env, jobject obj, jclass clazz, jmethodID methodID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   443
       jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   444
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   445
    jfieldID (JNICALL *GetFieldID)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   446
      (JNIEnv *env, jclass clazz, const char *name, const char *sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   447
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   448
    jobject (JNICALL *GetObjectField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   449
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   450
    jboolean (JNICALL *GetBooleanField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   451
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   452
    jbyte (JNICALL *GetByteField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   453
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   454
    jchar (JNICALL *GetCharField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   455
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   456
    jshort (JNICALL *GetShortField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   457
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   458
    jint (JNICALL *GetIntField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   459
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   460
    jlong (JNICALL *GetLongField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   461
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   462
    jfloat (JNICALL *GetFloatField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   463
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   464
    jdouble (JNICALL *GetDoubleField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   465
      (JNIEnv *env, jobject obj, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   466
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   467
    void (JNICALL *SetObjectField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   468
      (JNIEnv *env, jobject obj, jfieldID fieldID, jobject val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   469
    void (JNICALL *SetBooleanField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   470
      (JNIEnv *env, jobject obj, jfieldID fieldID, jboolean val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   471
    void (JNICALL *SetByteField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   472
      (JNIEnv *env, jobject obj, jfieldID fieldID, jbyte val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   473
    void (JNICALL *SetCharField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   474
      (JNIEnv *env, jobject obj, jfieldID fieldID, jchar val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   475
    void (JNICALL *SetShortField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   476
      (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   477
    void (JNICALL *SetIntField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   478
      (JNIEnv *env, jobject obj, jfieldID fieldID, jint val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   479
    void (JNICALL *SetLongField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   480
      (JNIEnv *env, jobject obj, jfieldID fieldID, jlong val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   481
    void (JNICALL *SetFloatField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   482
      (JNIEnv *env, jobject obj, jfieldID fieldID, jfloat val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   483
    void (JNICALL *SetDoubleField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   484
      (JNIEnv *env, jobject obj, jfieldID fieldID, jdouble val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   485
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   486
    jmethodID (JNICALL *GetStaticMethodID)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   487
      (JNIEnv *env, jclass clazz, const char *name, const char *sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   488
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   489
    jobject (JNICALL *CallStaticObjectMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   490
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   491
    jobject (JNICALL *CallStaticObjectMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   492
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   493
    jobject (JNICALL *CallStaticObjectMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   494
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   495
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   496
    jboolean (JNICALL *CallStaticBooleanMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   497
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   498
    jboolean (JNICALL *CallStaticBooleanMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   499
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   500
    jboolean (JNICALL *CallStaticBooleanMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   501
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   502
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   503
    jbyte (JNICALL *CallStaticByteMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   504
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   505
    jbyte (JNICALL *CallStaticByteMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   506
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   507
    jbyte (JNICALL *CallStaticByteMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   508
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   509
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   510
    jchar (JNICALL *CallStaticCharMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   511
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   512
    jchar (JNICALL *CallStaticCharMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   513
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   514
    jchar (JNICALL *CallStaticCharMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   515
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   516
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   517
    jshort (JNICALL *CallStaticShortMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   518
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   519
    jshort (JNICALL *CallStaticShortMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   520
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   521
    jshort (JNICALL *CallStaticShortMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   522
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   523
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   524
    jint (JNICALL *CallStaticIntMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   525
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   526
    jint (JNICALL *CallStaticIntMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   527
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   528
    jint (JNICALL *CallStaticIntMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   529
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   530
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   531
    jlong (JNICALL *CallStaticLongMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   532
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   533
    jlong (JNICALL *CallStaticLongMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   534
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   535
    jlong (JNICALL *CallStaticLongMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   536
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   537
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   538
    jfloat (JNICALL *CallStaticFloatMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   539
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   540
    jfloat (JNICALL *CallStaticFloatMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   541
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   542
    jfloat (JNICALL *CallStaticFloatMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   543
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   544
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   545
    jdouble (JNICALL *CallStaticDoubleMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   546
      (JNIEnv *env, jclass clazz, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   547
    jdouble (JNICALL *CallStaticDoubleMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   548
      (JNIEnv *env, jclass clazz, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   549
    jdouble (JNICALL *CallStaticDoubleMethodA)       
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   550
      (JNIEnv *env, jclass clazz, jmethodID methodID, jvalue *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   551
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   552
    void (JNICALL *CallStaticVoidMethod)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   553
      (JNIEnv *env, jclass cls, jmethodID methodID, ...);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   554
    void (JNICALL *CallStaticVoidMethodV)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   555
      (JNIEnv *env, jclass cls, jmethodID methodID, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   556
    void (JNICALL *CallStaticVoidMethodA)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   557
      (JNIEnv *env, jclass cls, jmethodID methodID, jvalue * args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   558
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   559
    jfieldID (JNICALL *GetStaticFieldID)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   560
      (JNIEnv *env, jclass clazz, const char *name, const char *sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   561
    jobject (JNICALL *GetStaticObjectField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   562
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   563
    jboolean (JNICALL *GetStaticBooleanField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   564
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   565
    jbyte (JNICALL *GetStaticByteField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   566
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   567
    jchar (JNICALL *GetStaticCharField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   568
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   569
    jshort (JNICALL *GetStaticShortField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   570
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   571
    jint (JNICALL *GetStaticIntField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   572
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   573
    jlong (JNICALL *GetStaticLongField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   574
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   575
    jfloat (JNICALL *GetStaticFloatField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   576
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   577
    jdouble (JNICALL *GetStaticDoubleField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   578
      (JNIEnv *env, jclass clazz, jfieldID fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   579
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   580
    void (JNICALL *SetStaticObjectField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   581
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jobject value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   582
    void (JNICALL *SetStaticBooleanField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   583
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jboolean value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   584
    void (JNICALL *SetStaticByteField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   585
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jbyte value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   586
    void (JNICALL *SetStaticCharField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   587
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jchar value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   588
    void (JNICALL *SetStaticShortField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   589
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jshort value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   590
    void (JNICALL *SetStaticIntField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   591
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jint value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   592
    void (JNICALL *SetStaticLongField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   593
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jlong value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   594
    void (JNICALL *SetStaticFloatField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   595
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jfloat value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   596
    void (JNICALL *SetStaticDoubleField)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   597
      (JNIEnv *env, jclass clazz, jfieldID fieldID, jdouble value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   598
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   599
    jstring (JNICALL *NewString)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   600
      (JNIEnv *env, const jchar *unicode, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   601
    jsize (JNICALL *GetStringLength)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   602
      (JNIEnv *env, jstring str);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   603
    const jchar *(JNICALL *GetStringChars)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   604
      (JNIEnv *env, jstring str, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   605
    void (JNICALL *ReleaseStringChars)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   606
      (JNIEnv *env, jstring str, const jchar *chars);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   607
  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   608
    jstring (JNICALL *NewStringUTF)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   609
      (JNIEnv *env, const char *utf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   610
    jsize (JNICALL *GetStringUTFLength)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   611
      (JNIEnv *env, jstring str);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   612
    const char* (JNICALL *GetStringUTFChars)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   613
      (JNIEnv *env, jstring str, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   614
    void (JNICALL *ReleaseStringUTFChars)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   615
      (JNIEnv *env, jstring str, const char* chars);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   616
  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   617
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   618
    jsize (JNICALL *GetArrayLength)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   619
      (JNIEnv *env, jarray array);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   620
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   621
    jobjectArray (JNICALL *NewObjectArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   622
      (JNIEnv *env, jsize len, jclass clazz, jobject init);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   623
    jobject (JNICALL *GetObjectArrayElement)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   624
      (JNIEnv *env, jobjectArray array, jsize index);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   625
    void (JNICALL *SetObjectArrayElement)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   626
      (JNIEnv *env, jobjectArray array, jsize index, jobject val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   627
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   628
    jbooleanArray (JNICALL *NewBooleanArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   629
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   630
    jbyteArray (JNICALL *NewByteArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   631
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   632
    jcharArray (JNICALL *NewCharArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   633
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   634
    jshortArray (JNICALL *NewShortArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   635
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   636
    jintArray (JNICALL *NewIntArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   637
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   638
    jlongArray (JNICALL *NewLongArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   639
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   640
    jfloatArray (JNICALL *NewFloatArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   641
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   642
    jdoubleArray (JNICALL *NewDoubleArray)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   643
      (JNIEnv *env, jsize len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   644
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   645
    jboolean * (JNICALL *GetBooleanArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   646
      (JNIEnv *env, jbooleanArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   647
    jbyte * (JNICALL *GetByteArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   648
      (JNIEnv *env, jbyteArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   649
    jchar * (JNICALL *GetCharArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   650
      (JNIEnv *env, jcharArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   651
    jshort * (JNICALL *GetShortArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   652
      (JNIEnv *env, jshortArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   653
    jint * (JNICALL *GetIntArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   654
      (JNIEnv *env, jintArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   655
    jlong * (JNICALL *GetLongArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   656
      (JNIEnv *env, jlongArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   657
    jfloat * (JNICALL *GetFloatArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   658
      (JNIEnv *env, jfloatArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   659
    jdouble * (JNICALL *GetDoubleArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   660
      (JNIEnv *env, jdoubleArray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   661
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   662
    void (JNICALL *ReleaseBooleanArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   663
      (JNIEnv *env, jbooleanArray array, jboolean *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   664
    void (JNICALL *ReleaseByteArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   665
      (JNIEnv *env, jbyteArray array, jbyte *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   666
    void (JNICALL *ReleaseCharArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   667
      (JNIEnv *env, jcharArray array, jchar *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   668
    void (JNICALL *ReleaseShortArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   669
      (JNIEnv *env, jshortArray array, jshort *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   670
    void (JNICALL *ReleaseIntArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   671
      (JNIEnv *env, jintArray array, jint *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   672
    void (JNICALL *ReleaseLongArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   673
      (JNIEnv *env, jlongArray array, jlong *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   674
    void (JNICALL *ReleaseFloatArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   675
      (JNIEnv *env, jfloatArray array, jfloat *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   676
    void (JNICALL *ReleaseDoubleArrayElements)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   677
      (JNIEnv *env, jdoubleArray array, jdouble *elems, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   678
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   679
    void (JNICALL *GetBooleanArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   680
      (JNIEnv *env, jbooleanArray array, jsize start, jsize l, jboolean *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   681
    void (JNICALL *GetByteArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   682
      (JNIEnv *env, jbyteArray array, jsize start, jsize len, jbyte *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   683
    void (JNICALL *GetCharArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   684
      (JNIEnv *env, jcharArray array, jsize start, jsize len, jchar *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   685
    void (JNICALL *GetShortArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   686
      (JNIEnv *env, jshortArray array, jsize start, jsize len, jshort *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   687
    void (JNICALL *GetIntArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   688
      (JNIEnv *env, jintArray array, jsize start, jsize len, jint *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   689
    void (JNICALL *GetLongArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   690
      (JNIEnv *env, jlongArray array, jsize start, jsize len, jlong *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   691
    void (JNICALL *GetFloatArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   692
      (JNIEnv *env, jfloatArray array, jsize start, jsize len, jfloat *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   693
    void (JNICALL *GetDoubleArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   694
      (JNIEnv *env, jdoubleArray array, jsize start, jsize len, jdouble *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   695
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   696
    void (JNICALL *SetBooleanArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   697
      (JNIEnv *env, jbooleanArray array, jsize start, jsize l, jboolean *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   698
    void (JNICALL *SetByteArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   699
      (JNIEnv *env, jbyteArray array, jsize start, jsize len, jbyte *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   700
    void (JNICALL *SetCharArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   701
      (JNIEnv *env, jcharArray array, jsize start, jsize len, jchar *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   702
    void (JNICALL *SetShortArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   703
      (JNIEnv *env, jshortArray array, jsize start, jsize len, jshort *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   704
    void (JNICALL *SetIntArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   705
      (JNIEnv *env, jintArray array, jsize start, jsize len, jint *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   706
    void (JNICALL *SetLongArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   707
      (JNIEnv *env, jlongArray array, jsize start, jsize len, jlong *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   708
    void (JNICALL *SetFloatArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   709
      (JNIEnv *env, jfloatArray array, jsize start, jsize len, jfloat *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   710
    void (JNICALL *SetDoubleArrayRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   711
      (JNIEnv *env, jdoubleArray array, jsize start, jsize len, jdouble *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   712
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   713
    jint (JNICALL *RegisterNatives)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   714
      (JNIEnv *env, jclass clazz, const JNINativeMethod *methods, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   715
       jint nMethods);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   716
    jint (JNICALL *UnregisterNatives)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   717
      (JNIEnv *env, jclass clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   718
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   719
    jint (JNICALL *MonitorEnter)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   720
      (JNIEnv *env, jobject obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   721
    jint (JNICALL *MonitorExit)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   722
      (JNIEnv *env, jobject obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   723
 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   724
    jint (JNICALL *GetJavaVM)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   725
      (JNIEnv *env, JavaVM **vm);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   726
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   727
    void (JNICALL *GetStringRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   728
      (JNIEnv *env, jstring str, jsize start, jsize len, jchar *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   729
    void (JNICALL *GetStringUTFRegion)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   730
      (JNIEnv *env, jstring str, jsize start, jsize len, char *buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   731
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   732
    void * (JNICALL *GetPrimitiveArrayCritical)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   733
      (JNIEnv *env, jarray array, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   734
    void (JNICALL *ReleasePrimitiveArrayCritical)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   735
      (JNIEnv *env, jarray array, void *carray, jint mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   736
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   737
    const jchar * (JNICALL *GetStringCritical)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   738
      (JNIEnv *env, jstring string, jboolean *isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   739
    void (JNICALL *ReleaseStringCritical)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   740
      (JNIEnv *env, jstring string, const jchar *cstring);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   741
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   742
    jweak (JNICALL *NewWeakGlobalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   743
       (JNIEnv *env, jobject obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   744
    void (JNICALL *DeleteWeakGlobalRef)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   745
       (JNIEnv *env, jweak ref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   746
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   747
    jboolean (JNICALL *ExceptionCheck)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   748
       (JNIEnv *env);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   749
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   750
    jobject (JNICALL *NewDirectByteBuffer)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   751
       (JNIEnv* env, void* address, jlong capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   752
    void* (JNICALL *GetDirectBufferAddress)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   753
       (JNIEnv* env, jobject buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   754
    jlong (JNICALL *GetDirectBufferCapacity)
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   755
       (JNIEnv* env, jobject buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   756
};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   757
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   758
/*
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   759
 * We use inlined functions for C++ so that programmers can write:
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   760
 * 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   761
 *    env->FindClass("java/lang/String")
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   762
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   763
 * in C++ rather than:
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   764
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   765
 *    (*env)->FindClass(env, "java/lang/String")
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   766
 *
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   767
 * in C.
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   768
 */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   769
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   770
struct JNIEnv_ {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   771
    const struct JNINativeInterface_ *functions;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   772
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   773
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   774
    jint GetVersion() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   775
        return functions->GetVersion(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   776
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   777
    jclass DefineClass(const char *name, jobject loader, const jbyte *buf,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   778
		       jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   779
        return functions->DefineClass(this, name, loader, buf, len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   780
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   781
    jclass FindClass(const char *name) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   782
        return functions->FindClass(this, name);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   783
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   784
    jmethodID FromReflectedMethod(jobject method) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   785
        return functions->FromReflectedMethod(this,method);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   786
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   787
    jfieldID FromReflectedField(jobject field) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   788
        return functions->FromReflectedField(this,field);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   789
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   790
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   791
    jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   792
        return functions->ToReflectedMethod(this, cls, methodID, isStatic);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   793
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   794
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   795
    jclass GetSuperclass(jclass sub) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   796
        return functions->GetSuperclass(this, sub);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   797
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   798
    jboolean IsAssignableFrom(jclass sub, jclass sup) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   799
        return functions->IsAssignableFrom(this, sub, sup);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   800
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   801
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   802
    jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   803
        return functions->ToReflectedField(this,cls,fieldID,isStatic);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   804
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   805
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   806
    jint Throw(jthrowable obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   807
        return functions->Throw(this, obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   808
    }    
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   809
    jint ThrowNew(jclass clazz, const char *msg) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   810
        return functions->ThrowNew(this, clazz, msg);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   811
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   812
    jthrowable ExceptionOccurred() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   813
        return functions->ExceptionOccurred(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   814
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   815
    void ExceptionDescribe() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   816
        functions->ExceptionDescribe(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   817
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   818
    void ExceptionClear() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   819
        functions->ExceptionClear(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   820
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   821
    void FatalError(const char *msg) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   822
        functions->FatalError(this, msg);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   823
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   824
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   825
    jint PushLocalFrame(jint capacity) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   826
        return functions->PushLocalFrame(this,capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   827
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   828
    jobject PopLocalFrame(jobject result) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   829
        return functions->PopLocalFrame(this,result);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   830
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   831
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   832
    jobject NewGlobalRef(jobject lobj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   833
        return functions->NewGlobalRef(this,lobj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   834
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   835
    void DeleteGlobalRef(jobject gref) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   836
        functions->DeleteGlobalRef(this,gref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   837
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   838
    void DeleteLocalRef(jobject obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   839
        functions->DeleteLocalRef(this, obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   840
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   841
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   842
    jboolean IsSameObject(jobject obj1, jobject obj2) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   843
        return functions->IsSameObject(this,obj1,obj2);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   844
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   845
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   846
    jobject NewLocalRef(jobject ref) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   847
        return functions->NewLocalRef(this,ref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   848
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   849
    jint EnsureLocalCapacity(jint capacity) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   850
        return functions->EnsureLocalCapacity(this,capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   851
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   852
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   853
    jobject AllocObject(jclass clazz) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   854
        return functions->AllocObject(this,clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   855
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   856
    jobject NewObject(jclass clazz, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   857
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   858
	jobject result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   859
	va_start(args, methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   860
        result = functions->NewObjectV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   861
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   862
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   863
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   864
    jobject NewObjectV(jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   865
		       va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   866
        return functions->NewObjectV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   867
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   868
    jobject NewObjectA(jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   869
		       jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   870
        return functions->NewObjectA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   871
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   872
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   873
    jclass GetObjectClass(jobject obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   874
        return functions->GetObjectClass(this,obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   875
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   876
    jboolean IsInstanceOf(jobject obj, jclass clazz) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   877
        return functions->IsInstanceOf(this,obj,clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   878
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   879
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   880
    jmethodID GetMethodID(jclass clazz, const char *name, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   881
			  const char *sig) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   882
        return functions->GetMethodID(this,clazz,name,sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   883
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   884
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   885
    jobject CallObjectMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   886
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   887
	jobject result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   888
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   889
	result = functions->CallObjectMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   890
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   891
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   892
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   893
    jobject CallObjectMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   894
			va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   895
        return functions->CallObjectMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   896
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   897
    jobject CallObjectMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   898
			jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   899
        return functions->CallObjectMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   900
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   901
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   902
    jboolean CallBooleanMethod(jobject obj, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   903
			       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   904
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   905
	jboolean result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   906
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   907
	result = functions->CallBooleanMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   908
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   909
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   910
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   911
    jboolean CallBooleanMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   912
				va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   913
        return functions->CallBooleanMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   914
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   915
    jboolean CallBooleanMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   916
				jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   917
        return functions->CallBooleanMethodA(this,obj,methodID, args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   918
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   919
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   920
    jbyte CallByteMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   921
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   922
	jbyte result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   923
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   924
	result = functions->CallByteMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   925
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   926
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   927
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   928
    jbyte CallByteMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   929
			  va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   930
        return functions->CallByteMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   931
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   932
    jbyte CallByteMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   933
			  jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   934
        return functions->CallByteMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   935
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   936
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   937
    jchar CallCharMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   938
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   939
	jchar result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   940
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   941
	result = functions->CallCharMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   942
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   943
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   944
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   945
    jchar CallCharMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   946
			  va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   947
        return functions->CallCharMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   948
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   949
    jchar CallCharMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   950
			  jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   951
        return functions->CallCharMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   952
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   953
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   954
    jshort CallShortMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   955
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   956
	jshort result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   957
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   958
	result = functions->CallShortMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   959
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   960
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   961
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   962
    jshort CallShortMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   963
			    va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   964
        return functions->CallShortMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   965
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   966
    jshort CallShortMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   967
			    jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   968
        return functions->CallShortMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   969
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   970
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   971
    jint CallIntMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   972
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   973
	jint result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   974
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   975
	result = functions->CallIntMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   976
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   977
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   978
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   979
    jint CallIntMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   980
			va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   981
        return functions->CallIntMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   982
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   983
    jint CallIntMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   984
			jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   985
        return functions->CallIntMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   986
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   987
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   988
    jlong CallLongMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   989
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   990
	jlong result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   991
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   992
	result = functions->CallLongMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   993
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   994
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   995
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   996
    jlong CallLongMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   997
			  va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   998
        return functions->CallLongMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
   999
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1000
    jlong CallLongMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1001
			  jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1002
        return functions->CallLongMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1003
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1004
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1005
    jfloat CallFloatMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1006
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1007
	jfloat result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1008
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1009
	result = functions->CallFloatMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1010
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1011
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1012
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1013
    jfloat CallFloatMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1014
			    va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1015
        return functions->CallFloatMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1016
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1017
    jfloat CallFloatMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1018
			    jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1019
        return functions->CallFloatMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1020
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1021
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1022
    jdouble CallDoubleMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1023
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1024
	jdouble result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1025
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1026
	result = functions->CallDoubleMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1027
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1028
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1029
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1030
    jdouble CallDoubleMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1031
			va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1032
        return functions->CallDoubleMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1033
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1034
    jdouble CallDoubleMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1035
			jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1036
        return functions->CallDoubleMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1037
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1038
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1039
    void CallVoidMethod(jobject obj, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1040
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1041
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1042
	functions->CallVoidMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1043
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1044
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1045
    void CallVoidMethodV(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1046
			 va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1047
        functions->CallVoidMethodV(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1048
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1049
    void CallVoidMethodA(jobject obj, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1050
			 jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1051
        functions->CallVoidMethodA(this,obj,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1052
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1053
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1054
    jobject CallNonvirtualObjectMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1055
				       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1056
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1057
	jobject result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1058
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1059
	result = functions->CallNonvirtualObjectMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1060
							methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1061
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1062
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1063
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1064
    jobject CallNonvirtualObjectMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1065
					jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1066
        return functions->CallNonvirtualObjectMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1067
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1068
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1069
    jobject CallNonvirtualObjectMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1070
					jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1071
        return functions->CallNonvirtualObjectMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1072
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1073
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1074
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1075
    jboolean CallNonvirtualBooleanMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1076
					 jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1077
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1078
	jboolean result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1079
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1080
	result = functions->CallNonvirtualBooleanMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1081
							 methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1082
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1083
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1084
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1085
    jboolean CallNonvirtualBooleanMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1086
					  jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1087
        return functions->CallNonvirtualBooleanMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1088
						       methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1089
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1090
    jboolean CallNonvirtualBooleanMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1091
					  jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1092
        return functions->CallNonvirtualBooleanMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1093
						       methodID, args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1094
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1095
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1096
    jbyte CallNonvirtualByteMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1097
				   jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1098
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1099
	jbyte result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1100
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1101
	result = functions->CallNonvirtualByteMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1102
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1103
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1104
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1105
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1106
    jbyte CallNonvirtualByteMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1107
				    jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1108
        return functions->CallNonvirtualByteMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1109
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1110
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1111
    jbyte CallNonvirtualByteMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1112
				    jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1113
        return functions->CallNonvirtualByteMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1114
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1115
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1116
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1117
    jchar CallNonvirtualCharMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1118
				   jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1119
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1120
	jchar result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1121
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1122
	result = functions->CallNonvirtualCharMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1123
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1124
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1125
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1126
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1127
    jchar CallNonvirtualCharMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1128
				    jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1129
        return functions->CallNonvirtualCharMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1130
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1131
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1132
    jchar CallNonvirtualCharMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1133
				    jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1134
        return functions->CallNonvirtualCharMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1135
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1136
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1137
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1138
    jshort CallNonvirtualShortMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1139
				     jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1140
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1141
	jshort result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1142
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1143
	result = functions->CallNonvirtualShortMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1144
						       methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1145
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1146
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1147
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1148
    jshort CallNonvirtualShortMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1149
				      jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1150
        return functions->CallNonvirtualShortMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1151
						     methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1152
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1153
    jshort CallNonvirtualShortMethodA(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1154
				      jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1155
        return functions->CallNonvirtualShortMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1156
						     methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1157
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1158
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1159
    jint CallNonvirtualIntMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1160
				 jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1161
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1162
	jint result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1163
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1164
	result = functions->CallNonvirtualIntMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1165
						     methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1166
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1167
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1168
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1169
    jint CallNonvirtualIntMethodV(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1170
				  jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1171
        return functions->CallNonvirtualIntMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1172
						   methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1173
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1174
    jint CallNonvirtualIntMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1175
				  jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1176
        return functions->CallNonvirtualIntMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1177
						   methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1178
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1179
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1180
    jlong CallNonvirtualLongMethod(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1181
				   jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1182
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1183
	jlong result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1184
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1185
	result = functions->CallNonvirtualLongMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1186
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1187
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1188
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1189
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1190
    jlong CallNonvirtualLongMethodV(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1191
				    jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1192
        return functions->CallNonvirtualLongMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1193
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1194
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1195
    jlong CallNonvirtualLongMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1196
				    jmethodID methodID, jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1197
        return functions->CallNonvirtualLongMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1198
						    methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1199
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1200
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1201
    jfloat CallNonvirtualFloatMethod(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1202
				     jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1203
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1204
	jfloat result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1205
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1206
	result = functions->CallNonvirtualFloatMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1207
						       methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1208
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1209
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1210
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1211
    jfloat CallNonvirtualFloatMethodV(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1212
				      jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1213
				      va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1214
        return functions->CallNonvirtualFloatMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1215
						     methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1216
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1217
    jfloat CallNonvirtualFloatMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1218
				      jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1219
				      jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1220
        return functions->CallNonvirtualFloatMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1221
						     methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1222
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1223
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1224
    jdouble CallNonvirtualDoubleMethod(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1225
				       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1226
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1227
	jdouble result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1228
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1229
	result = functions->CallNonvirtualDoubleMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1230
							methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1231
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1232
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1233
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1234
    jdouble CallNonvirtualDoubleMethodV(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1235
					jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1236
					va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1237
        return functions->CallNonvirtualDoubleMethodV(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1238
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1239
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1240
    jdouble CallNonvirtualDoubleMethodA(jobject obj, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1241
					jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1242
					jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1243
        return functions->CallNonvirtualDoubleMethodA(this,obj,clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1244
						      methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1245
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1246
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1247
    void CallNonvirtualVoidMethod(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1248
				  jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1249
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1250
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1251
	functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1252
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1253
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1254
    void CallNonvirtualVoidMethodV(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1255
				   jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1256
				   va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1257
        functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1258
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1259
    void CallNonvirtualVoidMethodA(jobject obj, jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1260
				   jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1261
				   jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1262
        functions->CallNonvirtualVoidMethodA(this,obj,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1263
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1264
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1265
    jfieldID GetFieldID(jclass clazz, const char *name, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1266
			const char *sig) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1267
        return functions->GetFieldID(this,clazz,name,sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1268
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1269
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1270
    jobject GetObjectField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1271
        return functions->GetObjectField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1272
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1273
    jboolean GetBooleanField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1274
        return functions->GetBooleanField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1275
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1276
    jbyte GetByteField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1277
        return functions->GetByteField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1278
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1279
    jchar GetCharField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1280
        return functions->GetCharField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1281
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1282
    jshort GetShortField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1283
        return functions->GetShortField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1284
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1285
    jint GetIntField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1286
        return functions->GetIntField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1287
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1288
    jlong GetLongField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1289
        return functions->GetLongField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1290
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1291
    jfloat GetFloatField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1292
        return functions->GetFloatField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1293
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1294
    jdouble GetDoubleField(jobject obj, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1295
        return functions->GetDoubleField(this,obj,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1296
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1297
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1298
    void SetObjectField(jobject obj, jfieldID fieldID, jobject val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1299
        functions->SetObjectField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1300
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1301
    void SetBooleanField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1302
			 jboolean val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1303
        functions->SetBooleanField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1304
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1305
    void SetByteField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1306
		      jbyte val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1307
        functions->SetByteField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1308
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1309
    void SetCharField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1310
		      jchar val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1311
        functions->SetCharField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1312
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1313
    void SetShortField(jobject obj, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1314
		       jshort val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1315
        functions->SetShortField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1316
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1317
    void SetIntField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1318
		     jint val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1319
        functions->SetIntField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1320
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1321
    void SetLongField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1322
		      jlong val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1323
        functions->SetLongField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1324
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1325
    void SetFloatField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1326
		       jfloat val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1327
        functions->SetFloatField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1328
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1329
    void SetDoubleField(jobject obj, jfieldID fieldID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1330
			jdouble val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1331
        functions->SetDoubleField(this,obj,fieldID,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1332
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1333
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1334
    jmethodID GetStaticMethodID(jclass clazz, const char *name, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1335
				const char *sig) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1336
        return functions->GetStaticMethodID(this,clazz,name,sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1337
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1338
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1339
    jobject CallStaticObjectMethod(jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1340
			     ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1341
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1342
	jobject result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1343
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1344
	result = functions->CallStaticObjectMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1345
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1346
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1347
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1348
    jobject CallStaticObjectMethodV(jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1349
			      va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1350
        return functions->CallStaticObjectMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1351
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1352
    jobject CallStaticObjectMethodA(jclass clazz, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1353
			      jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1354
        return functions->CallStaticObjectMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1355
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1356
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1357
    jboolean CallStaticBooleanMethod(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1358
				     jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1359
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1360
	jboolean result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1361
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1362
	result = functions->CallStaticBooleanMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1363
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1364
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1365
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1366
    jboolean CallStaticBooleanMethodV(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1367
				      jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1368
        return functions->CallStaticBooleanMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1369
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1370
    jboolean CallStaticBooleanMethodA(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1371
				      jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1372
        return functions->CallStaticBooleanMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1373
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1374
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1375
    jbyte CallStaticByteMethod(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1376
			       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1377
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1378
	jbyte result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1379
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1380
	result = functions->CallStaticByteMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1381
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1382
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1383
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1384
    jbyte CallStaticByteMethodV(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1385
				jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1386
        return functions->CallStaticByteMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1387
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1388
    jbyte CallStaticByteMethodA(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1389
				jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1390
        return functions->CallStaticByteMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1391
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1392
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1393
    jchar CallStaticCharMethod(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1394
			       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1395
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1396
	jchar result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1397
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1398
	result = functions->CallStaticCharMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1399
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1400
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1401
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1402
    jchar CallStaticCharMethodV(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1403
				jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1404
        return functions->CallStaticCharMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1405
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1406
    jchar CallStaticCharMethodA(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1407
				jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1408
        return functions->CallStaticCharMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1409
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1410
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1411
    jshort CallStaticShortMethod(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1412
				 jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1413
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1414
	jshort result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1415
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1416
	result = functions->CallStaticShortMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1417
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1418
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1419
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1420
    jshort CallStaticShortMethodV(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1421
				  jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1422
        return functions->CallStaticShortMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1423
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1424
    jshort CallStaticShortMethodA(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1425
				  jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1426
        return functions->CallStaticShortMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1427
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1428
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1429
    jint CallStaticIntMethod(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1430
			     jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1431
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1432
	jint result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1433
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1434
	result = functions->CallStaticIntMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1435
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1436
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1437
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1438
    jint CallStaticIntMethodV(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1439
			      jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1440
        return functions->CallStaticIntMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1441
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1442
    jint CallStaticIntMethodA(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1443
			      jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1444
        return functions->CallStaticIntMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1445
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1446
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1447
    jlong CallStaticLongMethod(jclass clazz,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1448
			       jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1449
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1450
	jlong result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1451
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1452
	result = functions->CallStaticLongMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1453
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1454
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1455
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1456
    jlong CallStaticLongMethodV(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1457
				jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1458
        return functions->CallStaticLongMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1459
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1460
    jlong CallStaticLongMethodA(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1461
				jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1462
        return functions->CallStaticLongMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1463
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1464
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1465
    jfloat CallStaticFloatMethod(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1466
				 jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1467
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1468
	jfloat result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1469
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1470
	result = functions->CallStaticFloatMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1471
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1472
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1473
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1474
    jfloat CallStaticFloatMethodV(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1475
				  jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1476
        return functions->CallStaticFloatMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1477
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1478
    jfloat CallStaticFloatMethodA(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1479
				  jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1480
        return functions->CallStaticFloatMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1481
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1482
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1483
    jdouble CallStaticDoubleMethod(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1484
				   jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1485
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1486
	jdouble result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1487
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1488
	result = functions->CallStaticDoubleMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1489
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1490
	return result;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1491
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1492
    jdouble CallStaticDoubleMethodV(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1493
				    jmethodID methodID, va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1494
        return functions->CallStaticDoubleMethodV(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1495
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1496
    jdouble CallStaticDoubleMethodA(jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1497
				    jmethodID methodID, jvalue *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1498
        return functions->CallStaticDoubleMethodA(this,clazz,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1499
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1500
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1501
    void CallStaticVoidMethod(jclass cls, jmethodID methodID, ...) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1502
        va_list args;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1503
	va_start(args,methodID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1504
	functions->CallStaticVoidMethodV(this,cls,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1505
	va_end(args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1506
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1507
    void CallStaticVoidMethodV(jclass cls, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1508
			       va_list args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1509
        functions->CallStaticVoidMethodV(this,cls,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1510
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1511
    void CallStaticVoidMethodA(jclass cls, jmethodID methodID, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1512
			       jvalue * args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1513
        functions->CallStaticVoidMethodA(this,cls,methodID,args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1514
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1515
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1516
    jfieldID GetStaticFieldID(jclass clazz, const char *name, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1517
			      const char *sig) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1518
        return functions->GetStaticFieldID(this,clazz,name,sig);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1519
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1520
    jobject GetStaticObjectField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1521
        return functions->GetStaticObjectField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1522
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1523
    jboolean GetStaticBooleanField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1524
        return functions->GetStaticBooleanField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1525
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1526
    jbyte GetStaticByteField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1527
        return functions->GetStaticByteField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1528
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1529
    jchar GetStaticCharField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1530
        return functions->GetStaticCharField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1531
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1532
    jshort GetStaticShortField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1533
        return functions->GetStaticShortField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1534
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1535
    jint GetStaticIntField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1536
        return functions->GetStaticIntField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1537
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1538
    jlong GetStaticLongField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1539
        return functions->GetStaticLongField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1540
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1541
    jfloat GetStaticFloatField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1542
        return functions->GetStaticFloatField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1543
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1544
    jdouble GetStaticDoubleField(jclass clazz, jfieldID fieldID) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1545
        return functions->GetStaticDoubleField(this,clazz,fieldID);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1546
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1547
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1548
    void SetStaticObjectField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1549
			jobject value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1550
      functions->SetStaticObjectField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1551
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1552
    void SetStaticBooleanField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1553
			jboolean value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1554
      functions->SetStaticBooleanField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1555
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1556
    void SetStaticByteField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1557
			jbyte value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1558
      functions->SetStaticByteField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1559
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1560
    void SetStaticCharField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1561
			jchar value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1562
      functions->SetStaticCharField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1563
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1564
    void SetStaticShortField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1565
			jshort value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1566
      functions->SetStaticShortField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1567
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1568
    void SetStaticIntField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1569
			jint value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1570
      functions->SetStaticIntField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1571
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1572
    void SetStaticLongField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1573
			jlong value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1574
      functions->SetStaticLongField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1575
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1576
    void SetStaticFloatField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1577
			jfloat value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1578
      functions->SetStaticFloatField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1579
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1580
    void SetStaticDoubleField(jclass clazz, jfieldID fieldID,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1581
			jdouble value) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1582
      functions->SetStaticDoubleField(this,clazz,fieldID,value);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1583
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1584
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1585
    jstring NewString(const jchar *unicode, jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1586
        return functions->NewString(this,unicode,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1587
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1588
    jsize GetStringLength(jstring str) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1589
        return functions->GetStringLength(this,str);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1590
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1591
    const jchar *GetStringChars(jstring str, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1592
        return functions->GetStringChars(this,str,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1593
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1594
    void ReleaseStringChars(jstring str, const jchar *chars) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1595
        functions->ReleaseStringChars(this,str,chars);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1596
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1597
  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1598
    jstring NewStringUTF(const char *utf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1599
        return functions->NewStringUTF(this,utf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1600
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1601
    jsize GetStringUTFLength(jstring str) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1602
        return functions->GetStringUTFLength(this,str);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1603
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1604
    const char* GetStringUTFChars(jstring str, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1605
        return functions->GetStringUTFChars(this,str,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1606
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1607
    void ReleaseStringUTFChars(jstring str, const char* chars) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1608
        functions->ReleaseStringUTFChars(this,str,chars);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1609
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1610
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1611
    jsize GetArrayLength(jarray array) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1612
        return functions->GetArrayLength(this,array);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1613
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1614
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1615
    jobjectArray NewObjectArray(jsize len, jclass clazz, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1616
				jobject init) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1617
        return functions->NewObjectArray(this,len,clazz,init);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1618
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1619
    jobject GetObjectArrayElement(jobjectArray array, jsize index) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1620
        return functions->GetObjectArrayElement(this,array,index);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1621
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1622
    void SetObjectArrayElement(jobjectArray array, jsize index, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1623
			       jobject val) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1624
        functions->SetObjectArrayElement(this,array,index,val);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1625
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1626
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1627
    jbooleanArray NewBooleanArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1628
        return functions->NewBooleanArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1629
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1630
    jbyteArray NewByteArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1631
        return functions->NewByteArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1632
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1633
    jcharArray NewCharArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1634
        return functions->NewCharArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1635
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1636
    jshortArray NewShortArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1637
        return functions->NewShortArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1638
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1639
    jintArray NewIntArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1640
        return functions->NewIntArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1641
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1642
    jlongArray NewLongArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1643
        return functions->NewLongArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1644
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1645
    jfloatArray NewFloatArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1646
        return functions->NewFloatArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1647
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1648
    jdoubleArray NewDoubleArray(jsize len) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1649
        return functions->NewDoubleArray(this,len);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1650
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1651
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1652
    jboolean * GetBooleanArrayElements(jbooleanArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1653
        return functions->GetBooleanArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1654
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1655
    jbyte * GetByteArrayElements(jbyteArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1656
        return functions->GetByteArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1657
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1658
    jchar * GetCharArrayElements(jcharArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1659
        return functions->GetCharArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1660
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1661
    jshort * GetShortArrayElements(jshortArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1662
        return functions->GetShortArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1663
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1664
    jint * GetIntArrayElements(jintArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1665
        return functions->GetIntArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1666
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1667
    jlong * GetLongArrayElements(jlongArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1668
        return functions->GetLongArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1669
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1670
    jfloat * GetFloatArrayElements(jfloatArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1671
        return functions->GetFloatArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1672
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1673
    jdouble * GetDoubleArrayElements(jdoubleArray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1674
        return functions->GetDoubleArrayElements(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1675
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1676
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1677
    void ReleaseBooleanArrayElements(jbooleanArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1678
				     jboolean *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1679
				     jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1680
        functions->ReleaseBooleanArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1681
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1682
    void ReleaseByteArrayElements(jbyteArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1683
				  jbyte *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1684
				  jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1685
        functions->ReleaseByteArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1686
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1687
    void ReleaseCharArrayElements(jcharArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1688
				  jchar *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1689
				  jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1690
        functions->ReleaseCharArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1691
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1692
    void ReleaseShortArrayElements(jshortArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1693
				   jshort *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1694
				   jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1695
        functions->ReleaseShortArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1696
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1697
    void ReleaseIntArrayElements(jintArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1698
				 jint *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1699
				 jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1700
        functions->ReleaseIntArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1701
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1702
    void ReleaseLongArrayElements(jlongArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1703
				  jlong *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1704
				  jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1705
        functions->ReleaseLongArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1706
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1707
    void ReleaseFloatArrayElements(jfloatArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1708
				   jfloat *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1709
				   jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1710
        functions->ReleaseFloatArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1711
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1712
    void ReleaseDoubleArrayElements(jdoubleArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1713
				    jdouble *elems,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1714
				    jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1715
        functions->ReleaseDoubleArrayElements(this,array,elems,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1716
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1717
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1718
    void GetBooleanArrayRegion(jbooleanArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1719
			       jsize start, jsize len, jboolean *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1720
        functions->GetBooleanArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1721
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1722
    void GetByteArrayRegion(jbyteArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1723
			    jsize start, jsize len, jbyte *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1724
        functions->GetByteArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1725
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1726
    void GetCharArrayRegion(jcharArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1727
			    jsize start, jsize len, jchar *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1728
        functions->GetCharArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1729
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1730
    void GetShortArrayRegion(jshortArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1731
			     jsize start, jsize len, jshort *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1732
        functions->GetShortArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1733
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1734
    void GetIntArrayRegion(jintArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1735
			   jsize start, jsize len, jint *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1736
        functions->GetIntArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1737
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1738
    void GetLongArrayRegion(jlongArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1739
			    jsize start, jsize len, jlong *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1740
        functions->GetLongArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1741
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1742
    void GetFloatArrayRegion(jfloatArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1743
			     jsize start, jsize len, jfloat *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1744
        functions->GetFloatArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1745
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1746
    void GetDoubleArrayRegion(jdoubleArray array, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1747
			      jsize start, jsize len, jdouble *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1748
        functions->GetDoubleArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1749
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1750
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1751
    void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1752
			       jboolean *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1753
        functions->SetBooleanArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1754
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1755
    void SetByteArrayRegion(jbyteArray array, jsize start, jsize len,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1756
			    jbyte *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1757
        functions->SetByteArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1758
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1759
    void SetCharArrayRegion(jcharArray array, jsize start, jsize len, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1760
			    jchar *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1761
        functions->SetCharArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1762
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1763
    void SetShortArrayRegion(jshortArray array, jsize start, jsize len, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1764
			     jshort *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1765
        functions->SetShortArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1766
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1767
    void SetIntArrayRegion(jintArray array, jsize start, jsize len,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1768
			   jint *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1769
        functions->SetIntArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1770
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1771
    void SetLongArrayRegion(jlongArray array, jsize start, jsize len,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1772
			    jlong *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1773
        functions->SetLongArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1774
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1775
    void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1776
			     jfloat *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1777
        functions->SetFloatArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1778
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1779
    void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1780
			      jdouble *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1781
        functions->SetDoubleArrayRegion(this,array,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1782
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1783
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1784
    jint RegisterNatives(jclass clazz, const JNINativeMethod *methods,
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1785
			 jint nMethods) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1786
        return functions->RegisterNatives(this,clazz,methods,nMethods);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1787
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1788
    jint UnregisterNatives(jclass clazz) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1789
        return functions->UnregisterNatives(this,clazz);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1790
    }  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1791
   
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1792
    jint MonitorEnter(jobject obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1793
        return functions->MonitorEnter(this,obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1794
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1795
    jint MonitorExit(jobject obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1796
        return functions->MonitorExit(this,obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1797
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1798
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1799
    jint GetJavaVM(JavaVM **vm) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1800
        return functions->GetJavaVM(this,vm);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1801
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1802
  
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1803
    void GetStringRegion(jstring str, jsize start, jsize len, jchar *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1804
        functions->GetStringRegion(this,str,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1805
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1806
    void GetStringUTFRegion(jstring str, jsize start, jsize len, char *buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1807
        functions->GetStringUTFRegion(this,str,start,len,buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1808
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1809
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1810
    void * GetPrimitiveArrayCritical(jarray array, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1811
        return functions->GetPrimitiveArrayCritical(this,array,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1812
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1813
    void ReleasePrimitiveArrayCritical(jarray array, void *carray, jint mode) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1814
        functions->ReleasePrimitiveArrayCritical(this,array,carray,mode);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1815
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1816
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1817
    const jchar * GetStringCritical(jstring string, jboolean *isCopy) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1818
        return functions->GetStringCritical(this,string,isCopy);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1819
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1820
    void ReleaseStringCritical(jstring string, const jchar *cstring) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1821
        functions->ReleaseStringCritical(this,string,cstring);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1822
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1823
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1824
    jweak NewWeakGlobalRef(jobject obj) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1825
        return functions->NewWeakGlobalRef(this,obj);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1826
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1827
    void DeleteWeakGlobalRef(jweak ref) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1828
        functions->DeleteWeakGlobalRef(this,ref);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1829
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1830
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1831
    jboolean ExceptionCheck() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1832
	return functions->ExceptionCheck(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1833
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1834
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1835
    jobject NewDirectByteBuffer(void* address, jlong capacity) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1836
        return functions->NewDirectByteBuffer(this, address, capacity);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1837
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1838
    void* GetDirectBufferAddress(jobject buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1839
        return functions->GetDirectBufferAddress(this, buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1840
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1841
    jlong GetDirectBufferCapacity(jobject buf) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1842
        return functions->GetDirectBufferCapacity(this, buf);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1843
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1844
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1845
#endif /* __cplusplus */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1846
};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1847
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1848
typedef struct JavaVMOption {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1849
    char *optionString;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1850
    void *extraInfo;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1851
} JavaVMOption;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1852
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1853
typedef struct JavaVMInitArgs {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1854
    jint version;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1855
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1856
    jint nOptions;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1857
    JavaVMOption *options;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1858
    jboolean ignoreUnrecognized;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1859
} JavaVMInitArgs;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1860
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1861
typedef struct JavaVMAttachArgs {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1862
    jint version;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1863
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1864
    char *name;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1865
    jobject group;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1866
} JavaVMAttachArgs;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1867
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1868
/* These structures will be VM-specific. */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1869
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1870
typedef struct JDK1_1InitArgs {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1871
    jint version;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1872
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1873
    char **properties;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1874
    jint checkSource; 
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1875
    jint nativeStackSize;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1876
    jint javaStackSize;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1877
    jint minHeapSize;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1878
    jint maxHeapSize;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1879
    jint verifyMode;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1880
    char *classpath;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1881
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1882
    jint (JNICALL *vfprintf)(FILE *fp, const char *format, va_list args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1883
    void (JNICALL *exit)(jint code);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1884
    void (JNICALL *abort)(void);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1885
    
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1886
    jint enableClassGC;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1887
    jint enableVerboseGC;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1888
    jint disableAsyncGC;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1889
    jint verbose;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1890
    jboolean debugging;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1891
    jint debugPort;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1892
} JDK1_1InitArgs;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1893
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1894
typedef struct JDK1_1AttachArgs {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1895
    void * __padding; /* C compilers don't allow empty structures. */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1896
} JDK1_1AttachArgs;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1897
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1898
#define JDK1_2
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1899
#define JDK1_4
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1900
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1901
/* End VM-specific. */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1902
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1903
struct JNIInvokeInterface_ {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1904
    void *reserved0;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1905
    void *reserved1;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1906
    void *reserved2;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1907
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1908
    jint (JNICALL *DestroyJavaVM)(JavaVM *vm);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1909
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1910
    jint (JNICALL *AttachCurrentThread)(JavaVM *vm, void **penv, void *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1911
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1912
    jint (JNICALL *DetachCurrentThread)(JavaVM *vm);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1913
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1914
    jint (JNICALL *GetEnv)(JavaVM *vm, void **penv, jint version);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1915
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1916
    jint (JNICALL *AttachCurrentThreadAsDaemon)(JavaVM *vm, void **penv, void *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1917
};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1918
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1919
struct JavaVM_ {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1920
    const struct JNIInvokeInterface_ *functions;
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1921
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1922
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1923
    jint DestroyJavaVM() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1924
        return functions->DestroyJavaVM(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1925
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1926
    jint AttachCurrentThread(void **penv, void *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1927
        return functions->AttachCurrentThread(this, penv, args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1928
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1929
    jint DetachCurrentThread() {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1930
        return functions->DetachCurrentThread(this);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1931
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1932
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1933
    jint GetEnv(void **penv, jint version) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1934
        return functions->GetEnv(this, penv, version);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1935
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1936
    jint AttachCurrentThreadAsDaemon(void **penv, void *args) {
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1937
        return functions->AttachCurrentThreadAsDaemon(this, penv, args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1938
    }
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1939
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1940
};
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1941
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1942
#ifdef _JNI_IMPLEMENTATION_
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1943
#define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1944
#else
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1945
#define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1946
#endif
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1947
_JNI_IMPORT_OR_EXPORT_ jint JNICALL
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1948
JNI_GetDefaultJavaVMInitArgs(void *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1949
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1950
_JNI_IMPORT_OR_EXPORT_ jint JNICALL
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1951
JNI_CreateJavaVM(JavaVM **pvm, void **penv, void *args);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1952
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1953
_JNI_IMPORT_OR_EXPORT_ jint JNICALL
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1954
JNI_GetCreatedJavaVMs(JavaVM **, jsize, jsize *);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1955
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1956
/* Defined by native libraries. */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1957
JNIEXPORT jint JNICALL
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1958
JNI_OnLoad(JavaVM *vm, void *reserved);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1959
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1960
JNIEXPORT void JNICALL
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1961
JNI_OnUnload(JavaVM *vm, void *reserved);
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1962
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1963
#define JNI_VERSION_1_1 0x00010001
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1964
#define JNI_VERSION_1_2 0x00010002
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1965
#define JNI_VERSION_1_4 0x00010004
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1966
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1967
#ifdef __cplusplus
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1968
} /* extern "C" */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1969
#endif /* __cplusplus */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1970
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1971
#endif /* JNI_H */
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1972
e4e5f02787a1 Front IDILL :
bastiena
parents:
diff changeset
  1973