aboutsummaryrefslogtreecommitdiffstats
path: root/resources/cl-impl.cfg
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-23 01:32:54 +0200
committerMichael Bien <[email protected]>2009-09-23 01:32:54 +0200
commit0ac4a12fb74de16f41ee9ad46e917b45523bbac4 (patch)
treed9072115c60805c0f50df2ae4cd90227e6c10cea /resources/cl-impl.cfg
parent8ba956a7df1b98ed2957a932debfce4c6d4cb848 (diff)
splitted binding in core (CL) and CL-GL interop. (CLGLI)
began with custom impl. for functions with c -> java callbacks added an utility which uncomments function parameter names in headers
Diffstat (limited to 'resources/cl-impl.cfg')
-rw-r--r--resources/cl-impl.cfg27
1 files changed, 17 insertions, 10 deletions
diff --git a/resources/cl-impl.cfg b/resources/cl-impl.cfg
index 5cf23c88..58fc5871 100644
--- a/resources/cl-impl.cfg
+++ b/resources/cl-impl.cfg
@@ -1,18 +1,15 @@
Include cl-common.cfg
-Package com.mbien.opencl
-
-Style InterfaceAndImpl
+Style ImplOnly
#imports for all generated java files
Import com.mbien.opencl.*
-#Import java.nio.*
+Import java.nio.IntBuffer
-ClassJavadoc CL /**
-ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language.
-ClassJavadoc CL * @autor Michael Bien
-ClassJavadoc CL */
-JavaClass CL
+ClassJavadoc CLImpl /**
+ClassJavadoc CLImpl * Java bindings to OpenCL, the Open Computing Language.
+ClassJavadoc CLImpl * @autor Michael Bien
+ClassJavadoc CLImpl */
ImplJavaClass CLImpl
Implements CLImpl CLGLI
@@ -20,4 +17,14 @@ Implements CLImpl CLGLI
#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <gl3.h>
-CustomCCode #include <inttypes.h> \ No newline at end of file
+CustomCCode #include <inttypes.h>
+
+# implement manually via custom code
+Ignore clCreateContext
+Ignore clCreateContextFromType
+Ignore clBuildProgram
+Ignore clEnqueueNativeKernel
+
+#include custom code
+IncludeAs CustomJavaCode CLImpl clImplCustomCode.java
+IncludeAs CustomCCode clImplCustomCode.c