From be4e9559f16e3ac5a5d109b26fbb9d579345f25c Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 1 Oct 2009 01:19:17 +0200 Subject: added utility methods and getters to CLPlatform, CLDevice and CLContext. adapted unit test. --- resources/clImplCustomCode.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'resources/clImplCustomCode.java') diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java index 2fa48d64..5ccc3b02 100644 --- a/resources/clImplCustomCode.java +++ b/resources/clImplCustomCode.java @@ -1,13 +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, 0); + public long clCreateContext(IntBuffer properties, int offset1, long[] devices, CreateContextCallback cb, Object userData, IntBuffer errcode_ret, int offset2) { + return this.clCreateContext0(properties, offset1, devices, cb, null, errcode_ret, offset2); } private native long clCreateContext0(IntBuffer properties, int size, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2); - public long clCreateContextFromType(IntBuffer arg0, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) { - return this.clCreateContextFromType0(arg0, 0, device_type, pfn_notify, null, errcode_ret, 0); + public long clCreateContextFromType(IntBuffer arg0, int offset1, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int offset2) { + return this.clCreateContextFromType0(arg0, offset1, device_type, pfn_notify, null, errcode_ret, offset2); } private native long clCreateContextFromType0(IntBuffer arg0, int size, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2); -- cgit v1.2.3