summaryrefslogtreecommitdiffstats
path: root/make/config/cl-if.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/cl-if.cfg')
-rw-r--r--make/config/cl-if.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/make/config/cl-if.cfg b/make/config/cl-if.cfg
index d4d600b1..b01ab957 100644
--- a/make/config/cl-if.cfg
+++ b/make/config/cl-if.cfg
@@ -14,9 +14,6 @@ ClassJavadoc CL * @author Michael Bien, GlueGen, et al.
ClassJavadoc CL */
JavaClass CL
-#ignore cl-gl interoperability functions. Interface 'CL' is pure OpenCL.
-Ignore CL_GL_.*|cl.*GL.*|.*_GL_.*
-
Ignore clCreateContext
Ignore clCreateContextFromType
Ignore clBuildProgram
@@ -44,3 +41,9 @@ CustomJavaCode CL public int clSetMemObjectDestructorCallback(long memObjID, CL
CustomJavaCode CL
CustomJavaCode CL /** Interface to C language function: <br> <code> int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data); </code> */
CustomJavaCode CL public int clSetEventCallback(long event, int type, CLEventCallback cb);
+
+CustomJavaCode CL /** To be used on Mac OSX instead of {@link #CL_CGL_SHAREGROUP_KHR}}. FIXME: For all Mac OSX versions? */
+CustomJavaCode CL public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE = 0x10000000;
+
+#append to generated c files
+#CustomCCode #include <inttypes.h>