From 7d4baa0cff089699b7e17c71a2609d5f1b58c969 Mon Sep 17 00:00:00 2001 From: kbr Date: Thu, 22 Dec 2005 08:01:04 +0000 Subject: Revived gluegen-branch-1-0 branch of JOAL source tree, which was a never-productized port of the JOAL workspace using GlueGen to autogenerate its code. Brought branch up to current version of GlueGen and OpenAL 1.1 headers. Changed code generation style to use call-through-function-pointer nearly everywhere; resulted in significant refactoring of GlueGen's GLEmitter into generic ProcAddressEmitter, checked in separately. Worked around bug in current OpenAL implementation where alGetProcAddress doesn't work properly for core routines; uses dlsym or similar for function lookup. Revised build.xml to use cpptasks as in JOGL. Cleaned up API to match JOGL's more closely; renamed OpenALException to ALException and made it a RuntimeException, cleaned up ALFactory and ALut, deleted Sound3DException in favor of ALException, moved JOALVersion to util/Version, etc. Added BufferUtils from GlueGen workspace (really need shared project used among all Java Games APIs). Revised ALut, WAVLoader and demos; demos will be checked in later (no Developer rights yet on joal-demos workspace). git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/branches/gluegen-branch-1-0@96 03bf7f67-59de-4072-a415-9a990d468a3f --- make/joal-common-CustomCCode.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 make/joal-common-CustomCCode.c (limited to 'make/joal-common-CustomCCode.c') diff --git a/make/joal-common-CustomCCode.c b/make/joal-common-CustomCCode.c new file mode 100755 index 0000000..f749723 --- /dev/null +++ b/make/joal-common-CustomCCode.c @@ -0,0 +1,9 @@ +#ifdef _MSC_VER /* Windows, Microsoft compilers */ +/* This typedef is only needed for VC6 */ +#if _MSC_VER <= 1200 +typedef int intptr_t; +#endif +#else +/* This header seems to be available on all other platforms */ +#include +#endif -- cgit v1.2.3