1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(dead_code)]
5
6use crate::jni::*;
11use crate::weak::Weak;
12use crate::varargs::__va_list_tag;
13
14pub type size_t = ::std::os::raw::c_ulong;
15pub type __off_t = ::std::os::raw::c_long;
16pub type __off64_t = ::std::os::raw::c_long;
17
18pub type __FILE = _IO_FILE;
19pub type FILE = _IO_FILE;
20#[repr(C)]
21#[derive(Debug, Copy, Clone)]
22pub struct _IO_marker {
23 _unused: [u8; 0],
24}
25#[repr(C)]
26#[derive(Debug, Copy, Clone)]
27pub struct _IO_codecvt {
28 _unused: [u8; 0],
29}
30#[repr(C)]
31#[derive(Debug, Copy, Clone)]
32pub struct _IO_wide_data {
33 _unused: [u8; 0],
34}
35pub type _IO_lock_t = ::std::os::raw::c_void;
36#[repr(C)]
37#[derive(Debug, Copy, Clone)]
38pub struct _IO_FILE {
39 pub _flags: ::std::os::raw::c_int,
40 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
41 pub _IO_read_end: *mut ::std::os::raw::c_char,
42 pub _IO_read_base: *mut ::std::os::raw::c_char,
43 pub _IO_write_base: *mut ::std::os::raw::c_char,
44 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
45 pub _IO_write_end: *mut ::std::os::raw::c_char,
46 pub _IO_buf_base: *mut ::std::os::raw::c_char,
47 pub _IO_buf_end: *mut ::std::os::raw::c_char,
48 pub _IO_save_base: *mut ::std::os::raw::c_char,
49 pub _IO_backup_base: *mut ::std::os::raw::c_char,
50 pub _IO_save_end: *mut ::std::os::raw::c_char,
51 pub _markers: *mut _IO_marker,
52 pub _chain: *mut _IO_FILE,
53 pub _fileno: ::std::os::raw::c_int,
54 pub _flags2: ::std::os::raw::c_int,
55 pub _old_offset: __off_t,
56 pub _cur_column: ::std::os::raw::c_ushort,
57 pub _vtable_offset: ::std::os::raw::c_schar,
58 pub _shortbuf: [::std::os::raw::c_char; 1usize],
59 pub _lock: *mut _IO_lock_t,
60 pub _offset: __off64_t,
61 pub _codecvt: *mut _IO_codecvt,
62 pub _wide_data: *mut _IO_wide_data,
63 pub _freeres_list: *mut _IO_FILE,
64 pub _freeres_buf: *mut ::std::os::raw::c_void,
65 pub __pad5: size_t,
66 pub _mode: ::std::os::raw::c_int,
67 pub _unused2: [::std::os::raw::c_char; 20usize],
68}
69
70pub static JVM_GetInterfaceVersion: Weak<fn() -> jint> = Weak::new("JVM_GetInterfaceVersion");
71#[doc = "PART 1: Functions for Native Libraries"]
72pub static JVM_IHashCode: Weak<fn(env: *mut JNIEnv, obj: jobject) -> jint> = Weak::new("JVM_IHashCode");
73pub static JVM_MonitorWait: Weak<fn(env: *mut JNIEnv, obj: jobject, ms: jlong)> = Weak::new("JVM_MonitorWait");
74pub static JVM_MonitorNotify: Weak<fn(env: *mut JNIEnv, obj: jobject)> = Weak::new("JVM_MonitorNotify");
75pub static JVM_MonitorNotifyAll: Weak<fn(env: *mut JNIEnv, obj: jobject)> = Weak::new("JVM_MonitorNotifyAll");
76pub static JVM_Clone: Weak<fn(env: *mut JNIEnv, obj: jobject) -> jobject> = Weak::new("JVM_Clone");
77pub static JVM_InternString: Weak<fn(env: *mut JNIEnv, str_: jstring) -> jstring> = Weak::new("JVM_InternString");
78pub static JVM_CurrentTimeMillis: Weak<fn(env: *mut JNIEnv, ignored: jclass) -> jlong> = Weak::new("JVM_CurrentTimeMillis");
79pub static JVM_NanoTime: Weak<fn(env: *mut JNIEnv, ignored: jclass) -> jlong> = Weak::new("JVM_NanoTime");
80pub static JVM_GetNanoTimeAdjustment: Weak<fn(
81 env: *mut JNIEnv,
82 ignored: jclass,
83 offset_secs: jlong,
84 ) -> jlong> = Weak::new("JVM_GetNanoTimeAdjustment");
85pub static JVM_ArrayCopy: Weak<fn(
86 env: *mut JNIEnv,
87 ignored: jclass,
88 src: jobject,
89 src_pos: jint,
90 dst: jobject,
91 dst_pos: jint,
92 length: jint,
93 )> = Weak::new("JVM_ArrayCopy");
94pub static JVM_GetProperties: Weak<fn(env: *mut JNIEnv) -> jobjectArray> = Weak::new("JVM_GetProperties");
95pub static JVM_BeforeHalt: Weak<fn()> = Weak::new("JVM_BeforeHalt");
96pub static JVM_Halt: Weak<fn(code: jint)> = Weak::new("JVM_Halt");
97pub static JVM_GC: Weak<fn()> = Weak::new("JVM_GC");
98pub static JVM_MaxObjectInspectionAge: Weak<fn() -> jlong> = Weak::new("JVM_MaxObjectInspectionAge");
99pub static JVM_TotalMemory: Weak<fn() -> jlong> = Weak::new("JVM_TotalMemory");
100pub static JVM_FreeMemory: Weak<fn() -> jlong> = Weak::new("JVM_FreeMemory");
101pub static JVM_MaxMemory: Weak<fn() -> jlong> = Weak::new("JVM_MaxMemory");
102pub static JVM_ActiveProcessorCount: Weak<fn() -> jint> = Weak::new("JVM_ActiveProcessorCount");
103pub static JVM_LoadLibrary: Weak<fn(name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void> = Weak::new("JVM_LoadLibrary");
104pub static JVM_UnloadLibrary: Weak<fn(handle: *mut ::std::os::raw::c_void)> = Weak::new("JVM_UnloadLibrary");
105pub static JVM_FindLibraryEntry: Weak<fn(
106 handle: *mut ::std::os::raw::c_void,
107 name: *const ::std::os::raw::c_char,
108 ) -> *mut ::std::os::raw::c_void> = Weak::new("JVM_FindLibraryEntry");
109pub static JVM_IsSupportedJNIVersion: Weak<fn(version: jint) -> jboolean> = Weak::new("JVM_IsSupportedJNIVersion");
110pub static JVM_GetVmArguments: Weak<fn(env: *mut JNIEnv) -> jobjectArray> = Weak::new("JVM_GetVmArguments");
111pub static JVM_InitializeFromArchive: Weak<fn(env: *mut JNIEnv, cls: jclass)> = Weak::new("JVM_InitializeFromArchive");
112pub static JVM_RegisterLambdaProxyClassForArchiving: Weak<fn(
113 env: *mut JNIEnv,
114 caller: jclass,
115 invokedName: jstring,
116 invokedType: jobject,
117 methodType: jobject,
118 implMethodMember: jobject,
119 instantiatedMethodType: jobject,
120 lambdaProxyClass: jclass,
121 )> = Weak::new("JVM_RegisterLambdaProxyClassForArchiving");
122pub static JVM_LookupLambdaProxyClassFromArchive: Weak<fn(
123 env: *mut JNIEnv,
124 caller: jclass,
125 invokedName: jstring,
126 invokedType: jobject,
127 methodType: jobject,
128 implMethodMember: jobject,
129 instantiatedMethodType: jobject,
130 initialize: jboolean,
131 ) -> jclass> = Weak::new("JVM_LookupLambdaProxyClassFromArchive");
132pub static JVM_IsCDSDumpingEnabled: Weak<fn(env: *mut JNIEnv) -> jboolean> = Weak::new("JVM_IsCDSDumpingEnabled");
133pub static JVM_IsCDSSharingEnabled: Weak<fn(env: *mut JNIEnv) -> jboolean> = Weak::new("JVM_IsCDSSharingEnabled");
134pub static JVM_GetRandomSeedForCDSDump: Weak<fn() -> jlong> = Weak::new("JVM_GetRandomSeedForCDSDump");
135pub static JVM_FillInStackTrace: Weak<fn(env: *mut JNIEnv, throwable: jobject)> = Weak::new("JVM_FillInStackTrace");
136pub static JVM_InitStackTraceElementArray: Weak<fn(
137 env: *mut JNIEnv,
138 elements: jobjectArray,
139 throwable: jobject,
140 )> = Weak::new("JVM_InitStackTraceElementArray");
141pub static JVM_InitStackTraceElement: Weak<fn(env: *mut JNIEnv, element: jobject, stackFrameInfo: jobject)> = Weak::new("JVM_InitStackTraceElement");
142pub static JVM_GetExtendedNPEMessage: Weak<fn(env: *mut JNIEnv, throwable: jthrowable) -> jstring> = Weak::new("JVM_GetExtendedNPEMessage");
143pub const JVM_STACKWALK_FILL_CLASS_REFS_ONLY: ::std::os::raw::c_uint = 2;
144pub const JVM_STACKWALK_GET_CALLER_CLASS: ::std::os::raw::c_uint = 4;
145pub const JVM_STACKWALK_SHOW_HIDDEN_FRAMES: ::std::os::raw::c_uint = 32;
146pub const JVM_STACKWALK_FILL_LIVE_STACK_FRAMES: ::std::os::raw::c_uint = 256;
147pub static JVM_CallStackWalk: Weak<fn(
148 env: *mut JNIEnv,
149 stackStream: jobject,
150 mode: jlong,
151 skip_frames: jint,
152 frame_count: jint,
153 start_index: jint,
154 frames: jobjectArray,
155 ) -> jobject> = Weak::new("JVM_CallStackWalk");
156pub static JVM_MoreStackWalk: Weak<fn(
157 env: *mut JNIEnv,
158 stackStream: jobject,
159 mode: jlong,
160 anchor: jlong,
161 frame_count: jint,
162 start_index: jint,
163 frames: jobjectArray,
164 ) -> jint> = Weak::new("JVM_MoreStackWalk");
165pub static JVM_StartThread: Weak<fn(env: *mut JNIEnv, thread: jobject)> = Weak::new("JVM_StartThread");
166pub static JVM_StopThread: Weak<fn(env: *mut JNIEnv, thread: jobject, exception: jobject)> = Weak::new("JVM_StopThread");
167pub static JVM_IsThreadAlive: Weak<fn(env: *mut JNIEnv, thread: jobject) -> jboolean> = Weak::new("JVM_IsThreadAlive");
168pub static JVM_SuspendThread: Weak<fn(env: *mut JNIEnv, thread: jobject)> = Weak::new("JVM_SuspendThread");
169pub static JVM_ResumeThread: Weak<fn(env: *mut JNIEnv, thread: jobject)> = Weak::new("JVM_ResumeThread");
170pub static JVM_SetThreadPriority: Weak<fn(env: *mut JNIEnv, thread: jobject, prio: jint)> = Weak::new("JVM_SetThreadPriority");
171pub static JVM_Yield: Weak<fn(env: *mut JNIEnv, threadClass: jclass)> = Weak::new("JVM_Yield");
172pub static JVM_Sleep: Weak<fn(env: *mut JNIEnv, threadClass: jclass, millis: jlong)> = Weak::new("JVM_Sleep");
173pub static JVM_CurrentThread: Weak<fn(env: *mut JNIEnv, threadClass: jclass) -> jobject> = Weak::new("JVM_CurrentThread");
174pub static JVM_Interrupt: Weak<fn(env: *mut JNIEnv, thread: jobject)> = Weak::new("JVM_Interrupt");
175pub static JVM_HoldsLock: Weak<fn(env: *mut JNIEnv, threadClass: jclass, obj: jobject) -> jboolean> = Weak::new("JVM_HoldsLock");
176pub static JVM_DumpAllStacks: Weak<fn(env: *mut JNIEnv, unused: jclass)> = Weak::new("JVM_DumpAllStacks");
177pub static JVM_GetAllThreads: Weak<fn(env: *mut JNIEnv, dummy: jclass) -> jobjectArray> = Weak::new("JVM_GetAllThreads");
178pub static JVM_SetNativeThreadName: Weak<fn(env: *mut JNIEnv, jthread: jobject, name: jstring)> = Weak::new("JVM_SetNativeThreadName");
179pub static JVM_DumpThreads: Weak<fn(
180 env: *mut JNIEnv,
181 threadClass: jclass,
182 threads: jobjectArray,
183 ) -> jobjectArray> = Weak::new("JVM_DumpThreads");
184pub static JVM_GetClassContext: Weak<fn(env: *mut JNIEnv) -> jobjectArray> = Weak::new("JVM_GetClassContext");
185pub static JVM_GetSystemPackage: Weak<fn(env: *mut JNIEnv, name: jstring) -> jstring> = Weak::new("JVM_GetSystemPackage");
186pub static JVM_GetSystemPackages: Weak<fn(env: *mut JNIEnv) -> jobjectArray> = Weak::new("JVM_GetSystemPackages");
187pub static JVM_GetAndClearReferencePendingList: Weak<fn(env: *mut JNIEnv) -> jobject> = Weak::new("JVM_GetAndClearReferencePendingList");
188pub static JVM_HasReferencePendingList: Weak<fn(env: *mut JNIEnv) -> jboolean> = Weak::new("JVM_HasReferencePendingList");
189pub static JVM_WaitForReferencePendingList: Weak<fn(env: *mut JNIEnv)> = Weak::new("JVM_WaitForReferencePendingList");
190pub static JVM_LatestUserDefinedLoader: Weak<fn(env: *mut JNIEnv) -> jobject> = Weak::new("JVM_LatestUserDefinedLoader");
191pub static JVM_GetArrayLength: Weak<fn(env: *mut JNIEnv, arr: jobject) -> jint> = Weak::new("JVM_GetArrayLength");
192pub static JVM_GetArrayElement: Weak<fn(env: *mut JNIEnv, arr: jobject, index: jint) -> jobject> = Weak::new("JVM_GetArrayElement");
193pub static JVM_GetPrimitiveArrayElement: Weak<fn(
194 env: *mut JNIEnv,
195 arr: jobject,
196 index: jint,
197 wCode: jint,
198 ) -> jvalue> = Weak::new("JVM_GetPrimitiveArrayElement");
199pub static JVM_SetArrayElement: Weak<fn(env: *mut JNIEnv, arr: jobject, index: jint, val: jobject)> = Weak::new("JVM_SetArrayElement");
200pub static JVM_SetPrimitiveArrayElement: Weak<fn(
201 env: *mut JNIEnv,
202 arr: jobject,
203 index: jint,
204 v: jvalue,
205 vCode: ::std::os::raw::c_uchar,
206 )> = Weak::new("JVM_SetPrimitiveArrayElement");
207pub static JVM_NewArray: Weak<fn(env: *mut JNIEnv, eltClass: jclass, length: jint) -> jobject> = Weak::new("JVM_NewArray");
208pub static JVM_NewMultiArray: Weak<fn(env: *mut JNIEnv, eltClass: jclass, dim: jintArray) -> jobject> = Weak::new("JVM_NewMultiArray");
209pub static JVM_GetCallerClass: Weak<fn(env: *mut JNIEnv) -> jclass> = Weak::new("JVM_GetCallerClass");
210pub static JVM_FindPrimitiveClass: Weak<fn(env: *mut JNIEnv, utf: *const ::std::os::raw::c_char) -> jclass> = Weak::new("JVM_FindPrimitiveClass");
211pub static JVM_FindClassFromBootLoader: Weak<fn(
212 env: *mut JNIEnv,
213 name: *const ::std::os::raw::c_char,
214 ) -> jclass> = Weak::new("JVM_FindClassFromBootLoader");
215pub static JVM_FindClassFromCaller: Weak<fn(
216 env: *mut JNIEnv,
217 name: *const ::std::os::raw::c_char,
218 init: jboolean,
219 loader: jobject,
220 caller: jclass,
221 ) -> jclass> = Weak::new("JVM_FindClassFromCaller");
222pub static JVM_FindClassFromClass: Weak<fn(
223 env: *mut JNIEnv,
224 name: *const ::std::os::raw::c_char,
225 init: jboolean,
226 from: jclass,
227 ) -> jclass> = Weak::new("JVM_FindClassFromClass");
228pub static JVM_FindLoadedClass: Weak<fn(env: *mut JNIEnv, loader: jobject, name: jstring) -> jclass> = Weak::new("JVM_FindLoadedClass");
229pub static JVM_DefineClass: Weak<fn(
230 env: *mut JNIEnv,
231 name: *const ::std::os::raw::c_char,
232 loader: jobject,
233 buf: *const jbyte,
234 len: jsize,
235 pd: jobject,
236 ) -> jclass> = Weak::new("JVM_DefineClass");
237pub static JVM_DefineClassWithSource: Weak<fn(
238 env: *mut JNIEnv,
239 name: *const ::std::os::raw::c_char,
240 loader: jobject,
241 buf: *const jbyte,
242 len: jsize,
243 pd: jobject,
244 source: *const ::std::os::raw::c_char,
245 ) -> jclass> = Weak::new("JVM_DefineClassWithSource");
246pub static JVM_LookupDefineClass: Weak<fn(
247 env: *mut JNIEnv,
248 lookup: jclass,
249 name: *const ::std::os::raw::c_char,
250 buf: *const jbyte,
251 len: jsize,
252 pd: jobject,
253 init: jboolean,
254 flags: ::std::os::raw::c_int,
255 classData: jobject,
256 ) -> jclass> = Weak::new("JVM_LookupDefineClass");
257pub static JVM_DefineModule: Weak<fn(
258 env: *mut JNIEnv,
259 module: jobject,
260 is_open: jboolean,
261 version: jstring,
262 location: jstring,
263 packages: jobjectArray,
264 )> = Weak::new("JVM_DefineModule");
265pub static JVM_SetBootLoaderUnnamedModule: Weak<fn(env: *mut JNIEnv, module: jobject)> = Weak::new("JVM_SetBootLoaderUnnamedModule");
266pub static JVM_AddModuleExports: Weak<fn(
267 env: *mut JNIEnv,
268 from_module: jobject,
269 package: jstring,
270 to_module: jobject,
271 )> = Weak::new("JVM_AddModuleExports");
272pub static JVM_AddModuleExportsToAllUnnamed: Weak<fn(
273 env: *mut JNIEnv,
274 from_module: jobject,
275 package: jstring,
276 )> = Weak::new("JVM_AddModuleExportsToAllUnnamed");
277pub static JVM_AddModuleExportsToAll: Weak<fn(env: *mut JNIEnv, from_module: jobject, package: jstring)> = Weak::new("JVM_AddModuleExportsToAll");
278pub static JVM_AddReadsModule: Weak<fn(env: *mut JNIEnv, from_module: jobject, source_module: jobject)> = Weak::new("JVM_AddReadsModule");
279pub static JVM_InitClassName: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jstring> = Weak::new("JVM_InitClassName");
280pub static JVM_GetClassInterfaces: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobjectArray> = Weak::new("JVM_GetClassInterfaces");
281pub static JVM_IsInterface: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jboolean> = Weak::new("JVM_IsInterface");
282pub static JVM_GetClassSigners: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobjectArray> = Weak::new("JVM_GetClassSigners");
283pub static JVM_SetClassSigners: Weak<fn(env: *mut JNIEnv, cls: jclass, signers: jobjectArray)> = Weak::new("JVM_SetClassSigners");
284pub static JVM_GetProtectionDomain: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobject> = Weak::new("JVM_GetProtectionDomain");
285pub static JVM_IsArrayClass: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jboolean> = Weak::new("JVM_IsArrayClass");
286pub static JVM_IsPrimitiveClass: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jboolean> = Weak::new("JVM_IsPrimitiveClass");
287pub static JVM_IsHiddenClass: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jboolean> = Weak::new("JVM_IsHiddenClass");
288pub static JVM_GetClassModifiers: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jint> = Weak::new("JVM_GetClassModifiers");
289pub static JVM_GetDeclaredClasses: Weak<fn(env: *mut JNIEnv, ofClass: jclass) -> jobjectArray> = Weak::new("JVM_GetDeclaredClasses");
290pub static JVM_GetDeclaringClass: Weak<fn(env: *mut JNIEnv, ofClass: jclass) -> jclass> = Weak::new("JVM_GetDeclaringClass");
291pub static JVM_GetSimpleBinaryName: Weak<fn(env: *mut JNIEnv, ofClass: jclass) -> jstring> = Weak::new("JVM_GetSimpleBinaryName");
292pub static JVM_GetClassSignature: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jstring> = Weak::new("JVM_GetClassSignature");
293pub static JVM_GetClassAnnotations: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jbyteArray> = Weak::new("JVM_GetClassAnnotations");
294pub static JVM_GetClassTypeAnnotations: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jbyteArray> = Weak::new("JVM_GetClassTypeAnnotations");
295pub static JVM_GetFieldTypeAnnotations: Weak<fn(env: *mut JNIEnv, field: jobject) -> jbyteArray> = Weak::new("JVM_GetFieldTypeAnnotations");
296pub static JVM_GetMethodTypeAnnotations: Weak<fn(env: *mut JNIEnv, method: jobject) -> jbyteArray> = Weak::new("JVM_GetMethodTypeAnnotations");
297pub static JVM_GetClassDeclaredMethods: Weak<fn(
298 env: *mut JNIEnv,
299 ofClass: jclass,
300 publicOnly: jboolean,
301 ) -> jobjectArray> = Weak::new("JVM_GetClassDeclaredMethods");
302pub static JVM_GetClassDeclaredFields: Weak<fn(
303 env: *mut JNIEnv,
304 ofClass: jclass,
305 publicOnly: jboolean,
306 ) -> jobjectArray> = Weak::new("JVM_GetClassDeclaredFields");
307pub static JVM_GetClassDeclaredConstructors: Weak<fn(
308 env: *mut JNIEnv,
309 ofClass: jclass,
310 publicOnly: jboolean,
311 ) -> jobjectArray> = Weak::new("JVM_GetClassDeclaredConstructors");
312pub static JVM_GetClassAccessFlags: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jint> = Weak::new("JVM_GetClassAccessFlags");
313pub static JVM_AreNestMates: Weak<fn(env: *mut JNIEnv, current: jclass, member: jclass) -> jboolean> = Weak::new("JVM_AreNestMates");
314pub static JVM_GetNestHost: Weak<fn(env: *mut JNIEnv, current: jclass) -> jclass> = Weak::new("JVM_GetNestHost");
315pub static JVM_GetNestMembers: Weak<fn(env: *mut JNIEnv, current: jclass) -> jobjectArray> = Weak::new("JVM_GetNestMembers");
316pub static JVM_IsRecord: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jboolean> = Weak::new("JVM_IsRecord");
317pub static JVM_GetRecordComponents: Weak<fn(env: *mut JNIEnv, ofClass: jclass) -> jobjectArray> = Weak::new("JVM_GetRecordComponents");
318pub static JVM_GetPermittedSubclasses: Weak<fn(env: *mut JNIEnv, current: jclass) -> jobjectArray> = Weak::new("JVM_GetPermittedSubclasses");
319pub static JVM_InvokeMethod: Weak<fn(
320 env: *mut JNIEnv,
321 method: jobject,
322 obj: jobject,
323 args0: jobjectArray,
324 ) -> jobject> = Weak::new("JVM_InvokeMethod");
325pub static JVM_NewInstanceFromConstructor: Weak<fn(
326 env: *mut JNIEnv,
327 c: jobject,
328 args0: jobjectArray,
329 ) -> jobject> = Weak::new("JVM_NewInstanceFromConstructor");
330pub static JVM_GetClassConstantPool: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobject> = Weak::new("JVM_GetClassConstantPool");
331pub static JVM_ConstantPoolGetSize: Weak<fn(env: *mut JNIEnv, unused: jobject, jcpool: jobject) -> jint> = Weak::new("JVM_ConstantPoolGetSize");
332pub static JVM_ConstantPoolGetClassAt: Weak<fn(
333 env: *mut JNIEnv,
334 unused: jobject,
335 jcpool: jobject,
336 index: jint,
337 ) -> jclass> = Weak::new("JVM_ConstantPoolGetClassAt");
338pub static JVM_ConstantPoolGetClassAtIfLoaded: Weak<fn(
339 env: *mut JNIEnv,
340 unused: jobject,
341 jcpool: jobject,
342 index: jint,
343 ) -> jclass> = Weak::new("JVM_ConstantPoolGetClassAtIfLoaded");
344pub static JVM_ConstantPoolGetClassRefIndexAt: Weak<fn(
345 env: *mut JNIEnv,
346 obj: jobject,
347 unused: jobject,
348 index: jint,
349 ) -> jint> = Weak::new("JVM_ConstantPoolGetClassRefIndexAt");
350pub static JVM_ConstantPoolGetMethodAt: Weak<fn(
351 env: *mut JNIEnv,
352 unused: jobject,
353 jcpool: jobject,
354 index: jint,
355 ) -> jobject> = Weak::new("JVM_ConstantPoolGetMethodAt");
356pub static JVM_ConstantPoolGetMethodAtIfLoaded: Weak<fn(
357 env: *mut JNIEnv,
358 unused: jobject,
359 jcpool: jobject,
360 index: jint,
361 ) -> jobject> = Weak::new("JVM_ConstantPoolGetMethodAtIfLoaded");
362pub static JVM_ConstantPoolGetFieldAt: Weak<fn(
363 env: *mut JNIEnv,
364 unused: jobject,
365 jcpool: jobject,
366 index: jint,
367 ) -> jobject> = Weak::new("JVM_ConstantPoolGetFieldAt");
368pub static JVM_ConstantPoolGetFieldAtIfLoaded: Weak<fn(
369 env: *mut JNIEnv,
370 unused: jobject,
371 jcpool: jobject,
372 index: jint,
373 ) -> jobject> = Weak::new("JVM_ConstantPoolGetFieldAtIfLoaded");
374pub static JVM_ConstantPoolGetMemberRefInfoAt: Weak<fn(
375 env: *mut JNIEnv,
376 unused: jobject,
377 jcpool: jobject,
378 index: jint,
379 ) -> jobjectArray> = Weak::new("JVM_ConstantPoolGetMemberRefInfoAt");
380pub static JVM_ConstantPoolGetNameAndTypeRefIndexAt: Weak<fn(
381 env: *mut JNIEnv,
382 obj: jobject,
383 unused: jobject,
384 index: jint,
385 ) -> jint> = Weak::new("JVM_ConstantPoolGetNameAndTypeRefIndexAt");
386pub static JVM_ConstantPoolGetNameAndTypeRefInfoAt: Weak<fn(
387 env: *mut JNIEnv,
388 obj: jobject,
389 unused: jobject,
390 index: jint,
391 ) -> jobjectArray> = Weak::new("JVM_ConstantPoolGetNameAndTypeRefInfoAt");
392pub static JVM_ConstantPoolGetIntAt: Weak<fn(
393 env: *mut JNIEnv,
394 unused: jobject,
395 jcpool: jobject,
396 index: jint,
397 ) -> jint> = Weak::new("JVM_ConstantPoolGetIntAt");
398pub static JVM_ConstantPoolGetLongAt: Weak<fn(
399 env: *mut JNIEnv,
400 unused: jobject,
401 jcpool: jobject,
402 index: jint,
403 ) -> jlong> = Weak::new("JVM_ConstantPoolGetLongAt");
404pub static JVM_ConstantPoolGetFloatAt: Weak<fn(
405 env: *mut JNIEnv,
406 unused: jobject,
407 jcpool: jobject,
408 index: jint,
409 ) -> jfloat> = Weak::new("JVM_ConstantPoolGetFloatAt");
410pub static JVM_ConstantPoolGetDoubleAt: Weak<fn(
411 env: *mut JNIEnv,
412 unused: jobject,
413 jcpool: jobject,
414 index: jint,
415 ) -> jdouble> = Weak::new("JVM_ConstantPoolGetDoubleAt");
416pub static JVM_ConstantPoolGetStringAt: Weak<fn(
417 env: *mut JNIEnv,
418 unused: jobject,
419 jcpool: jobject,
420 index: jint,
421 ) -> jstring> = Weak::new("JVM_ConstantPoolGetStringAt");
422pub static JVM_ConstantPoolGetUTF8At: Weak<fn(
423 env: *mut JNIEnv,
424 unused: jobject,
425 jcpool: jobject,
426 index: jint,
427 ) -> jstring> = Weak::new("JVM_ConstantPoolGetUTF8At");
428pub static JVM_ConstantPoolGetTagAt: Weak<fn(
429 env: *mut JNIEnv,
430 unused: jobject,
431 jcpool: jobject,
432 index: jint,
433 ) -> jbyte> = Weak::new("JVM_ConstantPoolGetTagAt");
434pub static JVM_GetMethodParameters: Weak<fn(env: *mut JNIEnv, method: jobject) -> jobjectArray> = Weak::new("JVM_GetMethodParameters");
435pub static JVM_GetInheritedAccessControlContext: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobject> = Weak::new("JVM_GetInheritedAccessControlContext");
436pub static JVM_GetStackAccessControlContext: Weak<fn(env: *mut JNIEnv, cls: jclass) -> jobject> = Weak::new("JVM_GetStackAccessControlContext");
437pub static JVM_RegisterSignal: Weak<fn(
438 sig: jint,
439 handler: *mut ::std::os::raw::c_void,
440 ) -> *mut ::std::os::raw::c_void> = Weak::new("JVM_RegisterSignal");
441pub static JVM_RaiseSignal: Weak<fn(sig: jint) -> jboolean> = Weak::new("JVM_RaiseSignal");
442pub static JVM_FindSignal: Weak<fn(name: *const ::std::os::raw::c_char) -> jint> = Weak::new("JVM_FindSignal");
443pub static JVM_DesiredAssertionStatus: Weak<fn(env: *mut JNIEnv, unused: jclass, cls: jclass) -> jboolean> = Weak::new("JVM_DesiredAssertionStatus");
444pub static JVM_AssertionStatusDirectives: Weak<fn(env: *mut JNIEnv, unused: jclass) -> jobject> = Weak::new("JVM_AssertionStatusDirectives");
445pub static JVM_SupportsCX8: Weak<fn() -> jboolean> = Weak::new("JVM_SupportsCX8");
446#[repr(C)]
447#[derive(Debug, Copy, Clone)]
448pub struct JVM_DTraceProbe {
449 pub method: jmethodID,
450 pub function: jstring,
451 pub name: jstring,
452 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
453}
454#[doc = " Encapsulates the stability ratings for a DTrace provider field"]
455#[repr(C)]
456#[derive(Debug, Copy, Clone)]
457pub struct JVM_DTraceInterfaceAttributes {
458 pub nameStability: jint,
459 pub dataStability: jint,
460 pub dependencyClass: jint,
461}
462#[repr(C)]
463#[derive(Debug, Copy, Clone)]
464pub struct JVM_DTraceProvider {
465 pub name: jstring,
466 pub probes: *mut JVM_DTraceProbe,
467 pub probe_count: jint,
468 pub providerAttributes: JVM_DTraceInterfaceAttributes,
469 pub moduleAttributes: JVM_DTraceInterfaceAttributes,
470 pub functionAttributes: JVM_DTraceInterfaceAttributes,
471 pub nameAttributes: JVM_DTraceInterfaceAttributes,
472 pub argsAttributes: JVM_DTraceInterfaceAttributes,
473 pub reserved: [*mut ::std::os::raw::c_void; 4usize],
474}
475pub static JVM_DTraceGetVersion: Weak<fn(env: *mut JNIEnv) -> jint> = Weak::new("JVM_DTraceGetVersion");
476pub static JVM_DTraceActivate: Weak<fn(
477 env: *mut JNIEnv,
478 version: jint,
479 module_name: jstring,
480 providers_count: jint,
481 providers: *mut JVM_DTraceProvider,
482 ) -> jlong> = Weak::new("JVM_DTraceActivate");
483pub static JVM_DTraceIsProbeEnabled: Weak<fn(env: *mut JNIEnv, method: jmethodID) -> jboolean> = Weak::new("JVM_DTraceIsProbeEnabled");
484pub static JVM_DTraceDispose: Weak<fn(env: *mut JNIEnv, activation_handle: jlong)> = Weak::new("JVM_DTraceDispose");
485pub static JVM_DTraceIsSupported: Weak<fn(env: *mut JNIEnv) -> jboolean> = Weak::new("JVM_DTraceIsSupported");
486extern "C" {
487 #[doc = "PART 2: Support for the Verifier and Class File Format Checker"]
488 pub fn JVM_GetClassNameUTF(env: *mut JNIEnv, cb: jclass) -> *const ::std::os::raw::c_char;
489}
490pub static JVM_GetClassCPTypes: Weak<fn(env: *mut JNIEnv, cb: jclass, types: *mut ::std::os::raw::c_uchar)> = Weak::new("JVM_GetClassCPTypes");
491pub static JVM_GetClassCPEntriesCount: Weak<fn(env: *mut JNIEnv, cb: jclass) -> jint> = Weak::new("JVM_GetClassCPEntriesCount");
492pub static JVM_GetClassFieldsCount: Weak<fn(env: *mut JNIEnv, cb: jclass) -> jint> = Weak::new("JVM_GetClassFieldsCount");
493pub static JVM_GetClassMethodsCount: Weak<fn(env: *mut JNIEnv, cb: jclass) -> jint> = Weak::new("JVM_GetClassMethodsCount");
494pub static JVM_GetMethodIxExceptionIndexes: Weak<fn(
495 env: *mut JNIEnv,
496 cb: jclass,
497 method_index: jint,
498 exceptions: *mut ::std::os::raw::c_ushort,
499 )> = Weak::new("JVM_GetMethodIxExceptionIndexes");
500pub static JVM_GetMethodIxExceptionsCount: Weak<fn(env: *mut JNIEnv, cb: jclass, method_index: jint)
501 -> jint> = Weak::new("JVM_GetMethodIxExceptionsCount");
502pub static JVM_GetMethodIxByteCode: Weak<fn(
503 env: *mut JNIEnv,
504 cb: jclass,
505 method_index: jint,
506 code: *mut ::std::os::raw::c_uchar,
507 )> = Weak::new("JVM_GetMethodIxByteCode");
508pub static JVM_GetMethodIxByteCodeLength: Weak<fn(env: *mut JNIEnv, cb: jclass, method_index: jint) -> jint> = Weak::new("JVM_GetMethodIxByteCodeLength");
509#[repr(C)]
510#[derive(Debug, Copy, Clone)]
511pub struct JVM_ExceptionTableEntryType {
512 pub start_pc: jint,
513 pub end_pc: jint,
514 pub handler_pc: jint,
515 pub catchType: jint,
516}
517pub static JVM_GetMethodIxExceptionTableEntry: Weak<fn(
518 env: *mut JNIEnv,
519 cb: jclass,
520 method_index: jint,
521 entry_index: jint,
522 entry: *mut JVM_ExceptionTableEntryType,
523 )> = Weak::new("JVM_GetMethodIxExceptionTableEntry");
524pub static JVM_GetMethodIxExceptionTableLength: Weak<fn(
525 env: *mut JNIEnv,
526 cb: jclass,
527 index: ::std::os::raw::c_int,
528 ) -> jint> = Weak::new("JVM_GetMethodIxExceptionTableLength");
529pub static JVM_GetFieldIxModifiers: Weak<fn(
530 env: *mut JNIEnv,
531 cb: jclass,
532 index: ::std::os::raw::c_int,
533 ) -> jint> = Weak::new("JVM_GetFieldIxModifiers");
534pub static JVM_GetMethodIxModifiers: Weak<fn(
535 env: *mut JNIEnv,
536 cb: jclass,
537 index: ::std::os::raw::c_int,
538 ) -> jint> = Weak::new("JVM_GetMethodIxModifiers");
539pub static JVM_GetMethodIxLocalsCount: Weak<fn(
540 env: *mut JNIEnv,
541 cb: jclass,
542 index: ::std::os::raw::c_int,
543 ) -> jint> = Weak::new("JVM_GetMethodIxLocalsCount");
544pub static JVM_GetMethodIxArgsSize: Weak<fn(
545 env: *mut JNIEnv,
546 cb: jclass,
547 index: ::std::os::raw::c_int,
548 ) -> jint> = Weak::new("JVM_GetMethodIxArgsSize");
549pub static JVM_GetMethodIxMaxStack: Weak<fn(
550 env: *mut JNIEnv,
551 cb: jclass,
552 index: ::std::os::raw::c_int,
553 ) -> jint> = Weak::new("JVM_GetMethodIxMaxStack");
554pub static JVM_IsConstructorIx: Weak<fn(
555 env: *mut JNIEnv,
556 cb: jclass,
557 index: ::std::os::raw::c_int,
558 ) -> jboolean> = Weak::new("JVM_IsConstructorIx");
559pub static JVM_IsVMGeneratedMethodIx: Weak<fn(
560 env: *mut JNIEnv,
561 cb: jclass,
562 index: ::std::os::raw::c_int,
563 ) -> jboolean> = Weak::new("JVM_IsVMGeneratedMethodIx");
564pub static JVM_GetMethodIxNameUTF: Weak<fn(
565 env: *mut JNIEnv,
566 cb: jclass,
567 index: jint,
568 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetMethodIxNameUTF");
569pub static JVM_GetMethodIxSignatureUTF: Weak<fn(
570 env: *mut JNIEnv,
571 cb: jclass,
572 index: jint,
573 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetMethodIxSignatureUTF");
574pub static JVM_GetCPFieldNameUTF: Weak<fn(
575 env: *mut JNIEnv,
576 cb: jclass,
577 index: jint,
578 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPFieldNameUTF");
579pub static JVM_GetCPMethodNameUTF: Weak<fn(
580 env: *mut JNIEnv,
581 cb: jclass,
582 index: jint,
583 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPMethodNameUTF");
584pub static JVM_GetCPMethodSignatureUTF: Weak<fn(
585 env: *mut JNIEnv,
586 cb: jclass,
587 index: jint,
588 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPMethodSignatureUTF");
589pub static JVM_GetCPFieldSignatureUTF: Weak<fn(
590 env: *mut JNIEnv,
591 cb: jclass,
592 index: jint,
593 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPFieldSignatureUTF");
594pub static JVM_GetCPClassNameUTF: Weak<fn(
595 env: *mut JNIEnv,
596 cb: jclass,
597 index: jint,
598 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPClassNameUTF");
599pub static JVM_GetCPFieldClassNameUTF: Weak<fn(
600 env: *mut JNIEnv,
601 cb: jclass,
602 index: jint,
603 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPFieldClassNameUTF");
604pub static JVM_GetCPMethodClassNameUTF: Weak<fn(
605 env: *mut JNIEnv,
606 cb: jclass,
607 index: jint,
608 ) -> *const ::std::os::raw::c_char> = Weak::new("JVM_GetCPMethodClassNameUTF");
609pub static JVM_GetCPFieldModifiers: Weak<fn(
610 env: *mut JNIEnv,
611 cb: jclass,
612 index: ::std::os::raw::c_int,
613 calledClass: jclass,
614 ) -> jint> = Weak::new("JVM_GetCPFieldModifiers");
615pub static JVM_GetCPMethodModifiers: Weak<fn(
616 env: *mut JNIEnv,
617 cb: jclass,
618 index: ::std::os::raw::c_int,
619 calledClass: jclass,
620 ) -> jint> = Weak::new("JVM_GetCPMethodModifiers");
621pub static JVM_ReleaseUTF: Weak<fn(utf: *const ::std::os::raw::c_char)> = Weak::new("JVM_ReleaseUTF");
622pub static JVM_IsSameClassPackage: Weak<fn(env: *mut JNIEnv, class1: jclass, class2: jclass) -> jboolean> = Weak::new("JVM_IsSameClassPackage");
623pub const JVM_ACC_PUBLIC: ::std::os::raw::c_uint = 1;
624pub const JVM_ACC_PRIVATE: ::std::os::raw::c_uint = 2;
625pub const JVM_ACC_PROTECTED: ::std::os::raw::c_uint = 4;
626pub const JVM_ACC_STATIC: ::std::os::raw::c_uint = 8;
627pub const JVM_ACC_FINAL: ::std::os::raw::c_uint = 16;
628pub const JVM_ACC_SYNCHRONIZED: ::std::os::raw::c_uint = 32;
629pub const JVM_ACC_SUPER: ::std::os::raw::c_uint = 32;
630pub const JVM_ACC_VOLATILE: ::std::os::raw::c_uint = 64;
631pub const JVM_ACC_BRIDGE: ::std::os::raw::c_uint = 64;
632pub const JVM_ACC_TRANSIENT: ::std::os::raw::c_uint = 128;
633pub const JVM_ACC_VARARGS: ::std::os::raw::c_uint = 128;
634pub const JVM_ACC_NATIVE: ::std::os::raw::c_uint = 256;
635pub const JVM_ACC_INTERFACE: ::std::os::raw::c_uint = 512;
636pub const JVM_ACC_ABSTRACT: ::std::os::raw::c_uint = 1024;
637pub const JVM_ACC_STRICT: ::std::os::raw::c_uint = 2048;
638pub const JVM_ACC_SYNTHETIC: ::std::os::raw::c_uint = 4096;
639pub const JVM_ACC_ANNOTATION: ::std::os::raw::c_uint = 8192;
640pub const JVM_ACC_ENUM: ::std::os::raw::c_uint = 16384;
641pub const JVM_ACC_MODULE: ::std::os::raw::c_uint = 32768;
642pub const JVM_T_BOOLEAN: ::std::os::raw::c_uint = 4;
643pub const JVM_T_CHAR: ::std::os::raw::c_uint = 5;
644pub const JVM_T_FLOAT: ::std::os::raw::c_uint = 6;
645pub const JVM_T_DOUBLE: ::std::os::raw::c_uint = 7;
646pub const JVM_T_BYTE: ::std::os::raw::c_uint = 8;
647pub const JVM_T_SHORT: ::std::os::raw::c_uint = 9;
648pub const JVM_T_INT: ::std::os::raw::c_uint = 10;
649pub const JVM_T_LONG: ::std::os::raw::c_uint = 11;
650pub const JVM_CONSTANT_Utf8: ::std::os::raw::c_uint = 1;
651pub const JVM_CONSTANT_Unicode: ::std::os::raw::c_uint = 2;
652pub const JVM_CONSTANT_Integer: ::std::os::raw::c_uint = 3;
653pub const JVM_CONSTANT_Float: ::std::os::raw::c_uint = 4;
654pub const JVM_CONSTANT_Long: ::std::os::raw::c_uint = 5;
655pub const JVM_CONSTANT_Double: ::std::os::raw::c_uint = 6;
656pub const JVM_CONSTANT_Class: ::std::os::raw::c_uint = 7;
657pub const JVM_CONSTANT_String: ::std::os::raw::c_uint = 8;
658pub const JVM_CONSTANT_Fieldref: ::std::os::raw::c_uint = 9;
659pub const JVM_CONSTANT_Methodref: ::std::os::raw::c_uint = 10;
660pub const JVM_CONSTANT_InterfaceMethodref: ::std::os::raw::c_uint = 11;
661pub const JVM_CONSTANT_NameAndType: ::std::os::raw::c_uint = 12;
662pub const JVM_CONSTANT_MethodHandle: ::std::os::raw::c_uint = 15;
663pub const JVM_CONSTANT_MethodType: ::std::os::raw::c_uint = 16;
664pub const JVM_CONSTANT_Dynamic: ::std::os::raw::c_uint = 17;
665pub const JVM_CONSTANT_InvokeDynamic: ::std::os::raw::c_uint = 18;
666pub const JVM_CONSTANT_Module: ::std::os::raw::c_uint = 19;
667pub const JVM_CONSTANT_Package: ::std::os::raw::c_uint = 20;
668pub const JVM_CONSTANT_ExternalMax: ::std::os::raw::c_uint = 20;
669pub const JVM_REF_getField: ::std::os::raw::c_uint = 1;
670pub const JVM_REF_getStatic: ::std::os::raw::c_uint = 2;
671pub const JVM_REF_putField: ::std::os::raw::c_uint = 3;
672pub const JVM_REF_putStatic: ::std::os::raw::c_uint = 4;
673pub const JVM_REF_invokeVirtual: ::std::os::raw::c_uint = 5;
674pub const JVM_REF_invokeStatic: ::std::os::raw::c_uint = 6;
675pub const JVM_REF_invokeSpecial: ::std::os::raw::c_uint = 7;
676pub const JVM_REF_newInvokeSpecial: ::std::os::raw::c_uint = 8;
677pub const JVM_REF_invokeInterface: ::std::os::raw::c_uint = 9;
678pub const JVM_ITEM_Top: ::std::os::raw::c_uint = 0;
679pub const JVM_ITEM_Integer: ::std::os::raw::c_uint = 1;
680pub const JVM_ITEM_Float: ::std::os::raw::c_uint = 2;
681pub const JVM_ITEM_Double: ::std::os::raw::c_uint = 3;
682pub const JVM_ITEM_Long: ::std::os::raw::c_uint = 4;
683pub const JVM_ITEM_Null: ::std::os::raw::c_uint = 5;
684pub const JVM_ITEM_UninitializedThis: ::std::os::raw::c_uint = 6;
685pub const JVM_ITEM_Object: ::std::os::raw::c_uint = 7;
686pub const JVM_ITEM_Uninitialized: ::std::os::raw::c_uint = 8;
687pub const JVM_SIGNATURE_SLASH: ::std::os::raw::c_uint = 47;
688pub const JVM_SIGNATURE_DOT: ::std::os::raw::c_uint = 46;
689pub const JVM_SIGNATURE_SPECIAL: ::std::os::raw::c_uint = 60;
690pub const JVM_SIGNATURE_ENDSPECIAL: ::std::os::raw::c_uint = 62;
691pub const JVM_SIGNATURE_ARRAY: ::std::os::raw::c_uint = 91;
692pub const JVM_SIGNATURE_BYTE: ::std::os::raw::c_uint = 66;
693pub const JVM_SIGNATURE_CHAR: ::std::os::raw::c_uint = 67;
694pub const JVM_SIGNATURE_CLASS: ::std::os::raw::c_uint = 76;
695pub const JVM_SIGNATURE_ENDCLASS: ::std::os::raw::c_uint = 59;
696pub const JVM_SIGNATURE_ENUM: ::std::os::raw::c_uint = 69;
697pub const JVM_SIGNATURE_FLOAT: ::std::os::raw::c_uint = 70;
698pub const JVM_SIGNATURE_DOUBLE: ::std::os::raw::c_uint = 68;
699pub const JVM_SIGNATURE_FUNC: ::std::os::raw::c_uint = 40;
700pub const JVM_SIGNATURE_ENDFUNC: ::std::os::raw::c_uint = 41;
701pub const JVM_SIGNATURE_INT: ::std::os::raw::c_uint = 73;
702pub const JVM_SIGNATURE_LONG: ::std::os::raw::c_uint = 74;
703pub const JVM_SIGNATURE_SHORT: ::std::os::raw::c_uint = 83;
704pub const JVM_SIGNATURE_VOID: ::std::os::raw::c_uint = 86;
705pub const JVM_SIGNATURE_BOOLEAN: ::std::os::raw::c_uint = 90;
706pub const JVM_OPC_nop: ::std::os::raw::c_uint = 0;
707pub const JVM_OPC_aconst_null: ::std::os::raw::c_uint = 1;
708pub const JVM_OPC_iconst_m1: ::std::os::raw::c_uint = 2;
709pub const JVM_OPC_iconst_0: ::std::os::raw::c_uint = 3;
710pub const JVM_OPC_iconst_1: ::std::os::raw::c_uint = 4;
711pub const JVM_OPC_iconst_2: ::std::os::raw::c_uint = 5;
712pub const JVM_OPC_iconst_3: ::std::os::raw::c_uint = 6;
713pub const JVM_OPC_iconst_4: ::std::os::raw::c_uint = 7;
714pub const JVM_OPC_iconst_5: ::std::os::raw::c_uint = 8;
715pub const JVM_OPC_lconst_0: ::std::os::raw::c_uint = 9;
716pub const JVM_OPC_lconst_1: ::std::os::raw::c_uint = 10;
717pub const JVM_OPC_fconst_0: ::std::os::raw::c_uint = 11;
718pub const JVM_OPC_fconst_1: ::std::os::raw::c_uint = 12;
719pub const JVM_OPC_fconst_2: ::std::os::raw::c_uint = 13;
720pub const JVM_OPC_dconst_0: ::std::os::raw::c_uint = 14;
721pub const JVM_OPC_dconst_1: ::std::os::raw::c_uint = 15;
722pub const JVM_OPC_bipush: ::std::os::raw::c_uint = 16;
723pub const JVM_OPC_sipush: ::std::os::raw::c_uint = 17;
724pub const JVM_OPC_ldc: ::std::os::raw::c_uint = 18;
725pub const JVM_OPC_ldc_w: ::std::os::raw::c_uint = 19;
726pub const JVM_OPC_ldc2_w: ::std::os::raw::c_uint = 20;
727pub const JVM_OPC_iload: ::std::os::raw::c_uint = 21;
728pub const JVM_OPC_lload: ::std::os::raw::c_uint = 22;
729pub const JVM_OPC_fload: ::std::os::raw::c_uint = 23;
730pub const JVM_OPC_dload: ::std::os::raw::c_uint = 24;
731pub const JVM_OPC_aload: ::std::os::raw::c_uint = 25;
732pub const JVM_OPC_iload_0: ::std::os::raw::c_uint = 26;
733pub const JVM_OPC_iload_1: ::std::os::raw::c_uint = 27;
734pub const JVM_OPC_iload_2: ::std::os::raw::c_uint = 28;
735pub const JVM_OPC_iload_3: ::std::os::raw::c_uint = 29;
736pub const JVM_OPC_lload_0: ::std::os::raw::c_uint = 30;
737pub const JVM_OPC_lload_1: ::std::os::raw::c_uint = 31;
738pub const JVM_OPC_lload_2: ::std::os::raw::c_uint = 32;
739pub const JVM_OPC_lload_3: ::std::os::raw::c_uint = 33;
740pub const JVM_OPC_fload_0: ::std::os::raw::c_uint = 34;
741pub const JVM_OPC_fload_1: ::std::os::raw::c_uint = 35;
742pub const JVM_OPC_fload_2: ::std::os::raw::c_uint = 36;
743pub const JVM_OPC_fload_3: ::std::os::raw::c_uint = 37;
744pub const JVM_OPC_dload_0: ::std::os::raw::c_uint = 38;
745pub const JVM_OPC_dload_1: ::std::os::raw::c_uint = 39;
746pub const JVM_OPC_dload_2: ::std::os::raw::c_uint = 40;
747pub const JVM_OPC_dload_3: ::std::os::raw::c_uint = 41;
748pub const JVM_OPC_aload_0: ::std::os::raw::c_uint = 42;
749pub const JVM_OPC_aload_1: ::std::os::raw::c_uint = 43;
750pub const JVM_OPC_aload_2: ::std::os::raw::c_uint = 44;
751pub const JVM_OPC_aload_3: ::std::os::raw::c_uint = 45;
752pub const JVM_OPC_iaload: ::std::os::raw::c_uint = 46;
753pub const JVM_OPC_laload: ::std::os::raw::c_uint = 47;
754pub const JVM_OPC_faload: ::std::os::raw::c_uint = 48;
755pub const JVM_OPC_daload: ::std::os::raw::c_uint = 49;
756pub const JVM_OPC_aaload: ::std::os::raw::c_uint = 50;
757pub const JVM_OPC_baload: ::std::os::raw::c_uint = 51;
758pub const JVM_OPC_caload: ::std::os::raw::c_uint = 52;
759pub const JVM_OPC_saload: ::std::os::raw::c_uint = 53;
760pub const JVM_OPC_istore: ::std::os::raw::c_uint = 54;
761pub const JVM_OPC_lstore: ::std::os::raw::c_uint = 55;
762pub const JVM_OPC_fstore: ::std::os::raw::c_uint = 56;
763pub const JVM_OPC_dstore: ::std::os::raw::c_uint = 57;
764pub const JVM_OPC_astore: ::std::os::raw::c_uint = 58;
765pub const JVM_OPC_istore_0: ::std::os::raw::c_uint = 59;
766pub const JVM_OPC_istore_1: ::std::os::raw::c_uint = 60;
767pub const JVM_OPC_istore_2: ::std::os::raw::c_uint = 61;
768pub const JVM_OPC_istore_3: ::std::os::raw::c_uint = 62;
769pub const JVM_OPC_lstore_0: ::std::os::raw::c_uint = 63;
770pub const JVM_OPC_lstore_1: ::std::os::raw::c_uint = 64;
771pub const JVM_OPC_lstore_2: ::std::os::raw::c_uint = 65;
772pub const JVM_OPC_lstore_3: ::std::os::raw::c_uint = 66;
773pub const JVM_OPC_fstore_0: ::std::os::raw::c_uint = 67;
774pub const JVM_OPC_fstore_1: ::std::os::raw::c_uint = 68;
775pub const JVM_OPC_fstore_2: ::std::os::raw::c_uint = 69;
776pub const JVM_OPC_fstore_3: ::std::os::raw::c_uint = 70;
777pub const JVM_OPC_dstore_0: ::std::os::raw::c_uint = 71;
778pub const JVM_OPC_dstore_1: ::std::os::raw::c_uint = 72;
779pub const JVM_OPC_dstore_2: ::std::os::raw::c_uint = 73;
780pub const JVM_OPC_dstore_3: ::std::os::raw::c_uint = 74;
781pub const JVM_OPC_astore_0: ::std::os::raw::c_uint = 75;
782pub const JVM_OPC_astore_1: ::std::os::raw::c_uint = 76;
783pub const JVM_OPC_astore_2: ::std::os::raw::c_uint = 77;
784pub const JVM_OPC_astore_3: ::std::os::raw::c_uint = 78;
785pub const JVM_OPC_iastore: ::std::os::raw::c_uint = 79;
786pub const JVM_OPC_lastore: ::std::os::raw::c_uint = 80;
787pub const JVM_OPC_fastore: ::std::os::raw::c_uint = 81;
788pub const JVM_OPC_dastore: ::std::os::raw::c_uint = 82;
789pub const JVM_OPC_aastore: ::std::os::raw::c_uint = 83;
790pub const JVM_OPC_bastore: ::std::os::raw::c_uint = 84;
791pub const JVM_OPC_castore: ::std::os::raw::c_uint = 85;
792pub const JVM_OPC_sastore: ::std::os::raw::c_uint = 86;
793pub const JVM_OPC_pop: ::std::os::raw::c_uint = 87;
794pub const JVM_OPC_pop2: ::std::os::raw::c_uint = 88;
795pub const JVM_OPC_dup: ::std::os::raw::c_uint = 89;
796pub const JVM_OPC_dup_x1: ::std::os::raw::c_uint = 90;
797pub const JVM_OPC_dup_x2: ::std::os::raw::c_uint = 91;
798pub const JVM_OPC_dup2: ::std::os::raw::c_uint = 92;
799pub const JVM_OPC_dup2_x1: ::std::os::raw::c_uint = 93;
800pub const JVM_OPC_dup2_x2: ::std::os::raw::c_uint = 94;
801pub const JVM_OPC_swap: ::std::os::raw::c_uint = 95;
802pub const JVM_OPC_iadd: ::std::os::raw::c_uint = 96;
803pub const JVM_OPC_ladd: ::std::os::raw::c_uint = 97;
804pub const JVM_OPC_fadd: ::std::os::raw::c_uint = 98;
805pub const JVM_OPC_dadd: ::std::os::raw::c_uint = 99;
806pub const JVM_OPC_isub: ::std::os::raw::c_uint = 100;
807pub const JVM_OPC_lsub: ::std::os::raw::c_uint = 101;
808pub const JVM_OPC_fsub: ::std::os::raw::c_uint = 102;
809pub const JVM_OPC_dsub: ::std::os::raw::c_uint = 103;
810pub const JVM_OPC_imul: ::std::os::raw::c_uint = 104;
811pub const JVM_OPC_lmul: ::std::os::raw::c_uint = 105;
812pub const JVM_OPC_fmul: ::std::os::raw::c_uint = 106;
813pub const JVM_OPC_dmul: ::std::os::raw::c_uint = 107;
814pub const JVM_OPC_idiv: ::std::os::raw::c_uint = 108;
815pub const JVM_OPC_ldiv: ::std::os::raw::c_uint = 109;
816pub const JVM_OPC_fdiv: ::std::os::raw::c_uint = 110;
817pub const JVM_OPC_ddiv: ::std::os::raw::c_uint = 111;
818pub const JVM_OPC_irem: ::std::os::raw::c_uint = 112;
819pub const JVM_OPC_lrem: ::std::os::raw::c_uint = 113;
820pub const JVM_OPC_frem: ::std::os::raw::c_uint = 114;
821pub const JVM_OPC_drem: ::std::os::raw::c_uint = 115;
822pub const JVM_OPC_ineg: ::std::os::raw::c_uint = 116;
823pub const JVM_OPC_lneg: ::std::os::raw::c_uint = 117;
824pub const JVM_OPC_fneg: ::std::os::raw::c_uint = 118;
825pub const JVM_OPC_dneg: ::std::os::raw::c_uint = 119;
826pub const JVM_OPC_ishl: ::std::os::raw::c_uint = 120;
827pub const JVM_OPC_lshl: ::std::os::raw::c_uint = 121;
828pub const JVM_OPC_ishr: ::std::os::raw::c_uint = 122;
829pub const JVM_OPC_lshr: ::std::os::raw::c_uint = 123;
830pub const JVM_OPC_iushr: ::std::os::raw::c_uint = 124;
831pub const JVM_OPC_lushr: ::std::os::raw::c_uint = 125;
832pub const JVM_OPC_iand: ::std::os::raw::c_uint = 126;
833pub const JVM_OPC_land: ::std::os::raw::c_uint = 127;
834pub const JVM_OPC_ior: ::std::os::raw::c_uint = 128;
835pub const JVM_OPC_lor: ::std::os::raw::c_uint = 129;
836pub const JVM_OPC_ixor: ::std::os::raw::c_uint = 130;
837pub const JVM_OPC_lxor: ::std::os::raw::c_uint = 131;
838pub const JVM_OPC_iinc: ::std::os::raw::c_uint = 132;
839pub const JVM_OPC_i2l: ::std::os::raw::c_uint = 133;
840pub const JVM_OPC_i2f: ::std::os::raw::c_uint = 134;
841pub const JVM_OPC_i2d: ::std::os::raw::c_uint = 135;
842pub const JVM_OPC_l2i: ::std::os::raw::c_uint = 136;
843pub const JVM_OPC_l2f: ::std::os::raw::c_uint = 137;
844pub const JVM_OPC_l2d: ::std::os::raw::c_uint = 138;
845pub const JVM_OPC_f2i: ::std::os::raw::c_uint = 139;
846pub const JVM_OPC_f2l: ::std::os::raw::c_uint = 140;
847pub const JVM_OPC_f2d: ::std::os::raw::c_uint = 141;
848pub const JVM_OPC_d2i: ::std::os::raw::c_uint = 142;
849pub const JVM_OPC_d2l: ::std::os::raw::c_uint = 143;
850pub const JVM_OPC_d2f: ::std::os::raw::c_uint = 144;
851pub const JVM_OPC_i2b: ::std::os::raw::c_uint = 145;
852pub const JVM_OPC_i2c: ::std::os::raw::c_uint = 146;
853pub const JVM_OPC_i2s: ::std::os::raw::c_uint = 147;
854pub const JVM_OPC_lcmp: ::std::os::raw::c_uint = 148;
855pub const JVM_OPC_fcmpl: ::std::os::raw::c_uint = 149;
856pub const JVM_OPC_fcmpg: ::std::os::raw::c_uint = 150;
857pub const JVM_OPC_dcmpl: ::std::os::raw::c_uint = 151;
858pub const JVM_OPC_dcmpg: ::std::os::raw::c_uint = 152;
859pub const JVM_OPC_ifeq: ::std::os::raw::c_uint = 153;
860pub const JVM_OPC_ifne: ::std::os::raw::c_uint = 154;
861pub const JVM_OPC_iflt: ::std::os::raw::c_uint = 155;
862pub const JVM_OPC_ifge: ::std::os::raw::c_uint = 156;
863pub const JVM_OPC_ifgt: ::std::os::raw::c_uint = 157;
864pub const JVM_OPC_ifle: ::std::os::raw::c_uint = 158;
865pub const JVM_OPC_if_icmpeq: ::std::os::raw::c_uint = 159;
866pub const JVM_OPC_if_icmpne: ::std::os::raw::c_uint = 160;
867pub const JVM_OPC_if_icmplt: ::std::os::raw::c_uint = 161;
868pub const JVM_OPC_if_icmpge: ::std::os::raw::c_uint = 162;
869pub const JVM_OPC_if_icmpgt: ::std::os::raw::c_uint = 163;
870pub const JVM_OPC_if_icmple: ::std::os::raw::c_uint = 164;
871pub const JVM_OPC_if_acmpeq: ::std::os::raw::c_uint = 165;
872pub const JVM_OPC_if_acmpne: ::std::os::raw::c_uint = 166;
873pub const JVM_OPC_goto: ::std::os::raw::c_uint = 167;
874pub const JVM_OPC_jsr: ::std::os::raw::c_uint = 168;
875pub const JVM_OPC_ret: ::std::os::raw::c_uint = 169;
876pub const JVM_OPC_tableswitch: ::std::os::raw::c_uint = 170;
877pub const JVM_OPC_lookupswitch: ::std::os::raw::c_uint = 171;
878pub const JVM_OPC_ireturn: ::std::os::raw::c_uint = 172;
879pub const JVM_OPC_lreturn: ::std::os::raw::c_uint = 173;
880pub const JVM_OPC_freturn: ::std::os::raw::c_uint = 174;
881pub const JVM_OPC_dreturn: ::std::os::raw::c_uint = 175;
882pub const JVM_OPC_areturn: ::std::os::raw::c_uint = 176;
883pub const JVM_OPC_return: ::std::os::raw::c_uint = 177;
884pub const JVM_OPC_getstatic: ::std::os::raw::c_uint = 178;
885pub const JVM_OPC_putstatic: ::std::os::raw::c_uint = 179;
886pub const JVM_OPC_getfield: ::std::os::raw::c_uint = 180;
887pub const JVM_OPC_putfield: ::std::os::raw::c_uint = 181;
888pub const JVM_OPC_invokevirtual: ::std::os::raw::c_uint = 182;
889pub const JVM_OPC_invokespecial: ::std::os::raw::c_uint = 183;
890pub const JVM_OPC_invokestatic: ::std::os::raw::c_uint = 184;
891pub const JVM_OPC_invokeinterface: ::std::os::raw::c_uint = 185;
892pub const JVM_OPC_invokedynamic: ::std::os::raw::c_uint = 186;
893pub const JVM_OPC_new: ::std::os::raw::c_uint = 187;
894pub const JVM_OPC_newarray: ::std::os::raw::c_uint = 188;
895pub const JVM_OPC_anewarray: ::std::os::raw::c_uint = 189;
896pub const JVM_OPC_arraylength: ::std::os::raw::c_uint = 190;
897pub const JVM_OPC_athrow: ::std::os::raw::c_uint = 191;
898pub const JVM_OPC_checkcast: ::std::os::raw::c_uint = 192;
899pub const JVM_OPC_instanceof: ::std::os::raw::c_uint = 193;
900pub const JVM_OPC_monitorenter: ::std::os::raw::c_uint = 194;
901pub const JVM_OPC_monitorexit: ::std::os::raw::c_uint = 195;
902pub const JVM_OPC_wide: ::std::os::raw::c_uint = 196;
903pub const JVM_OPC_multianewarray: ::std::os::raw::c_uint = 197;
904pub const JVM_OPC_ifnull: ::std::os::raw::c_uint = 198;
905pub const JVM_OPC_ifnonnull: ::std::os::raw::c_uint = 199;
906pub const JVM_OPC_goto_w: ::std::os::raw::c_uint = 200;
907pub const JVM_OPC_jsr_w: ::std::os::raw::c_uint = 201;
908pub const JVM_OPC_MAX: ::std::os::raw::c_uint = 201;
909#[repr(C)]
910#[derive(Debug, Copy, Clone)]
911pub struct method_size_info {
912 pub code: ::std::os::raw::c_ulong,
913 pub excs: ::std::os::raw::c_ulong,
914 pub etab: ::std::os::raw::c_ulong,
915 pub lnum: ::std::os::raw::c_ulong,
916 pub lvar: ::std::os::raw::c_ulong,
917}
918#[repr(C)]
919#[derive(Debug, Copy, Clone)]
920pub struct class_size_info {
921 pub constants: ::std::os::raw::c_uint,
922 pub fields: ::std::os::raw::c_uint,
923 pub methods: ::std::os::raw::c_uint,
924 pub interfaces: ::std::os::raw::c_uint,
925 pub fields2: ::std::os::raw::c_uint,
926 pub innerclasses: ::std::os::raw::c_uint,
927 pub clinit: method_size_info,
928 pub main: method_size_info,
929}
930extern "C" {
931 #[doc = "PART 3: I/O and Network Support"]
932 pub fn JVM_NativePath(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
933}
934pub static JVM_RawMonitorCreate: Weak<fn() -> *mut ::std::os::raw::c_void> = Weak::new("JVM_RawMonitorCreate");
935pub static JVM_RawMonitorDestroy: Weak<fn(mon: *mut ::std::os::raw::c_void)> = Weak::new("JVM_RawMonitorDestroy");
936pub static JVM_RawMonitorEnter: Weak<fn(mon: *mut ::std::os::raw::c_void) -> jint> = Weak::new("JVM_RawMonitorEnter");
937pub static JVM_RawMonitorExit: Weak<fn(mon: *mut ::std::os::raw::c_void)> = Weak::new("JVM_RawMonitorExit");
938pub static JVM_GetManagement: Weak<fn(version: jint) -> *mut ::std::os::raw::c_void> = Weak::new("JVM_GetManagement");
939pub static JVM_InitAgentProperties: Weak<fn(env: *mut JNIEnv, agent_props: jobject) -> jobject> = Weak::new("JVM_InitAgentProperties");
940pub static JVM_GetTemporaryDirectory: Weak<fn(env: *mut JNIEnv) -> jstring> = Weak::new("JVM_GetTemporaryDirectory");
941pub static JVM_GetEnclosingMethodInfo: Weak<fn(env: *mut JNIEnv, ofClass: jclass) -> jobjectArray> = Weak::new("JVM_GetEnclosingMethodInfo");
942#[repr(C)]
943#[derive(Debug, Copy, Clone)]
944pub struct JDK1_1InitArgs {
945 pub version: jint,
946 pub properties: *mut *mut ::std::os::raw::c_char,
947 pub checkSource: jint,
948 pub nativeStackSize: jint,
949 pub javaStackSize: jint,
950 pub minHeapSize: jint,
951 pub maxHeapSize: jint,
952 pub verifyMode: jint,
953 pub classpath: *mut ::std::os::raw::c_char,
954 pub vfprintf: ::std::option::Option<
955 unsafe extern "C" fn(
956 fp: *mut FILE,
957 format: *const ::std::os::raw::c_char,
958 args: *mut __va_list_tag,
959 ) -> jint,
960 >,
961 pub exit: ::std::option::Option<unsafe extern "C" fn(code: jint)>,
962 pub abort: ::std::option::Option<unsafe extern "C" fn()>,
963 pub enableClassGC: jint,
964 pub enableVerboseGC: jint,
965 pub disableAsyncGC: jint,
966 pub verbose: jint,
967 pub debugging: jboolean,
968 pub debugPort: jint,
969}