aboutsummaryrefslogtreecommitdiffstats
path: root/make/joal-alc.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-alc.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-alc.cfg')
-rwxr-xr-xmake/joal-alc.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/make/joal-alc.cfg b/make/joal-alc.cfg
index c319078..bd5a1d1 100755
--- a/make/joal-alc.cfg
+++ b/make/joal-alc.cfg
@@ -13,6 +13,15 @@ ProcAddressTableClassName ALCProcAddressTable
GetProcAddressTableExpr alcProcAddressTable
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 ALC_APIENTRY
+LocalProcAddressCallingConvention __ALL__ ALC_APIENTRY
+
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*
@@ -26,7 +35,6 @@ Ignore ^ALC_.+
# implement alcGetString(NULL, ALC_DEVICE_SPECIFIER) in another method
ReturnsString alcGetString
ManuallyImplement alcGetString
-ForceProcAddressGen alcGetString
# Note that we don't declare this as "ReturnsString" because we're
# going to wrap it in another method