aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen/MethodBinding.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/gluegen/MethodBinding.java')
-rw-r--r--src/net/java/games/gluegen/MethodBinding.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/java/games/gluegen/MethodBinding.java b/src/net/java/games/gluegen/MethodBinding.java
index af86f0b66..5a88f00f8 100644
--- a/src/net/java/games/gluegen/MethodBinding.java
+++ b/src/net/java/games/gluegen/MethodBinding.java
@@ -142,11 +142,11 @@ public class MethodBinding {
return sym.getName();
}
- /** Replaces the void* argument at slot <i>argumentNumber</i>
+ /** Replaces the C primitive pointer argument at slot <i>argumentNumber</i>
(0..getNumArguments() - 1) with the specified type. If
argumentNumber is less than 0 then replaces the return type. */
- public MethodBinding createVoidPointerVariant(int argumentNumber,
- JavaType newArgType) {
+ public MethodBinding createCPrimitivePointerVariant(int argumentNumber,
+ JavaType newArgType) {
MethodBinding binding = new MethodBinding(sym);
if (argumentNumber < 0) {
binding.setJavaReturnType(newArgType);