aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFéry Mathieu (Mathius) <[email protected]>2023-08-13 23:27:46 +0200
committerFéry Mathieu (Mathius) <[email protected]>2023-08-13 23:27:46 +0200
commit9b825a445c3d2646546306c1815f498406e2f8c3 (patch)
tree65858cfb4c9a6b52ed68eea15770d91dbf50321d
parent96632c220a25866ae3e2091d5d5f2bee0f631b63 (diff)
feat(manual): Update configuration documentation.
Add following configuration : * CustomJNICode * ExtendedInterfaceSymbolsIgnore * ExtendedInterfaceSymbolsOnly * ExtendedImplementationSymbolsIgnore * ExtendedImplementationSymbolsOnly * ExtendedIntfAndImplSymbolsIgnore * ExtendedIntfAndImplSymbolsOnly * MaxOneElement * ParentClass * ReturnsStringOnly Update following configuration : * Extends
-rwxr-xr-xdoc/manual/index.html128
1 files changed, 126 insertions, 2 deletions
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.
</dd>
+ <dt><strong><a name="CustomJNICode">CustomJNICode</a></strong></dt>
+ <dd>Syntax: <code>CustomJNICode [class name] [code...]</code> <br/>
+
+ (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 <a href="#Style">Style</a>), or any of the Java
+ classes corresponding to referenced C structs in the parsed headers.
+ This usage is somewhat verbose, and the <a href="#IncludeAs">IncludeAs</a>
+ directive provides a more concise way of including large bodies of
+ C code into the generated code.
+ </dd>
+
<dt><strong><a name="EmitStruct">EmitStruct</a></strong></dt>
<dd>Syntax: <code>EmitStruct [C struct type name]</code> <br/>
@@ -982,14 +996,94 @@
versions elsewhere in the system.
</dd>
+ <dt><strong><a name="ExtendedInterfaceSymbolsIgnore">ExtendedInterfaceSymbolsIgnore</a></strong></dt>
+ <dd>Syntax: <code>ExtendedInterfaceSymbolsIgnore [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java interface ignore
+ all symbols from interface declared inside named Java source
+ file.<br />
+
+ This directive can be used with <a href="#Extends">Extends</a> directive.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
+ <dt><strong><a name="ExtendedInterfaceSymbolsOnly">ExtendedInterfaceSymbolsOnly</a></strong></dt>
+ <dd>Syntax: <code>ExtendedInterfaceSymbolsOnly [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java interface generate
+ only symbols from interface declared inside named Java source
+ file.<br />
+
+ This directive can be used with <a href="#Extends">Extends</a> directive.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
+ <dt><strong><a name="ExtendedImplementationSymbolsIgnore">ExtendedImplementationSymbolsIgnore</a></strong></dt>
+ <dd>Syntax: <code>ExtendedImplementationSymbolsIgnore [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java classes ignore
+ all symbols from interface or classe declared inside named
+ Java source file.<br />
+
+ This directive can be used with <a href="#ParentClass">ParentClass</a> directive.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
+ <dt><strong><a name="ExtendedImplementationSymbolsOnly">ExtendedImplementationSymbolsOnly</a></strong></dt>
+ <dd>Syntax: <code>ExtendedImplementationSymbolsOnly [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java classes generate
+ only symbols from interface or classe declared inside named
+ Java source file.<br />
+
+ This directive can be used with <a href="#ParentClass">ParentClass</a> directive.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
+ <dt><strong><a name="ExtendedIntfAndImplSymbolsIgnore">ExtendedIntfAndImplSymbolsIgnore</a></strong></dt>
+ <dd>Syntax: <code>ExtendedIntfAndImplSymbolsIgnore [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java interface and classes ignore
+ all symbols from interface or classe declared inside named
+ Java source file.<br />
+
+ This directive can be used with <a href="#Extends">Extends</a> or
+ <a href="#ParentClass">ParentClass</a> directives.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
+ <dt><strong><a name="ExtendedIntfAndImplSymbolsOnly">ExtendedIntfAndImplSymbolsOnly</a></strong></dt>
+ <dd>Syntax: <code>ExtendedIntfAndImplSymbolsOnly [Java file]</code> <br/>
+
+ (optional) Causes all autogenerated Java interface and classes generate
+ only symbols from interface or classe declared inside named
+ Java source file.<br />
+
+ This directive can be used with <a href="#Extends">Extends</a> or
+ <a href="#ParentClass">ParentClass</a> directives.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#oo-style-example">GlueGen_Mapping</a>
+ </dd>
+
<dt><strong><a name="Extends">Extends</a></strong></dt>
<dd>Syntax: <code>Extends [Java interface name] [interface name to extend] </code> <br/>
(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 <a href="#Implements">Implements</a>
- directive.
+ concrete classes, use <a href="#Implements">Implements</a>
+ directive or <a href="#ParentClass">ParentClass</a> directive.
</dd>
<dt><strong><a name="HierarchicalNativeOutput">HierarchicalNativeOutput</a></strong></dt>
@@ -1155,6 +1249,18 @@
method will still be generated for the specified function.
</dd>
+ <dt><strong><a name="MaxOneElement">MaxOneElement</a></strong></dt>
+ <dd> Syntax: <code>MaxOneElement [function name]</code> <br/>
+
+ (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.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#gluegen-struct-settings">GlueGen_Mapping</a>
+ </dd>
+
<dt><strong><a name="NativeOutputDir">NativeOutputDir</a></strong></dt>
<dd> Syntax: <code>NativeOutputDir [directory name]</code> <br/>
@@ -1219,6 +1325,15 @@
also <a href="#ImplPackage">ImplPackage</a>.
</dd>
+ <dt><strong><a name="ParentClass">ParentClass</a></strong></dt>
+ <dd>Syntax: <code>ParentClass [Java class name] [class name to extend] </code> <br/>
+
+ (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 <a href="#Extends">Extends</a> directive.
+ </dd>
+
<dt><strong><a name="RangeCheck">RangeCheck</a></strong></dt>
<dd> Syntax: <code>RangeCheck [C function name] [argument number] [expression]</code> <br/>
@@ -1301,6 +1416,15 @@
ByteBuffer converted to a String using custom Java code, and the
ByteBuffer freed manually using another function bound to Java.
</dd>
+ <dt><strong><a name="ReturnsStringOnly">ReturnsStringOnly</a></strong></dt>
+ <dd> Syntax: <code>ReturnsStringOnly [function name]</code> <br/>
+
+ (optional) Like the <a href="#ReturnsString">ReturnsString</a> instruction,
+ but without the classic getters and setters with ByteBuffer.<br />
+
+ Cf here for more information :
+ <a href="../GlueGen_Mapping.html#gluegen-struct-settings">GlueGen_Mapping</a>
+ </dd>
<dt><strong><a name="ReturnValueCapacity">ReturnValueCapacity</a></strong></dt>
<dd> Syntax: <code>ReturnValueCapacity [C function name]
[expression]</code> <br/>