summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLErrorHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/CLErrorHandler.java')
-rw-r--r--src/com/jogamp/opencl/CLErrorHandler.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLErrorHandler.java b/src/com/jogamp/opencl/CLErrorHandler.java
new file mode 100644
index 00000000..74d49363
--- /dev/null
+++ b/src/com/jogamp/opencl/CLErrorHandler.java
@@ -0,0 +1,13 @@
+package com.jogamp.opencl;
+
+import java.nio.ByteBuffer;
+
+/**
+ *
+ * @author Michael Bien
+ */
+public interface CLErrorHandler {
+
+ public void onError(String errinfo, ByteBuffer private_info, long cb);
+
+}