summaryrefslogtreecommitdiffstats
path: root/make/joal-alext.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-01-31 17:04:36 +0100
committerSven Gothel <[email protected]>2013-01-31 17:04:36 +0100
commit6e9315c3141ceb325e79f10459f4379dfdedf93e (patch)
tree01c089b57e36777680a479d200a4abf166bb6c3f /make/joal-alext.cfg
parent5519ea488ee497238faf2500f7369362d54e4d53 (diff)
JOAL GlueGen: Force ProcAddress for all / ALExt*: Remove duplicates (AL) in interface _and_ implementation
- Using GlueGen enhancement of commit e58643727cc36d6dc27cec9e02934c26de7621ee
Diffstat (limited to 'make/joal-alext.cfg')
-rw-r--r--make/joal-alext.cfg17
1 files changed, 13 insertions, 4 deletions
diff --git a/make/joal-alext.cfg b/make/joal-alext.cfg
index 96c0322..d57b9a3 100644
--- a/make/joal-alext.cfg
+++ b/make/joal-alext.cfg
@@ -8,16 +8,25 @@ ImplJavaClass ALExtAbstractImpl
AccessControl ALExtAbstractImpl PUBLIC_ABSTRACT
Extends ALExt ALExtConstants
-ExtendedInterfaceSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/AL.java
-ExtendedInterfaceSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALConstants.java
-ExtendedInterfaceSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALC.java
-ExtendedInterfaceSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALCConstants.java
+ExtendedIntfAndImplSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/AL.java
+ExtendedIntfAndImplSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALConstants.java
+ExtendedIntfAndImplSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALC.java
+ExtendedIntfAndImplSymbolsIgnore ../build-temp/gensrc/classes/com/jogamp/openal/ALCConstants.java
EmitProcAddressTable true
ProcAddressTableClassName ALExtProcAddressTable
GetProcAddressTableExpr alExtProcAddressTable
ProcAddressNameExpr LP $UPPERCASE({0})
+# Force all of the methods to be emitted using dynamic linking so we
+# don't need to link against any emulation library on the desktop or
+# depend on the presence of an import library for a particular device
+ForceProcAddressGen __ALL__
+
+# Also force the calling conventions of the locally generated function
+# pointer typedefs for these routines to AL_APIENTRY
+LocalProcAddressCallingConvention __ALL__ AL_APIENTRY
+
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*