diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/clImplCustomCode.java | 4 | ||||
-rw-r--r-- | resources/stubs_includes/common/stddef.h | 5 | ||||
-rw-r--r-- | resources/stubs_includes/common/stdint.h | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java index 4f9f4c2e..654df082 100644 --- a/resources/clImplCustomCode.java +++ b/resources/clImplCustomCode.java @@ -91,8 +91,8 @@ @param event a direct {@link com.jogamp.common.nio.PointerBuffer} @param errcode_ret a direct {@link java.nio.IntBuffer} */ public java.nio.ByteBuffer clEnqueueMapImage(long command_queue, long image, int blocking_map, long map_flags, - Int64Buffer origin, Int64Buffer range, - Int64Buffer image_row_pitch, Int64Buffer image_slice_pitch, + PointerBuffer origin, PointerBuffer range, + PointerBuffer image_row_pitch, PointerBuffer image_slice_pitch, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event, java.nio.IntBuffer errcode_ret) { diff --git a/resources/stubs_includes/common/stddef.h b/resources/stubs_includes/common/stddef.h index da2325af..c05f1d44 100644 --- a/resources/stubs_includes/common/stddef.h +++ b/resources/stubs_includes/common/stddef.h @@ -1,3 +1,4 @@ + #if defined(_WIN64) typedef __int64 ptrdiff_t; #elif defined(__ia64__) || defined(__x86_64__) @@ -7,4 +8,6 @@ #endif #define NULL ((void *)0) - typedef int wchar_t; + +typedef int wchar_t; +typedef unsigned long size_t;
\ No newline at end of file diff --git a/resources/stubs_includes/common/stdint.h b/resources/stubs_includes/common/stdint.h index 5c2a4a2e..d6a5dd23 100644 --- a/resources/stubs_includes/common/stdint.h +++ b/resources/stubs_includes/common/stdint.h @@ -18,8 +18,6 @@ typedef long intptr_t; typedef unsigned long uintptr_t; - typedef unsigned long size_t; - /* Greatest-width integer types */ /* Modern GCCs provide __INTMAX_TYPE__ */ #if defined(__INTMAX_TYPE__) |