diff options
author | Sven Gothel <[email protected]> | 2010-11-07 03:37:01 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-07 03:37:01 +0100 |
commit | f27678d119ac85d8414f1ba533045eff80eee7af (patch) | |
tree | e16e09d429507da6060ee82e0b04be0699d8c9e6 | |
parent | 55a60c28ca8f501aca0fff8c69b11564518f3a66 (diff) |
Fix NativeSignatureJavaMethodBindingEmitter usage; Fix imports
-rwxr-xr-x | src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java b/src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java index 6f9f9b3bf..e8cdcc4b4 100755 --- a/src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java +++ b/src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java @@ -39,18 +39,18 @@ */ package com.jogamp.gluegen.opengl.nativesig; -import java.io.*; -import java.util.*; - -import com.jogamp.gluegen.MethodBinding; import com.jogamp.gluegen.FunctionEmitter; import com.jogamp.gluegen.JavaMethodBindingEmitter; import com.jogamp.gluegen.JavaType; - -import com.jogamp.gluegen.*; -import com.jogamp.gluegen.cgram.types.*; -import com.jogamp.gluegen.opengl.*; -import com.jogamp.gluegen.procaddress.*; +import com.jogamp.gluegen.MethodBinding; +import com.jogamp.gluegen.cgram.types.FunctionSymbol; +import com.jogamp.gluegen.opengl.GLEmitter; +import com.jogamp.gluegen.opengl.GLJavaMethodBindingEmitter; +import java.io.PrintWriter; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Set; /** * Emitter producing NativeSignature attributes. @@ -122,8 +122,6 @@ public class NativeSignatureEmitter extends GLEmitter { NativeSignatureJavaMethodBindingEmitter newEmitter = null; if (javaEmitter instanceof GLJavaMethodBindingEmitter) { newEmitter = new NativeSignatureJavaMethodBindingEmitter((GLJavaMethodBindingEmitter) javaEmitter); - } else if (javaEmitter instanceof ProcAddressJavaMethodBindingEmitter) { - newEmitter = new NativeSignatureJavaMethodBindingEmitter((ProcAddressJavaMethodBindingEmitter) javaEmitter); } else { newEmitter = new NativeSignatureJavaMethodBindingEmitter(javaEmitter, this); } |