aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/procaddress
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-12-18 08:02:13 +0100
committerSven Gothel <[email protected]>2014-12-18 08:02:13 +0100
commit55b9d1a9c22ac2cfba9a876c9860aa3f15199606 (patch)
tree7b184af5f44927cae7371d5bb6729435f28eb53f /src/java/com/jogamp/gluegen/procaddress
parent181dc8ae227cd5cbecf60ab8d973bb8eef7c45f0 (diff)
ProcAddressConfiguration: Allow setting default value for 'GetProcAddressTableExpr'
Diffstat (limited to 'src/java/com/jogamp/gluegen/procaddress')
-rw-r--r--src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java
index 7fc720c..0c5692b 100644
--- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java
+++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressConfiguration.java
@@ -82,7 +82,7 @@ public class ProcAddressConfiguration extends JavaConfiguration {
addForceProcAddressGen(funcName);
}
} else if (cmd.equalsIgnoreCase("GetProcAddressTableExpr")) {
- getProcAddressTableExpr = readGetProcAddressTableExpr(tok, filename, lineNo);
+ setProcAddressTableExpr( readGetProcAddressTableExpr(tok, filename, lineNo) );
} else if (cmd.equalsIgnoreCase("ProcAddressNameExpr")) {
readProcAddressNameExpr(tok, filename, lineNo);
} else if (cmd.equalsIgnoreCase("LocalProcAddressCallingConvention")) {
@@ -287,6 +287,9 @@ public class ProcAddressConfiguration extends JavaConfiguration {
}
return getProcAddressTableExpr;
}
+ protected void setProcAddressTableExpr(final String s) {
+ getProcAddressTableExpr = s;
+ }
public String convertToFunctionPointerName(final String funcName) {
if (procAddressNameConverter == null) {