From 9b825a445c3d2646546306c1815f498406e2f8c3 Mon Sep 17 00:00:00 2001 From: "Féry Mathieu (Mathius)" Date: Sun, 13 Aug 2023 23:27:46 +0200 Subject: feat(manual): Update configuration documentation. Add following configuration : * CustomJNICode * ExtendedInterfaceSymbolsIgnore * ExtendedInterfaceSymbolsOnly * ExtendedImplementationSymbolsIgnore * ExtendedImplementationSymbolsOnly * ExtendedIntfAndImplSymbolsIgnore * ExtendedIntfAndImplSymbolsOnly * MaxOneElement * ParentClass * ReturnsStringOnly Update following configuration : * Extends --- doc/manual/index.html | 128 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 126 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/manual/index.html b/doc/manual/index.html index 8d3d2fd..bd32af4 100755 --- a/doc/manual/index.html +++ b/doc/manual/index.html @@ -963,6 +963,20 @@ generated code. +
CustomJNICode
+
Syntax: CustomJNICode [class name] [code...]
+ + (optional) Causes the specified line of C code to be emitted into + the generated JNI code related of specified Java class. Can be used + to emit JNI code related of any generated class: the public interface, + the implementing class, the sole concrete class (in the case of + the AllStatic Style), or any of the Java + classes corresponding to referenced C structs in the parsed headers. + This usage is somewhat verbose, and the IncludeAs + directive provides a more concise way of including large bodies of + C code into the generated code. +
+
EmitStruct
Syntax: EmitStruct [C struct type name]
@@ -982,14 +996,94 @@ versions elsewhere in the system.
+
ExtendedInterfaceSymbolsIgnore
+
Syntax: ExtendedInterfaceSymbolsIgnore [Java file]
+ + (optional) Causes all autogenerated Java interface ignore + all symbols from interface declared inside named Java source + file.
+ + This directive can be used with Extends directive.
+ + Cf here for more information : + GlueGen_Mapping +
+ +
ExtendedInterfaceSymbolsOnly
+
Syntax: ExtendedInterfaceSymbolsOnly [Java file]
+ + (optional) Causes all autogenerated Java interface generate + only symbols from interface declared inside named Java source + file.
+ + This directive can be used with Extends directive.
+ + Cf here for more information : + GlueGen_Mapping +
+ +
ExtendedImplementationSymbolsIgnore
+
Syntax: ExtendedImplementationSymbolsIgnore [Java file]
+ + (optional) Causes all autogenerated Java classes ignore + all symbols from interface or classe declared inside named + Java source file.
+ + This directive can be used with ParentClass directive.
+ + Cf here for more information : + GlueGen_Mapping +
+ +
ExtendedImplementationSymbolsOnly
+
Syntax: ExtendedImplementationSymbolsOnly [Java file]
+ + (optional) Causes all autogenerated Java classes generate + only symbols from interface or classe declared inside named + Java source file.
+ + This directive can be used with ParentClass directive.
+ + Cf here for more information : + GlueGen_Mapping +
+ +
ExtendedIntfAndImplSymbolsIgnore
+
Syntax: ExtendedIntfAndImplSymbolsIgnore [Java file]
+ + (optional) Causes all autogenerated Java interface and classes ignore + all symbols from interface or classe declared inside named + Java source file.
+ + This directive can be used with Extends or + ParentClass directives.
+ + Cf here for more information : + GlueGen_Mapping +
+ +
ExtendedIntfAndImplSymbolsOnly
+
Syntax: ExtendedIntfAndImplSymbolsOnly [Java file]
+ + (optional) Causes all autogenerated Java interface and classes generate + only symbols from interface or classe declared inside named + Java source file.
+ + This directive can be used with Extends or + ParentClass directives.
+ + Cf here for more information : + GlueGen_Mapping +
+
Extends
Syntax: Extends [Java interface name] [interface name to extend]
(optional) Causes the specified autogenerated Java interface to declare that it extends another one. This directive may only be applied to autogenerated interfaces, not concrete classes. For - concrete classes, use the Implements - directive. + concrete classes, use Implements + directive or ParentClass directive.
HierarchicalNativeOutput
@@ -1155,6 +1249,18 @@ method will still be generated for the specified function. +
MaxOneElement
+
Syntax: MaxOneElement [function name]
+ + (optional) Indicates that the specified C function/attribute + which returns a single element instead a ByteBuffer if signature + or compatible type actually returns a pointer like int* but isn't an + array.
+ + Cf here for more information : + GlueGen_Mapping +
+
NativeOutputDir
Syntax: NativeOutputDir [directory name]
@@ -1219,6 +1325,15 @@ also ImplPackage.
+
ParentClass
+
Syntax: ParentClass [Java class name] [class name to extend]
+ + (optional) Causes the specified autogenerated Java classe to + declare that it extends another one. This directive may only be + applied to autogenerated classes, not interface. For + interfaces, use the Extends directive. +
+
RangeCheck
Syntax: RangeCheck [C function name] [argument number] [expression]
@@ -1301,6 +1416,15 @@ ByteBuffer converted to a String using custom Java code, and the ByteBuffer freed manually using another function bound to Java.
+
ReturnsStringOnly
+
Syntax: ReturnsStringOnly [function name]
+ + (optional) Like the ReturnsString instruction, + but without the classic getters and setters with ByteBuffer.
+ + Cf here for more information : + GlueGen_Mapping +
ReturnValueCapacity
Syntax: ReturnValueCapacity [C function name] [expression]
-- cgit v1.2.3