From ddfd2364cd95603f059169b44666b20ba54069f2 Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Wed, 5 Mar 2014 14:49:54 -0600 Subject: Remove unnamed struct emission warnings. Uses the new augmentation of gluegen's Ignore keyword. --- make/config/cl-common.cfg | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/config/cl-common.cfg b/make/config/cl-common.cfg index 8e1adf16..15c22e22 100644 --- a/make/config/cl-common.cfg +++ b/make/config/cl-common.cfg @@ -16,6 +16,18 @@ Opaque long cl_platform_id Opaque long cl_device_id Opaque long cl_GLsync +#ignore for unnamed structs corresponding to the above types +Ignore _cl_context +Ignore _cl_command_queue +Ignore _cl_mem +Ignore _cl_program +Ignore _cl_kernel +Ignore _cl_event +Ignore _cl_sampler +Ignore _cl_platform_id +Ignore _cl_device_id +Ignore __GLsync + ArgumentIsString clCreateProgramWithSource 2 ArgumentIsString clBuildProgram 3 ArgumentIsString clCreateKernel 1 @@ -27,7 +39,6 @@ Ignore CL_LONG_MAX Ignore CL_LONG_MIN Ignore CL_ULONG_MAX - #use IllegalArgumentException for argument validation RuntimeExceptionType IllegalArgumentException -- cgit v1.2.3