IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
jvalue.cs
Go to the documentation of this file.
1using System.Runtime.InteropServices;
2
3namespace IKVM.Runtime.JNI
4{
5
6 using jboolean = System.SByte;
7 using jbyte = System.SByte;
8 using jchar = System.UInt16;
9 using jdouble = System.Double;
10 using jfloat = System.Single;
11 using jint = System.Int32;
12 using jlong = System.Int64;
13 using jobject = System.IntPtr;
14 using jshort = System.Int16;
15
19 [StructLayout(LayoutKind.Explicit)]
20 struct JValue
21 {
22
23 [FieldOffset(0)]
24 public jboolean z;
25
26 [FieldOffset(0)]
27 public jbyte b;
28
29 [FieldOffset(0)]
30 public jchar c;
31
32 [FieldOffset(0)]
33 public jshort s;
34
35 [FieldOffset(0)]
36 public jint i;
37
38 [FieldOffset(0)]
39 public jlong j;
40
41 [FieldOffset(0)]
42 public jfloat f;
43
44 [FieldOffset(0)]
45 public jdouble d;
46
47 [FieldOffset(0)]
48 public jobject l;
49
50 }
51
52}
System.Int16 jshort
Definition JNIEnv.cs:47
System.Single jfloat
Definition JNIEnv.cs:44
System.Double jdouble
Definition JNIEnv.cs:43
System.SByte jboolean
System.SByte jbyte
Definition JNIEnv.cs:41
System.Int32 jint
Definition JavaVM.cs:35
System.UInt16 jchar
Definition JNIEnv.cs:42
System.Int64 jlong
Definition JNIEnv.cs:46
System.IntPtr jobject
Union type that represents 'jvalue'.
Definition jvalue.cs:21