From 2015fa5cd47b9be234f30e4b98d06b83486e4fb2 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 29 Jan 2010 14:36:19 +0100 Subject: splitted CLImageFormat into CLImageFormat and (generated) CLImageFormatImpl. refactored CLProgram kernel creation code. updated tests. --- resources/cl-common.cfg | 12 +++++++----- resources/cl-if.cfg | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'resources') diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg index 46ee61e5..6a42f300 100644 --- a/resources/cl-common.cfg +++ b/resources/cl-common.cfg @@ -80,15 +80,17 @@ NioDirectOnly clGetGLContextInfoKHR #common rename emitted struct accessors #struct cl_image_format -RenameJavaType cl_image_format CLImageFormat +RenameJavaType cl_image_format CLImageFormatImpl +StructPackage cl_image_format com.mbien.opencl.impl + #struct fields ([set|get]+FieldName()) RenameJavaMethod image_channel_order imageChannelOrder RenameJavaMethod image_channel_data_type imageChannelDataType -ClassJavadoc CLImageFormat /** -ClassJavadoc CLImageFormat * Struct accessor for cl_image_format. -ClassJavadoc CLImageFormat * @author Michael Bien -ClassJavadoc CLImageFormat */ +ClassJavadoc CLImageFormatImpl /** +ClassJavadoc CLImageFormatImpl * Struct accessor for cl_image_format. +ClassJavadoc CLImageFormatImpl * @author Michael Bien +ClassJavadoc CLImageFormatImpl */ # Pick up on-line OpenCL doc and link it with the javadoc TagNativeBinding true \ No newline at end of file diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index 4b60e8a6..feb96399 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -5,6 +5,7 @@ Style InterfaceOnly #imports for all generated java files Import java.nio.IntBuffer Import java.nio.LongBuffer +Import com.mbien.opencl.impl.CLImageFormatImpl ClassJavadoc CL /** ClassJavadoc CL * Java bindings to OpenCL, the Open Computing Language. -- cgit v1.2.3