summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorWade Walker <[email protected]>2014-03-05 14:49:54 -0600
committerWade Walker <[email protected]>2014-03-05 14:49:54 -0600
commitddfd2364cd95603f059169b44666b20ba54069f2 (patch)
tree0ac766ca26587ee3fc334e21e41861f958b89594 /make
parent806f2902482af7c77c6a25ac3f9e4d4f73d56a54 (diff)
Remove unnamed struct emission warnings.
Uses the new augmentation of gluegen's Ignore keyword.
Diffstat (limited to 'make')
-rw-r--r--make/config/cl-common.cfg13
1 files changed, 12 insertions, 1 deletions
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