From 95617805768e0100f8691eb1b3afd1761e406cd1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 18 Jul 2008 15:32:57 +0000 Subject: Adden Config: 'NioOnly [__ALL__|]', 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 --- src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/java/com/sun/gluegen/procaddress/ProcAddressConfiguration.java') 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; } -- cgit v1.2.3