From 6e9315c3141ceb325e79f10459f4379dfdedf93e Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Thu, 31 Jan 2013 17:04:36 +0100
Subject: JOAL GlueGen: Force ProcAddress for all / ALExt*: Remove duplicates
 (AL) in interface _and_ implementation

- Using GlueGen enhancement of commit e58643727cc36d6dc27cec9e02934c26de7621ee
---
 make/joal.cfg | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'make/joal.cfg')

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.*
-- 
cgit v1.2.3