diff options
author | Kenneth Russel <[email protected]> | 2008-12-21 19:56:50 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-12-21 19:56:50 +0000 |
commit | e75cb79234ccd8fdc0ea3c8fe1f864123d175171 (patch) | |
tree | 425cccb9e11da2d6dd68f1aae6dc3d98b1e9644b /src/java/com | |
parent | 93b0bbc573fe1aaaac0eee1c471c09cc05e4d64c (diff) |
Fixed typo in ByteBuffer -> *-Buffer return type conversion pointed
out by java.net user kschwebke
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@120 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/sun/gluegen/JavaMethodBindingEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java b/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java index ecd83ac..5e6f1cb 100644 --- a/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java +++ b/src/java/com/sun/gluegen/JavaMethodBindingEmitter.java @@ -756,7 +756,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter writer.println(" return BufferFactory.asPointerBuffer(_res);"); } else { String returnTypeName = returnType.getName().substring("java.nio.".length()); - writer.println(" return _res.as" + returnTypeName + "()"); + writer.println(" return _res.as" + returnTypeName + "();"); } } else { writer.println(" return _res;"); |