This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## Java utilities
44
55There is now a utility library for manipulating java objects. It contains
6- a type JObject which wraps a java object, some type conversion operations:
6+ a type ` JObject ` which wraps a Java object, some type conversion operations:
77
8- * StringFromJString - converts a Java string to an LCB String
9- * StringToJString - converts an LCB String to a Java string
10- * DataFromJByteArray - converts a Java byte array to LCB Data
11- * DataToJByteArray - converts LCB Data to a Java byte array
8+ * ` StringFromJString ` - converts a Java string to an LCB String
9+ * ` StringToJString ` - converts an LCB String to a Java string
10+ * ` DataFromJByteArray ` - converts a Java byte array to LCB Data
11+ * ` DataToJByteArray ` - converts LCB Data to a Java byte array
1212
1313and a utility for determining the class of a given java object:
1414
15- * GetJavaClassName - return an LCB String containing the class name of the given JObject
15+ * ` GetJavaClassName ` - return an LCB String containing the class name of the given ` JObject `
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ when calling the JNI.
2222
2323* calling* specifies the calling convention which can be one of:
2424
25- - instance
26- - static
27- - nonvirtual
25+ - ` instance `
26+ - ` static `
27+ - ` nonvirtual `
2828
29- Instance and nonvirtual calling conventions require instances of the given
30- java class, so the foreign handler declaration will always require a Java
29+ Instance and nonvirtual calling conventions require instances of the given
30+ Java class, so the foreign handler declaration will always require a Java
3131object parameter.
3232
3333### Examples
You can’t perform that action at this time.
0 commit comments