aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-06-25 07:41:41 +0200
committerSven Gothel <[email protected]>2023-06-25 07:41:41 +0200
commit069c5f69d22c8979728149a51a089b52712cac5c (patch)
treeae1b2a0278f28b5ed485f4aebf45e37dfc6f4169
parent12ed5d03a26997c185474e992ad93ec99ec3baa1 (diff)
GlueGen: Add JavaEmitter(JavaConfiguration) ctor
-rw-r--r--src/java/com/jogamp/gluegen/JavaEmitter.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java
index 9ef739c..dea2249 100644
--- a/src/java/com/jogamp/gluegen/JavaEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaEmitter.java
@@ -152,6 +152,11 @@ public class JavaEmitter implements GlueEmitter {
LOG = Logging.getLogger(JavaEmitter.class.getPackage().getName(), JavaEmitter.class.getSimpleName());
}
+ public JavaEmitter(final JavaConfiguration cfg) {
+ this();
+ this.cfg = cfg;
+ }
+
@Override
public void readConfigurationFile(final String filename) throws Exception {
cfg = createConfig();