summaryrefslogtreecommitdiffstats
path: root/make/joal.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.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.cfg')
-rwxr-xr-xmake/joal.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/joal.cfg b/make/joal.cfg
index 6b1bd32..661b84e 100755
--- a/make/joal.cfg
+++ b/make/joal.cfg
@@ -12,6 +12,14 @@ ProcAddressTableClassName ALProcAddressTable
GetProcAddressTableExpr alProcAddressTable
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 com.jogamp.openal.*
Import jogamp.openal.*