jvm_rs/
jvmticmlr.rs

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::*;
7
8pub const JVMTI_CMLR_MAJOR_VERSION_1: ::std::os::raw::c_uint = 1;
9pub const JVMTI_CMLR_MINOR_VERSION_0: ::std::os::raw::c_uint = 0;
10pub const JVMTI_CMLR_MAJOR_VERSION: ::std::os::raw::c_uint = 1;
11pub const JVMTI_CMLR_MINOR_VERSION: ::std::os::raw::c_uint = 0;
12pub const jvmtiCMLRKind_JVMTI_CMLR_DUMMY: jvmtiCMLRKind = 1;
13pub const jvmtiCMLRKind_JVMTI_CMLR_INLINE_INFO: jvmtiCMLRKind = 2;
14pub type jvmtiCMLRKind = ::std::os::raw::c_uint;
15#[repr(C)]
16#[derive(Debug, Copy, Clone)]
17pub struct _jvmtiCompiledMethodLoadRecordHeader {
18    pub kind: jvmtiCMLRKind,
19    pub majorinfoversion: jint,
20    pub minorinfoversion: jint,
21    pub next: *mut _jvmtiCompiledMethodLoadRecordHeader,
22}
23pub type jvmtiCompiledMethodLoadRecordHeader = _jvmtiCompiledMethodLoadRecordHeader;
24#[repr(C)]
25#[derive(Debug, Copy, Clone)]
26pub struct _PCStackInfo {
27    pub pc: *mut ::std::os::raw::c_void,
28    pub numstackframes: jint,
29    pub methods: *mut jmethodID,
30    pub bcis: *mut jint,
31}
32pub type PCStackInfo = _PCStackInfo;
33#[repr(C)]
34#[derive(Debug, Copy, Clone)]
35pub struct _jvmtiCompiledMethodLoadInlineRecord {
36    pub header: jvmtiCompiledMethodLoadRecordHeader,
37    pub numpcs: jint,
38    pub pcinfo: *mut PCStackInfo,
39}
40pub type jvmtiCompiledMethodLoadInlineRecord = _jvmtiCompiledMethodLoadInlineRecord;
41#[repr(C)]
42#[derive(Copy, Clone)]
43pub struct _jvmtiCompiledMethodLoadDummyRecord {
44    pub header: jvmtiCompiledMethodLoadRecordHeader,
45    pub message: [::std::os::raw::c_char; 50usize],
46}
47pub type jvmtiCompiledMethodLoadDummyRecord = _jvmtiCompiledMethodLoadDummyRecord;