diff options
author | Sven Gothel <[email protected]> | 2015-03-07 08:28:03 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-07 08:28:03 +0100 |
commit | b86c042c864db0d8061b999fadc87dd9f3b45824 (patch) | |
tree | f7614f22693d50038072419bbf33dd9795af8107 /src/java/com/jogamp/gluegen/JavaConfiguration.java | |
parent | eca019cdea4017227e951d8a9eb30cb34fca4a07 (diff) |
Bug 1134 - Handle Opaque fields in structs; Print struct field name in apidoc of getter/setter
Diffstat (limited to 'src/java/com/jogamp/gluegen/JavaConfiguration.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/JavaConfiguration.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaConfiguration.java b/src/java/com/jogamp/gluegen/JavaConfiguration.java index 63f86e8..e1bdffd 100644 --- a/src/java/com/jogamp/gluegen/JavaConfiguration.java +++ b/src/java/com/jogamp/gluegen/JavaConfiguration.java @@ -371,6 +371,22 @@ public class JavaConfiguration { } private static final boolean DEBUG_TYPE_INFO = false; + + /** + * If the given {@code canonicalName} should be considered opaque, + * returns the TypeInfo describing the replacement type. + * <p> + * Returns null if this type should not be considered opaque. + * </p> + * <p> + * If symbol references a struct fields, see {@link #canonicalStructFieldSymbol(String, String)}, + * it describes field's array-length or element-count referenced by a pointer. + * </p> + */ + public TypeInfo canonicalNameOpaque(final String canonicalName) { + return typeInfoMap.get(canonicalName); + } + /** If this type should be considered opaque, returns the TypeInfo describing the replacement type. Returns null if this type should not be considered opaque. */ |