From aeb5cb8f1de47841cca328227faff0d4ccbb97c5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 17 Feb 2014 02:56:57 +0100 Subject: Fix Bug 920 - JOCL does not work on windows with 32 bit vm (2/2) All gluegen generated native function wrappers, miss CL_API_CALL in the function declarations similar to commit 569726132f622e290bebc5d40c96f8115dbcb5da. Adding gluegen calling convention to cl-impl.cfg: LocalProcAddressCallingConvention __ALL__ CL_API_CALL All tests passed on windows 32bit now! --- make/config/cl-impl.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make/config/cl-impl.cfg b/make/config/cl-impl.cfg index c2aff892..19ea1379 100644 --- a/make/config/cl-impl.cfg +++ b/make/config/cl-impl.cfg @@ -17,10 +17,13 @@ ImplJavaClass CLAbstractImpl AccessControl CLAbstractImpl PUBLIC_ABSTRACT Implements CLAbstractImpl CLGL +LocalProcAddressCallingConvention __ALL__ CL_API_CALL + EmitProcAddressTable true ProcAddressTableClassName CLProcAddressTable GetProcAddressTableExpr addressTable ProcAddressNameExpr $UpperCase(arg) +ForceProcAddressGen __ALL__ #dynamic binding for OpenGL specific functions... #ForceProcAddressGen clGetGLContextInfoKHR -- cgit v1.2.3