summaryrefslogtreecommitdiffstats
path: root/make/joal-alc.cfg
diff options
context:
space:
mode:
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