diff options
author | Kenneth Russel <[email protected]> | 2004-04-21 01:36:13 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-21 01:36:13 +0000 |
commit | 0f2fa98495ce75434fc011e7ba2976c78edd38d0 (patch) | |
tree | b0c3040900b1c1c9de052b960753ad2eaaa273b9 /src/net/java/games/gluegen/MethodBinding.java | |
parent | 2ee2b7b51e3e82553e7dc17fe1a04e8cec5be8bf (diff) |
Fixed Issue 28: All functions that take arrays as parameters should also take buffers
Fixed Issue 36: glSelectBuffer/glFeedbackBuffer need direct buffers
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@112 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/gluegen/MethodBinding.java')
-rw-r--r-- | src/net/java/games/gluegen/MethodBinding.java | 6 |
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); |