From 0f2fa98495ce75434fc011e7ba2976c78edd38d0 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 21 Apr 2004 01:36:13 +0000 Subject: 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 --- src/net/java/games/gluegen/MethodBinding.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/java/games/gluegen/MethodBinding.java') 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 argumentNumber + /** Replaces the C primitive pointer argument at slot argumentNumber (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); -- cgit v1.2.3