diff options
author | Sven Gothel <[email protected]> | 2008-07-18 15:32:57 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-18 15:32:57 +0000 |
commit | 95617805768e0100f8691eb1b3afd1761e406cd1 (patch) | |
tree | d8e9f5e3d5fa5dd937443142ede706c6cb156c9c /src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java | |
parent | c020a396e0cab63fa2b4d283decbea7d20ce3511 (diff) |
Adden Config: 'NioOnly [__ALL__|<FuncName>]', fixed other __ALL__ logic
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@102 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java')
-rwxr-xr-x | src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java b/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java index e05fb0a..9409a1e 100755 --- a/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java +++ b/src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java @@ -87,7 +87,7 @@ public class ProcAddressConfiguration extends JavaConfiguration if(funcName.equals("__ALL__")) { forceProcAddressGen4All=true; } else { - addForceProcAddressGen( readString("ForceProcAddressGen", tok, filename, lineNo) ); + addForceProcAddressGen( funcName ); } } else if (cmd.equalsIgnoreCase("GetProcAddressTableExpr")) @@ -285,7 +285,7 @@ public class ProcAddressConfiguration extends JavaConfiguration return procAddressNameConverter.convert(funcName); } public boolean forceProcAddressGen(String funcName) { - return forceProcAddressGenSet.contains(funcName); + return forceProcAddressGen4All || forceProcAddressGenSet.contains(funcName); } public void addForceProcAddressGen(String funcName) { @@ -298,6 +298,7 @@ public class ProcAddressConfiguration extends JavaConfiguration } public String getLocalProcAddressCallingConvention(String funcName) { + if(isLocalProcAddressCallingConvention4All()) return getLocalProcAddressCallingConvention4All(); return (String) localProcAddressCallingConventionMap.get(funcName); } public boolean isLocalProcAddressCallingConvention4All() { return localProcAddressCallingConvention4All!=null; } |