summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/JavaEmitter.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-08 00:51:23 +0200
committerMichael Bien <[email protected]>2010-04-08 00:51:23 +0200
commit709ed84f9065a5ff9039684de87fce7b0b7e0f34 (patch)
treefcbfac3f6e54e629399b3d6ef9c18c9edadf7e41 /src/java/com/sun/gluegen/JavaEmitter.java
parentdfbedc5907835d2f851087544029115896eceaca (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.java2
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()) {