diff options
author | Sven Gothel <[email protected]> | 2015-03-08 09:00:08 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-08 09:00:08 +0100 |
commit | 457355003bff320eee831731de016d29fb1e3982 (patch) | |
tree | ff3a257a8d2e083813f1499b906687576eddb558 /src/java/com/jogamp/gluegen/CMethodBindingEmitter.java | |
parent | da909f84dc8421052c92491baa7dd90e1c78dc8f (diff) |
Bug 1134 - Logging's formatter now takes care of Type -> getDebugString() when desired, not at 'log' call
Removes load to assemble the getDebugString() of Type and JavaType
when invoking log function. Note: the log may be skipped if log-level is not reached.
Diffstat (limited to 'src/java/com/jogamp/gluegen/CMethodBindingEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/CMethodBindingEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java index ed8c2d0..4599a56 100644 --- a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java +++ b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java @@ -866,7 +866,7 @@ public class CMethodBindingEmitter extends FunctionEmitter { writer.print(convName+"_copy[_copyIndex]"); writer.println(");"); } else { - if (true) throw new GlueGenException( + throw new GlueGenException( "Cannot yet handle type \"" + cArgType.getDebugString() + "\"; need to add support for cleaning up copied ptr-to-ptr-to-primitiveType subarrays", binding.getCSymbol().getASTLocusTag()); |