summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/MethodBinding.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen/MethodBinding.java')
-rw-r--r--src/java/com/jogamp/gluegen/MethodBinding.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/MethodBinding.java b/src/java/com/jogamp/gluegen/MethodBinding.java
index 61732fb..53f6c7d 100644
--- a/src/java/com/jogamp/gluegen/MethodBinding.java
+++ b/src/java/com/jogamp/gluegen/MethodBinding.java
@@ -436,8 +436,16 @@ public class MethodBinding {
computedSignatureProperties = true;
}
- /** Indicates whether this MethodBinding is for a function pointer
- contained in a struct. */
+ /**
+ * Indicates whether this MethodBinding is for a function pointer
+ * contained in a struct, or to access array- or pointer-data from a struct.
+ * <p>
+ * The native calling convention, i.e. via a 'this' function pointer
+ * or by a static native function must be decided in the
+ * {@link JavaEmitter} handling structs and
+ * passed to the {@link CMethodBindingEmitter#setIsCStructFunctionPointer(boolean)}.
+ * </p>
+ */
public boolean hasContainingType() {
return (getContainingType() != null);
}