diff options
author | Michael Bien <[email protected]> | 2010-04-08 00:51:23 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-08 00:51:23 +0200 |
commit | 709ed84f9065a5ff9039684de87fce7b0b7e0f34 (patch) | |
tree | fcbfac3f6e54e629399b3d6ef9c18c9edadf7e41 /src/java/com/sun/gluegen/JavaEmitter.java | |
parent | dfbedc5907835d2f851087544029115896eceaca (diff) |
gluegen imports now com.jogamp.common.nio.* and java.nio.* instead of using FQCN in emitted files.
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r-- | src/java/com/sun/gluegen/JavaEmitter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java index 4cee09c..ec7d951 100644 --- a/src/java/com/sun/gluegen/JavaEmitter.java +++ b/src/java/com/sun/gluegen/JavaEmitter.java @@ -46,6 +46,7 @@ import java.util.*; import java.text.MessageFormat; import com.sun.gluegen.cgram.types.*; +import java.nio.Buffer; import java.util.logging.Logger; import static java.util.logging.Level.*; @@ -1589,6 +1590,7 @@ public class JavaEmitter implements GlueEmitter { imports.add(cfg.gluegenRuntimePackage()+".*"); imports.add(DynamicLookupHelper.class.getPackage().getName()+".*"); imports.add(Buffers.class.getPackage().getName()+".*"); + imports.add(Buffer.class.getPackage().getName()+".*"); if (cfg.allStatic() || cfg.emitInterface()) { |