diff options
Diffstat (limited to 'resources/cl-impl.cfg')
-rw-r--r-- | resources/cl-impl.cfg | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg index 32a3099d..c2aff892 100644 --- a/resources/cl-impl.cfg +++ b/resources/cl-impl.cfg @@ -5,6 +5,8 @@ Style ImplOnly #imports for all generated java files Import com.jogamp.opencl.llb.* Import com.jogamp.opencl.llb.gl.CLGL +Import java.security.AccessController +Import java.security.PrivilegedAction ClassJavadoc CLAbstractImpl /** ClassJavadoc CLAbstractImpl * Java bindings to OpenCL, the Open Computing Language (generated). @@ -45,10 +47,11 @@ ProcAddressNameExpr $UpperCase(arg) #...or force all ForceProcAddressGen __ALL__ -Unignore clGetExtensionFunctionAddress -RenameJavaMethod clGetExtensionFunctionAddress clGetExtensionFunctionAddressImpl -AccessControl clGetExtensionFunctionAddressImpl PROTECTED -ArgumentIsString clGetExtensionFunctionAddressImpl 0 +# +# extern CL_API_ENTRY void * CL_API_CALL clGetExtensionFunctionAddress(const char * /* func_name */) CL_API_SUFFIX__VERSION_1_0; +# +Ignore clGetExtensionFunctionAddress +ForceProcAddressGen clGetExtensionFunctionAddress #append to generated c files CustomCCode #include <CL/cl.h> |