From 09ac312a0645bd0d9adff580f29f20382dfbf8c9 Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Mon, 18 Jan 2010 15:24:29 +0100
Subject: introduced CLMemory as superclass for all memory objects. added
 CLImage, CLImage2d and CLImage3d.

---
 resources/clImplCustomCode.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'resources/clImplCustomCode.java')

diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java
index cffe9a72..c0c8365b 100644
--- a/resources/clImplCustomCode.java
+++ b/resources/clImplCustomCode.java
@@ -1,5 +1,5 @@
 
-        public long clCreateContext(LongBuffer properties, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {
+        public long clCreateContext(java.nio.Buffer properties, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {
 
             if(pfn_notify != null)
                 throw new RuntimeException("asynchronous execution with callback is not yet implemented, pass null through this method to block until complete.");
@@ -18,7 +18,7 @@
         private native long clCreateContext1(Object cl_context_properties, int props_offset, int deviceCount, long[] devices, CreateContextCallback pfn_notify, Object userData, Object errcode_ret, int err_offset);
 
         
-        public long clCreateContextFromType(LongBuffer properties, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {
+        public long clCreateContextFromType(java.nio.Buffer properties, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {
 
             if(pfn_notify != null)
                 throw new RuntimeException("asynchronous execution with callback is not yet implemented, pass null through this method to block until complete.");
@@ -61,4 +61,4 @@
                 values[i-1] = temp>>>32;
                 values[i  ] = temp & 0x00000000FFFFFFFFL;
             }
-		}
+        }
-- 
cgit v1.2.3