aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/CL/stdint.h6
-rw-r--r--resources/clImplCustomCode.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/resources/CL/stdint.h b/resources/CL/stdint.h
index a9dd63a4..8fd0d29f 100644
--- a/resources/CL/stdint.h
+++ b/resources/CL/stdint.h
@@ -15,10 +15,10 @@
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
- typedef int intptr_t;
- typedef unsigned int uintptr_t;
+ typedef long intptr_t;
+ typedef unsigned long uintptr_t;
- typedef unsigned int size_t;
+ typedef unsigned long size_t;
// FIXME workaround prevent re-defininition of int16_t in types.h
# define __int8_t_defined
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java
index 4b1d50c3..2fa48d64 100644
--- a/resources/clImplCustomCode.java
+++ b/resources/clImplCustomCode.java
@@ -2,13 +2,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 native long clCreateContext0(IntBuffer properties, int size, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2);
+ 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 native long clCreateContextFromType0(IntBuffer arg0, int size, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2);
+ private native long clCreateContextFromType0(IntBuffer arg0, int size, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2);
\ No newline at end of file