aboutsummaryrefslogtreecommitdiffstats
path: root/resources/clImplCustomCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'resources/clImplCustomCode.java')
-rw-r--r--resources/clImplCustomCode.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java
new file mode 100644
index 00000000..7b69330b
--- /dev/null
+++ b/resources/clImplCustomCode.java
@@ -0,0 +1,13 @@
+
+ public long clCreateContext(IntBuffer properties, int arg1, long[] devices, CreateContextCallback cb, Object userData, IntBuffer errcode_ret) {
+ return this.clCreateContext0(properties, arg1, devices, cb, null, errcode_ret);
+ }
+
+ public native long clCreateContext0(IntBuffer properties, int arg1, long[] devices, CreateContextCallback cb, Object userData, IntBuffer errcode_ret);
+
+ public long clCreateContextFromType(IntBuffer arg0, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {
+ return this.clCreateContextFromType0(arg0, device_type, pfn_notify, null, errcode_ret);
+ }
+
+ public native long clCreateContextFromType0(IntBuffer arg0, long device_type, Object pfn_notify, Object userData, IntBuffer errcode_ret);
+ \ No newline at end of file