diff --git a/doc/notes/3.3.1.md b/doc/notes/3.3.1.md index 555a451ec0..a5687e9a17 100644 --- a/doc/notes/3.3.1.md +++ b/doc/notes/3.3.1.md @@ -26,6 +26,7 @@ This build includes the following changes: #### Fixes - Core: Fixed extra `NUL` in string returned from `SharedLibrary::getPath()` on Linux & macOS. (#713) +- Core: Fixed integer overflow when casting pointers on 32-bit architectures. (#720) - Core: Fixed rare `NPE` with `Configuration.DEBUG_STACK` enabled. (#721) - vma: Fixed nullability of `VmaVirtualAllocationCreateInfo::pUserData` member. - Vulkan: All `noautovalidity` parameters/members are now regarded as nullable. (#702) diff --git a/modules/generator/src/main/kotlin/org/lwjgl/generator/Functions.kt b/modules/generator/src/main/kotlin/org/lwjgl/generator/Functions.kt index 78a2aae6d3..03e4b35c24 100644 --- a/modules/generator/src/main/kotlin/org/lwjgl/generator/Functions.kt +++ b/modules/generator/src/main/kotlin/org/lwjgl/generator/Functions.kt @@ -1940,7 +1940,7 @@ class Func( if (nativeClass.binding != null) { if (hasFunctionAddressParam) { - println("$t${nativeName}PROC $nativeName = (${nativeName}PROC)(intptr_t)$FUNCTION_ADDRESS;") + println("$t${nativeName}PROC $nativeName = (${nativeName}PROC)(uintptr_t)$FUNCTION_ADDRESS;") } else println("$t${nativeName}PROC $nativeName = (${nativeName}PROC)tlsGetFunction(${nativeClass.binding.getFunctionOrdinal(this@Func)});") } @@ -1972,7 +1972,7 @@ class Func( } else { "($variableType)" } - }${if (variableType != "intptr_t") "(intptr_t)" else ""}${it.name}$POINTER_POSTFIX;" + }${if (variableType != "uintptr_t") "(uintptr_t)" else ""}${it.name}$POINTER_POSTFIX;" ) } } @@ -2016,7 +2016,7 @@ class Func( nativeCall = "$t$callPrefix${JNI_NAME(hasArrays = true, critical = true, ignoreArrayType = true)}(${getNativeParams() .map { if (it.nativeType is ArrayType<*>) - "(intptr_t)${it.name}" + "(uintptr_t)${it.name}" else "${it.name}${if (it.nativeType is PointerType<*> || it.nativeType is StructType) POINTER_POSTFIX else ""}" } @@ -2047,7 +2047,7 @@ class Func( print(if (it != null) "*$it = " else - "*((${returns.nativeType.name}*)(intptr_t)$RESULT) = " + "*((${returns.nativeType.name}*)(uintptr_t)$RESULT) = " ) } } else if (!returns.isVoid) { @@ -2055,7 +2055,7 @@ class Func( if (returns.jniFunctionType != returns.nativeType.name) print("(${returns.jniFunctionType})") if (returns.nativeType is PointerType<*> && nativeClass.binding == null) - print("(intptr_t)") + print("(uintptr_t)") if (has
()) print('&') } diff --git a/modules/generator/src/main/kotlin/org/lwjgl/generator/JNI.kt b/modules/generator/src/main/kotlin/org/lwjgl/generator/JNI.kt index 12776829aa..0d32202caa 100644 --- a/modules/generator/src/main/kotlin/org/lwjgl/generator/JNI.kt +++ b/modules/generator/src/main/kotlin/org/lwjgl/generator/JNI.kt @@ -97,7 +97,7 @@ object JNI : GeneratorTargetNative(Module.CORE, "JNI") { private val NativeType.nativeType get() = if (this.isPointer) - "intptr_t" + "uintptr_t" else if (this.mapping == PrimitiveMapping.CLONG) "long" else @@ -134,10 +134,10 @@ object JNI : GeneratorTargetNative(Module.CORE, "JNI") { print("((${it.returnType.nativeType} (${if (it.callingConvention === CallingConvention.STDCALL) "APIENTRY " else ""}*) ") print(it.arguments.asSequence() .joinToString(", ", prefix = "(", postfix = ")") { arg -> arg.nativeType }) - print(")(intptr_t)$FUNCTION_ADDRESS)(") + print(")(uintptr_t)$FUNCTION_ADDRESS)(") print(it.arguments.asSequence() .mapIndexed { i, param -> if (param.isPointer) - "(intptr_t)param$i" + "(uintptr_t)param$i" else if (param.mapping === PrimitiveMapping.CLONG) "(long)param$i" else @@ -170,12 +170,12 @@ object JNI : GeneratorTargetNative(Module.CORE, "JNI") { print("((${it.returnType.nativeType} (${if (it.callingConvention === CallingConvention.STDCALL) "APIENTRY " else ""}*) ") print(it.arguments.asSequence() .joinToString(", ", prefix = "(", postfix = ")") { arg -> arg.nativeType }) - print(")(intptr_t)$FUNCTION_ADDRESS)(") + print(")(uintptr_t)$FUNCTION_ADDRESS)(") print(it.arguments.asSequence() .mapIndexed { i, param -> if (param is ArrayType<*>) - "(intptr_t)paramArray$i" + "(uintptr_t)paramArray$i" else if (param.isPointer) - "(intptr_t)param$i" + "(uintptr_t)param$i" else if (param.mapping === PrimitiveMapping.CLONG) "(long)param$i" else diff --git a/modules/generator/src/main/kotlin/org/lwjgl/generator/Parameters.kt b/modules/generator/src/main/kotlin/org/lwjgl/generator/Parameters.kt index c73b3d22aa..3f6f1d481c 100644 --- a/modules/generator/src/main/kotlin/org/lwjgl/generator/Parameters.kt +++ b/modules/generator/src/main/kotlin/org/lwjgl/generator/Parameters.kt @@ -43,7 +43,7 @@ class ReturnValue private constructor(override val nativeType: NativeType) : Qua nativeType.name } else { if (nativeType.mapping === PrimitiveMapping.POINTER || nativeType is PointerType<*>) - "intptr_t" + "uintptr_t" else nativeType.jniFunctionType } @@ -109,7 +109,7 @@ class Parameter( if (pointerMode && nativeType is StructType) "$it *" else it } else if (nativeType.mapping === PrimitiveMapping.POINTER || nativeType is PointerType<*>) - "intptr_t" + "uintptr_t" else nativeType.jniFunctionType diff --git a/modules/generator/src/main/kotlin/org/lwjgl/generator/Structs.kt b/modules/generator/src/main/kotlin/org/lwjgl/generator/Structs.kt index 5281ff04da..14465e0b0e 100644 --- a/modules/generator/src/main/kotlin/org/lwjgl/generator/Structs.kt +++ b/modules/generator/src/main/kotlin/org/lwjgl/generator/Structs.kt @@ -2314,7 +2314,7 @@ ${validations.joinToString("\n")} EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_${nativeFileNameJNI}_offsets(JNIEnv *$JNIENV, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS($JNIENV, clazz) """) @@ -2385,7 +2385,7 @@ EXTERN_C_EXIT""") JNIEXPORT ${it.nativeType.jniFunctionType} JNICALL Java_$signature(JNIEnv *$JNIENV, jclass clazz, jlong bufferAddress) { UNUSED_PARAMS($JNIENV, clazz) - $nativeName *buffer = ($nativeName *)(intptr_t)bufferAddress; + $nativeName *buffer = ($nativeName *)(uintptr_t)bufferAddress; return (${it.nativeType.jniFunctionType})buffer->$prefix${it.name}; }""") } @@ -2407,7 +2407,7 @@ JNIEXPORT ${it.nativeType.jniFunctionType} JNICALL Java_$signature(JNIEnv *$JNIE JNIEXPORT void JNICALL Java_$signature(JNIEnv *$JNIENV, jclass clazz, jlong bufferAddress, ${it.nativeType.jniFunctionType} value) { UNUSED_PARAMS($JNIENV, clazz) - $nativeName *buffer = ($nativeName *)(intptr_t)bufferAddress; + $nativeName *buffer = ($nativeName *)(uintptr_t)bufferAddress; buffer->$prefix${it.name} = (${it.nativeType.name})value; }""") } diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_DynamicLinkLoader.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_DynamicLinkLoader.c index f98444d9f1..4d28984438 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_DynamicLinkLoader.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_DynamicLinkLoader.c @@ -9,25 +9,25 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_DynamicLinkLoader_ndlopen(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint mode) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlopen(filename, mode); + return (jlong)(uintptr_t)dlopen(filename, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_DynamicLinkLoader_ndlerror(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlerror(); + return (jlong)(uintptr_t)dlerror(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_DynamicLinkLoader_ndlsym(JNIEnv *__env, jclass clazz, jlong handleAddress, jlong nameAddress) { - void *handle = (void *)(intptr_t)handleAddress; - char const *name = (char const *)(intptr_t)nameAddress; + void *handle = (void *)(uintptr_t)handleAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlsym(handle, name); + return (jlong)(uintptr_t)dlsym(handle, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_DynamicLinkLoader_ndlclose(JNIEnv *__env, jclass clazz, jlong handleAddress) { - void *handle = (void *)(intptr_t)handleAddress; + void *handle = (void *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) return (jint)dlclose(handle); } diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_FCNTL.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_FCNTL.c index 0d993f5b0a..7531401ed6 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_FCNTL.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_FCNTL.c @@ -10,7 +10,7 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nopen(JNIEnv *__env, jclass clazz, jlong pathnameAddress, jint flags, jint mode) { - char const *pathname = (char const *)(intptr_t)pathnameAddress; + char const *pathname = (char const *)(uintptr_t)pathnameAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)open(pathname, flags, (mode_t)mode); @@ -19,7 +19,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nopen(JNIEnv *__env, jc } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nopenat(JNIEnv *__env, jclass clazz, jint dirfd, jlong pathnameAddress, jint flags, jint mode) { - char const *pathname = (char const *)(intptr_t)pathnameAddress; + char const *pathname = (char const *)(uintptr_t)pathnameAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)openat(dirfd, pathname, flags, (mode_t)mode); @@ -28,7 +28,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nopenat(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_ncreat(JNIEnv *__env, jclass clazz, jlong pathnameAddress, jint mode) { - char const *pathname = (char const *)(intptr_t)pathnameAddress; + char const *pathname = (char const *)(uintptr_t)pathnameAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)creat(pathname, (mode_t)mode); @@ -53,7 +53,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nfcntli(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_FCNTL_nfcntlp(JNIEnv *__env, jclass clazz, jint fd, jint cmd, jlong argAddress) { - void *arg = (void *)(intptr_t)argAddress; + void *arg = (void *)(uintptr_t)argAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)fcntl(fd, cmd, arg); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_MMAN.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_MMAN.c index 1becf830fe..9b046610bd 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_MMAN.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_MMAN.c @@ -10,16 +10,16 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_MMAN_mmap(JNIEnv *__env, jclass clazz, jlong addrAddress, jlong length, jint prot, jint flags, jint fd, jlong offset) { - void *addr = (void *)(intptr_t)addrAddress; + void *addr = (void *)(uintptr_t)addrAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)mmap(addr, (size_t)length, prot, flags, fd, (off_t)offset); + __result = (jlong)(uintptr_t)mmap(addr, (size_t)length, prot, flags, fd, (off_t)offset); saveErrno(); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_MMAN_nmunmap(JNIEnv *__env, jclass clazz, jlong addrAddress, jlong length) { - void *addr = (void *)(intptr_t)addrAddress; + void *addr = (void *)(uintptr_t)addrAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)munmap(addr, (size_t)length); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_Stat.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_Stat.c index 3796380f76..58281c4d8a 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_Stat.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_Stat.c @@ -10,8 +10,8 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_Stat_nstat(JNIEnv *__env, jclass clazz, jlong __fileAddress, jlong __bufAddress) { - char const *__file = (char const *)(intptr_t)__fileAddress; - struct stat *__buf = (struct stat *)(intptr_t)__bufAddress; + char const *__file = (char const *)(uintptr_t)__fileAddress; + struct stat *__buf = (struct stat *)(uintptr_t)__bufAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)stat(__file, __buf); @@ -20,7 +20,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_Stat_nstat(JNIEnv *__env, jcl } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_Stat_nfstat(JNIEnv *__env, jclass clazz, jint __fd, jlong __bufAddress) { - struct stat *__buf = (struct stat *)(intptr_t)__bufAddress; + struct stat *__buf = (struct stat *)(uintptr_t)__bufAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)fstat(__fd, __buf); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UIO.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UIO.c index c01d270527..d43b8fd163 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UIO.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UIO.c @@ -10,7 +10,7 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nreadv(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)readv(__fd, __iovec, __count); @@ -19,7 +19,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nreadv(JNIEnv *__env, jc } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nwritev(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)writev(__fd, __iovec, __count); @@ -28,7 +28,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nwritev(JNIEnv *__env, j } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npreadv(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count, jlong __offset) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)preadv(__fd, __iovec, __count, (off_t)__offset); @@ -37,7 +37,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npreadv(JNIEnv *__env, j } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npwritev(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count, jlong __offset) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)pwritev(__fd, __iovec, __count, (off_t)__offset); @@ -46,7 +46,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npwritev(JNIEnv *__env, } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npreadv2(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count, jlong __offset, jint __flags) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)preadv2(__fd, __iovec, __count, (off_t)__offset, __flags); @@ -55,7 +55,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npreadv2(JNIEnv *__env, } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npwritev2(JNIEnv *__env, jclass clazz, jint __fd, jlong __iovecAddress, jint __count, jlong __offset, jint __flags) { - struct iovec const *__iovec = (struct iovec const *)(intptr_t)__iovecAddress; + struct iovec const *__iovec = (struct iovec const *)(uintptr_t)__iovecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)pwritev2(__fd, __iovec, __count, (off_t)__offset, __flags); @@ -64,8 +64,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_npwritev2(JNIEnv *__env, } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nprocess_1vm_1readv(JNIEnv *__env, jclass clazz, jint __pid, jlong __lvecAddress, jlong __liovcnt, jlong __rvecAddress, jlong __riovcnt, jlong __flags) { - struct iovec const *__lvec = (struct iovec const *)(intptr_t)__lvecAddress; - struct iovec const *__rvec = (struct iovec const *)(intptr_t)__rvecAddress; + struct iovec const *__lvec = (struct iovec const *)(uintptr_t)__lvecAddress; + struct iovec const *__rvec = (struct iovec const *)(uintptr_t)__rvecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)process_vm_readv((pid_t)__pid, __lvec, (unsigned long int)__liovcnt, __rvec, (unsigned long int)__riovcnt, (unsigned long int)__flags); @@ -74,8 +74,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nprocess_1vm_1readv(JNIE } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UIO_nprocess_1vm_1writev(JNIEnv *__env, jclass clazz, jint __pid, jlong __lvecAddress, jlong __liovcnt, jlong __rvecAddress, jlong __riovcnt, jlong __flags) { - struct iovec const *__lvec = (struct iovec const *)(intptr_t)__lvecAddress; - struct iovec const *__rvec = (struct iovec const *)(intptr_t)__rvecAddress; + struct iovec const *__lvec = (struct iovec const *)(uintptr_t)__lvecAddress; + struct iovec const *__rvec = (struct iovec const *)(uintptr_t)__rvecAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)process_vm_writev((pid_t)__pid, __lvec, (unsigned long int)__liovcnt, __rvec, (unsigned long int)__riovcnt, (unsigned long int)__flags); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UNISTD.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UNISTD.c index 821b77cc66..839dddc554 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UNISTD.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_UNISTD.c @@ -26,7 +26,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UNISTD_sysconf(JNIEnv *__env } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_UNISTD_nread(JNIEnv *__env, jclass clazz, jint fd, jlong bufAddress, jlong count) { - void *buf = (void *)(intptr_t)bufAddress; + void *buf = (void *)(uintptr_t)bufAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)read(fd, buf, (size_t)count); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibIOURing.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibIOURing.c index 358afac726..8d2ddec0a7 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibIOURing.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibIOURing.c @@ -10,7 +10,7 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1uring_1setup(JNIEnv *__env, jclass clazz, jint entries, jlong pAddress) { - struct io_uring_params *p = (struct io_uring_params *)(intptr_t)pAddress; + struct io_uring_params *p = (struct io_uring_params *)(uintptr_t)pAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)__sys_io_uring_setup((unsigned)entries, p); @@ -19,7 +19,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1urin } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1uring_1register(JNIEnv *__env, jclass clazz, jint fd, jint opcode, jlong argAddress, jint nr_args) { - void *arg = (void *)(intptr_t)argAddress; + void *arg = (void *)(uintptr_t)argAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)__sys_io_uring_register(fd, (unsigned)opcode, arg, (unsigned)nr_args); @@ -28,7 +28,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1urin } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1uring_1enter2(JNIEnv *__env, jclass clazz, jint fd, jint to_submit, jint min_complete, jint flags, jlong sigAddress, jint sz) { - sigset_t *sig = (sigset_t *)(intptr_t)sigAddress; + sigset_t *sig = (sigset_t *)(uintptr_t)sigAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)__sys_io_uring_enter2(fd, (unsigned)to_submit, (unsigned)min_complete, (unsigned)flags, sig, sz); @@ -37,7 +37,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1urin } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibIOURing_nio_1uring_1enter(JNIEnv *__env, jclass clazz, jint fd, jint to_submit, jint min_complete, jint flags, jlong sigAddress) { - sigset_t *sig = (sigset_t *)(intptr_t)sigAddress; + sigset_t *sig = (sigset_t *)(uintptr_t)sigAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)__sys_io_uring_enter(fd, (unsigned)to_submit, (unsigned)min_complete, (unsigned)flags, sig); diff --git a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibURing.c b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibURing.c index a16a69a4b1..e26c05b5a0 100644 --- a/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibURing.c +++ b/modules/lwjgl/core/src/generated/c/linux/org_lwjgl_system_linux_liburing_LibURing.c @@ -9,684 +9,684 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1get_1probe_1ring(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)io_uring_get_probe_ring(ring); + return (jlong)(uintptr_t)io_uring_get_probe_ring(ring); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1get_1probe(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)io_uring_get_probe(); + return (jlong)(uintptr_t)io_uring_get_probe(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1free_1probe(JNIEnv *__env, jclass clazz, jlong probeAddress) { - struct io_uring_probe *probe = (struct io_uring_probe *)(intptr_t)probeAddress; + struct io_uring_probe *probe = (struct io_uring_probe *)(uintptr_t)probeAddress; UNUSED_PARAMS(__env, clazz) io_uring_free_probe(probe); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1opcode_1supported(JNIEnv *__env, jclass clazz, jlong pAddress, jint op) { - struct io_uring_probe const *p = (struct io_uring_probe const *)(intptr_t)pAddress; + struct io_uring_probe const *p = (struct io_uring_probe const *)(uintptr_t)pAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_opcode_supported(p, op); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1queue_1init_1params(JNIEnv *__env, jclass clazz, jint entries, jlong ringAddress, jlong pAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_params *p = (struct io_uring_params *)(intptr_t)pAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_params *p = (struct io_uring_params *)(uintptr_t)pAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_queue_init_params((unsigned)entries, ring, p); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1queue_1init(JNIEnv *__env, jclass clazz, jint entries, jlong ringAddress, jint flags) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_queue_init((unsigned)entries, ring, (unsigned)flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1queue_1mmap(JNIEnv *__env, jclass clazz, jint fd, jlong pAddress, jlong ringAddress) { - struct io_uring_params *p = (struct io_uring_params *)(intptr_t)pAddress; - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring_params *p = (struct io_uring_params *)(uintptr_t)pAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_queue_mmap(fd, p, ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1ring_1dontfork(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_ring_dontfork(ring); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1queue_1exit(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) io_uring_queue_exit(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1peek_1batch_1cqe(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqesAddress, jint count) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqes = (struct io_uring_cqe **)(intptr_t)cqesAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqes = (struct io_uring_cqe **)(uintptr_t)cqesAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_peek_batch_cqe(ring, cqes, (unsigned)count); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1wait_1cqes(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress, jint wait_nr, jlong tsAddress, jlong sigmaskAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; - sigset_t *sigmask = (sigset_t *)(intptr_t)sigmaskAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; + sigset_t *sigmask = (sigset_t *)(uintptr_t)sigmaskAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_wait_cqes(ring, cqe_ptr, (unsigned)wait_nr, ts, sigmask); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1wait_1cqe_1timeout(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress, jlong tsAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_wait_cqe_timeout(ring, cqe_ptr, ts); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1submit(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_submit(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1submit_1and_1wait(JNIEnv *__env, jclass clazz, jlong ringAddress, jint wait_nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_submit_and_wait(ring, (unsigned)wait_nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1submit_1and_1wait_1timeout(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress, jint wait_nr, jlong tsAddress, jlong sigmaskAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; - sigset_t *sigmask = (sigset_t *)(intptr_t)sigmaskAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; + sigset_t *sigmask = (sigset_t *)(uintptr_t)sigmaskAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_submit_and_wait_timeout(ring, cqe_ptr, (unsigned)wait_nr, ts, sigmask); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1get_1sqe(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)io_uring_get_sqe(ring); + return (jlong)(uintptr_t)io_uring_get_sqe(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1buffers(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong iovecsAddress, jint nr_iovecs) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_buffers(ring, iovecs, (unsigned)nr_iovecs); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1buffers_1tags__JJJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong iovecsAddress, jlong tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; - __u64 const *tags = (__u64 const *)(intptr_t)tagsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; + __u64 const *tags = (__u64 const *)(uintptr_t)tagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_buffers_tags(ring, iovecs, tags, (unsigned)nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1buffers_1update_1tag__JIJJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jlong iovecsAddress, jlong tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; - __u64 const *tags = (__u64 const *)(intptr_t)tagsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; + __u64 const *tags = (__u64 const *)(uintptr_t)tagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_buffers_update_tag(ring, (unsigned)off, iovecs, tags, (unsigned)nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1unregister_1buffers(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_unregister_buffers(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files__JJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong filesAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - int const *files = (int const *)(intptr_t)filesAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + int const *files = (int const *)(uintptr_t)filesAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_files(ring, files, (unsigned)nr_files); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1tags__JJJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong filesAddress, jlong tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - int const *files = (int const *)(intptr_t)filesAddress; - __u64 const *tags = (__u64 const *)(intptr_t)tagsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + int const *files = (int const *)(uintptr_t)filesAddress; + __u64 const *tags = (__u64 const *)(uintptr_t)tagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_files_tags(ring, files, tags, (unsigned)nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1update_1tag__JIJJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jlong filesAddress, jlong tagsAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - int const *files = (int const *)(intptr_t)filesAddress; - __u64 const *tags = (__u64 const *)(intptr_t)tagsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + int const *files = (int const *)(uintptr_t)filesAddress; + __u64 const *tags = (__u64 const *)(uintptr_t)tagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_files_update_tag(ring, (unsigned)off, files, tags, (unsigned)nr_files); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1unregister_1files(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_unregister_files(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1update__JIJI(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jlong filesAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - int *files = (int *)(intptr_t)filesAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + int *files = (int *)(uintptr_t)filesAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_files_update(ring, (unsigned)off, files, (unsigned)nr_files); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1eventfd(JNIEnv *__env, jclass clazz, jlong ringAddress, jint fd) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_eventfd(ring, fd); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1eventfd_1async(JNIEnv *__env, jclass clazz, jlong ringAddress, jint fd) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_eventfd_async(ring, fd); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1unregister_1eventfd(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_unregister_eventfd(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1probe(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong pAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_probe *p = (struct io_uring_probe *)(intptr_t)pAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_probe *p = (struct io_uring_probe *)(uintptr_t)pAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_probe(ring, p, (unsigned)nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1personality(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_personality(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1unregister_1personality(JNIEnv *__env, jclass clazz, jlong ringAddress, jint id) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_unregister_personality(ring, id); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1restrictions(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong resAddress, jint nr_res) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_restriction *res = (struct io_uring_restriction *)(intptr_t)resAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_restriction *res = (struct io_uring_restriction *)(uintptr_t)resAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_restrictions(ring, res, (unsigned)nr_res); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1enable_1rings(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_enable_rings(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_n_1_1io_1uring_1sqring_1wait(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)__io_uring_sqring_wait(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1iowq_1aff(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cpusz, jlong maskAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - cpu_set_t const *mask = (cpu_set_t const *)(intptr_t)maskAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + cpu_set_t const *mask = (cpu_set_t const *)(uintptr_t)maskAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_iowq_aff(ring, (size_t)cpusz, mask); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1unregister_1iowq_1aff(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_unregister_iowq_aff(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1iowq_1max_1workers__JJ(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong valuesAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - unsigned int *values = (unsigned int *)(intptr_t)valuesAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + unsigned int *values = (unsigned int *)(uintptr_t)valuesAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_register_iowq_max_workers(ring, values); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cqe_1seen(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqeAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe *cqe = (struct io_uring_cqe *)(intptr_t)cqeAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe *cqe = (struct io_uring_cqe *)(uintptr_t)cqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_cqe_seen(ring, cqe); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sqe_1set_1data(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong dataAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *data = (void *)(intptr_t)dataAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *data = (void *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) io_uring_sqe_set_data(sqe, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cqe_1get_1data(JNIEnv *__env, jclass clazz, jlong cqeAddress) { - struct io_uring_cqe const *cqe = (struct io_uring_cqe const *)(intptr_t)cqeAddress; + struct io_uring_cqe const *cqe = (struct io_uring_cqe const *)(uintptr_t)cqeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)io_uring_cqe_get_data(cqe); + return (jlong)(uintptr_t)io_uring_cqe_get_data(cqe); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sqe_1set_1data64(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong data) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_sqe_set_data64(sqe, (__u64)data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cqe_1get_1data64(JNIEnv *__env, jclass clazz, jlong cqeAddress) { - struct io_uring_cqe const *cqe = (struct io_uring_cqe const *)(intptr_t)cqeAddress; + struct io_uring_cqe const *cqe = (struct io_uring_cqe const *)(uintptr_t)cqeAddress; UNUSED_PARAMS(__env, clazz) return (jlong)io_uring_cqe_get_data64(cqe); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sqe_1set_1flags(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_sqe_set_flags(sqe, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1splice(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd_in, jlong off_in, jint fd_out, jlong off_out, jint nbytes, jint splice_flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_splice(sqe, fd_in, (int64_t)off_in, fd_out, (int64_t)off_out, (unsigned int)nbytes, (unsigned int)splice_flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1tee(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd_in, jint fd_out, jint nbytes, jint splice_flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_tee(sqe, fd_in, fd_out, (unsigned int)nbytes, (unsigned int)splice_flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1readv(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong iovecsAddress, jint nr_vecs, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_readv(sqe, fd, iovecs, (unsigned int)nr_vecs, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1readv2(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong iovecsAddress, jint nr_vecs, jint offset, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_readv2(sqe, fd, iovecs, (unsigned int)nr_vecs, offset, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1read_1fixed(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong bufAddress, jint nbytes, jint offset, jint buf_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *buf = (void *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *buf = (void *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_read_fixed(sqe, fd, buf, (unsigned int)nbytes, offset, buf_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1writev(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong iovecsAddress, jint nr_vecs, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_writev(sqe, fd, iovecs, (unsigned int)nr_vecs, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1writev2(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong iovecsAddress, jint nr_vecs, jint offset, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_writev2(sqe, fd, iovecs, (unsigned int)nr_vecs, offset, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1write_1fixed(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong bufAddress, jint nbytes, jint offset, jint buf_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void const *buf = (void const *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void const *buf = (void const *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_write_fixed(sqe, fd, buf, (unsigned int)nbytes, offset, buf_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1recvmsg(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong msgAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct msghdr *msg = (struct msghdr *)(intptr_t)msgAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct msghdr *msg = (struct msghdr *)(uintptr_t)msgAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_recvmsg(sqe, fd, msg, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1sendmsg(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong msgAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct msghdr const *msg = (struct msghdr const *)(intptr_t)msgAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct msghdr const *msg = (struct msghdr const *)(uintptr_t)msgAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_sendmsg(sqe, fd, msg, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1poll_1add(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint poll_mask) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_poll_add(sqe, fd, (unsigned int)poll_mask); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1poll_1multishot(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint poll_mask) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_poll_multishot(sqe, fd, (unsigned int)poll_mask); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1poll_1remove(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong user_data) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_poll_remove(sqe, (__u64)user_data); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1poll_1update(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong old_user_data, jlong new_user_data, jint poll_mask, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_poll_update(sqe, (__u64)old_user_data, (__u64)new_user_data, (unsigned int)poll_mask, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1fsync(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint fsync_flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_fsync(sqe, fd, (unsigned int)fsync_flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1nop(JNIEnv *__env, jclass clazz, jlong sqeAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_nop(sqe); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1timeout(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong tsAddress, jint count, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_timeout(sqe, ts, (unsigned int)count, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1timeout_1remove(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong user_data, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_timeout_remove(sqe, (__u64)user_data, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1timeout_1update(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong tsAddress, jlong user_data, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_timeout_update(sqe, ts, (__u64)user_data, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1accept__JIJJI(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong addrAddress, jlong addrlenAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct sockaddr *addr = (struct sockaddr *)(intptr_t)addrAddress; - socklen_t *addrlen = (socklen_t *)(intptr_t)addrlenAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct sockaddr *addr = (struct sockaddr *)(uintptr_t)addrAddress; + socklen_t *addrlen = (socklen_t *)(uintptr_t)addrlenAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_accept(sqe, fd, addr, addrlen, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1accept_1direct__JIJJII(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong addrAddress, jlong addrlenAddress, jint flags, jint file_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct sockaddr *addr = (struct sockaddr *)(intptr_t)addrAddress; - socklen_t *addrlen = (socklen_t *)(intptr_t)addrlenAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct sockaddr *addr = (struct sockaddr *)(uintptr_t)addrAddress; + socklen_t *addrlen = (socklen_t *)(uintptr_t)addrlenAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_accept_direct(sqe, fd, addr, addrlen, flags, (unsigned int)file_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1cancel(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong user_data, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_cancel(sqe, (__u64)user_data, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1link_1timeout(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong tsAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct __kernel_timespec *ts = (struct __kernel_timespec *)(intptr_t)tsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct __kernel_timespec *ts = (struct __kernel_timespec *)(uintptr_t)tsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_link_timeout(sqe, ts, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1connect(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong addrAddress, jint addrlen) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct sockaddr const *addr = (struct sockaddr const *)(intptr_t)addrAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct sockaddr const *addr = (struct sockaddr const *)(uintptr_t)addrAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_connect(sqe, fd, addr, (socklen_t)addrlen); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1files_1update__JJII(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong fdsAddress, jint nr_fds, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - int *fds = (int *)(intptr_t)fdsAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + int *fds = (int *)(uintptr_t)fdsAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_files_update(sqe, fds, (unsigned int)nr_fds, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1fallocate(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint mode, jlong offset, jlong len) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_fallocate(sqe, fd, mode, (off_t)offset, (off_t)len); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1openat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jint flags, jint mode) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_openat(sqe, dfd, path, flags, mode); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1openat_1direct(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jint flags, jint mode, jint file_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_openat_direct(sqe, dfd, path, flags, mode, (unsigned int)file_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1close(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_close(sqe, fd); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1close_1direct(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint file_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_close_direct(sqe, (unsigned int)file_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1read(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong bufAddress, jint nbytes, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *buf = (void *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *buf = (void *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_read(sqe, fd, buf, (unsigned int)nbytes, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1write(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong bufAddress, jint nbytes, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void const *buf = (void const *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void const *buf = (void const *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_write(sqe, fd, buf, (unsigned int)nbytes, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1statx(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jint flags, jint mask, jlong statxbufAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; - struct statx *statxbuf = (struct statx *)(intptr_t)statxbufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; + struct statx *statxbuf = (struct statx *)(uintptr_t)statxbufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_statx(sqe, dfd, path, flags, (unsigned int)mask, statxbuf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1fadvise(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint offset, jlong len, jint advice) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_fadvise(sqe, fd, offset, (off_t)len, advice); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1madvise(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong addrAddress, jlong length, jint advice) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *addr = (void *)(intptr_t)addrAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *addr = (void *)(uintptr_t)addrAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_madvise(sqe, addr, (off_t)length, advice); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1send(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint sockfd, jlong bufAddress, jlong len, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void const *buf = (void const *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void const *buf = (void const *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_send(sqe, sockfd, buf, (size_t)len, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1recv(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint sockfd, jlong bufAddress, jlong len, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *buf = (void *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *buf = (void *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_recv(sqe, sockfd, buf, (size_t)len, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1openat2(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jlong howAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; - struct open_how *how = (struct open_how *)(intptr_t)howAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; + struct open_how *how = (struct open_how *)(uintptr_t)howAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_openat2(sqe, dfd, path, how); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1openat2_1direct(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jlong howAddress, jint file_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; - struct open_how *how = (struct open_how *)(intptr_t)howAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; + struct open_how *how = (struct open_how *)(uintptr_t)howAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_openat2_direct(sqe, dfd, path, how, (unsigned int)file_index); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1epoll_1ctl(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint epfd, jint fd, jint op, jlong evAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct epoll_event *ev = (struct epoll_event *)(intptr_t)evAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct epoll_event *ev = (struct epoll_event *)(uintptr_t)evAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_epoll_ctl(sqe, epfd, fd, op, ev); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1provide_1buffers(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong addrAddress, jint len, jint nr, jint bgid, jint bid) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *addr = (void *)(intptr_t)addrAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *addr = (void *)(uintptr_t)addrAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_provide_buffers(sqe, addr, len, nr, bgid, bid); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1remove_1buffers(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint nr, jint bgid) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_remove_buffers(sqe, nr, bgid); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1shutdown(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint how) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_shutdown(sqe, fd, how); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1unlinkat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_unlinkat(sqe, dfd, path, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1renameat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint olddfd, jlong oldpathAddress, jint newdfd, jlong newpathAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *oldpath = (char const *)(intptr_t)oldpathAddress; - char const *newpath = (char const *)(intptr_t)newpathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *oldpath = (char const *)(uintptr_t)oldpathAddress; + char const *newpath = (char const *)(uintptr_t)newpathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_renameat(sqe, olddfd, oldpath, newdfd, newpath, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1sync_1file_1range(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jint len, jint offset, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_sync_file_range(sqe, fd, (unsigned int)len, offset, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1mkdirat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint dfd, jlong pathAddress, jint mode) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *path = (char const *)(intptr_t)pathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_mkdirat(sqe, dfd, path, mode); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1symlinkat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jlong targetAddress, jint newdirfd, jlong linkpathAddress) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *target = (char const *)(intptr_t)targetAddress; - char const *linkpath = (char const *)(intptr_t)linkpathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *target = (char const *)(uintptr_t)targetAddress; + char const *linkpath = (char const *)(uintptr_t)linkpathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_symlinkat(sqe, target, newdirfd, linkpath); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1linkat(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint olddfd, jlong oldpathAddress, jint newdfd, jlong newpathAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - char const *oldpath = (char const *)(intptr_t)oldpathAddress; - char const *newpath = (char const *)(intptr_t)newpathAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + char const *oldpath = (char const *)(uintptr_t)oldpathAddress; + char const *newpath = (char const *)(uintptr_t)newpathAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_linkat(sqe, olddfd, oldpath, newdfd, newpath, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1getdents(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong bufAddress, jint count, jlong offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - void *buf = (void *)(intptr_t)bufAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + void *buf = (void *)(uintptr_t)bufAddress; UNUSED_PARAMS(__env, clazz) io_uring_prep_getdents(sqe, fd, buf, (unsigned int)count, (uint64_t)offset); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sq_1ready(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring const *ring = (struct io_uring const *)(intptr_t)ringAddress; + struct io_uring const *ring = (struct io_uring const *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_sq_ready(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sq_1space_1left(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring const *ring = (struct io_uring const *)(intptr_t)ringAddress; + struct io_uring const *ring = (struct io_uring const *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_sq_space_left(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1sqring_1wait(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_sqring_wait(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cq_1ready(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring const *ring = (struct io_uring const *)(intptr_t)ringAddress; + struct io_uring const *ring = (struct io_uring const *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_cq_ready(ring); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cq_1eventfd_1enabled(JNIEnv *__env, jclass clazz, jlong ringAddress) { - struct io_uring const *ring = (struct io_uring const *)(intptr_t)ringAddress; + struct io_uring const *ring = (struct io_uring const *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)io_uring_cq_eventfd_enabled(ring); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1cq_1eventfd_1toggle(JNIEnv *__env, jclass clazz, jlong ringAddress, jboolean enabled) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_cq_eventfd_toggle(ring, (bool)enabled); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1wait_1cqe_1nr(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress, jint wait_nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_wait_cqe_nr(ring, cqe_ptr, (unsigned int)wait_nr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1peek_1cqe(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_peek_cqe(ring, cqe_ptr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1wait_1cqe(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong cqe_ptrAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(intptr_t)cqe_ptrAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct io_uring_cqe **cqe_ptr = (struct io_uring_cqe **)(uintptr_t)cqe_ptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_wait_cqe(ring, cqe_ptr); } @@ -697,14 +697,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_io_1uring_1 } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1mlock_1size_1params(JNIEnv *__env, jclass clazz, jint entries, jlong pAddress) { - struct io_uring_params *p = (struct io_uring_params *)(intptr_t)pAddress; + struct io_uring_params *p = (struct io_uring_params *)(uintptr_t)pAddress; UNUSED_PARAMS(__env, clazz) return (jint)io_uring_mlock_size_params((unsigned)entries, p); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1buffers_1tags__JJ_3JI(JNIEnv *__env, jclass clazz, jlong ringAddress, jlong iovecsAddress, jlongArray tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; jint __result; jlong *tags = (*__env)->GetLongArrayElements(__env, tagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -714,8 +714,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1buffers_1update_1tag__JIJ_3JI(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jlong iovecsAddress, jlongArray tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; - struct iovec const *iovecs = (struct iovec const *)(intptr_t)iovecsAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; + struct iovec const *iovecs = (struct iovec const *)(uintptr_t)iovecsAddress; jint __result; jlong *tags = (*__env)->GetLongArrayElements(__env, tagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -725,7 +725,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files__J_3II(JNIEnv *__env, jclass clazz, jlong ringAddress, jintArray filesAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; jint __result; jint *files = (*__env)->GetIntArrayElements(__env, filesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -735,7 +735,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1tags__J_3I_3JI(JNIEnv *__env, jclass clazz, jlong ringAddress, jintArray filesAddress, jlongArray tagsAddress, jint nr) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; jint __result; jint *files = (*__env)->GetIntArrayElements(__env, filesAddress, NULL); jlong *tags = (*__env)->GetLongArrayElements(__env, tagsAddress, NULL); @@ -747,7 +747,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1update_1tag__JI_3I_3JI(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jintArray filesAddress, jlongArray tagsAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; jint __result; jint *files = (*__env)->GetIntArrayElements(__env, filesAddress, NULL); jlong *tags = (*__env)->GetLongArrayElements(__env, tagsAddress, NULL); @@ -759,7 +759,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1files_1update__JI_3II(JNIEnv *__env, jclass clazz, jlong ringAddress, jint off, jintArray filesAddress, jint nr_files) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; jint __result; jint *files = (*__env)->GetIntArrayElements(__env, filesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -769,7 +769,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1register_1iowq_1max_1workers__J_3I(JNIEnv *__env, jclass clazz, jlong ringAddress, jintArray valuesAddress) { - struct io_uring *ring = (struct io_uring *)(intptr_t)ringAddress; + struct io_uring *ring = (struct io_uring *)(uintptr_t)ringAddress; jint __result; jint *values = (*__env)->GetIntArrayElements(__env, valuesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -779,8 +779,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1accept__JIJ_3II(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong addrAddress, jintArray addrlenAddress, jint flags) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct sockaddr *addr = (struct sockaddr *)(intptr_t)addrAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct sockaddr *addr = (struct sockaddr *)(uintptr_t)addrAddress; jint *addrlen = (*__env)->GetIntArrayElements(__env, addrlenAddress, NULL); UNUSED_PARAMS(__env, clazz) io_uring_prep_accept(sqe, fd, addr, (socklen_t *)addrlen, flags); @@ -788,8 +788,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1accept_1direct__JIJ_3III(JNIEnv *__env, jclass clazz, jlong sqeAddress, jint fd, jlong addrAddress, jintArray addrlenAddress, jint flags, jint file_index) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; - struct sockaddr *addr = (struct sockaddr *)(intptr_t)addrAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; + struct sockaddr *addr = (struct sockaddr *)(uintptr_t)addrAddress; jint *addrlen = (*__env)->GetIntArrayElements(__env, addrlenAddress, NULL); UNUSED_PARAMS(__env, clazz) io_uring_prep_accept_direct(sqe, fd, addr, (socklen_t *)addrlen, flags, (unsigned int)file_index); @@ -797,7 +797,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_ } JNIEXPORT void JNICALL Java_org_lwjgl_system_linux_liburing_LibURing_nio_1uring_1prep_1files_1update__J_3III(JNIEnv *__env, jclass clazz, jlong sqeAddress, jintArray fdsAddress, jint nr_fds, jint offset) { - struct io_uring_sqe *sqe = (struct io_uring_sqe *)(intptr_t)sqeAddress; + struct io_uring_sqe *sqe = (struct io_uring_sqe *)(uintptr_t)sqeAddress; jint *fds = (*__env)->GetIntArrayElements(__env, fdsAddress, NULL); UNUSED_PARAMS(__env, clazz) io_uring_prep_files_update(sqe, (int *)fds, (unsigned int)nr_fds, offset); diff --git a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreFoundation.c b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreFoundation.c index 600f5a9861..a029c6d7a1 100644 --- a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreFoundation.c +++ b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreFoundation.c @@ -10,86 +10,86 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorDefault(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorDefault; + return (jlong)(uintptr_t)kCFAllocatorDefault; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorSystemDefault(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorSystemDefault; + return (jlong)(uintptr_t)kCFAllocatorSystemDefault; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorMalloc(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorMalloc; + return (jlong)(uintptr_t)kCFAllocatorMalloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorMallocZone(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorMallocZone; + return (jlong)(uintptr_t)kCFAllocatorMallocZone; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorNull(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorNull; + return (jlong)(uintptr_t)kCFAllocatorNull; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_kCFAllocatorUseContext(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)kCFAllocatorUseContext; + return (jlong)(uintptr_t)kCFAllocatorUseContext; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFRetain(JNIEnv *__env, jclass clazz, jlong cfAddress) { - CFTypeRef cf = (CFTypeRef)(intptr_t)cfAddress; + CFTypeRef cf = (CFTypeRef)(uintptr_t)cfAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFRetain(cf); + return (jlong)(uintptr_t)CFRetain(cf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFRelease(JNIEnv *__env, jclass clazz, jlong cfAddress) { - CFTypeRef cf = (CFTypeRef)(intptr_t)cfAddress; + CFTypeRef cf = (CFTypeRef)(uintptr_t)cfAddress; UNUSED_PARAMS(__env, clazz) CFRelease(cf); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFBundleCreate(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong bundleURLAddress) { - CFAllocatorRef allocator = (CFAllocatorRef)(intptr_t)allocatorAddress; - CFURLRef bundleURL = (CFURLRef)(intptr_t)bundleURLAddress; + CFAllocatorRef allocator = (CFAllocatorRef)(uintptr_t)allocatorAddress; + CFURLRef bundleURL = (CFURLRef)(uintptr_t)bundleURLAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFBundleCreate(allocator, bundleURL); + return (jlong)(uintptr_t)CFBundleCreate(allocator, bundleURL); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFBundleGetBundleWithIdentifier(JNIEnv *__env, jclass clazz, jlong bundleIDAddress) { - CFStringRef bundleID = (CFStringRef)(intptr_t)bundleIDAddress; + CFStringRef bundleID = (CFStringRef)(uintptr_t)bundleIDAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFBundleGetBundleWithIdentifier(bundleID); + return (jlong)(uintptr_t)CFBundleGetBundleWithIdentifier(bundleID); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFBundleGetFunctionPointerForName(JNIEnv *__env, jclass clazz, jlong bundleAddress, jlong functionNameAddress) { - CFBundleRef bundle = (CFBundleRef)(intptr_t)bundleAddress; - CFStringRef functionName = (CFStringRef)(intptr_t)functionNameAddress; + CFBundleRef bundle = (CFBundleRef)(uintptr_t)bundleAddress; + CFStringRef functionName = (CFStringRef)(uintptr_t)functionNameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFBundleGetFunctionPointerForName(bundle, functionName); + return (jlong)(uintptr_t)CFBundleGetFunctionPointerForName(bundle, functionName); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFStringCreateWithCString(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong cStrAddress, jint encoding) { - CFAllocatorRef allocator = (CFAllocatorRef)(intptr_t)allocatorAddress; - char const *cStr = (char const *)(intptr_t)cStrAddress; + CFAllocatorRef allocator = (CFAllocatorRef)(uintptr_t)allocatorAddress; + char const *cStr = (char const *)(uintptr_t)cStrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFStringCreateWithCString(allocator, cStr, (CFStringEncoding)encoding); + return (jlong)(uintptr_t)CFStringCreateWithCString(allocator, cStr, (CFStringEncoding)encoding); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFStringCreateWithCStringNoCopy(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong cStrAddress, jint encoding, jlong contentsDeallocatorAddress) { - CFAllocatorRef allocator = (CFAllocatorRef)(intptr_t)allocatorAddress; - char const *cStr = (char const *)(intptr_t)cStrAddress; - CFAllocatorRef contentsDeallocator = (CFAllocatorRef)(intptr_t)contentsDeallocatorAddress; + CFAllocatorRef allocator = (CFAllocatorRef)(uintptr_t)allocatorAddress; + char const *cStr = (char const *)(uintptr_t)cStrAddress; + CFAllocatorRef contentsDeallocator = (CFAllocatorRef)(uintptr_t)contentsDeallocatorAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFStringCreateWithCStringNoCopy(allocator, cStr, (CFStringEncoding)encoding, contentsDeallocator); + return (jlong)(uintptr_t)CFStringCreateWithCStringNoCopy(allocator, cStr, (CFStringEncoding)encoding, contentsDeallocator); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreFoundation_nCFURLCreateWithFileSystemPath(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong filePathAddress, jlong pathStyle, jboolean isDirectory) { - CFAllocatorRef allocator = (CFAllocatorRef)(intptr_t)allocatorAddress; - CFStringRef filePath = (CFStringRef)(intptr_t)filePathAddress; + CFAllocatorRef allocator = (CFAllocatorRef)(uintptr_t)allocatorAddress; + CFStringRef filePath = (CFStringRef)(uintptr_t)filePathAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)CFURLCreateWithFileSystemPath(allocator, filePath, (CFURLPathStyle)pathStyle, (Boolean)isDirectory); + return (jlong)(uintptr_t)CFURLCreateWithFileSystemPath(allocator, filePath, (CFURLPathStyle)pathStyle, (Boolean)isDirectory); } EXTERN_C_EXIT diff --git a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreGraphics.c b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreGraphics.c index 0582a656fe..d7e83d48d5 100644 --- a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreGraphics.c +++ b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_CoreGraphics.c @@ -6,39 +6,39 @@ #include "common_tools.h" #include -typedef intptr_t (*CGEventCreateMouseEventPROC) (intptr_t, jint, CGPoint, jint); -typedef CGPoint (*CGEventGetLocationPROC) (intptr_t); -typedef CGPoint (*CGEventGetUnflippedLocationPROC) (intptr_t); -typedef void (*CGEventSetLocationPROC) (intptr_t, CGPoint); +typedef uintptr_t (*CGEventCreateMouseEventPROC) (uintptr_t, jint, CGPoint, jint); +typedef CGPoint (*CGEventGetLocationPROC) (uintptr_t); +typedef CGPoint (*CGEventGetUnflippedLocationPROC) (uintptr_t); +typedef void (*CGEventSetLocationPROC) (uintptr_t, CGPoint); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_CoreGraphics_nCGEventCreateMouseEvent(JNIEnv *__env, jclass clazz, jlong sourceAddress, jint mouseType, jlong mouseCursorPositionAddress, jint mouseButton, jlong __functionAddress) { - CGEventCreateMouseEventPROC CGEventCreateMouseEvent = (CGEventCreateMouseEventPROC)(intptr_t)__functionAddress; - intptr_t source = (intptr_t)sourceAddress; - CGPoint *mouseCursorPosition = (CGPoint *)(intptr_t)mouseCursorPositionAddress; + CGEventCreateMouseEventPROC CGEventCreateMouseEvent = (CGEventCreateMouseEventPROC)(uintptr_t)__functionAddress; + uintptr_t source = (uintptr_t)sourceAddress; + CGPoint *mouseCursorPosition = (CGPoint *)(uintptr_t)mouseCursorPositionAddress; UNUSED_PARAMS(__env, clazz) return (jlong)CGEventCreateMouseEvent(source, mouseType, *mouseCursorPosition, mouseButton); } JNIEXPORT void JNICALL Java_org_lwjgl_system_macosx_CoreGraphics_nCGEventGetLocation(JNIEnv *__env, jclass clazz, jlong eventAddress, jlong __functionAddress, jlong __result) { - CGEventGetLocationPROC CGEventGetLocation = (CGEventGetLocationPROC)(intptr_t)__functionAddress; - intptr_t event = (intptr_t)eventAddress; + CGEventGetLocationPROC CGEventGetLocation = (CGEventGetLocationPROC)(uintptr_t)__functionAddress; + uintptr_t event = (uintptr_t)eventAddress; UNUSED_PARAMS(__env, clazz) - *((CGPoint*)(intptr_t)__result) = CGEventGetLocation(event); + *((CGPoint*)(uintptr_t)__result) = CGEventGetLocation(event); } JNIEXPORT void JNICALL Java_org_lwjgl_system_macosx_CoreGraphics_nCGEventGetUnflippedLocation(JNIEnv *__env, jclass clazz, jlong eventAddress, jlong __functionAddress, jlong __result) { - CGEventGetUnflippedLocationPROC CGEventGetUnflippedLocation = (CGEventGetUnflippedLocationPROC)(intptr_t)__functionAddress; - intptr_t event = (intptr_t)eventAddress; + CGEventGetUnflippedLocationPROC CGEventGetUnflippedLocation = (CGEventGetUnflippedLocationPROC)(uintptr_t)__functionAddress; + uintptr_t event = (uintptr_t)eventAddress; UNUSED_PARAMS(__env, clazz) - *((CGPoint*)(intptr_t)__result) = CGEventGetUnflippedLocation(event); + *((CGPoint*)(uintptr_t)__result) = CGEventGetUnflippedLocation(event); } JNIEXPORT void JNICALL Java_org_lwjgl_system_macosx_CoreGraphics_nCGEventSetLocation(JNIEnv *__env, jclass clazz, jlong eventAddress, jlong locationAddress, jlong __functionAddress) { - CGEventSetLocationPROC CGEventSetLocation = (CGEventSetLocationPROC)(intptr_t)__functionAddress; - intptr_t event = (intptr_t)eventAddress; - CGPoint *location = (CGPoint *)(intptr_t)locationAddress; + CGEventSetLocationPROC CGEventSetLocation = (CGEventSetLocationPROC)(uintptr_t)__functionAddress; + uintptr_t event = (uintptr_t)eventAddress; + CGPoint *location = (CGPoint *)(uintptr_t)locationAddress; UNUSED_PARAMS(__env, clazz) CGEventSetLocation(event, *location); } diff --git a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_DynamicLinkLoader.c b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_DynamicLinkLoader.c index 59469fc2bb..95a2691397 100644 --- a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_DynamicLinkLoader.c +++ b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_DynamicLinkLoader.c @@ -9,25 +9,25 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_DynamicLinkLoader_ndlopen(JNIEnv *__env, jclass clazz, jlong pathAddress, jint mode) { - char const *path = (char const *)(intptr_t)pathAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlopen(path, mode); + return (jlong)(uintptr_t)dlopen(path, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_DynamicLinkLoader_ndlerror(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlerror(); + return (jlong)(uintptr_t)dlerror(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_macosx_DynamicLinkLoader_ndlsym(JNIEnv *__env, jclass clazz, jlong handleAddress, jlong nameAddress) { - void *handle = (void *)(intptr_t)handleAddress; - char const *name = (char const *)(intptr_t)nameAddress; + void *handle = (void *)(uintptr_t)handleAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)dlsym(handle, name); + return (jlong)(uintptr_t)dlsym(handle, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_macosx_DynamicLinkLoader_ndlclose(JNIEnv *__env, jclass clazz, jlong handleAddress) { - void *handle = (void *)(intptr_t)handleAddress; + void *handle = (void *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) return (jint)dlclose(handle); } diff --git a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_ObjCRuntime.c b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_ObjCRuntime.c index 270993f0cd..6876671cbd 100644 --- a/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_ObjCRuntime.c +++ b/modules/lwjgl/core/src/generated/c/macos/org_lwjgl_system_macosx_ObjCRuntime.c @@ -6,16 +6,16 @@ #include "common_tools.h" #include -typedef struct objc_method_description (*protocol_getMethodDescriptionPROC) (intptr_t, intptr_t, jboolean, jboolean); +typedef struct objc_method_description (*protocol_getMethodDescriptionPROC) (uintptr_t, uintptr_t, jboolean, jboolean); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_system_macosx_ObjCRuntime_nprotocol_1getMethodDescription(JNIEnv *__env, jclass clazz, jlong pAddress, jlong aSelAddress, jboolean isRequiredMethod, jboolean isInstanceMethod, jlong __functionAddress, jlong __result) { - protocol_getMethodDescriptionPROC protocol_getMethodDescription = (protocol_getMethodDescriptionPROC)(intptr_t)__functionAddress; - intptr_t p = (intptr_t)pAddress; - intptr_t aSel = (intptr_t)aSelAddress; + protocol_getMethodDescriptionPROC protocol_getMethodDescription = (protocol_getMethodDescriptionPROC)(uintptr_t)__functionAddress; + uintptr_t p = (uintptr_t)pAddress; + uintptr_t aSel = (uintptr_t)aSelAddress; UNUSED_PARAMS(__env, clazz) - *((struct objc_method_description*)(intptr_t)__result) = protocol_getMethodDescription(p, aSel, isRequiredMethod, isInstanceMethod); + *((struct objc_method_description*)(uintptr_t)__result) = protocol_getMethodDescription(p, aSel, isRequiredMethod, isInstanceMethod); } EXTERN_C_EXIT diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c index a27cd784ab..7d4eecf7d0 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c @@ -13,3874 +13,3874 @@ JNIEXPORT jbyte JNICALL Java_org_lwjgl_system_JNI_invokePB__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jbyte (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jbyte (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jbyte JNICALL Java_org_lwjgl_system_JNI_invokePB__BJJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jbyte (*) (jbyte, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jbyte (*) (jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokeD__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) ())(intptr_t)__functionAddress)(); + return ((jdouble (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokeD__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) (jint))(intptr_t)__functionAddress)(param0); + return ((jdouble (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokePD__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jdouble (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokePD__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jdouble (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokePD__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jdouble (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_JNI_invokePPD__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jdouble (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jdouble (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokeF__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (jint))(intptr_t)__functionAddress)(param0); + return ((jfloat (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePF__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jfloat (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePF__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jfloat (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePF__JFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jfloat (*) (uintptr_t, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePF__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jfloat (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePPF__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jfloat (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePPF__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jfloat (*) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_invokePPF__JFJIJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (*) (intptr_t, jfloat, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jfloat (*) (uintptr_t, jfloat, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) ())(intptr_t)__functionAddress)(); + return ((jint (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint))(intptr_t)__functionAddress)(param0); + return ((jint (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__ZJ(JNIEnv *__env, jclass clazz, jboolean param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jboolean))(intptr_t)__functionAddress)(param0); + return ((jint (*) (jboolean))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return ((jint (*) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__ISJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, jshort))(intptr_t)__functionAddress)(param0, param1); + return ((jint (*) (jint, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__IZJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, jboolean))(intptr_t)__functionAddress)(param0, param1); + return ((jint (*) (jint, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokeI__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jint (*) (jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jint (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jint (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (*) (uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__SJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jint (*) (jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JIZJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (*) (uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__SJBJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jshort, intptr_t, jbyte))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jint (*) (jshort, uintptr_t, jbyte))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (*) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePJI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (*) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePNI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1); + return ((jint (*) (uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jint (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePJI__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (*) (uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jint (*) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jint (*) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (*) (uintptr_t, uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (*) (uintptr_t, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jint (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jint (*) (uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4); + return ((jint (*) (uintptr_t, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__IJIJIZJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jint param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (jint, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, param4, param5); + return ((jint (*) (jint, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__JIIIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, param6); + return ((jint (*) (uintptr_t, jint, jint, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPJI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (*) (uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (*) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jint (*) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + return ((jint (*) (uintptr_t, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJIJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, param5); + return ((jint (*) (uintptr_t, uintptr_t, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JJJIZFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jboolean param4, jfloat param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint, jboolean, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, jboolean, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI__JIIIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, param6); + return ((jint (*) (uintptr_t, jint, jint, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePNNPI__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, long, jint, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, param2, (long)param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, long, jint, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, param2, (long)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JIIJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6); + return ((jint (*) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJJIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jint param5, jint param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, param5, param6, param7); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, param6, param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePJJJPI__JJJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jlong, jlong, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, jlong, jlong, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPI__JIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPI__JJJIJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, param5, param6, (intptr_t)param7); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPI__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPI__JJJJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePNNPPPI__JJJIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, long, long, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (long)param2, param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (*) (uintptr_t, long, long, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (long)param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPI__JJJIIJJIJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jint param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, intptr_t, intptr_t, jint, jint, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, (intptr_t)param5, (intptr_t)param6, param7, (intptr_t)param8, param9, (intptr_t)param10, param11); + return ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10, param11); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPI__JIIJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (*) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return ((jint (*) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeJ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) ())(intptr_t)__functionAddress)(); + return ((jlong (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jlong (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJ__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jlong (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJJ__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jlong (*) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPJ__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jlong (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPJ__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jlong (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePN__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((long (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return (jlong)((long (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePN__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((long (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((long (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePNPN__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((long (*) (intptr_t, long, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (intptr_t)param2, param3); + return (jlong)((long (*) (uintptr_t, long, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePNPNPN__JJIIIIIIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jlong param9, jlong param10, jlong param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((long (*) (intptr_t, long, jint, jint, jint, jint, jint, jint, jint, intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)param9, (long)param10, (intptr_t)param11); + return (jlong)((long (*) (uintptr_t, long, jint, jint, jint, jint, jint, jint, jint, uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)param9, (long)param10, (uintptr_t)param11); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) ())(intptr_t)__functionAddress)(); + return (jlong)((uintptr_t (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint))(intptr_t)__functionAddress)(param0); + return (jlong)((uintptr_t (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__SJ(JNIEnv *__env, jclass clazz, jshort param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jshort))(intptr_t)__functionAddress)(param0); + return (jlong)((uintptr_t (*) (jshort))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__ZJ(JNIEnv *__env, jclass clazz, jboolean param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jboolean))(intptr_t)__functionAddress)(param0); + return (jlong)((uintptr_t (*) (jboolean))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeP__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return (jlong)((uintptr_t (*) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return (jlong)((uintptr_t (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return (jlong)((uintptr_t (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JBJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((uintptr_t (*) (uintptr_t, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JDJ(JNIEnv *__env, jclass clazz, jlong param0, jdouble param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jdouble))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((uintptr_t (*) (uintptr_t, jdouble))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__SJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return (jlong)((uintptr_t (*) (jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return (jlong)((uintptr_t (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__ISJJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jshort, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return (jlong)((uintptr_t (*) (jint, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JSZJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jshort, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, jshort, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__IIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JFIFIJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jint param2, jfloat param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jfloat, jint, jfloat, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + return (jlong)((uintptr_t (*) (uintptr_t, jfloat, jint, jfloat, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeJP__SSSBIJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jbyte param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jshort, jshort, jshort, jbyte, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + return (jlong)((uintptr_t (*) (jshort, jshort, jshort, jbyte, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JIBIZZJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jbyte param2, jint param3, jboolean param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jbyte, jint, jboolean, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jbyte, jint, jboolean, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP__JIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJP__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((uintptr_t (*) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJP__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJP__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return (jlong)((uintptr_t (*) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJBJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJIBJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jbyte param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JJZZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jboolean param2, jboolean param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jboolean, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jboolean, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JZZJJ(JNIEnv *__env, jclass clazz, jlong param0, jboolean param1, jboolean param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jboolean, jboolean, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, jboolean, jboolean, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__IIIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__JSSSSJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jshort param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jshort, jshort, jshort, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, jshort, jshort, jshort, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__IIIIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJJP__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (*) (uintptr_t, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__IJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JBJJJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jbyte, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, jbyte, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokeJPPP__IIIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (jint, jint, jint, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JIJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__IIIJJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (jint, jint, jint, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPP__JJIIJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, param5, param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, param5, param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPJPP__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPJP__IJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, intptr_t, intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return (jlong)((uintptr_t (*) (jint, uintptr_t, uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPJP__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJPPP__JIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, jint, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, jint, jint, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJPPP__JJIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jlong, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, jlong, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPJP__JJJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJIJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, param5, param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__JJJJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, param5, param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPP__IIIJJJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (jint, jint, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7); + return (jlong)((uintptr_t (*) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePJPJPP__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jlong, intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, jlong, uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePNNNPP__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, long, long, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (long)param2, (long)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, long, long, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (long)param2, (long)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPP__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPP__JJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPP__JJJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPP__JJJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPJPPP__JJJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPP__JJJJJIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jint param6, jint param7, jint param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPJJPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jlong, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jlong, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJIIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, param7); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJIJIJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jint param6, jlong param7, jint param8, jint param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, param6, (intptr_t)param7, param8, param9); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7, param8, param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPP__JJJJJIJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jint param8, jint param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, param7, param8, param9); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7, param8, param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPP__JJJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPP__JJJJJIJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, param7, (intptr_t)param8, param9); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPP__JJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPJJPPP__JJJJIJIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jint param6, jlong param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, param5, param6, param7, param8, (intptr_t)param9, (intptr_t)param10); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, param6, param7, param8, (uintptr_t)param9, (uintptr_t)param10); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJJPP__JJJJJIJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8, param9, (intptr_t)param10); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8, param9, (uintptr_t)param10); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJPPP__JJJJJIJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, (intptr_t)param8, param9, (intptr_t)param10); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJPPP__JIJJJJIIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jint param7, jlong param8, jint param9, jlong param10, jlong param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, param7, param8, param9, (intptr_t)param10, (intptr_t)param11); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, param7, param8, param9, (uintptr_t)param10, (uintptr_t)param11); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJPPP__JIJJJJIIJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jint param7, jlong param8, jint param9, jint param10, jlong param11, jlong param12, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, param7, param8, param9, param10, (intptr_t)param11, (intptr_t)param12); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, param7, param8, param9, param10, (uintptr_t)param11, (uintptr_t)param12); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPP__JJJJJJJIJIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jint param7, jlong param8, jint param9, jint param10, jint param11, jint param12, jint param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, param7, (intptr_t)param8, param9, param10, param11, param12, param13); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, param10, param11, param12, param13); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJJJPP__JJJJJIJJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jlong, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8, param9, (intptr_t)param10); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jlong, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8, param9, (uintptr_t)param10); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPPP__JJJJIJJJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, param9, (intptr_t)param10); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, param9, (uintptr_t)param10); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPPP__JJJJJJJIJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jint param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, param7, (intptr_t)param8, param9, (intptr_t)param10, param11); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10, param11); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJPPPP__JJJJJIJIIJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jint param8, jlong param9, jint param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, jint, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8, (intptr_t)param9, param10, param11, (intptr_t)param12, (intptr_t)param13); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, jint, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8, (uintptr_t)param9, param10, param11, (uintptr_t)param12, (uintptr_t)param13); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPPPP__JJJJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPPPP__JJJJJJJIJIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong param11, jint param12, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, param7, (intptr_t)param8, param9, (intptr_t)param10, (intptr_t)param11, param12); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10, (uintptr_t)param11, param12); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJPPPPPP__JJJJJIJIIJJIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jint param8, jlong param9, jlong param10, jint param11, jint param12, jlong param13, jlong param14, jlong param15, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, jint, intptr_t, intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8, (intptr_t)param9, (intptr_t)param10, param11, param12, (intptr_t)param13, (intptr_t)param14, (intptr_t)param15); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8, (uintptr_t)param9, (uintptr_t)param10, param11, param12, (uintptr_t)param13, (uintptr_t)param14, (uintptr_t)param15); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPPPPPP__JIJJJIJJIJJIIIIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jint param8, jlong param9, jlong param10, jint param11, jint param12, jint param13, jint param14, jlong param15, jlong param16, jlong param17, jlong param18, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7, param8, (intptr_t)param9, (intptr_t)param10, param11, param12, param13, param14, (intptr_t)param15, (intptr_t)param16, (intptr_t)param17, (intptr_t)param18); + return (jlong)((uintptr_t (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7, param8, (uintptr_t)param9, (uintptr_t)param10, param11, param12, param13, param14, (uintptr_t)param15, (uintptr_t)param16, (uintptr_t)param17, (uintptr_t)param18); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPPPPJJPPPPPPP__JJJJJIJIJIJJIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong param11, jint param12, jlong param13, jlong param14, jlong param15, jlong param16, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jlong, jint, jlong, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7, param8, param9, (intptr_t)param10, (intptr_t)param11, param12, (intptr_t)param13, (intptr_t)param14, (intptr_t)param15, (intptr_t)param16); + return (jlong)((uintptr_t (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jlong, jint, jlong, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7, param8, param9, (uintptr_t)param10, (uintptr_t)param11, param12, (uintptr_t)param13, (uintptr_t)param14, (uintptr_t)param15, (uintptr_t)param16); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) ())(intptr_t)__functionAddress)(); + return ((jshort (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jint))(intptr_t)__functionAddress)(param0); + return ((jshort (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__ISJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jint, jshort))(intptr_t)__functionAddress)(param0, param1); + return ((jshort (*) (jint, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__SBJ(JNIEnv *__env, jclass clazz, jshort param0, jbyte param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jbyte))(intptr_t)__functionAddress)(param0, param1); + return ((jshort (*) (jshort, jbyte))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__SZJ(JNIEnv *__env, jclass clazz, jshort param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jboolean))(intptr_t)__functionAddress)(param0, param1); + return ((jshort (*) (jshort, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__SSZJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jshort, jboolean))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jshort (*) (jshort, jshort, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeS__SSSSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3); + return ((jshort (*) (jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jshort (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__JSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jshort (*) (uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJS__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jshort (*) (jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__BJZJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jbyte, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jshort (*) (jbyte, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__IJSJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jint, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jshort (*) (jint, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__JISJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, jint, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jshort (*) (uintptr_t, jint, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__SJSJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jshort (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJS__SSIJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jshort, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3); + return ((jshort (*) (jshort, jshort, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJS__IZSIJJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jshort param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jint, jboolean, jshort, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + return ((jshort (*) (jint, jboolean, jshort, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__JSSIIJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, jshort, jshort, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + return ((jshort (*) (uintptr_t, jshort, jshort, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__JSSSSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + return ((jshort (*) (uintptr_t, jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePPS__JJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jshort (*) (uintptr_t, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJPS__SZSIJJJ(JNIEnv *__env, jclass clazz, jshort param0, jboolean param1, jshort param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jboolean, jshort, jint, jlong, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jshort (*) (jshort, jboolean, jshort, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJPS__SSSZIJJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jboolean param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jshort, jshort, jboolean, jint, jlong, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6); + return ((jshort (*) (jshort, jshort, jshort, jboolean, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokeJPS__SSZSIJJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jboolean param2, jshort param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (jshort, jshort, jboolean, jshort, jint, jlong, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6); + return ((jshort (*) (jshort, jshort, jboolean, jshort, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePJPS__JJBJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jbyte param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (*) (intptr_t, jlong, jbyte, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jshort (*) (uintptr_t, jlong, jbyte, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) ())(intptr_t)__functionAddress)(); + ((void (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte))(intptr_t)__functionAddress)(param0); + ((void (*) (jbyte))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__DJ(JNIEnv *__env, jclass clazz, jdouble param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jdouble))(intptr_t)__functionAddress)(param0); + ((void (*) (jdouble))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__FJ(JNIEnv *__env, jclass clazz, jfloat param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jfloat))(intptr_t)__functionAddress)(param0); + ((void (*) (jfloat))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint))(intptr_t)__functionAddress)(param0); + ((void (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SJ(JNIEnv *__env, jclass clazz, jshort param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort))(intptr_t)__functionAddress)(param0); + ((void (*) (jshort))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BIJ(JNIEnv *__env, jclass clazz, jbyte param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jbyte, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BZJ(JNIEnv *__env, jclass clazz, jbyte param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jboolean))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jbyte, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jfloat))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jint, jfloat))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__ISJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jshort))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jint, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SIJ(JNIEnv *__env, jclass clazz, jshort param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jshort, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jshort, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SZJ(JNIEnv *__env, jclass clazz, jshort param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jboolean))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jshort, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BSIJ(JNIEnv *__env, jclass clazz, jbyte param0, jshort param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jshort, jint))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jbyte, jshort, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jdouble))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jint, jint, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SIIJ(JNIEnv *__env, jclass clazz, jshort param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jshort, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BSIIJ(JNIEnv *__env, jclass clazz, jbyte param0, jshort param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jshort, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jbyte, jshort, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BSSIJ(JNIEnv *__env, jclass clazz, jbyte param0, jshort param1, jshort param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jshort, jshort, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jbyte, jshort, jshort, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IFFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jint, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSIBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jint param2, jbyte param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSSIJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (*) (jshort, jshort, jshort, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BSBIIJ(JNIEnv *__env, jclass clazz, jbyte param0, jshort param1, jbyte param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jshort, jbyte, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jbyte, jshort, jbyte, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__BSIISJ(JNIEnv *__env, jclass clazz, jbyte param0, jshort param1, jint param2, jint param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, jshort, jint, jint, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jbyte, jshort, jint, jint, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIDDDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jdouble param3, jdouble param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jint, jint, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jint, jint, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__IIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSIFBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jint param2, jfloat param3, jbyte param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jint, jfloat, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jshort, jshort, jint, jfloat, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSSIBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jint param3, jbyte param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jshort, jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSSSSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jshort, jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSIIIBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jint param2, jint param3, jint param4, jbyte param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jint, jint, jint, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (*) (jshort, jshort, jint, jint, jint, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSSSSBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jshort param4, jbyte param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jshort, jshort, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (*) (jshort, jshort, jshort, jshort, jshort, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSSSSIBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jshort param4, jint param5, jbyte param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (*) (jshort, jshort, jshort, jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSFBBBBBBBBBJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jfloat param2, jbyte param3, jbyte param4, jbyte param5, jbyte param6, jbyte param7, jbyte param8, jbyte param9, jbyte param10, jbyte param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jfloat, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); + ((void (*) (jshort, jshort, jfloat, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeV__SSBSSSSBSSSSSSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jbyte param2, jshort param3, jshort param4, jshort param5, jshort param6, jbyte param7, jshort param8, jshort param9, jshort param10, jshort param11, jshort param12, jshort param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13); + ((void (*) (jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + ((void (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeJV__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jlong, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (*) (jlong, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__BJJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + ((void (*) (jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + ((void (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JZJ(JNIEnv *__env, jclass clazz, jlong param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + ((void (*) (jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeJV__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (*) (jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + ((void (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JDDJ(JNIEnv *__env, jclass clazz, jlong param0, jdouble param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jdouble, jdouble))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jdouble, jdouble))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIDJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jdouble))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jint, jdouble))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JISJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jint, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIZJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSZJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jshort, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SIJJ(JNIEnv *__env, jclass clazz, jshort param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + ((void (*) (jshort, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SJIJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + ((void (*) (jshort, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SJSJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SSJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + ((void (*) (jshort, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__BJIIJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + ((void (*) (jbyte, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBSIJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jshort param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, jshort, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (*) (uintptr_t, jbyte, jshort, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JFFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (*) (uintptr_t, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (*) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSIIJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (*) (uintptr_t, jshort, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SSBJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jbyte param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jbyte, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + ((void (*) (jshort, jshort, jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__BJIISJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jint param2, jint param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jbyte, intptr_t, jint, jint, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4); + ((void (*) (jbyte, uintptr_t, jint, jint, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIJIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4); + ((void (*) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBSIIJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jshort param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, jshort, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (*) (uintptr_t, jbyte, jshort, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBSSIJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jshort param2, jshort param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, jshort, jshort, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (*) (uintptr_t, jbyte, jshort, jshort, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (*) (uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (*) (uintptr_t, jshort, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSIBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jint param3, jbyte param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (*) (uintptr_t, jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (*) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBSBIIJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jshort param2, jbyte param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, jshort, jbyte, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + ((void (*) (uintptr_t, jbyte, jshort, jbyte, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JBSIISJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jshort param2, jint param3, jint param4, jshort param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, jshort, jint, jint, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + ((void (*) (uintptr_t, jbyte, jshort, jint, jint, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JIIIIZJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint, jint, jint, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + ((void (*) (uintptr_t, jint, jint, jint, jint, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSSIBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jint param4, jbyte param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + ((void (*) (uintptr_t, jshort, jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SSSSJSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jlong param4, jshort param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jshort, jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5); + ((void (*) (jshort, jshort, jshort, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6); + ((void (*) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSISSSBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jint param2, jshort param3, jshort param4, jshort param5, jbyte param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jint, jshort, jshort, jshort, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (*) (uintptr_t, jshort, jint, jshort, jshort, jshort, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSIIIBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jint param3, jint param4, jint param5, jbyte param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jint, jint, jint, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (*) (uintptr_t, jshort, jshort, jint, jint, jint, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSSSSBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jshort param4, jshort param5, jbyte param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jshort, jshort, jshort, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (*) (uintptr_t, jshort, jshort, jshort, jshort, jshort, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSSSSIBJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jshort param4, jshort param5, jint param6, jbyte param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jshort, jshort, jshort, jint, jbyte))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7); + ((void (*) (uintptr_t, jshort, jshort, jshort, jshort, jshort, jint, jbyte))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSSZZSIJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jboolean param4, jboolean param5, jshort param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jshort, jboolean, jboolean, jshort, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7); + ((void (*) (uintptr_t, jshort, jshort, jshort, jboolean, jboolean, jshort, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SBSSSSSSJJ(JNIEnv *__env, jclass clazz, jshort param0, jbyte param1, jshort param2, jshort param3, jshort param4, jshort param5, jshort param6, jshort param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8); + ((void (*) (jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SSBSSSSJSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jbyte param2, jshort param3, jshort param4, jshort param5, jshort param6, jlong param7, jshort param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jbyte, jshort, jshort, jshort, jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)param7, param8); + ((void (*) (jshort, jshort, jbyte, jshort, jshort, jshort, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SSBBSSSSJSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jbyte param2, jbyte param3, jshort param4, jshort param5, jshort param6, jshort param7, jlong param8, jshort param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jbyte, jbyte, jshort, jshort, jshort, jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8, param9); + ((void (*) (jshort, jshort, jbyte, jbyte, jshort, jshort, jshort, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8, param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__JSSBSSSSBSSSSSSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jbyte param3, jshort param4, jshort param5, jshort param6, jshort param7, jbyte param8, jshort param9, jshort param10, jshort param11, jshort param12, jshort param13, jshort param14, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); + ((void (*) (uintptr_t, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jbyte, jshort, jshort, jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePJV__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (*) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + ((void (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePJV__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePJV__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (*) (uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + ((void (*) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + ((void (*) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + ((void (*) (uintptr_t, uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + ((void (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + ((void (*) (uintptr_t, uintptr_t, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__SJJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + ((void (*) (jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + ((void (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + ((void (*) (uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + ((void (*) (uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JSJSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JBJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4); + ((void (*) (uintptr_t, jbyte, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JFJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jfloat, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4); + ((void (*) (uintptr_t, jfloat, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (*) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__SSBJJJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jbyte param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jshort, jshort, jbyte, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + ((void (*) (jshort, jshort, jbyte, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JBJIISJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong param2, jint param3, jint param4, jshort param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jbyte, intptr_t, jint, jint, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5); + ((void (*) (uintptr_t, jbyte, uintptr_t, jint, jint, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JJIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, param5, param6); + ((void (*) (uintptr_t, uintptr_t, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePNPV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (intptr_t)param2); + ((void (*) (uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + ((void (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePJPV__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jlong, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + ((void (*) (uintptr_t, jlong, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__IJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + ((void (*) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + ((void (*) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokeJJJV__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, jlong, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (*) (jint, jint, jlong, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (*) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJIJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + ((void (*) (uintptr_t, uintptr_t, jint, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJJZZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jboolean param3, jboolean param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, jboolean, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, jboolean, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJSIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jshort, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4); + ((void (*) (uintptr_t, uintptr_t, jshort, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJJIZZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jboolean param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, jint, jboolean, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, jint, jboolean, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JZIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jboolean param1, jint param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jboolean, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, param5); + ((void (*) (uintptr_t, jboolean, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__JJIIIJIZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jint param6, jboolean param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jint, jint, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5, param6, param7); + ((void (*) (uintptr_t, uintptr_t, jint, jint, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePNPPV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, long, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (intptr_t)param2, (intptr_t)param3); + ((void (*) (uintptr_t, long, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePJJPV__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (*) (uintptr_t, jint, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPV__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPV__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPV__JJSJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + ((void (*) (uintptr_t, uintptr_t, jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__JIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__IJIJJJIJIZJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jint param8, jboolean param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, param8, param9); + ((void (*) (jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, param8, param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPV__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPV__JJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokeZ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) ())(intptr_t)__functionAddress)(); + return ((jboolean (*) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokeZ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (jint))(intptr_t)__functionAddress)(param0); + return ((jboolean (*) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePZ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jboolean (*) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePZ__BJJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (jbyte, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jboolean (*) (jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePZ__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jboolean (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePZ__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jboolean (*) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePZ__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jboolean (*) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokeJZ__SZSIJJ(JNIEnv *__env, jclass clazz, jshort param0, jboolean param1, jshort param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (jshort, jboolean, jshort, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + return ((jboolean (*) (jshort, jboolean, jshort, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPZ__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jboolean (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPZ__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jboolean (*) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPZ__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jboolean (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPZ__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePJPZ__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, jlong, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jboolean (*) (uintptr_t, jlong, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPZ__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPZ__JJJZIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jboolean param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, jboolean, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, jboolean, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPZ__JJIJIZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, param5); + return ((jboolean (*) (uintptr_t, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, param5); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPPZ__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPPZ__JJJBJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jbyte param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, jbyte, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, jbyte, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPPPZ__JJJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPPPPZ__JJJJJZIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jboolean param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jboolean, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6); + return ((jboolean (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jboolean, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callF__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (APIENTRY *) ())(intptr_t)__functionAddress)(); + return ((jfloat (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callF__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (APIENTRY *) (jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jfloat (APIENTRY *) (jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callPF__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jfloat (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_JNI_callPPPF__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jfloat (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jfloat (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) ())(intptr_t)__functionAddress)(); + return ((jint (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + return ((jint (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__IFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jfloat))(intptr_t)__functionAddress)(param0, param1); + return ((jint (APIENTRY *) (jint, jfloat))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return ((jint (APIENTRY *) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callI__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jint (APIENTRY *) (jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJI__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong))(intptr_t)__functionAddress)(param0); + return ((jint (APIENTRY *) (jlong))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jint (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJI__JFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jfloat))(intptr_t)__functionAddress)(param0, param1); + return ((jint (APIENTRY *) (jlong, jfloat))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJI__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint))(intptr_t)__functionAddress)(param0, param1); + return ((jint (APIENTRY *) (jlong, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jint (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (APIENTRY *) (uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (APIENTRY *) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JZJ(JNIEnv *__env, jclass clazz, jlong param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (APIENTRY *) (uintptr_t, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJI__JIZJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jint (APIENTRY *) (jlong, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jint (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIFJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jint, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJI__JFFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + return ((jint (APIENTRY *) (jlong, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IJIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIIFFJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jfloat param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, jfloat, jfloat, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (jint, jint, jint, jfloat, jfloat, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IJIIFIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jfloat param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, jint, jint, jfloat, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4, param5); + return ((jint (APIENTRY *) (jint, uintptr_t, jint, jint, jfloat, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__JIIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIJIIIIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jfloat param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, param7); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jlong))(intptr_t)__functionAddress)(param0, param1); + return ((jint (APIENTRY *) (jlong, jlong))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jint (APIENTRY *) (jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jint (APIENTRY *) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJI__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJI__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JBJJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jbyte, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (uintptr_t, jbyte, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JSJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJI__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IJJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (jlong, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPI__JJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJI__JFFFFJJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jfloat param3, jfloat param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jfloat, jfloat, jfloat, jfloat, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + return ((jint (APIENTRY *) (jlong, jfloat, jfloat, jfloat, jfloat, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IIIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (jint, jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IJIIFJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jfloat param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, jint, jint, jfloat, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (jint, uintptr_t, jint, jint, jfloat, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JJIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIIIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IIJJIIIIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jint param6, jint param7, jfloat param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, param6, param7, param8); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, param6, param7, param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JIIIIIIJIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jint param8, jint param9, jint param10, jint param11, jint param12, jint param13, jint param14, jint param15, jint param16, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint, intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, (intptr_t)param7, param8, param9, param10, param11, param12, param13, param14, param15, param16); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint, uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, (uintptr_t)param7, param8, param9, param10, param11, param12, param13, param14, param15, param16); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJPI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jlong, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jint (APIENTRY *) (jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJPI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jlong, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (jlong, jlong, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPJI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, jlong))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (jlong, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJI__JJJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJI__JJJZJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jboolean param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jboolean))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jboolean))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPNI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (long)param3); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (long)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__IJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JBJJJ(JNIEnv *__env, jclass clazz, jlong param0, jbyte param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jbyte, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jbyte, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JSJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPJI__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, jint, jlong))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPJI__JIFJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jfloat param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, jfloat, intptr_t, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5); + return ((jint (APIENTRY *) (jlong, jint, jfloat, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPI__JIJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4, param5); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJIIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__IIIJIJZJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jlong param5, jboolean param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jint, intptr_t, jint, intptr_t, jboolean, jlong))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, param6, param7); + return ((jint (APIENTRY *) (jint, jint, jint, uintptr_t, jint, uintptr_t, jboolean, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6, param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIIIIIIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8, (intptr_t)param9); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJPPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jlong, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJJI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPNPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPJI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPPI__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (jlong, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJJI__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jlong, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, jint, jlong, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJBJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jbyte param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jbyte, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jbyte, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJSJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPPI__JIJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + return ((jint (APIENTRY *) (jlong, jint, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPJI__JIIIJIJZJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jlong param6, jboolean param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jint, jint, jint, intptr_t, jint, intptr_t, jboolean, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, (intptr_t)param6, param7, param8); + return ((jint (APIENTRY *) (jlong, jint, jint, jint, uintptr_t, jint, uintptr_t, jboolean, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7, param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIIIIIIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)param10); + return ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)param10); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__IJJIIIIIIIIIIIIIIIIIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jint param11, jint param12, jint param13, jint param14, jint param15, jint param16, jint param17, jint param18, jint param19, jint param20, jlong param21, jlong param22, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16, param17, param18, param19, param20, (intptr_t)param21, (intptr_t)param22); + return ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16, param17, param18, param19, param20, (uintptr_t)param21, (uintptr_t)param22); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJPPI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPPI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJPPI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPJJI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPJI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJJPI__JJJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPPI__JJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJBJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jbyte param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jbyte, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jbyte, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJSJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJJPPPI__JJIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, jlong, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (jlong, jlong, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJPPI__JIJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJPPI__JJIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JIJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JIJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJJJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPPPI__IIJJIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, jlong, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (jint, jint, jlong, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPJI__JJIIJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, param6, param7); + return ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6, param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JIJIJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJJJPI__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJPPPI__JJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jlong, jlong, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPPPI__JIJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, jlong, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, jint, jlong, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPJPPI__JIJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__IIJJJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__JIJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JIJJIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8); + return ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJJIJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPI__JJJJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPI__JJJJIJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jint param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, param7, (intptr_t)param8, (intptr_t)param9); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callJPPPPPPPPI__JJJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8); + return ((jint (APIENTRY *) (jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPI__JJIJJJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, param8, (intptr_t)param9, (intptr_t)param10); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, param8, (uintptr_t)param9, (uintptr_t)param10); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJJJJJJJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jint param10, jlong param11, jlong param12, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, param10, (intptr_t)param11, (intptr_t)param12); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, param10, (uintptr_t)param11, (uintptr_t)param12); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJIJJJJJJJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)param10, param11, (intptr_t)param12, (intptr_t)param13); + return ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)param10, param11, (uintptr_t)param12, (uintptr_t)param13); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) ())(intptr_t)__functionAddress)(); + return ((jlong (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + return ((jlong (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return ((jlong (APIENTRY *) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJ__IIZIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (jint, jint, jboolean, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + return ((jlong (APIENTRY *) (jint, jint, jboolean, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callJJ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (jlong))(intptr_t)__functionAddress)(param0); + return ((jlong (APIENTRY *) (jlong))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jlong (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJ__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jlong (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJ__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jlong (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJ__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jlong (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJ__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jlong (APIENTRY *) (intptr_t, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jlong (APIENTRY *) (uintptr_t, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPN__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((long (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return (jlong)((long (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) ())(intptr_t)__functionAddress)(); + return (jlong)((uintptr_t (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + return (jlong)((uintptr_t (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return (jlong)((uintptr_t (APIENTRY *) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callP__IFFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + return (jlong)((uintptr_t (APIENTRY *) (jint, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP__IJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPNP__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__IJJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3); + return (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__IIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPNP__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPP__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPP__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPP__JJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPP__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPNPP__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPP__JIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPJPPP__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPP__JIJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__JJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPP__JIJJIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPP__IJJIIIIJJJIJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jlong param8, jlong param9, jint param10, jlong param11, jlong param12, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, param10, (intptr_t)param11, (intptr_t)param12); + return (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, param10, (uintptr_t)param11, (uintptr_t)param12); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPPP__JJIJJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jlong, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPPPPP__JJIJJJJJIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jint param8, jlong param9, jlong param10, jlong param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jlong, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, param8, (intptr_t)param9, (intptr_t)param10, (intptr_t)param11); + return (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, param8, (uintptr_t)param9, (uintptr_t)param10, (uintptr_t)param11); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callS__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + return ((jshort (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPS__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jshort (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPS__JSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jshort (APIENTRY *) (uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPS__SJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jshort (APIENTRY *) (jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPS__SJSJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jshort (APIENTRY *) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JSJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__SJJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jshort (APIENTRY *) (jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPJS__JJSSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jlong, jshort, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + return ((jshort (APIENTRY *) (uintptr_t, jlong, jshort, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3); + return ((jshort (APIENTRY *) (uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPS__JSSJIJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__JJSJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jshort (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__JSJSJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__JSSJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPS__SJSSJSJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jshort param2, jshort param3, jlong param4, jshort param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jshort, intptr_t, jshort, jshort, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, (intptr_t)param4, param5, (intptr_t)param6); + return ((jshort (APIENTRY *) (jshort, uintptr_t, jshort, jshort, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JSJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JJSJSJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jshort param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JSSJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JJSJSJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jshort param4, jlong param5, jshort param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5, param6); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JSSJSJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jlong param3, jshort param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, intptr_t, jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, uintptr_t, jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JJSJSJSSSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jshort param4, jlong param5, jshort param6, jshort param7, jshort param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, jshort, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5, param6, param7, param8); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, jshort, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6, param7, param8); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPS__JSJSJSJSSSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong param4, jshort param5, jlong param6, jshort param7, jshort param8, jshort param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, jshort, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, param5, (intptr_t)param6, param7, param8, param9); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, jshort, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7, param8, param9); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JSJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JJJSJSJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jshort param3, jlong param4, jshort param5, jlong param6, jshort param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, param5, (intptr_t)param6, param7); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, param7); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JSJSJJSJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong param4, jlong param5, jshort param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, jshort, intptr_t, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, jshort, uintptr_t, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__SJSJJJSJJ(JNIEnv *__env, jclass clazz, jshort param0, jlong param1, jshort param2, jlong param3, jlong param4, jlong param5, jshort param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (jshort, intptr_t, jshort, intptr_t, intptr_t, intptr_t, jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7); + return ((jshort (APIENTRY *) (jshort, uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JJSJSJSJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jshort param4, jlong param5, jshort param6, jlong param7, jshort param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5, param6, (intptr_t)param7, param8); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7, param8); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JSSSJSSJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jlong param4, jshort param5, jshort param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, jshort, intptr_t, jshort, jshort, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, jshort, uintptr_t, jshort, jshort, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPS__JSSSSJSJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshort param2, jshort param3, jshort param4, jlong param5, jshort param6, jlong param7, jlong param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, jshort, jshort, jshort, intptr_t, jshort, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9); + return ((jshort (APIENTRY *) (uintptr_t, jshort, jshort, jshort, jshort, uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPS__JSJSJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, jshort, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPS__JJSJSJSJSJSJSJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshort param2, jlong param3, jshort param4, jlong param5, jshort param6, jlong param7, jshort param8, jlong param9, jshort param10, jlong param11, jshort param12, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5, param6, (intptr_t)param7, param8, (intptr_t)param9, param10, (intptr_t)param11, param12); + return ((jshort (APIENTRY *) (uintptr_t, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7, param8, (uintptr_t)param9, param10, (uintptr_t)param11, param12); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPS__JSJSJJJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlong param2, jshort param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jshort (APIENTRY *) (intptr_t, jshort, intptr_t, jshort, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)param10); + return ((jshort (APIENTRY *) (uintptr_t, jshort, uintptr_t, jshort, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) ())(intptr_t)__functionAddress)(); + ((void (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__BJ(JNIEnv *__env, jclass clazz, jbyte param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jbyte))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jbyte))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__DJ(JNIEnv *__env, jclass clazz, jdouble param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jdouble))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jdouble))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FJ(JNIEnv *__env, jclass clazz, jfloat param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jfloat))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__SJ(JNIEnv *__env, jclass clazz, jshort param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jshort))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jshort))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ZJ(JNIEnv *__env, jclass clazz, jboolean param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jboolean))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jboolean))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__DDJ(JNIEnv *__env, jclass clazz, jdouble param0, jdouble param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FFJ(JNIEnv *__env, jclass clazz, jfloat param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FZJ(JNIEnv *__env, jclass clazz, jfloat param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jboolean))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jfloat, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jdouble))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jfloat))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ISJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jshort))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IZJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jboolean))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jboolean))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__SSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jshort, jshort))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jshort, jshort))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__BBBJ(JNIEnv *__env, jclass clazz, jbyte param0, jbyte param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jbyte, jbyte, jbyte))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jbyte, jbyte, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__DDDJ(JNIEnv *__env, jclass clazz, jdouble param0, jdouble param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FFFJ(JNIEnv *__env, jclass clazz, jfloat param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jdouble))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IISJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jshort))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jshort))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ISSJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__SSSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__BBBBJ(JNIEnv *__env, jclass clazz, jbyte param0, jbyte param1, jbyte param2, jbyte param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jbyte, jbyte, jbyte, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jbyte, jbyte, jbyte, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__DDDDJ(JNIEnv *__env, jclass clazz, jdouble param0, jdouble param1, jdouble param2, jdouble param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FFFFJ(JNIEnv *__env, jclass clazz, jfloat param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDDDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jdouble param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IFFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIDDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jdouble param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jfloat, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jdouble param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jint, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIZIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jboolean, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jboolean, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ISSSJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jshort param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__SSSSJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshort param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ZZZZJ(JNIEnv *__env, jclass clazz, jboolean param0, jboolean param1, jboolean param2, jboolean param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jboolean, jboolean, jboolean, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jboolean, jboolean, jboolean, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IBBBBJ(JNIEnv *__env, jclass clazz, jint param0, jbyte param1, jbyte param2, jbyte param3, jbyte param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jbyte, jbyte, jbyte, jbyte))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jbyte, jbyte, jbyte, jbyte))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDDDDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jdouble param3, jdouble param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IFFFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jfloat param3, jfloat param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIDDDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jdouble param3, jdouble param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIFIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jfloat, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jint, jfloat, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIZIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__ISSSSJ(JNIEnv *__env, jclass clazz, jint param0, jshort param1, jshort param2, jshort param3, jshort param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jshort, jshort, jshort, jshort))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jshort, jshort, jshort, jshort))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IZZZZJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jboolean param2, jboolean param3, jboolean param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jboolean, jboolean, jboolean, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jboolean, jboolean, jboolean, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__DDDDDDJ(JNIEnv *__env, jclass clazz, jdouble param0, jdouble param1, jdouble param2, jdouble param3, jdouble param4, jdouble param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FFFFFZJ(JNIEnv *__env, jclass clazz, jfloat param0, jfloat param1, jfloat param2, jfloat param3, jfloat param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat, jfloat, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat, jfloat, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDDIDDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jint param3, jdouble param4, jdouble param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IFFIFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jint param3, jfloat param4, jfloat param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIDDDDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdouble param2, jdouble param3, jdouble param4, jdouble param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jfloat param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIZIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jboolean param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jboolean, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, jboolean, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IDDDDDDJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jdouble param3, jdouble param4, jdouble param5, jdouble param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIDDDDJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jdouble param3, jdouble param4, jdouble param5, jdouble param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jdouble, jdouble, jdouble, jdouble))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jdouble, jdouble, jdouble, jdouble))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIFFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jfloat param4, jfloat param5, jfloat param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jboolean param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIZIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__FFFFFFFFJ(JNIEnv *__env, jclass clazz, jfloat param0, jfloat param1, jfloat param2, jfloat param3, jfloat param4, jfloat param5, jfloat param6, jfloat param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIFFFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jfloat param4, jfloat param5, jfloat param6, jfloat param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jboolean param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jboolean param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIFFFFFFFFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jfloat param5, jfloat param6, jfloat param7, jfloat param8, jfloat param9, jfloat param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); + ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jint param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jint param11, jint param12, jint param13, jint param14, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callV__IIIIIIIIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jint param11, jint param12, jint param13, jint param14, jint param15, jint param16, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jlong))(intptr_t)__functionAddress)(param0); + ((void (APIENTRY *) (jlong))(uintptr_t)__functionAddress)(param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + ((void (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jint, jlong))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jlong, jint))(intptr_t)__functionAddress)(param0, param1); + ((void (APIENTRY *) (jlong, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (APIENTRY *) (uintptr_t, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (APIENTRY *) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + ((void (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JISJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jint, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IJIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jlong, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callNV__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (long, jint, jint, jint))(intptr_t)__functionAddress)((long)param0, param1, param2, param3); + ((void (APIENTRY *) (long, jint, jint, jint))(uintptr_t)__functionAddress)((long)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IFJIJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3); + ((void (APIENTRY *) (jint, jfloat, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIZJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IJIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + ((void (APIENTRY *) (jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JFFFJ(JNIEnv *__env, jclass clazz, jlong param0, jfloat param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIJIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIJZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jboolean param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IJIIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IZIIJJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jboolean, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jboolean, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IDDIIJJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IFFIIJJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIJZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIJIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IZIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jboolean, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jboolean, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIFFFFJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jfloat param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jfloat, jfloat, jfloat, jfloat, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIJIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5, param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIJIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIZIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jboolean param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIZIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jboolean param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jboolean, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIIZIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jboolean param6, jint param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIJIIIIIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jint param7, jfloat param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, param7, param8); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IDDIIDDIIJJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jint param3, jint param4, jdouble param5, jdouble param6, jint param7, jint param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)param9); + ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IFFIIFFIIJJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jint param3, jint param4, jfloat param5, jfloat param6, jint param7, jint param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)param9); + ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)param9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__JIFFFFFFFFFJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jfloat param2, jfloat param3, jfloat param4, jfloat param5, jfloat param6, jfloat param7, jfloat param8, jfloat param9, jfloat param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jlong, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); + ((void (APIENTRY *) (jlong, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (intptr_t)param10); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (uintptr_t)param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__JIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJV__IIIIIIIIIIJZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jlong param10, jboolean param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jlong param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (intptr_t)param11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (uintptr_t)param11); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJPV__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jlong, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + ((void (APIENTRY *) (jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1); + ((void (APIENTRY *) (uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJV__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2); + ((void (APIENTRY *) (jint, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JJFJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jfloat))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jlong, jfloat))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJV__IIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jint, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJPV__IIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jlong, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJPV__IJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__IJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, jlong))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3); + ((void (APIENTRY *) (jint, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJJZJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jboolean param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIFJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jfloat param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jfloat, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jint, jfloat, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJV__JJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJJIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJIJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJJIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJJIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJJIIIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJJIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIIIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIJIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJIFFIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jfloat param5, jfloat param6, jint param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jfloat, jfloat, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5, param6, param7, (intptr_t)param8); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jfloat, jfloat, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5, param6, param7, (uintptr_t)param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIIIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, param7, (intptr_t)param8); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, param7, (uintptr_t)param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIIJIIFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong param6, jint param7, jint param8, jfloat param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, intptr_t, jint, jint, jfloat))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)param6, param7, param8, param9); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t, jint, jint, jfloat))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)param6, param7, param8, param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2); + ((void (APIENTRY *) (uintptr_t, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + ((void (APIENTRY *) (uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPNV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2); + ((void (APIENTRY *) (uintptr_t, uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJJV__IJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3); + ((void (APIENTRY *) (jint, jlong, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJV__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJFJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloat param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jfloat, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jfloat, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJZJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jboolean param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jboolean, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jboolean, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJJV__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jlong, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jint, jlong, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJV__JIJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJV__JJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJIJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JIJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPJV__IJJIJZJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jint param3, jlong param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, jlong, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jlong, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPJV__JIJIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJV__JIIJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jlong, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (uintptr_t, jint, jint, jlong, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIIIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJIIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIJIIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIIIJIJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIIIIIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, (intptr_t)param6, (intptr_t)param7); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJIIIIIIJIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jlong param8, jint param9, jint param10, jint param11, jint param12, jint param13, jint param14, jint param15, jint param16, jint param17, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jint, jint, jint, jint, jint, jint, intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, param5, param6, param7, (intptr_t)param8, param9, param10, param11, param12, param13, param14, param15, param16, param17); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, jint, jint, jint, jint, uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, param5, param6, param7, (uintptr_t)param8, param9, param10, param11, param12, param13, param14, param15, param16, param17); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPNV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, long))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (long)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, long))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (long)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJJJV__IJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jlong, jlong, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4); + ((void (APIENTRY *) (jint, jlong, jlong, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJV__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JJJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callJJJJV__IIJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jlong, jlong, jlong, jlong))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); + ((void (APIENTRY *) (jint, jint, jlong, jlong, jlong, jlong))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPV__JJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IJIJJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IJJJJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJIJIIJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jint param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jlong, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, (intptr_t)param6); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jlong, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IIIJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IIJJJJIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JJIJIIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jint param4, jint param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jlong, jint, jint, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, (intptr_t)param6, param7); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jlong, jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, (uintptr_t)param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPV__JIJIIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jlong param5, jint param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jlong, jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, param6, (intptr_t)param7); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JIIIIJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jlong param5, jint param6, jlong param7, jint param8, jlong param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, param6, (intptr_t)param7, param8, (intptr_t)param9); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, param6, (uintptr_t)param7, param8, (uintptr_t)param9); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJJV__JJJJJIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, jlong, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jlong, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JIIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJJV__JJIIJJJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlong param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jlong, jlong, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jlong, jlong, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPPV__JIIJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, jint, jlong, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + ((void (APIENTRY *) (uintptr_t, jint, jint, jlong, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JJJJJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jint param5, jint param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5, param6, param7); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5, param6, param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JIJIIIJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, jint, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)param6, param7, (intptr_t)param8, param9, (intptr_t)param10); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, jint, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPJV__JJJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, param5); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, param5); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPPV__JJJIIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jint param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPV__IIIJIJJJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)param10); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)param10); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPJJJJJJV__JJJJIJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, intptr_t, jlong, jlong, jint, jlong, jlong, jlong, jlong))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, param4, param5, param6, param7, param8); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jlong, jlong, jint, jlong, jlong, jlong, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, param4, param5, param6, param7, param8); } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJJJJJJJJJV__JJJJJJJJJJJJIIIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jlong param10, jlong param11, jint param12, jint param13, jint param14, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jint, jint, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jint, jint, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__J(JNIEnv *__env, jclass clazz, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) ())(intptr_t)__functionAddress)(); + return ((jboolean (APIENTRY *) ())(uintptr_t)__functionAddress)(); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__IJ(JNIEnv *__env, jclass clazz, jint param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint))(intptr_t)__functionAddress)(param0); + return ((jboolean (APIENTRY *) (jint))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__ZJ(JNIEnv *__env, jclass clazz, jboolean param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jboolean))(intptr_t)__functionAddress)(param0); + return ((jboolean (APIENTRY *) (jboolean))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jint))(intptr_t)__functionAddress)(param0, param1); + return ((jboolean (APIENTRY *) (jint, jint))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__IFFJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jboolean (APIENTRY *) (jint, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callZ__IIFFJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloat param2, jfloat param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jint, jfloat, jfloat))(intptr_t)__functionAddress)(param0, param1, param2, param3); + return ((jboolean (APIENTRY *) (jint, jint, jfloat, jfloat))(uintptr_t)__functionAddress)(param0, param1, param2, param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callJZ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jlong))(intptr_t)__functionAddress)(param0); + return ((jboolean (APIENTRY *) (jlong))(uintptr_t)__functionAddress)(param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)param0); + return ((jboolean (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callJZ__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jlong))(intptr_t)__functionAddress)(param0, param1); + return ((jboolean (APIENTRY *) (jint, jlong))(uintptr_t)__functionAddress)(param0, param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1); + return ((jboolean (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__JIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1); + return ((jboolean (APIENTRY *) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callJZ__IJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jlong, jint))(intptr_t)__functionAddress)(param0, param1, param2); + return ((jboolean (APIENTRY *) (jint, jlong, jint))(uintptr_t)__functionAddress)(param0, param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__IIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2); + return ((jboolean (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__IJIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jboolean (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPZ__IFFJJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jfloat, jfloat, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3); + return ((jboolean (APIENTRY *) (jint, jfloat, jfloat, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1); + return ((jboolean (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callJPZ__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jlong, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2); + return ((jboolean (APIENTRY *) (jlong, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__IJJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jboolean (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2); + return ((jboolean (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2); + return ((jboolean (APIENTRY *) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__IJIJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)param3); + return ((jboolean (APIENTRY *) (jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)param3); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__IIJIJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, (intptr_t)param4); + return ((jboolean (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, (uintptr_t)param4); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callJPPZ__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2); + return ((jboolean (APIENTRY *) (jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPPZ__JJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2); + return ((jboolean (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPPPZ__IIIFJJJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloat param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (jint, jint, jint, jfloat, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7); + return ((jboolean (APIENTRY *) (jint, jint, jint, jfloat, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPJPPZ__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4); + return ((jboolean (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPPPPZ__JJJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) - return ((jboolean (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4); + return ((jboolean (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4); } JNIEXPORT jbyte JNICALL Java_org_lwjgl_system_JNI_invokePB__B_3IJ(JNIEnv *__env, jclass clazz, jbyte param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jbyte __result = ((jbyte (*) (jbyte, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + jbyte __result = ((jbyte (*) (jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__S_3IJ(JNIEnv *__env, jclass clazz, jshort param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (*) (jshort, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + jint __result = ((jint (*) (jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI___3FSJ(JNIEnv *__env, jclass clazz, jfloatArray param0, jshort param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); - jint __result = ((jint (*) (intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jint __result = ((jint (*) (uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__S_3FBJ(JNIEnv *__env, jclass clazz, jshort param0, jfloatArray param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - jint __result = ((jint (*) (jshort, intptr_t, jbyte))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jint __result = ((jint (*) (jshort, uintptr_t, jbyte))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__S_3IBJ(JNIEnv *__env, jclass clazz, jshort param0, jintArray param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (*) (jshort, intptr_t, jbyte))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jint __result = ((jint (*) (jshort, uintptr_t, jbyte))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePI__S_3SBJ(JNIEnv *__env, jclass clazz, jshort param0, jshortArray param1, jbyte param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - jint __result = ((jint (*) (jshort, intptr_t, jbyte))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jint __result = ((jint (*) (jshort, uintptr_t, jbyte))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (*) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2); + jint __result = ((jint (*) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__J_3FSJ(JNIEnv *__env, jclass clazz, jlong param0, jfloatArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2); + jint __result = ((jint (*) (uintptr_t, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } return __result; } @@ -3888,7 +3888,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__I_3II_3IIZJ(JNIEnv * UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (*) (jint, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)paramArray3, param4, param5); + jint __result = ((jint (*) (jint, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)paramArray3, param4, param5); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -3897,7 +3897,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__I_3SI_3SIZJ(JNIEnv * UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); - jint __result = ((jint (*) (jint, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)paramArray3, param4, param5); + jint __result = ((jint (*) (jint, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)paramArray3, param4, param5); if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -3905,21 +3905,21 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPI__I_3SI_3SIZJ(JNIEnv * JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI___3IJJIZFJ(JNIEnv *__env, jclass clazz, jintArray param0, jlong param1, jlong param2, jint param3, jboolean param4, jfloat param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, intptr_t, jint, jboolean, jfloat))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + jint __result = ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, jboolean, jfloat))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPI___3SJJIZFJ(JNIEnv *__env, jclass clazz, jshortArray param0, jlong param1, jlong param2, jint param3, jboolean param4, jfloat param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param0, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, intptr_t, jint, jboolean, jfloat))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)param1, (intptr_t)param2, param3, param4, param5); + jint __result = ((jint (*) (uintptr_t, uintptr_t, uintptr_t, jint, jboolean, jfloat))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)param1, (uintptr_t)param2, param3, param4, param5); if (param0 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } @@ -3927,7 +3927,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJII_3F_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -3936,7 +3936,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPI__JJII_3I_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (*) (uintptr_t, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -3946,7 +3946,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPI__J_3I_3I_3IJJ(JNIE void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } @@ -3956,7 +3956,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePNNPPPI__JJJII_3I_3IJJ(JN UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jint __result = ((jint (*) (intptr_t, long, long, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (long)param2, param3, param4, (intptr_t)paramArray5, (intptr_t)paramArray6, (intptr_t)param7); + jint __result = ((jint (*) (uintptr_t, long, long, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (long)param2, param3, param4, (uintptr_t)paramArray5, (uintptr_t)paramArray6, (uintptr_t)param7); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; @@ -3969,7 +3969,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPI__JIIJ_3I_3I_3F_ void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param8, NULL); void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jint __result = ((jint (*) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)paramArray6, (intptr_t)paramArray7, (intptr_t)paramArray8, (intptr_t)paramArray9); + jint __result = ((jint (*) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)paramArray6, (uintptr_t)paramArray7, (uintptr_t)paramArray8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } if (param8 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param8, paramArray8, 0); } if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } @@ -3981,288 +3981,288 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_invokePPPPPPPPI__JIIJ_3I_3I_3F_ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP___3DIJ(JNIEnv *__env, jclass clazz, jdoubleArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP___3FIJ(JNIEnv *__env, jclass clazz, jfloatArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP___3IIJ(JNIEnv *__env, jclass clazz, jintArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP___3JIJ(JNIEnv *__env, jclass clazz, jlongArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePP___3SIJ(JNIEnv *__env, jclass clazz, jshortArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_invokePPP__J_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jlong __result = (jlong)((intptr_t (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + jlong __result = (jlong)((uintptr_t (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__B_3SZJ(JNIEnv *__env, jclass clazz, jbyte param0, jshortArray param1, jboolean param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - jshort __result = ((jshort (*) (jbyte, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jshort __result = ((jshort (*) (jbyte, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_JNI_invokePS__S_3SSJ(JNIEnv *__env, jclass clazz, jshort param0, jshortArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - jshort __result = ((jshort (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jshort __result = ((jshort (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__B_3FJ(JNIEnv *__env, jclass clazz, jbyte param0, jfloatArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (*) (jbyte, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (*) (jbyte, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__I_3DJ(JNIEnv *__env, jclass clazz, jint param0, jdoubleArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param1, NULL); - ((void (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__I_3FJ(JNIEnv *__env, jclass clazz, jint param0, jfloatArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__I_3IJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (*) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (*) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdoubleArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloatArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3JJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (*) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__SS_3SJ(JNIEnv *__env, jclass clazz, jshort param0, jshort param1, jshortArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (*) (jshort, jshort, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (*) (jshort, jshort, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__S_3DSJ(JNIEnv *__env, jclass clazz, jshort param0, jdoubleArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param1, NULL); - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__S_3FSJ(JNIEnv *__env, jclass clazz, jshort param0, jfloatArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__S_3ISJ(JNIEnv *__env, jclass clazz, jshort param0, jintArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__S_3JSJ(JNIEnv *__env, jclass clazz, jshort param0, jlongArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__S_3SSJ(JNIEnv *__env, jclass clazz, jshort param0, jshortArray param1, jshort param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - ((void (*) (jshort, intptr_t, jshort))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (*) (jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3FIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloatArray param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, param4); + ((void (*) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, param4); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, param4); + ((void (*) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, param4); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__II_3SIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jshortArray param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (*) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, param4); + ((void (*) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, param4); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jdoubleArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param5, NULL); - ((void (*) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (*) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (*) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (*) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (*) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (*) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jshortArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - ((void (*) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (*) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jdoubleArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param6, NULL); - ((void (*) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (*) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jfloatArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); - ((void (*) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (*) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (*) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (*) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePV__IIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jshortArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param6, NULL); - ((void (*) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (*) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__J_3FIJ(JNIEnv *__env, jclass clazz, jlong param0, jfloatArray param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2); + ((void (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__J_3IIJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2); + ((void (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__J_3SIJ(JNIEnv *__env, jclass clazz, jlong param0, jshortArray param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - ((void (*) (intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2); + ((void (*) (uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__S_3F_3FJ(JNIEnv *__env, jclass clazz, jshort param0, jfloatArray param1, jfloatArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (*) (jshort, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (*) (jshort, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + ((void (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JII_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - ((void (*) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + ((void (*) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JS_3DSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jdoubleArray param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JS_3FSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jfloatArray param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JS_3ISJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jintArray param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JS_3JSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jlongArray param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPV__JS_3SSJ(JNIEnv *__env, jclass clazz, jlong param0, jshort param1, jshortArray param2, jshort param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, jshort, intptr_t, jshort))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3); + ((void (*) (uintptr_t, jshort, uintptr_t, jshort))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePNPV__JJ_3SJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jshortArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (intptr_t)paramArray2); + ((void (*) (uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__J_3D_3DJ(JNIEnv *__env, jclass clazz, jlong param0, jdoubleArray param1, jdoubleArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param1, paramArray1, 0); } } @@ -4270,7 +4270,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__J_3F_3FJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } @@ -4278,7 +4278,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__J_3I_3IJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } @@ -4287,7 +4287,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV___3I_3I_3IJ(JNIEnv * void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (*) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } @@ -4297,7 +4297,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__I_3F_3F_3FJ(JNIEnv void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (*) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3); + ((void (*) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } @@ -4307,7 +4307,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__II_3D_3D_3DJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); - ((void (*) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (*) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } @@ -4317,7 +4317,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__II_3F_3F_3FJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (*) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (*) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } @@ -4327,7 +4327,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__II_3J_3J_3JJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - ((void (*) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (*) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } @@ -4335,25 +4335,25 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV__II_3J_3J_3JJ(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV___3FIJJIJ(JNIEnv *__env, jclass clazz, jfloatArray param0, jint param1, jlong param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); - ((void (*) (intptr_t, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1, (intptr_t)param2, (intptr_t)param3, param4); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1, (uintptr_t)param2, (uintptr_t)param3, param4); if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPV___3FZIJJIJ(JNIEnv *__env, jclass clazz, jfloatArray param0, jboolean param1, jint param2, jlong param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); - ((void (*) (intptr_t, jboolean, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1, param2, (intptr_t)param3, (intptr_t)param4, param5); + ((void (*) (uintptr_t, jboolean, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, param5); if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePNPPV__JJJ_3SJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jshortArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); - ((void (*) (intptr_t, long, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (long)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (*) (uintptr_t, long, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (long)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__JJJ_3FJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jfloatArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)param4); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__J_3I_3I_3I_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jintArray param2, jintArray param3, jintArray param4, jlong __functionAddress) { @@ -4362,7 +4362,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__J_3I_3I_3I_3IJ(JN void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (*) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (*) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } @@ -4371,14 +4371,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__J_3I_3I_3I_3IJ(JN JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__JIJ_3IJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jintArray param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (*) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)param4, (intptr_t)param5); + ((void (*) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)param4, (uintptr_t)param5); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__IJI_3F_3FJIJIZJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jfloatArray param3, jfloatArray param4, jlong param5, jint param6, jlong param7, jint param8, jboolean param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (*) (jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)param5, param6, (intptr_t)param7, param8, param9); + ((void (*) (jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)param5, param6, (uintptr_t)param7, param8, param9); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } } @@ -4388,7 +4388,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__I_3II_3F_3FJI_3II void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - ((void (*) (jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)param5, param6, (intptr_t)paramArray7, param8, param9); + ((void (*) (jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)param5, param6, (uintptr_t)paramArray7, param8, param9); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } @@ -4400,7 +4400,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__I_3SI_3F_3FJI_3SI void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param7, NULL); - ((void (*) (jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, jint, jboolean))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)param5, param6, (intptr_t)paramArray7, param8, param9); + ((void (*) (jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, jint, jboolean))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)param5, param6, (uintptr_t)paramArray7, param8, param9); if (param7 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param7, paramArray7, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } @@ -4409,161 +4409,161 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_invokePPPPPV__I_3SI_3F_3FJI_3SI JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_invokePPZ__J_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jboolean __result = ((jboolean (*) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + jboolean __result = ((jboolean (*) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI___3IJ(JNIEnv *__env, jclass clazz, jintArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + jint __result = ((jint (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__I_3IJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + jint __result = ((jint (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI___3IIJ(JNIEnv *__env, jclass clazz, jintArray param0, jint param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__II_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__I_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + jint __result = ((jint (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__III_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jfloatArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPI__IIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__J_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__J_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlongArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI___3IJJ(JNIEnv *__env, jclass clazz, jintArray param0, jlong param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)param1); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)param1); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JI_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__JII_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPI__IJIIF_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jint param3, jfloat param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (jint, intptr_t, jint, jint, jfloat, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, param3, param4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (jint, uintptr_t, jint, jint, jfloat, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__J_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)param2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } @@ -4571,7 +4571,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__J_3I_3IJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -4580,7 +4580,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__J_3J_3JJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -4589,7 +4589,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI___3IJ_3IJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)param1, (intptr_t)paramArray2); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; @@ -4597,49 +4597,49 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI___3IJ_3IJ(JNIEnv *__en JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPI__JJI_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJ_3DJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jdoubleArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJ_3FJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jfloatArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIJ_3SJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jshortArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } return __result; } @@ -4647,7 +4647,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JI_3I_3IJ(JNIEnv *__e UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -4656,7 +4656,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JI_3I_3JJ(JNIEnv *__e UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -4664,35 +4664,35 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JI_3I_3JJ(JNIEnv *__e JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJI_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JJ_3IIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJI__JI_3JIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jint param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, jlong))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3, param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jlong))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3, param4); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -4700,7 +4700,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIII_3I_3FJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -4709,7 +4709,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIII_3I_3IJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -4717,14 +4717,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPI__JIII_3I_3IJ(JNIEnv *_ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } @@ -4732,7 +4732,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJ_3I_3IJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -4741,7 +4741,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJ_3I_3JJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -4749,21 +4749,21 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJ_3I_3JJ(JNIEnv *__ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPNPI__JJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)param3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } @@ -4771,7 +4771,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJ_3I_3IJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -4779,28 +4779,28 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJ_3I_3IJ(JNIEnv *__ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlongArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jintArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJ_3JJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlongArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } @@ -4808,7 +4808,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJ_3J_3JJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -4816,28 +4816,28 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJ_3J_3JJ(JNIEnv *_ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JI_3IJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3, (uintptr_t)param4); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJI_3JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlongArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JJJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -4845,7 +4845,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__J_3IJI_3IJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)param2, param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -4854,7 +4854,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__J_3JIJ_3IJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -4862,7 +4862,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__J_3JIJ_3IJ(JNIEnv *_ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } @@ -4870,7 +4870,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJII_3I_3IJ(JNIEnv * UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -4878,14 +4878,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJII_3I_3IJ(JNIEnv * JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIIJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jintArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)param5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIIJ_3JJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jlong param3, jlongArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)param5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -4894,7 +4894,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JII_3J_3I_3IJ(JNIEnv void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } @@ -4903,14 +4903,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JII_3J_3I_3IJ(JNIEnv JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPI__JJIIIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlong param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)param5, (intptr_t)paramArray6); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__JIJIIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jlong param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, (intptr_t)param5, (intptr_t)paramArray6); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } return __result; } @@ -4920,7 +4920,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__I_3I_3JIIIIIIIIIIIII void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); void *paramArray21 = param21 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param21, NULL); void *paramArray22 = param22 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param22, NULL); - jint __result = ((jint (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16, param17, param18, param19, param20, (intptr_t)paramArray21, (intptr_t)paramArray22); + jint __result = ((jint (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16, param17, param18, param19, param20, (uintptr_t)paramArray21, (uintptr_t)paramArray22); if (param22 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param22, paramArray22, 0); } if (param21 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param21, paramArray21, 0); } if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } @@ -4930,14 +4930,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPI__I_3I_3JIIIIIIIIIIIII JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPPI__JJJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlongArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPJPPI__JJJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jintArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } @@ -4946,7 +4946,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJ_3I_3I_3IJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } @@ -4957,7 +4957,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJ_3I_3I_3JJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } @@ -4968,7 +4968,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__J_3I_3I_3IJJ(JNIEnv void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)param4); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } @@ -4977,21 +4977,21 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__J_3I_3I_3IJJ(JNIEnv JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPPI__JJIJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlongArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJIJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jintArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)param5); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JJIJ_3JJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlongArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)param5); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -5001,7 +5001,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__J_3I_3FI_3I_3IJ(JNI void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } @@ -5014,7 +5014,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__II_3I_3I_3I_3IJJ(JN void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)param6); + jint __result = ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)param6); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } @@ -5024,35 +5024,35 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__II_3I_3I_3I_3IJJ(JN JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JIJ_3JIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlongArray param3, jint param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, param4, (intptr_t)param5, (intptr_t)param6); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, param4, (uintptr_t)param5, (uintptr_t)param6); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPI__JI_3JIJJJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jint param3, jlong param4, jlong param5, jlong param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6); + jint __result = ((jint (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPJI__JJIIJ_3IJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jintArray param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)paramArray5, param6, param7); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, param7); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJPPJI__JJIIJ_3JJIJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jlongArray param5, jlong param6, jint param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)paramArray5, param6, param7); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, param7); if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJJJPI__JJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } @@ -5063,7 +5063,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__J_3I_3I_3I_3I_3IJ( void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } @@ -5074,7 +5074,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__J_3I_3I_3I_3I_3IJ( JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPJJPPPI__JJJIJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jlong param4, jlong param5, jlongArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param6, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, jlong, jlong, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)paramArray6); + jint __result = ((jint (APIENTRY *) (uintptr_t, jlong, jlong, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param6, paramArray6, 0); } return __result; } @@ -5085,7 +5085,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__II_3I_3I_3I_3I_3IJ void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jint __result = ((jint (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)paramArray6, (intptr_t)param7); + jint __result = ((jint (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)paramArray6, (uintptr_t)param7); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } @@ -5096,133 +5096,133 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPI__II_3I_3I_3I_3I_3IJ JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJJJIJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jint param4, jlong param5, jintArray param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)paramArray6, (intptr_t)param7); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)paramArray6, (uintptr_t)param7); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJ_3FJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jfloatArray param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJ_3IJJIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong param3, jlong param4, jint param5, jlong param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)param3, (intptr_t)param4, param5, (intptr_t)param6, (intptr_t)param7); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)param3, (uintptr_t)param4, param5, (uintptr_t)param6, (uintptr_t)param7); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJ_3DIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jdoubleArray param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, param6, (intptr_t)param7, (intptr_t)param8); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, (uintptr_t)param7, (uintptr_t)param8); if (param5 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJ_3FIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jfloatArray param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, param6, (intptr_t)param7, (intptr_t)param8); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, (uintptr_t)param7, (uintptr_t)param8); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJ_3IIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jintArray param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, param6, (intptr_t)param7, (intptr_t)param8); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, (uintptr_t)param7, (uintptr_t)param8); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPI__JJIJJ_3SIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jshortArray param5, jint param6, jlong param7, jlong param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, param6, (intptr_t)param7, (intptr_t)param8); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, param6, (uintptr_t)param7, (uintptr_t)param8); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPI__JJIJJJJ_3DIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jdoubleArray param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param7, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)paramArray7, param8, (intptr_t)param9, (intptr_t)param10); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)paramArray7, param8, (uintptr_t)param9, (uintptr_t)param10); if (param7 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param7, paramArray7, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPI__JJIJJJJ_3FIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jfloatArray param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)paramArray7, param8, (intptr_t)param9, (intptr_t)param10); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)paramArray7, param8, (uintptr_t)param9, (uintptr_t)param10); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPI__JJIJJJJ_3IIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jintArray param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)paramArray7, param8, (intptr_t)param9, (intptr_t)param10); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)paramArray7, param8, (uintptr_t)param9, (uintptr_t)param10); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPI__JJIJJJJ_3SIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jshortArray param7, jint param8, jlong param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param7, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)paramArray7, param8, (intptr_t)param9, (intptr_t)param10); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)paramArray7, param8, (uintptr_t)param9, (uintptr_t)param10); if (param7 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param7, paramArray7, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJIJJJJJJJ_3DIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jdoubleArray param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param10, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)paramArray10, param11, (intptr_t)param12, (intptr_t)param13); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)paramArray10, param11, (uintptr_t)param12, (uintptr_t)param13); if (param10 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param10, paramArray10, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJIJJJJJJJ_3FIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jfloatArray param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param10, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)paramArray10, param11, (intptr_t)param12, (intptr_t)param13); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)paramArray10, param11, (uintptr_t)param12, (uintptr_t)param13); if (param10 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param10, paramArray10, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJIJJJJJJJ_3IIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jintArray param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param10, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)paramArray10, param11, (intptr_t)param12, (intptr_t)param13); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)paramArray10, param11, (uintptr_t)param12, (uintptr_t)param13); if (param10 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param10, paramArray10, 0); } return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPPPPPPI__JJIJJJJJJJ_3SIJJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jlong param9, jshortArray param10, jint param11, jlong param12, jlong param13, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param10, NULL); - jint __result = ((jint (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, (intptr_t)paramArray10, param11, (intptr_t)param12, (intptr_t)param13); + jint __result = ((jint (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, (uintptr_t)paramArray10, param11, (uintptr_t)param12, (uintptr_t)param13); if (param10 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param10, paramArray10, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPP___3IJ(JNIEnv *__env, jclass clazz, jintArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__J_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } @@ -5230,7 +5230,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__III_3I_3IJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -5238,14 +5238,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__III_3I_3IJ(JNIEnv *__ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPP__JIII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } @@ -5253,7 +5253,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__J_3J_3IJ(JNIEnv *__e UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -5261,56 +5261,56 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__J_3J_3IJ(JNIEnv *__e JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPP__JJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JI_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPP__JJII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPP__JJIII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPP__JJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPNPP__JJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, long, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (long)param2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, long, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (long)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; } @@ -5318,7 +5318,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJ_3J_3IJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -5326,7 +5326,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJ_3J_3IJ(JNIEnv *_ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -5334,7 +5334,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJ_3II_3IJ(JNIEnv * UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } return __result; @@ -5342,35 +5342,35 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJ_3II_3IJ(JNIEnv * JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JIJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPP__JJJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPP__JJIIJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; } @@ -5378,7 +5378,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJ_3D_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -5387,7 +5387,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJ_3F_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -5396,7 +5396,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJ_3I_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -5405,7 +5405,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJ_3S_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } return __result; @@ -5413,14 +5413,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPP__JJJ_3S_3IJ(JNIEnv JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPP__JIJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } @@ -5428,7 +5428,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJ_3D_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5437,7 +5437,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJ_3F_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5446,7 +5446,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJ_3I_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5455,7 +5455,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJ_3S_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5463,7 +5463,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJJPPPP__JJJJ_3S_3IJ(JNIEn JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPP__JJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } @@ -5471,7 +5471,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPP__JJJJ_3F_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5480,7 +5480,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPP__JJJJ_3I_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5489,7 +5489,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPP__JJJJ_3S_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } return __result; @@ -5498,7 +5498,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJJ_3IJ(JNIEn UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -5508,7 +5508,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJ_3D_3IJ(JNI void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5519,7 +5519,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJ_3F_3IJ(JNI void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5530,7 +5530,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJ_3I_3IJ(JNI void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5541,7 +5541,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJ_3S_3IJ(JNI void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5550,7 +5550,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPP__J_3JJJ_3S_3IJ(JNI JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPJPPP__JJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)param2, param3, (intptr_t)param4, (intptr_t)paramArray5); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)param2, param3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; } @@ -5558,7 +5558,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPP__JIJJJ_3I_3IJ(JNIE UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, (intptr_t)paramArray6); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } return __result; @@ -5567,7 +5567,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__J_3JJJJJ_3IJ(JNI UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)paramArray6); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } return __result; @@ -5577,7 +5577,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__J_3JJJJ_3F_3IJ(J void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, (intptr_t)paramArray6); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5588,7 +5588,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__J_3JJJJ_3I_3IJ(J void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, (intptr_t)paramArray6); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5599,7 +5599,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__J_3JJJJ_3S_3IJ(J void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)paramArray5, (intptr_t)paramArray6); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } @@ -5608,7 +5608,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPP__J_3JJJJ_3S_3IJ(J JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPP__JIJJIJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jint param4, jlong param5, jlong param6, jlong param7, jintArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param8, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)paramArray8); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param8, paramArray8, 0); } return __result; } @@ -5618,7 +5618,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPP__I_3I_3JIIIIJJJI_ void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param11, NULL); void *paramArray12 = param12 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param12, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3, param4, param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)param9, param10, (intptr_t)paramArray11, (intptr_t)paramArray12); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3, param4, param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)param9, param10, (uintptr_t)paramArray11, (uintptr_t)paramArray12); if (param12 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param12, paramArray12, 0); } if (param11 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param11, paramArray11, 0); } if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } @@ -5628,7 +5628,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPP__I_3I_3JIIIIJJJI_ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jintArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)paramArray7); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } return __result; } @@ -5636,7 +5636,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJ_3F_3IJ(J UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)paramArray6, (intptr_t)paramArray7); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } return __result; @@ -5645,7 +5645,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJ_3I_3IJ(J UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)paramArray6, (intptr_t)paramArray7); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } return __result; @@ -5654,7 +5654,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJ_3S_3IJ(J UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)paramArray6, (intptr_t)paramArray7); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param6, paramArray6, 0); } return __result; @@ -5662,14 +5662,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPP__JJJJJJ_3S_3IJ(J JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPPP__JJIJJJIJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jint param6, jlong param7, jlong param8, jintArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jlong, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5, param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)paramArray9); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jlong param8, jintArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)param8, (intptr_t)paramArray9); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } return __result; } @@ -5677,7 +5677,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJ_3F_3 UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param8, NULL); void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)paramArray8, (intptr_t)paramArray9); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)paramArray8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } if (param8 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param8, paramArray8, 0); } return __result; @@ -5686,7 +5686,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJ_3I_3 UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param8, NULL); void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)paramArray8, (intptr_t)paramArray9); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)paramArray8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } if (param8 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param8, paramArray8, 0); } return __result; @@ -5695,7 +5695,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJ_3S_3 UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param8, NULL); void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, (intptr_t)paramArray8, (intptr_t)paramArray9); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, (uintptr_t)paramArray8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } if (param8 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param8, paramArray8, 0); } return __result; @@ -5703,459 +5703,459 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPJPPPPPPPPP__JJJJJJJJ_3S_3 JNIEXPORT jlong JNICALL Java_org_lwjgl_system_JNI_callPPJPPPPPPPP__JJIJJJJJIJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jlong param3, jlong param4, jlong param5, jlong param6, jlong param7, jint param8, jlong param9, jlong param10, jintArray param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param11, NULL); - jlong __result = (jlong)((intptr_t (APIENTRY *) (intptr_t, intptr_t, jint, jlong, intptr_t, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, param3, (intptr_t)param4, (intptr_t)param5, (intptr_t)param6, (intptr_t)param7, param8, (intptr_t)param9, (intptr_t)param10, (intptr_t)paramArray11); + jlong __result = (jlong)((uintptr_t (APIENTRY *) (uintptr_t, uintptr_t, jint, jlong, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, param3, (uintptr_t)param4, (uintptr_t)param5, (uintptr_t)param6, (uintptr_t)param7, param8, (uintptr_t)param9, (uintptr_t)param10, (uintptr_t)paramArray11); if (param11 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param11, paramArray11, 0); } return __result; } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV___3DJ(JNIEnv *__env, jclass clazz, jdoubleArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param0, NULL); - ((void (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + ((void (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV___3FJ(JNIEnv *__env, jclass clazz, jfloatArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); - ((void (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + ((void (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV___3IJ(JNIEnv *__env, jclass clazz, jintArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); - ((void (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + ((void (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV___3SJ(JNIEnv *__env, jclass clazz, jshortArray param0, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param0, NULL); - ((void (APIENTRY *) (intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0); + ((void (APIENTRY *) (uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0); if (param0 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3DJ(JNIEnv *__env, jclass clazz, jint param0, jdoubleArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3FJ(JNIEnv *__env, jclass clazz, jint param0, jfloatArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3IJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3JJ(JNIEnv *__env, jclass clazz, jint param0, jlongArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3SJ(JNIEnv *__env, jclass clazz, jint param0, jshortArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jdoubleArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jfloatArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3JJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jshortArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jint param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2); + ((void (APIENTRY *) (jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jdoubleArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jfloatArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3JJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jshortArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIZ_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jdoubleArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIZ_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jfloatArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIZ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jboolean param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__I_3IIIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jint param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, param3); + ((void (APIENTRY *) (jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, param3); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jdoubleArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jfloatArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3JJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlongArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jshortArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZ_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jdoubleArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZ_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jfloatArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jboolean, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, jboolean, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__III_3IZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jboolean param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, param4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3IIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, param4); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IZII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jboolean param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jboolean, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jboolean, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IDDII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jint param3, jint param4, jdoubleArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IFFII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jint param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jdoubleArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jshortArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIII_3IZJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jintArray param4, jboolean param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jboolean))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4, param5); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jboolean))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4, param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZI_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZI_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIZI_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jboolean param3, jint param4, jshortArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, jboolean, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jdoubleArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jfloatArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jshortArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__II_3IIIIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jint param3, jint param4, jint param5, jint param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, param4, param5, param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, param4, param5, param6); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jdoubleArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jfloatArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jintArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jshortArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jdoubleArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jfloatArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jintArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jshortArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IDDIIDDII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jdouble param1, jdouble param2, jint param3, jint param4, jdouble param5, jdouble param6, jint param7, jint param8, jdoubleArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IFFIIFFII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jfloat param1, jfloat param2, jint param3, jint param4, jfloat param5, jfloat param6, jint param7, jint param8, jfloatArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jdoubleArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jfloatArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jintArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jshortArray param9, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param9, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (intptr_t)paramArray9); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, (uintptr_t)paramArray9); if (param9 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param9, paramArray9, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jdoubleArray param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param10, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (intptr_t)paramArray10); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (uintptr_t)paramArray10); if (param10 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param10, paramArray10, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jfloatArray param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param10, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (intptr_t)paramArray10); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (uintptr_t)paramArray10); if (param10 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param10, paramArray10, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jintArray param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param10, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (intptr_t)paramArray10); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (uintptr_t)paramArray10); if (param10 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param10, paramArray10, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jshortArray param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param10, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (intptr_t)paramArray10); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, (uintptr_t)paramArray10); if (param10 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param10, paramArray10, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIII_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jdoubleArray param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param11, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (intptr_t)paramArray11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (uintptr_t)paramArray11); if (param11 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param11, paramArray11, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jfloatArray param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param11, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (intptr_t)paramArray11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (uintptr_t)paramArray11); if (param11 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param11, paramArray11, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jintArray param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param11, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (intptr_t)paramArray11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (uintptr_t)paramArray11); if (param11 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param11, paramArray11, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPV__IIIIIIIIIII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jint param4, jint param5, jint param6, jint param7, jint param8, jint param9, jint param10, jshortArray param11, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray11 = param11 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param11, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (intptr_t)paramArray11); + ((void (APIENTRY *) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, (uintptr_t)paramArray11); if (param11 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param11, paramArray11, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__J_3FJ(JNIEnv *__env, jclass clazz, jlong param0, jfloatArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__J_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV___3D_3DJ(JNIEnv *__env, jclass clazz, jdoubleArray param0, jdoubleArray param1, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param0, NULL); void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param1, paramArray1, 0); } if (param0 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param0, paramArray0, 0); } } @@ -6163,7 +6163,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV___3F_3FJ(JNIEnv *__env, UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param0, NULL); void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param1, paramArray1, 0); } if (param0 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param0, paramArray0, 0); } } @@ -6171,7 +6171,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV___3I_3IJ(JNIEnv *__env, UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } } @@ -6179,21 +6179,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV___3S_3SJ(JNIEnv *__env, UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param0, NULL); void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1); + ((void (APIENTRY *) (uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1); if (param1 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param1, paramArray1, 0); } if (param0 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3I_3FJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jfloatArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } @@ -6201,7 +6201,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3I_3IJ(JNIEnv *__env UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } @@ -6209,41 +6209,41 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3I_3JJ(JNIEnv *__env UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV___3II_3IJ(JNIEnv *__env, jclass clazz, jintArray param0, jint param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray0 = param0 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param0, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)paramArray0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param0 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param0, paramArray0, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3IJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3I_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jfloatArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } @@ -6251,7 +6251,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3I_3IJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } @@ -6259,51 +6259,51 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3I_3JJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJI_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3DIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jdoubleArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3FIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jfloatArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jintArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3JIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlongArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IJ_3SIJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jshortArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3I_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jintArray param2, jint param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } @@ -6311,231 +6311,231 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3J_3IIJ(JNIEnv *__en UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__III_3IJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__III_3I_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJ_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jintArray param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)paramArray3, param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3II_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3IIJIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jint param2, jlong param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, param4); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3II_3IIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jint param2, jintArray param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)paramArray3, param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)paramArray3, param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__I_3IJIIJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jlong param2, jint param3, jint param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)param2, param3, param4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)param2, param3, param4); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__JIII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIII_3IJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jintArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jshortArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__II_3IJIIJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong param3, jint param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)param3, param4, param5); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3, param4, param5); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jint param5, jfloatArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jfloatArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIJII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jint param6, jfloatArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIIJII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jlong param4, jint param5, jint param6, jshortArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jfloatArray param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIIJIFFI_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jfloat param5, jfloat param6, jint param7, jfloatArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, jfloat, jfloat, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, jfloat, jfloat, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPV__IIJIIIII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jint param6, jint param7, jfloatArray param8, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param8, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, param3, param4, param5, param6, param7, (intptr_t)paramArray8); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, param3, param4, param5, param6, param7, (uintptr_t)paramArray8); if (param8 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param8, paramArray8, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlongArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (uintptr_t, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__J_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jintArray param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)paramArray1, (intptr_t)param2); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)paramArray1, (uintptr_t)param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJ_3DJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jdoubleArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJ_3FJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jfloatArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJ_3JJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jlongArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJJ_3SJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jlong param2, jshortArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JI_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JI_3JJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JJI_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jintArray param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, param2, (intptr_t)paramArray3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJ_3DJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jdoubleArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJ_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jfloatArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJ_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jshortArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__II_3IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jintArray param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } @@ -6543,21 +6543,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__II_3I_3IJJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)param4); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJI_3IJJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jintArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)paramArray3, (intptr_t)param4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IJI_3I_3IJ(JNIEnv *__env, jclass clazz, jint param0, jlong param1, jint param2, jintArray param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } @@ -6566,7 +6566,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__I_3I_3II_3IJ(JNIEnv * void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)paramArray2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } @@ -6575,7 +6575,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JII_3I_3IJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } @@ -6583,57 +6583,57 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JII_3J_3JJ(JNIEnv *__ UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIII_3DJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jdoubleArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIII_3FJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jfloatArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIII_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jlongArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPV__JJIII_3SJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jint param2, jint param3, jint param4, jshortArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jlong, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPJV__JI_3JIJIJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jint param3, jlong param4, jint param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jlong, jint))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3, param4, param5); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jlong, jint))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3, param4, param5); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__III_3IJJJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jlong param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)param4, (intptr_t)param5); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4, (uintptr_t)param5); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__III_3IJ_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jintArray param3, jlong param4, jintArray param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } @@ -6642,7 +6642,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__II_3II_3I_3IJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)paramArray2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)paramArray2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } @@ -6651,32 +6651,32 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__I_3IIJI_3IJ(JNIEnv *_ UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, param2, (intptr_t)param3, param4, (intptr_t)paramArray5); + ((void (APIENTRY *) (jint, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, param2, (uintptr_t)param3, param4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJII_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jfloatArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJII_3IJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIJJII_3SJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jlong param2, jlong param3, jint param4, jint param5, jshortArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIJIII_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jint param3, jint param4, jint param5, jintArray param6, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, param3, param4, param5, (intptr_t)paramArray6); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, param3, param4, param5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIII_3II_3I_3FJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jint param3, jintArray param4, jint param5, jintArray param6, jfloatArray param7, jlong __functionAddress) { @@ -6684,7 +6684,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIII_3II_3I_3FJ(JNIEn void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4, param5, (intptr_t)paramArray6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4, param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } @@ -6694,7 +6694,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIII_3II_3I_3IJ(JNIEn void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4, param5, (intptr_t)paramArray6, (intptr_t)paramArray7); + ((void (APIENTRY *) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4, param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } @@ -6702,31 +6702,31 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__IIII_3II_3I_3IJ(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPV__JIIIII_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jint param2, jint param3, jint param4, jint param5, jintArray param6, jlong param7, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, jint, jint, jint, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, param5, (intptr_t)paramArray6, (intptr_t)param7); + ((void (APIENTRY *) (uintptr_t, jint, jint, jint, jint, jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, param5, (uintptr_t)paramArray6, (uintptr_t)param7); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPV__JJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jlong, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, jlong, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jintArray param2, jlong param3, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)param3); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)param3); if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJPV__JIJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlong param3, jlongArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jint, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JIJ_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jintArray param3, jlong param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)param4); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV___3J_3I_3I_3IIJ(JNIEnv *__env, jclass clazz, jlongArray param0, jintArray param1, jintArray param2, jintArray param3, jint param4, jlong __functionAddress) { @@ -6735,7 +6735,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV___3J_3I_3I_3IIJ(JNIEn void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); - ((void (APIENTRY *) (intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)((intptr_t)paramArray0, (intptr_t)paramArray1, (intptr_t)paramArray2, (intptr_t)paramArray3, param4); + ((void (APIENTRY *) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)((uintptr_t)paramArray0, (uintptr_t)paramArray1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, param4); if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } @@ -6746,7 +6746,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IJ_3I_3I_3IIJ(JNIEnv void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param2, NULL); void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (jint, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, (intptr_t)param1, (intptr_t)paramArray2, (intptr_t)paramArray3, (intptr_t)paramArray4, param5); + ((void (APIENTRY *) (jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, (uintptr_t)param1, (uintptr_t)paramArray2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } if (param2 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param2, paramArray2, 0); } @@ -6756,7 +6756,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__JII_3J_3J_3JJ(JNIEnv void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5); if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } @@ -6766,7 +6766,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__III_3I_3I_3IJJ(JNIEn void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)param6); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)param6); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } @@ -6776,7 +6776,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPV__IIJ_3I_3I_3IIJ(JNIEn void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, param6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, param6); if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param3, paramArray3, 0); } @@ -6785,45 +6785,45 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJPPV__JIJII_3JI_3IJ(JNIEnv UNUSED_PARAMS(__env, clazz) void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param7, NULL); - ((void (APIENTRY *) (intptr_t, jint, jlong, jint, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, param4, (intptr_t)paramArray5, param6, (intptr_t)paramArray7); + ((void (APIENTRY *) (uintptr_t, jint, jlong, jint, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, param4, (uintptr_t)paramArray5, param6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param7, paramArray7, 0); } if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJ_3DJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jdoubleArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseDoubleArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJ_3FJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jfloatArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJ_3IJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jintArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJ_3JJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jlongArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPJJJPV__JJJJ_3SJ(JNIEnv *__env, jclass clazz, jlong param0, jlong param1, jlong param2, jlong param3, jshortArray param4, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetShortArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jlong, jlong, jlong, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, param3, (intptr_t)paramArray4); + ((void (APIENTRY *) (uintptr_t, jlong, jlong, jlong, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, param3, (uintptr_t)paramArray4); if (param4 != NULL) { (*__env)->ReleaseShortArrayElements(__env, param4, paramArray4, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JIJ_3J_3IJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlong param2, jlongArray param3, jintArray param4, jlong param5, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray3 = param3 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param3, NULL); void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)param5); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)param5); if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } if (param3 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param3, paramArray3, 0); } } @@ -6833,7 +6833,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__IIJ_3I_3I_3I_3IJ(JN void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, (intptr_t)param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)paramArray6); + ((void (APIENTRY *) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, (uintptr_t)param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param4, paramArray4, 0); } @@ -6845,7 +6845,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JII_3J_3J_3J_3JJ(JN void *paramArray4 = param4 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param4, NULL); void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param6, NULL); - ((void (APIENTRY *) (intptr_t, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, param2, (intptr_t)paramArray3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)paramArray6); + ((void (APIENTRY *) (uintptr_t, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, param2, (uintptr_t)paramArray3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)paramArray6); if (param6 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param5, paramArray5, 0); } if (param4 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param4, paramArray4, 0); } @@ -6854,7 +6854,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JII_3J_3J_3J_3JJ(JN JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPV__JI_3JIIIJIJIJJ(JNIEnv *__env, jclass clazz, jlong param0, jint param1, jlongArray param2, jint param3, jint param4, jint param5, jlong param6, jint param7, jlong param8, jint param9, jlong param10, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray2 = param2 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param2, NULL); - ((void (APIENTRY *) (intptr_t, jint, intptr_t, jint, jint, jint, intptr_t, jint, intptr_t, jint, intptr_t))(intptr_t)__functionAddress)((intptr_t)param0, param1, (intptr_t)paramArray2, param3, param4, param5, (intptr_t)param6, param7, (intptr_t)param8, param9, (intptr_t)param10); + ((void (APIENTRY *) (uintptr_t, jint, uintptr_t, jint, jint, jint, uintptr_t, jint, uintptr_t, jint, uintptr_t))(uintptr_t)__functionAddress)((uintptr_t)param0, param1, (uintptr_t)paramArray2, param3, param4, param5, (uintptr_t)param6, param7, (uintptr_t)param8, param9, (uintptr_t)param10); if (param2 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param2, paramArray2, 0); } } JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPV__IIIJIJ_3I_3I_3I_3I_3JJ(JNIEnv *__env, jclass clazz, jint param0, jint param1, jint param2, jlong param3, jint param4, jlong param5, jintArray param6, jintArray param7, jintArray param8, jintArray param9, jlongArray param10, jlong __functionAddress) { @@ -6864,7 +6864,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPV__IIIJIJ_3I_3I_3I_3 void *paramArray8 = param8 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param8, NULL); void *paramArray9 = param9 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param9, NULL); void *paramArray10 = param10 == NULL ? NULL : (*__env)->GetLongArrayElements(__env, param10, NULL); - ((void (APIENTRY *) (jint, jint, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, (intptr_t)param3, param4, (intptr_t)param5, (intptr_t)paramArray6, (intptr_t)paramArray7, (intptr_t)paramArray8, (intptr_t)paramArray9, (intptr_t)paramArray10); + ((void (APIENTRY *) (jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, (uintptr_t)param3, param4, (uintptr_t)param5, (uintptr_t)paramArray6, (uintptr_t)paramArray7, (uintptr_t)paramArray8, (uintptr_t)paramArray9, (uintptr_t)paramArray10); if (param10 != NULL) { (*__env)->ReleaseLongArrayElements(__env, param10, paramArray10, 0); } if (param9 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param9, paramArray9, 0); } if (param8 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param8, paramArray8, 0); } @@ -6874,7 +6874,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_system_JNI_callPPPPPPPV__IIIJIJ_3I_3I_3I_3 JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPZ__I_3IJJ(JNIEnv *__env, jclass clazz, jint param0, jintArray param1, jlong param2, jlong __functionAddress) { UNUSED_PARAMS(__env, clazz) void *paramArray1 = param1 == NULL ? NULL : (*__env)->GetIntArrayElements(__env, param1, NULL); - jboolean __result = ((jboolean (APIENTRY *) (jint, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, (intptr_t)paramArray1, (intptr_t)param2); + jboolean __result = ((jboolean (APIENTRY *) (jint, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, (uintptr_t)paramArray1, (uintptr_t)param2); if (param1 != NULL) { (*__env)->ReleaseIntArrayElements(__env, param1, paramArray1, 0); } return __result; } @@ -6884,7 +6884,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_JNI_callPPPPZ__IIIF_3F_3F_3F_3F void *paramArray5 = param5 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param5, NULL); void *paramArray6 = param6 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param6, NULL); void *paramArray7 = param7 == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, param7, NULL); - jboolean __result = ((jboolean (APIENTRY *) (jint, jint, jint, jfloat, intptr_t, intptr_t, intptr_t, intptr_t))(intptr_t)__functionAddress)(param0, param1, param2, param3, (intptr_t)paramArray4, (intptr_t)paramArray5, (intptr_t)paramArray6, (intptr_t)paramArray7); + jboolean __result = ((jboolean (APIENTRY *) (jint, jint, jint, jfloat, uintptr_t, uintptr_t, uintptr_t, uintptr_t))(uintptr_t)__functionAddress)(param0, param1, param2, param3, (uintptr_t)paramArray4, (uintptr_t)paramArray5, (uintptr_t)paramArray6, (uintptr_t)paramArray7); if (param7 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param7, paramArray7, 0); } if (param6 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param6, paramArray6, 0); } if (param5 != NULL) { (*__env)->ReleaseFloatArrayElements(__env, param5, paramArray5, 0); } diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_MemoryAccessJNI.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_MemoryAccessJNI.c index 018893d3a6..9799f162f3 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_MemoryAccessJNI.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_MemoryAccessJNI.c @@ -31,7 +31,7 @@ static inline int32_t getInt(void *ptr) { return *(int32_t *)ptr; } static inline int64_t getLong(void *ptr) { return *(int64_t *)ptr; } static inline float getFloat(void *ptr) { return *(float *)ptr; } static inline double getDouble(void *ptr) { return *(double *)ptr; } -static inline intptr_t getAddress(void *ptr) { return *(intptr_t *)ptr; } +static inline uintptr_t getAddress(void *ptr) { return *(uintptr_t *)ptr; } // ----------- @@ -41,7 +41,7 @@ static inline void putInt(void *ptr, int32_t value) { *(int32_t *)ptr = value; } static inline void putLong(void *ptr, int64_t value) { *(int64_t *)ptr = value; } static inline void putFloat(void *ptr, float value) { *(float *)ptr = value; } static inline void putDouble(void *ptr, double value) { *(double *)ptr = value; } -static inline void putAddress(void *ptr, intptr_t value) { *(intptr_t *)ptr = value; } +static inline void putAddress(void *ptr, uintptr_t value) { *(uintptr_t *)ptr = value; } // ----------- @@ -54,116 +54,116 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_MemoryAccessJNI_getPointerSize(JNIE JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_malloc(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&malloc; + return (jlong)(uintptr_t)&malloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_calloc(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&calloc; + return (jlong)(uintptr_t)&calloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_realloc(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&realloc; + return (jlong)(uintptr_t)&realloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_free(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&free; + return (jlong)(uintptr_t)&free; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_aligned_1alloc(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&__aligned_alloc; + return (jlong)(uintptr_t)&__aligned_alloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_aligned_1free(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&__aligned_free; + return (jlong)(uintptr_t)&__aligned_free; } JNIEXPORT jbyte JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetByte(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jbyte)getByte(ptr); } JNIEXPORT jshort JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetShort(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jshort)getShort(ptr); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetInt(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)getInt(ptr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetLong(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)getLong(ptr); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetFloat(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)getFloat(ptr); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetDouble(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jdouble)getDouble(ptr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_MemoryAccessJNI_ngetAddress(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)getAddress(ptr); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputByte(JNIEnv *__env, jclass clazz, jlong ptrAddress, jbyte value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putByte(ptr, (int8_t)value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputShort(JNIEnv *__env, jclass clazz, jlong ptrAddress, jshort value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putShort(ptr, (int16_t)value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputInt(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putInt(ptr, (int32_t)value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputLong(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putLong(ptr, (int64_t)value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputFloat(JNIEnv *__env, jclass clazz, jlong ptrAddress, jfloat value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putFloat(ptr, value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputDouble(JNIEnv *__env, jclass clazz, jlong ptrAddress, jdouble value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) putDouble(ptr, value); } JNIEXPORT void JNICALL Java_org_lwjgl_system_MemoryAccessJNI_nputAddress(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong value) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - putAddress(ptr, (intptr_t)value); + putAddress(ptr, (uintptr_t)value); } EXTERN_C_EXIT diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_jni_JNINativeInterface.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_jni_JNINativeInterface.c index 96baca6bc6..e391a6c3d9 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_jni_JNINativeInterface.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_jni_JNINativeInterface.c @@ -14,231 +14,231 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_GetVersion(J JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_FromReflectedMethod(JNIEnv *__env, jclass clazz, jobject method) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->FromReflectedMethod(__env, method); + return (jlong)(uintptr_t)(*__env)->FromReflectedMethod(__env, method); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_FromReflectedField(JNIEnv *__env, jclass clazz, jobject field) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->FromReflectedField(__env, field); + return (jlong)(uintptr_t)(*__env)->FromReflectedField(__env, field); } JNIEXPORT jobject JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nToReflectedMethod(JNIEnv *__env, jclass clazz, jclass cls, jlong methodIDAddress, jboolean isStatic) { - jmethodID methodID = (jmethodID)(intptr_t)methodIDAddress; + jmethodID methodID = (jmethodID)(uintptr_t)methodIDAddress; UNUSED_PARAM(clazz) return (*__env)->ToReflectedMethod(__env, cls, methodID, isStatic); } JNIEXPORT jobject JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nToReflectedField(JNIEnv *__env, jclass clazz, jclass cls, jlong fieldIDAddress, jboolean isStatic) { - jfieldID fieldID = (jfieldID)(intptr_t)fieldIDAddress; + jfieldID fieldID = (jfieldID)(uintptr_t)fieldIDAddress; UNUSED_PARAM(clazz) return (*__env)->ToReflectedField(__env, cls, fieldID, isStatic); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_NewGlobalRef(JNIEnv *__env, jclass clazz, jobject obj) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->NewGlobalRef(__env, obj); + return (jlong)(uintptr_t)(*__env)->NewGlobalRef(__env, obj); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nDeleteGlobalRef(JNIEnv *__env, jclass clazz, jlong globalRefAddress) { - void *globalRef = (void *)(intptr_t)globalRefAddress; + void *globalRef = (void *)(uintptr_t)globalRefAddress; UNUSED_PARAM(clazz) (*__env)->DeleteGlobalRef(__env, globalRef); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetBooleanArrayElements(JNIEnv *__env, jclass clazz, jbooleanArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetBooleanArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetBooleanArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseBooleanArrayElements(JNIEnv *__env, jclass clazz, jbooleanArray array, jlong elemsAddress, jint mode) { - jboolean *elems = (jboolean *)(intptr_t)elemsAddress; + jboolean *elems = (jboolean *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseBooleanArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetByteArrayElements(JNIEnv *__env, jclass clazz, jbyteArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetByteArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetByteArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseByteArrayElements(JNIEnv *__env, jclass clazz, jbyteArray array, jlong elemsAddress, jint mode) { - jbyte *elems = (jbyte *)(intptr_t)elemsAddress; + jbyte *elems = (jbyte *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseByteArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetCharArrayElements(JNIEnv *__env, jclass clazz, jcharArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetCharArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetCharArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseCharArrayElements(JNIEnv *__env, jclass clazz, jcharArray array, jlong elemsAddress, jint mode) { - jchar *elems = (jchar *)(intptr_t)elemsAddress; + jchar *elems = (jchar *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseCharArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetShortArrayElements(JNIEnv *__env, jclass clazz, jshortArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetShortArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetShortArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseShortArrayElements(JNIEnv *__env, jclass clazz, jshortArray array, jlong elemsAddress, jint mode) { - jshort *elems = (jshort *)(intptr_t)elemsAddress; + jshort *elems = (jshort *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseShortArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetIntArrayElements(JNIEnv *__env, jclass clazz, jintArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetIntArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetIntArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseIntArrayElements(JNIEnv *__env, jclass clazz, jintArray array, jlong elemsAddress, jint mode) { - jint *elems = (jint *)(intptr_t)elemsAddress; + jint *elems = (jint *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseIntArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetLongArrayElements(JNIEnv *__env, jclass clazz, jlongArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetLongArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetLongArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseLongArrayElements(JNIEnv *__env, jclass clazz, jlongArray array, jlong elemsAddress, jint mode) { - jlong *elems = (jlong *)(intptr_t)elemsAddress; + jlong *elems = (jlong *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseLongArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetFloatArrayElements(JNIEnv *__env, jclass clazz, jfloatArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetFloatArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetFloatArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseFloatArrayElements(JNIEnv *__env, jclass clazz, jfloatArray array, jlong elemsAddress, jint mode) { - jfloat *elems = (jfloat *)(intptr_t)elemsAddress; + jfloat *elems = (jfloat *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseFloatArrayElements(__env, array, elems, mode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetDoubleArrayElements(JNIEnv *__env, jclass clazz, jdoubleArray array, jlong isCopyAddress) { - jboolean *isCopy = (jboolean *)(intptr_t)isCopyAddress; + jboolean *isCopy = (jboolean *)(uintptr_t)isCopyAddress; UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetDoubleArrayElements(__env, array, isCopy); + return (jlong)(uintptr_t)(*__env)->GetDoubleArrayElements(__env, array, isCopy); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nReleaseDoubleArrayElements(JNIEnv *__env, jclass clazz, jdoubleArray array, jlong elemsAddress, jint mode) { - jdouble *elems = (jdouble *)(intptr_t)elemsAddress; + jdouble *elems = (jdouble *)(uintptr_t)elemsAddress; UNUSED_PARAM(clazz) (*__env)->ReleaseDoubleArrayElements(__env, array, elems, mode); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetBooleanArrayRegion(JNIEnv *__env, jclass clazz, jbooleanArray array, jint start, jint len, jlong bufAddress) { - jboolean *buf = (jboolean *)(intptr_t)bufAddress; + jboolean *buf = (jboolean *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetBooleanArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetBooleanArrayRegion(JNIEnv *__env, jclass clazz, jbooleanArray array, jint start, jint len, jlong bufAddress) { - jboolean const *buf = (jboolean const *)(intptr_t)bufAddress; + jboolean const *buf = (jboolean const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetBooleanArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetByteArrayRegion(JNIEnv *__env, jclass clazz, jbyteArray array, jint start, jint len, jlong bufAddress) { - jbyte *buf = (jbyte *)(intptr_t)bufAddress; + jbyte *buf = (jbyte *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetByteArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetByteArrayRegion(JNIEnv *__env, jclass clazz, jbyteArray array, jint start, jint len, jlong bufAddress) { - jbyte const *buf = (jbyte const *)(intptr_t)bufAddress; + jbyte const *buf = (jbyte const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetByteArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetCharArrayRegion(JNIEnv *__env, jclass clazz, jcharArray array, jint start, jint len, jlong bufAddress) { - jchar *buf = (jchar *)(intptr_t)bufAddress; + jchar *buf = (jchar *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetCharArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetCharArrayRegion(JNIEnv *__env, jclass clazz, jcharArray array, jint start, jint len, jlong bufAddress) { - jchar const *buf = (jchar const *)(intptr_t)bufAddress; + jchar const *buf = (jchar const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetCharArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetShortArrayRegion(JNIEnv *__env, jclass clazz, jshortArray array, jint start, jint len, jlong bufAddress) { - jshort *buf = (jshort *)(intptr_t)bufAddress; + jshort *buf = (jshort *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetShortArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetShortArrayRegion(JNIEnv *__env, jclass clazz, jshortArray array, jint start, jint len, jlong bufAddress) { - jshort const *buf = (jshort const *)(intptr_t)bufAddress; + jshort const *buf = (jshort const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetShortArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetIntArrayRegion(JNIEnv *__env, jclass clazz, jintArray array, jint start, jint len, jlong bufAddress) { - jint *buf = (jint *)(intptr_t)bufAddress; + jint *buf = (jint *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetIntArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetIntArrayRegion(JNIEnv *__env, jclass clazz, jintArray array, jint start, jint len, jlong bufAddress) { - jint const *buf = (jint const *)(intptr_t)bufAddress; + jint const *buf = (jint const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetIntArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetLongArrayRegion(JNIEnv *__env, jclass clazz, jlongArray array, jint start, jint len, jlong bufAddress) { - jlong *buf = (jlong *)(intptr_t)bufAddress; + jlong *buf = (jlong *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetLongArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetLongArrayRegion(JNIEnv *__env, jclass clazz, jlongArray array, jint start, jint len, jlong bufAddress) { - jlong const *buf = (jlong const *)(intptr_t)bufAddress; + jlong const *buf = (jlong const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetLongArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetFloatArrayRegion(JNIEnv *__env, jclass clazz, jfloatArray array, jint start, jint len, jlong bufAddress) { - jfloat *buf = (jfloat *)(intptr_t)bufAddress; + jfloat *buf = (jfloat *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetFloatArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetFloatArrayRegion(JNIEnv *__env, jclass clazz, jfloatArray array, jint start, jint len, jlong bufAddress) { - jfloat const *buf = (jfloat const *)(intptr_t)bufAddress; + jfloat const *buf = (jfloat const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetFloatArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetDoubleArrayRegion(JNIEnv *__env, jclass clazz, jdoubleArray array, jint start, jint len, jlong bufAddress) { - jdouble *buf = (jdouble *)(intptr_t)bufAddress; + jdouble *buf = (jdouble *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetDoubleArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nSetDoubleArrayRegion(JNIEnv *__env, jclass clazz, jdoubleArray array, jint start, jint len, jlong bufAddress) { - jdouble const *buf = (jdouble const *)(intptr_t)bufAddress; + jdouble const *buf = (jdouble const *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->SetDoubleArrayRegion(__env, array, (jsize)start, (jsize)len, buf); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nRegisterNatives(JNIEnv *__env, jclass clazz, jclass targetClass, jlong methodsAddress, jint nMethods) { - JNINativeMethod const *methods = (JNINativeMethod const *)(intptr_t)methodsAddress; + JNINativeMethod const *methods = (JNINativeMethod const *)(uintptr_t)methodsAddress; UNUSED_PARAM(clazz) return (*__env)->RegisterNatives(__env, targetClass, methods, nMethods); } @@ -249,43 +249,43 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_UnregisterNa } JNIEXPORT jint JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetJavaVM(JNIEnv *__env, jclass clazz, jlong vmAddress) { - JavaVM **vm = (JavaVM **)(intptr_t)vmAddress; + JavaVM **vm = (JavaVM **)(uintptr_t)vmAddress; UNUSED_PARAM(clazz) return (*__env)->GetJavaVM(__env, vm); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetStringRegion(JNIEnv *__env, jclass clazz, jstring str, jint start, jint len, jlong bufAddress) { - jchar *buf = (jchar *)(intptr_t)bufAddress; + jchar *buf = (jchar *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetStringRegion(__env, str, (jsize)start, (jsize)len, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nGetStringUTFRegion(JNIEnv *__env, jclass clazz, jstring str, jint start, jint len, jlong bufAddress) { - char *buf = (char *)(intptr_t)bufAddress; + char *buf = (char *)(uintptr_t)bufAddress; UNUSED_PARAM(clazz) (*__env)->GetStringUTFRegion(__env, str, (jsize)start, (jsize)len, buf); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_NewWeakGlobalRef(JNIEnv *__env, jclass clazz, jobject obj) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->NewWeakGlobalRef(__env, obj); + return (jlong)(uintptr_t)(*__env)->NewWeakGlobalRef(__env, obj); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nDeleteWeakGlobalRef(JNIEnv *__env, jclass clazz, jlong weakGlobalRefAddress) { - void *weakGlobalRef = (void *)(intptr_t)weakGlobalRefAddress; + void *weakGlobalRef = (void *)(uintptr_t)weakGlobalRefAddress; UNUSED_PARAM(clazz) (*__env)->DeleteWeakGlobalRef(__env, weakGlobalRef); } JNIEXPORT jobject JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_nNewDirectByteBuffer(JNIEnv *__env, jclass clazz, jlong addressAddress, jlong capacity) { - void *address = (void *)(intptr_t)addressAddress; + void *address = (void *)(uintptr_t)addressAddress; UNUSED_PARAM(clazz) return (*__env)->NewDirectByteBuffer(__env, address, capacity); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_GetDirectBufferAddress(JNIEnv *__env, jclass clazz, jobject buf) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)(*__env)->GetDirectBufferAddress(__env, buf); + return (jlong)(uintptr_t)(*__env)->GetDirectBufferAddress(__env, buf); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_jni_JNINativeInterface_GetObjectRefType(JNIEnv *__env, jclass clazz, jobject obj) { diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCLocale.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCLocale.c index fc3e20ac96..998579031a 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCLocale.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCLocale.c @@ -39,9 +39,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_libc_LibCLocale_LC_1TIME(JNIEnv *__ } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCLocale_nsetlocale(JNIEnv *__env, jclass clazz, jint category, jlong localeAddress) { - char const *locale = (char const *)(intptr_t)localeAddress; + char const *locale = (char const *)(uintptr_t)localeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)setlocale(category, locale); + return (jlong)(uintptr_t)setlocale(category, locale); } EXTERN_C_EXIT diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdio.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdio.c index 91b4f5d776..60694a2983 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdio.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdio.c @@ -13,31 +13,31 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdio_sscanf(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)sscanf; + return (jlong)(uintptr_t)sscanf; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libc_LibCStdio_nvsscanf(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong formatAddress, jlong vlistAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - char const *format = (char const *)(intptr_t)formatAddress; - va_list *vlist = VA_LIST_CAST(intptr_t)vlistAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + char const *format = (char const *)(uintptr_t)formatAddress; + va_list *vlist = VA_LIST_CAST(uintptr_t)vlistAddress; UNUSED_PARAMS(__env, clazz) return (jint)vsscanf(buffer, format, *vlist); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdio_sprintf(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)sprintf; + return (jlong)(uintptr_t)sprintf; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdio_snprintf(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)snprintf; + return (jlong)(uintptr_t)snprintf; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libc_LibCStdio_nvsnprintf(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong buf_size, jlong formatAddress, jlong vlistAddress) { - char *buffer = (char *)(intptr_t)bufferAddress; - char const *format = (char const *)(intptr_t)formatAddress; - va_list *vlist = VA_LIST_CAST(intptr_t)vlistAddress; + char *buffer = (char *)(uintptr_t)bufferAddress; + char const *format = (char const *)(uintptr_t)formatAddress; + va_list *vlist = VA_LIST_CAST(uintptr_t)vlistAddress; UNUSED_PARAMS(__env, clazz) return (jint)vsnprintf(buffer, (size_t)buf_size, format, *vlist); } diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdlib.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdlib.c index 0afeac66b6..d4cf106e25 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdlib.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCStdlib.c @@ -24,33 +24,33 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdlib_nmalloc(JNIEnv *__env, jclass clazz, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)malloc((size_t)size); + return (jlong)(uintptr_t)malloc((size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdlib_ncalloc(JNIEnv *__env, jclass clazz, jlong nmemb, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)calloc((size_t)nmemb, (size_t)size); + return (jlong)(uintptr_t)calloc((size_t)nmemb, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdlib_nrealloc(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong size) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)realloc(ptr, (size_t)size); + return (jlong)(uintptr_t)realloc(ptr, (size_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_system_libc_LibCStdlib_nfree(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) free(ptr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCStdlib_naligned_1alloc(JNIEnv *__env, jclass clazz, jlong alignment, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)__aligned_alloc((size_t)alignment, (size_t)size); + return (jlong)(uintptr_t)__aligned_alloc((size_t)alignment, (size_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_system_libc_LibCStdlib_naligned_1free(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) __aligned_free(ptr); } diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCString.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCString.c index 6c7ed686ee..df89f7d9ba 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCString.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libc_LibCString.c @@ -12,35 +12,35 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset__JIJ(JNIEnv *__env, jclass clazz, jlong destAddress, jint c, jlong count) { - void *dest = (void *)(intptr_t)destAddress; + void *dest = (void *)(uintptr_t)destAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)memset(dest, c, (size_t)count); + return (jlong)(uintptr_t)memset(dest, c, (size_t)count); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy__JJJ(JNIEnv *__env, jclass clazz, jlong destAddress, jlong srcAddress, jlong count) { - void *dest = (void *)(intptr_t)destAddress; - void const *src = (void const *)(intptr_t)srcAddress; + void *dest = (void *)(uintptr_t)destAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)memcpy(dest, src, (size_t)count); + return (jlong)(uintptr_t)memcpy(dest, src, (size_t)count); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove__JJJ(JNIEnv *__env, jclass clazz, jlong destAddress, jlong srcAddress, jlong count) { - void *dest = (void *)(intptr_t)destAddress; - void const *src = (void const *)(intptr_t)srcAddress; + void *dest = (void *)(uintptr_t)destAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)memmove(dest, src, (size_t)count); + return (jlong)(uintptr_t)memmove(dest, src, (size_t)count); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nstrerror(JNIEnv *__env, jclass clazz, jint errnum) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)strerror(errnum); + return (jlong)(uintptr_t)strerror(errnum); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3BIJ(JNIEnv *__env, jclass clazz, jbyteArray destAddress, jint c, jlong count) { jlong __result; jbyte *dest = (*__env)->GetByteArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseByteArrayElements(__env, destAddress, dest, 0); return __result; } @@ -49,7 +49,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3SIJ(JNI jlong __result; jshort *dest = (*__env)->GetShortArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseShortArrayElements(__env, destAddress, dest, 0); return __result; } @@ -58,7 +58,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3IIJ(JNI jlong __result; jint *dest = (*__env)->GetIntArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseIntArrayElements(__env, destAddress, dest, 0); return __result; } @@ -67,7 +67,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3JIJ(JNI jlong __result; jlong *dest = (*__env)->GetLongArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseLongArrayElements(__env, destAddress, dest, 0); return __result; } @@ -76,7 +76,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3FIJ(JNI jlong __result; jfloat *dest = (*__env)->GetFloatArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseFloatArrayElements(__env, destAddress, dest, 0); return __result; } @@ -85,7 +85,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemset___3DIJ(JNI jlong __result; jdouble *dest = (*__env)->GetDoubleArrayElements(__env, destAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memset((void *)dest, c, (size_t)count); + __result = (jlong)(uintptr_t)memset((void *)dest, c, (size_t)count); (*__env)->ReleaseDoubleArrayElements(__env, destAddress, dest, 0); return __result; } @@ -95,7 +95,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3B_3BJ(J jbyte *dest = (*__env)->GetByteArrayElements(__env, destAddress, NULL); jbyte *src = (*__env)->GetByteArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseByteArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseByteArrayElements(__env, destAddress, dest, 0); return __result; @@ -106,7 +106,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3S_3SJ(J jshort *dest = (*__env)->GetShortArrayElements(__env, destAddress, NULL); jshort *src = (*__env)->GetShortArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseShortArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseShortArrayElements(__env, destAddress, dest, 0); return __result; @@ -117,7 +117,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3I_3IJ(J jint *dest = (*__env)->GetIntArrayElements(__env, destAddress, NULL); jint *src = (*__env)->GetIntArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseIntArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseIntArrayElements(__env, destAddress, dest, 0); return __result; @@ -128,7 +128,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3J_3JJ(J jlong *dest = (*__env)->GetLongArrayElements(__env, destAddress, NULL); jlong *src = (*__env)->GetLongArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseLongArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseLongArrayElements(__env, destAddress, dest, 0); return __result; @@ -139,7 +139,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3F_3FJ(J jfloat *dest = (*__env)->GetFloatArrayElements(__env, destAddress, NULL); jfloat *src = (*__env)->GetFloatArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseFloatArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseFloatArrayElements(__env, destAddress, dest, 0); return __result; @@ -150,7 +150,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemcpy___3D_3DJ(J jdouble *dest = (*__env)->GetDoubleArrayElements(__env, destAddress, NULL); jdouble *src = (*__env)->GetDoubleArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memcpy((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseDoubleArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseDoubleArrayElements(__env, destAddress, dest, 0); return __result; @@ -161,7 +161,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3B_3BJ( jbyte *dest = (*__env)->GetByteArrayElements(__env, destAddress, NULL); jbyte *src = (*__env)->GetByteArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseByteArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseByteArrayElements(__env, destAddress, dest, 0); return __result; @@ -172,7 +172,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3S_3SJ( jshort *dest = (*__env)->GetShortArrayElements(__env, destAddress, NULL); jshort *src = (*__env)->GetShortArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseShortArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseShortArrayElements(__env, destAddress, dest, 0); return __result; @@ -183,7 +183,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3I_3IJ( jint *dest = (*__env)->GetIntArrayElements(__env, destAddress, NULL); jint *src = (*__env)->GetIntArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseIntArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseIntArrayElements(__env, destAddress, dest, 0); return __result; @@ -194,7 +194,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3J_3JJ( jlong *dest = (*__env)->GetLongArrayElements(__env, destAddress, NULL); jlong *src = (*__env)->GetLongArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseLongArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseLongArrayElements(__env, destAddress, dest, 0); return __result; @@ -205,7 +205,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3F_3FJ( jfloat *dest = (*__env)->GetFloatArrayElements(__env, destAddress, NULL); jfloat *src = (*__env)->GetFloatArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseFloatArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseFloatArrayElements(__env, destAddress, dest, 0); return __result; @@ -216,7 +216,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libc_LibCString_nmemmove___3D_3DJ( jdouble *dest = (*__env)->GetDoubleArrayElements(__env, destAddress, NULL); jdouble *src = (*__env)->GetDoubleArrayElements(__env, srcAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)memmove((void *)dest, (void const *)src, (size_t)count); + __result = (jlong)(uintptr_t)memmove((void *)dest, (void const *)src, (size_t)count); (*__env)->ReleaseDoubleArrayElements(__env, srcAddress, src, 0); (*__env)->ReleaseDoubleArrayElements(__env, destAddress, dest, 0); return __result; diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFICIF.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFICIF.c index fb28147b46..d948727feb 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFICIF.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFICIF.c @@ -18,7 +18,7 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_FFICIF_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFIClosure.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFIClosure.c index 8ccd204a26..9f3305d9dc 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFIClosure.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_FFIClosure.c @@ -18,7 +18,7 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_FFIClosure_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_LibFFI.c b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_LibFFI.c index 6808087390..304d76ddad 100644 --- a/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_LibFFI.c +++ b/modules/lwjgl/core/src/generated/c/org_lwjgl_system_libffi_LibFFI.c @@ -96,159 +96,159 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_LibFFI_FFI_1DEFAULT_1ABI(JNI JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1void(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_void; + return (jlong)(uintptr_t)&ffi_type_void; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uint8(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uint8; + return (jlong)(uintptr_t)&ffi_type_uint8; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sint8(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sint8; + return (jlong)(uintptr_t)&ffi_type_sint8; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uint16(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uint16; + return (jlong)(uintptr_t)&ffi_type_uint16; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sint16(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sint16; + return (jlong)(uintptr_t)&ffi_type_sint16; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uint32(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uint32; + return (jlong)(uintptr_t)&ffi_type_uint32; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sint32(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sint32; + return (jlong)(uintptr_t)&ffi_type_sint32; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uint64(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uint64; + return (jlong)(uintptr_t)&ffi_type_uint64; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sint64(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sint64; + return (jlong)(uintptr_t)&ffi_type_sint64; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uchar(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uchar; + return (jlong)(uintptr_t)&ffi_type_uchar; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1schar(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_schar; + return (jlong)(uintptr_t)&ffi_type_schar; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1ushort(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_ushort; + return (jlong)(uintptr_t)&ffi_type_ushort; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sshort(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sshort; + return (jlong)(uintptr_t)&ffi_type_sshort; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1uint(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_uint; + return (jlong)(uintptr_t)&ffi_type_uint; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1sint(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_sint; + return (jlong)(uintptr_t)&ffi_type_sint; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1ulong(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_ulong; + return (jlong)(uintptr_t)&ffi_type_ulong; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1slong(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_slong; + return (jlong)(uintptr_t)&ffi_type_slong; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1float(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_float; + return (jlong)(uintptr_t)&ffi_type_float; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1double(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_double; + return (jlong)(uintptr_t)&ffi_type_double; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1longdouble(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_longdouble; + return (jlong)(uintptr_t)&ffi_type_longdouble; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1type_1pointer(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&ffi_type_pointer; + return (jlong)(uintptr_t)&ffi_type_pointer; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1prep_1cif(JNIEnv *__env, jclass clazz, jlong cifAddress, jint abi, jint nargs, jlong rtypeAddress, jlong atypesAddress) { - ffi_cif *cif = (ffi_cif *)(intptr_t)cifAddress; - ffi_type *rtype = (ffi_type *)(intptr_t)rtypeAddress; - ffi_type **atypes = (ffi_type **)(intptr_t)atypesAddress; + ffi_cif *cif = (ffi_cif *)(uintptr_t)cifAddress; + ffi_type *rtype = (ffi_type *)(uintptr_t)rtypeAddress; + ffi_type **atypes = (ffi_type **)(uintptr_t)atypesAddress; UNUSED_PARAMS(__env, clazz) return (jint)ffi_prep_cif(cif, (ffi_abi)abi, (unsigned int)nargs, rtype, atypes); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1prep_1cif_1var(JNIEnv *__env, jclass clazz, jlong cifAddress, jint abi, jint nfixedargs, jint ntotalargs, jlong rtypeAddress, jlong atypesAddress) { - ffi_cif *cif = (ffi_cif *)(intptr_t)cifAddress; - ffi_type *rtype = (ffi_type *)(intptr_t)rtypeAddress; - ffi_type **atypes = (ffi_type **)(intptr_t)atypesAddress; + ffi_cif *cif = (ffi_cif *)(uintptr_t)cifAddress; + ffi_type *rtype = (ffi_type *)(uintptr_t)rtypeAddress; + ffi_type **atypes = (ffi_type **)(uintptr_t)atypesAddress; UNUSED_PARAMS(__env, clazz) return (jint)ffi_prep_cif_var(cif, (ffi_abi)abi, (unsigned int)nfixedargs, (unsigned int)ntotalargs, rtype, atypes); } JNIEXPORT void JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1call(JNIEnv *__env, jclass clazz, jlong cifAddress, jlong fnAddress, jlong rvalueAddress, jlong avaluesAddress) { - ffi_cif *cif = (ffi_cif *)(intptr_t)cifAddress; - FFI_FN_TYPE fn = (FFI_FN_TYPE)(intptr_t)fnAddress; - void *rvalue = (void *)(intptr_t)rvalueAddress; - void **avalues = (void **)(intptr_t)avaluesAddress; + ffi_cif *cif = (ffi_cif *)(uintptr_t)cifAddress; + FFI_FN_TYPE fn = (FFI_FN_TYPE)(uintptr_t)fnAddress; + void *rvalue = (void *)(uintptr_t)rvalueAddress; + void **avalues = (void **)(uintptr_t)avaluesAddress; UNUSED_PARAMS(__env, clazz) ffi_call(cif, fn, rvalue, avalues); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1get_1struct_1offsets(JNIEnv *__env, jclass clazz, jint abi, jlong struct_typeAddress, jlong offsetsAddress) { - ffi_type *struct_type = (ffi_type *)(intptr_t)struct_typeAddress; - size_t *offsets = (size_t *)(intptr_t)offsetsAddress; + ffi_type *struct_type = (ffi_type *)(uintptr_t)struct_typeAddress; + size_t *offsets = (size_t *)(uintptr_t)offsetsAddress; UNUSED_PARAMS(__env, clazz) return (jint)ffi_get_struct_offsets((ffi_abi)abi, struct_type, offsets); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1closure_1alloc(JNIEnv *__env, jclass clazz, jlong size, jlong codeAddress) { - void **code = (void **)(intptr_t)codeAddress; + void **code = (void **)(uintptr_t)codeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ffi_closure_alloc((size_t)size, code); + return (jlong)(uintptr_t)ffi_closure_alloc((size_t)size, code); } JNIEXPORT void JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1closure_1free(JNIEnv *__env, jclass clazz, jlong writableAddress) { - ffi_closure *writable = (ffi_closure *)(intptr_t)writableAddress; + ffi_closure *writable = (ffi_closure *)(uintptr_t)writableAddress; UNUSED_PARAMS(__env, clazz) ffi_closure_free(writable); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_libffi_LibFFI_nffi_1prep_1closure_1loc(JNIEnv *__env, jclass clazz, jlong closureAddress, jlong cifAddress, jlong funAddress, jlong user_dataAddress, jlong codelocAddress) { - ffi_closure *closure = (ffi_closure *)(intptr_t)closureAddress; - ffi_cif *cif = (ffi_cif *)(intptr_t)cifAddress; - FFI_CLOSURE_FUN fun = (FFI_CLOSURE_FUN)(intptr_t)funAddress; - void *user_data = (void *)(intptr_t)user_dataAddress; - void *codeloc = (void *)(intptr_t)codelocAddress; + ffi_closure *closure = (ffi_closure *)(uintptr_t)closureAddress; + ffi_cif *cif = (ffi_cif *)(uintptr_t)cifAddress; + FFI_CLOSURE_FUN fun = (FFI_CLOSURE_FUN)(uintptr_t)funAddress; + void *user_data = (void *)(uintptr_t)user_dataAddress; + void *codeloc = (void *)(uintptr_t)codelocAddress; UNUSED_PARAMS(__env, clazz) return (jint)ffi_prep_closure_loc(closure, cif, fun, user_data, codeloc); } diff --git a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_GDI32.c b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_GDI32.c index fb889b28a3..5d1569aac8 100644 --- a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_GDI32.c +++ b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_GDI32.c @@ -6,18 +6,18 @@ #include "common_tools.h" #include "WindowsLWJGL.h" -typedef jint (APIENTRY *ChoosePixelFormatPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *DescribePixelFormatPROC) (intptr_t, jint, jint, intptr_t); -typedef jint (APIENTRY *GetPixelFormatPROC) (intptr_t); -typedef jint (APIENTRY *SetPixelFormatPROC) (intptr_t, jint, intptr_t); -typedef jint (APIENTRY *SwapBuffersPROC) (intptr_t); +typedef jint (APIENTRY *ChoosePixelFormatPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *DescribePixelFormatPROC) (uintptr_t, jint, jint, uintptr_t); +typedef jint (APIENTRY *GetPixelFormatPROC) (uintptr_t); +typedef jint (APIENTRY *SetPixelFormatPROC) (uintptr_t, jint, uintptr_t); +typedef jint (APIENTRY *SwapBuffersPROC) (uintptr_t); EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nChoosePixelFormat(JNIEnv *__env, jclass clazz, jlong hdcAddress, jlong pixelFormatDescriptorAddress, jlong __functionAddress) { - ChoosePixelFormatPROC ChoosePixelFormat = (ChoosePixelFormatPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; - intptr_t pixelFormatDescriptor = (intptr_t)pixelFormatDescriptorAddress; + ChoosePixelFormatPROC ChoosePixelFormat = (ChoosePixelFormatPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; + uintptr_t pixelFormatDescriptor = (uintptr_t)pixelFormatDescriptorAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)ChoosePixelFormat(hdc, pixelFormatDescriptor); @@ -26,9 +26,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nChoosePixelFormat(JN } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nDescribePixelFormat(JNIEnv *__env, jclass clazz, jlong hdcAddress, jint pixelFormat, jint bytes, jlong pixelFormatDescriptorAddress, jlong __functionAddress) { - DescribePixelFormatPROC DescribePixelFormat = (DescribePixelFormatPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; - intptr_t pixelFormatDescriptor = (intptr_t)pixelFormatDescriptorAddress; + DescribePixelFormatPROC DescribePixelFormat = (DescribePixelFormatPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; + uintptr_t pixelFormatDescriptor = (uintptr_t)pixelFormatDescriptorAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)DescribePixelFormat(hdc, pixelFormat, bytes, pixelFormatDescriptor); @@ -37,8 +37,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nDescribePixelFormat( } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nGetPixelFormat(JNIEnv *__env, jclass clazz, jlong hdcAddress, jlong __functionAddress) { - GetPixelFormatPROC GetPixelFormat = (GetPixelFormatPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; + GetPixelFormatPROC GetPixelFormat = (GetPixelFormatPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetPixelFormat(hdc); @@ -47,9 +47,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nGetPixelFormat(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nSetPixelFormat(JNIEnv *__env, jclass clazz, jlong hdcAddress, jint pixelFormat, jlong pixelFormatDescriptorAddress, jlong __functionAddress) { - SetPixelFormatPROC SetPixelFormat = (SetPixelFormatPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; - intptr_t pixelFormatDescriptor = (intptr_t)pixelFormatDescriptorAddress; + SetPixelFormatPROC SetPixelFormat = (SetPixelFormatPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; + uintptr_t pixelFormatDescriptor = (uintptr_t)pixelFormatDescriptorAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SetPixelFormat(hdc, pixelFormat, pixelFormatDescriptor); @@ -58,8 +58,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nSetPixelFormat(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_GDI32_nSwapBuffers(JNIEnv *__env, jclass clazz, jlong dcAddress, jlong __functionAddress) { - SwapBuffersPROC SwapBuffers = (SwapBuffersPROC)(intptr_t)__functionAddress; - intptr_t dc = (intptr_t)dcAddress; + SwapBuffersPROC SwapBuffers = (SwapBuffersPROC)(uintptr_t)__functionAddress; + uintptr_t dc = (uintptr_t)dcAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SwapBuffers(dc); diff --git a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_User32.c b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_User32.c index 147b8dc143..7a7367e80f 100644 --- a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_User32.c +++ b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_User32.c @@ -6,38 +6,38 @@ #include "common_tools.h" #include "WindowsLWJGL.h" -typedef jshort (APIENTRY *RegisterClassExWPROC) (intptr_t); -typedef jint (APIENTRY *UnregisterClassWPROC) (intptr_t, intptr_t); -typedef intptr_t (APIENTRY *CreateWindowExWPROC) (jint, intptr_t, intptr_t, jint, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef jint (APIENTRY *DestroyWindowPROC) (intptr_t); -typedef jint (APIENTRY *SetWindowPosPROC) (intptr_t, intptr_t, jint, jint, jint, jint, jint); -typedef jint (APIENTRY *SetWindowTextWPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *GetMessageWPROC) (intptr_t, intptr_t, jint, jint); +typedef jshort (APIENTRY *RegisterClassExWPROC) (uintptr_t); +typedef jint (APIENTRY *UnregisterClassWPROC) (uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *CreateWindowExWPROC) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef jint (APIENTRY *DestroyWindowPROC) (uintptr_t); +typedef jint (APIENTRY *SetWindowPosPROC) (uintptr_t, uintptr_t, jint, jint, jint, jint, jint); +typedef jint (APIENTRY *SetWindowTextWPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *GetMessageWPROC) (uintptr_t, uintptr_t, jint, jint); typedef jint (APIENTRY *WaitMessagePROC) (void); -typedef jint (APIENTRY *PostMessageWPROC) (intptr_t, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *SendMessageWPROC) (intptr_t, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *AdjustWindowRectExPROC) (intptr_t, jint, jint, jint); -typedef jint (APIENTRY *GetWindowRectPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *MoveWindowPROC) (intptr_t, jint, jint, jint, jint, jint); -typedef jint (APIENTRY *GetWindowPlacementPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *SetWindowPlacementPROC) (intptr_t, intptr_t); -typedef intptr_t (APIENTRY *SetWindowLongPtrPROC) (intptr_t, jint, intptr_t); -typedef intptr_t (APIENTRY *GetWindowLongPtrPROC) (intptr_t, jint); -typedef intptr_t (APIENTRY *SetClassLongPtrPROC) (intptr_t, jint, intptr_t); -typedef intptr_t (APIENTRY *GetClassLongPtrPROC) (intptr_t, jint); -typedef jint (APIENTRY *SetLayeredWindowAttributesPROC) (intptr_t, jint, jbyte, jint); -typedef intptr_t (APIENTRY *LoadIconWPROC) (intptr_t, intptr_t); -typedef intptr_t (APIENTRY *LoadCursorWPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *RegisterTouchWindowPROC) (intptr_t, jint); -typedef jint (APIENTRY *UnregisterTouchWindowPROC) (intptr_t); -typedef jint (APIENTRY *GetTouchInputInfoPROC) (intptr_t, jint, intptr_t, jint); -typedef jint (APIENTRY *CloseTouchInputHandlePROC) (intptr_t); +typedef jint (APIENTRY *PostMessageWPROC) (uintptr_t, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *SendMessageWPROC) (uintptr_t, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *AdjustWindowRectExPROC) (uintptr_t, jint, jint, jint); +typedef jint (APIENTRY *GetWindowRectPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *MoveWindowPROC) (uintptr_t, jint, jint, jint, jint, jint); +typedef jint (APIENTRY *GetWindowPlacementPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *SetWindowPlacementPROC) (uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *SetWindowLongPtrPROC) (uintptr_t, jint, uintptr_t); +typedef uintptr_t (APIENTRY *GetWindowLongPtrPROC) (uintptr_t, jint); +typedef uintptr_t (APIENTRY *SetClassLongPtrPROC) (uintptr_t, jint, uintptr_t); +typedef uintptr_t (APIENTRY *GetClassLongPtrPROC) (uintptr_t, jint); +typedef jint (APIENTRY *SetLayeredWindowAttributesPROC) (uintptr_t, jint, jbyte, jint); +typedef uintptr_t (APIENTRY *LoadIconWPROC) (uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *LoadCursorWPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *RegisterTouchWindowPROC) (uintptr_t, jint); +typedef jint (APIENTRY *UnregisterTouchWindowPROC) (uintptr_t); +typedef jint (APIENTRY *GetTouchInputInfoPROC) (uintptr_t, jint, uintptr_t, jint); +typedef jint (APIENTRY *CloseTouchInputHandlePROC) (uintptr_t); EXTERN_C_ENTER JNIEXPORT jshort JNICALL Java_org_lwjgl_system_windows_User32_nRegisterClassEx(JNIEnv *__env, jclass clazz, jlong lpwcxAddress, jlong __functionAddress) { - RegisterClassExWPROC RegisterClassExW = (RegisterClassExWPROC)(intptr_t)__functionAddress; - intptr_t lpwcx = (intptr_t)lpwcxAddress; + RegisterClassExWPROC RegisterClassExW = (RegisterClassExWPROC)(uintptr_t)__functionAddress; + uintptr_t lpwcx = (uintptr_t)lpwcxAddress; jshort __result; UNUSED_PARAMS(__env, clazz) __result = (jshort)RegisterClassExW(lpwcx); @@ -46,9 +46,9 @@ JNIEXPORT jshort JNICALL Java_org_lwjgl_system_windows_User32_nRegisterClassEx(J } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nUnregisterClass(JNIEnv *__env, jclass clazz, jlong lpClassNameAddress, jlong hInstanceAddress, jlong __functionAddress) { - UnregisterClassWPROC UnregisterClassW = (UnregisterClassWPROC)(intptr_t)__functionAddress; - intptr_t lpClassName = (intptr_t)lpClassNameAddress; - intptr_t hInstance = (intptr_t)hInstanceAddress; + UnregisterClassWPROC UnregisterClassW = (UnregisterClassWPROC)(uintptr_t)__functionAddress; + uintptr_t lpClassName = (uintptr_t)lpClassNameAddress; + uintptr_t hInstance = (uintptr_t)hInstanceAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)UnregisterClassW(lpClassName, hInstance); @@ -57,13 +57,13 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nUnregisterClass(JNI } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nCreateWindowEx(JNIEnv *__env, jclass clazz, jint dwExStyle, jlong lpClassNameAddress, jlong lpWindowNameAddress, jint dwStyle, jint x, jint y, jint nWidth, jint nHeight, jlong hWndParentAddress, jlong hMenuAddress, jlong hInstanceAddress, jlong lpParamAddress, jlong __functionAddress) { - CreateWindowExWPROC CreateWindowExW = (CreateWindowExWPROC)(intptr_t)__functionAddress; - intptr_t lpClassName = (intptr_t)lpClassNameAddress; - intptr_t lpWindowName = (intptr_t)lpWindowNameAddress; - intptr_t hWndParent = (intptr_t)hWndParentAddress; - intptr_t hMenu = (intptr_t)hMenuAddress; - intptr_t hInstance = (intptr_t)hInstanceAddress; - intptr_t lpParam = (intptr_t)lpParamAddress; + CreateWindowExWPROC CreateWindowExW = (CreateWindowExWPROC)(uintptr_t)__functionAddress; + uintptr_t lpClassName = (uintptr_t)lpClassNameAddress; + uintptr_t lpWindowName = (uintptr_t)lpWindowNameAddress; + uintptr_t hWndParent = (uintptr_t)hWndParentAddress; + uintptr_t hMenu = (uintptr_t)hMenuAddress; + uintptr_t hInstance = (uintptr_t)hInstanceAddress; + uintptr_t lpParam = (uintptr_t)lpParamAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); @@ -72,8 +72,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nCreateWindowEx(JNI } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nDestroyWindow(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong __functionAddress) { - DestroyWindowPROC DestroyWindow = (DestroyWindowPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + DestroyWindowPROC DestroyWindow = (DestroyWindowPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)DestroyWindow(hWnd); @@ -82,9 +82,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nDestroyWindow(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowPos(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong hWndInsertAfterAddress, jint X, jint Y, jint cx, jint cy, jint uFlags, jlong __functionAddress) { - SetWindowPosPROC SetWindowPos = (SetWindowPosPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; - intptr_t hWndInsertAfter = (intptr_t)hWndInsertAfterAddress; + SetWindowPosPROC SetWindowPos = (SetWindowPosPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; + uintptr_t hWndInsertAfter = (uintptr_t)hWndInsertAfterAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SetWindowPos(hWnd, hWndInsertAfter, X, Y, cx, cy, uFlags); @@ -93,9 +93,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowPos(JNIEnv } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowText(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong lpStringAddress, jlong __functionAddress) { - SetWindowTextWPROC SetWindowTextW = (SetWindowTextWPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; - intptr_t lpString = (intptr_t)lpStringAddress; + SetWindowTextWPROC SetWindowTextW = (SetWindowTextWPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; + uintptr_t lpString = (uintptr_t)lpStringAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SetWindowTextW(hWnd, lpString); @@ -104,9 +104,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowText(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetMessage(JNIEnv *__env, jclass clazz, jlong lpMsgAddress, jlong hWndAddress, jint wMsgFilterMin, jint wMsgFilterMax, jlong __functionAddress) { - GetMessageWPROC GetMessageW = (GetMessageWPROC)(intptr_t)__functionAddress; - intptr_t lpMsg = (intptr_t)lpMsgAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + GetMessageWPROC GetMessageW = (GetMessageWPROC)(uintptr_t)__functionAddress; + uintptr_t lpMsg = (uintptr_t)lpMsgAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax); @@ -115,7 +115,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetMessage(JNIEnv * } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nWaitMessage(JNIEnv *__env, jclass clazz, jlong __functionAddress) { - WaitMessagePROC WaitMessage = (WaitMessagePROC)(intptr_t)__functionAddress; + WaitMessagePROC WaitMessage = (WaitMessagePROC)(uintptr_t)__functionAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)WaitMessage(); @@ -124,28 +124,28 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nWaitMessage(JNIEnv } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nPostMessage(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint Msg, jlong wParam, jlong lParam, jlong __functionAddress) { - PostMessageWPROC PostMessageW = (PostMessageWPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + PostMessageWPROC PostMessageW = (PostMessageWPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) - __result = (jint)PostMessageW(hWnd, Msg, (intptr_t)wParam, (intptr_t)lParam); + __result = (jint)PostMessageW(hWnd, Msg, (uintptr_t)wParam, (uintptr_t)lParam); saveLastError(); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSendMessage(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint Msg, jlong wParam, jlong lParam, jlong __functionAddress) { - SendMessageWPROC SendMessageW = (SendMessageWPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + SendMessageWPROC SendMessageW = (SendMessageWPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) - __result = (jint)SendMessageW(hWnd, Msg, (intptr_t)wParam, (intptr_t)lParam); + __result = (jint)SendMessageW(hWnd, Msg, (uintptr_t)wParam, (uintptr_t)lParam); saveLastError(); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nAdjustWindowRectEx(JNIEnv *__env, jclass clazz, jlong lpRectAddress, jint dwStyle, jint bMenu, jint dwExStyle, jlong __functionAddress) { - AdjustWindowRectExPROC AdjustWindowRectEx = (AdjustWindowRectExPROC)(intptr_t)__functionAddress; - intptr_t lpRect = (intptr_t)lpRectAddress; + AdjustWindowRectExPROC AdjustWindowRectEx = (AdjustWindowRectExPROC)(uintptr_t)__functionAddress; + uintptr_t lpRect = (uintptr_t)lpRectAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)AdjustWindowRectEx(lpRect, dwStyle, bMenu, dwExStyle); @@ -154,9 +154,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nAdjustWindowRectEx( } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowRect(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong lpRectAddress, jlong __functionAddress) { - GetWindowRectPROC GetWindowRect = (GetWindowRectPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; - intptr_t lpRect = (intptr_t)lpRectAddress; + GetWindowRectPROC GetWindowRect = (GetWindowRectPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; + uintptr_t lpRect = (uintptr_t)lpRectAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetWindowRect(hWnd, lpRect); @@ -165,8 +165,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowRect(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nMoveWindow(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint X, jint Y, jint nWidth, jint nHeight, jint bRepaint, jlong __functionAddress) { - MoveWindowPROC MoveWindow = (MoveWindowPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + MoveWindowPROC MoveWindow = (MoveWindowPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)MoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint); @@ -175,9 +175,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nMoveWindow(JNIEnv * } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowPlacement(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong lpwndplAddress, jlong __functionAddress) { - GetWindowPlacementPROC GetWindowPlacement = (GetWindowPlacementPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; - intptr_t lpwndpl = (intptr_t)lpwndplAddress; + GetWindowPlacementPROC GetWindowPlacement = (GetWindowPlacementPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; + uintptr_t lpwndpl = (uintptr_t)lpwndplAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetWindowPlacement(hWnd, lpwndpl); @@ -186,9 +186,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowPlacement( } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowPlacement(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong lpwndplAddress, jlong __functionAddress) { - SetWindowPlacementPROC SetWindowPlacement = (SetWindowPlacementPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; - intptr_t lpwndpl = (intptr_t)lpwndplAddress; + SetWindowPlacementPROC SetWindowPlacement = (SetWindowPlacementPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; + uintptr_t lpwndpl = (uintptr_t)lpwndplAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SetWindowPlacement(hWnd, lpwndpl); @@ -197,18 +197,18 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowPlacement( } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nSetWindowLongPtr(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint nIndex, jlong dwNewLong, jlong __functionAddress) { - SetWindowLongPtrPROC SetWindowLongPtr = (SetWindowLongPtrPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + SetWindowLongPtrPROC SetWindowLongPtr = (SetWindowLongPtrPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)SetWindowLongPtr(hWnd, nIndex, (intptr_t)dwNewLong); + __result = (jlong)SetWindowLongPtr(hWnd, nIndex, (uintptr_t)dwNewLong); saveLastError(); return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowLongPtr(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint nIndex, jlong __functionAddress) { - GetWindowLongPtrPROC GetWindowLongPtr = (GetWindowLongPtrPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + GetWindowLongPtrPROC GetWindowLongPtr = (GetWindowLongPtrPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)GetWindowLongPtr(hWnd, nIndex); @@ -217,18 +217,18 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nGetWindowLongPtr(J } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nSetClassLongPtr(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint nIndex, jlong dwNewLong, jlong __functionAddress) { - SetClassLongPtrPROC SetClassLongPtr = (SetClassLongPtrPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + SetClassLongPtrPROC SetClassLongPtr = (SetClassLongPtrPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)SetClassLongPtr(hWnd, nIndex, (intptr_t)dwNewLong); + __result = (jlong)SetClassLongPtr(hWnd, nIndex, (uintptr_t)dwNewLong); saveLastError(); return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nGetClassLongPtr(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint nIndex, jlong __functionAddress) { - GetClassLongPtrPROC GetClassLongPtr = (GetClassLongPtrPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + GetClassLongPtrPROC GetClassLongPtr = (GetClassLongPtrPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)GetClassLongPtr(hWnd, nIndex); @@ -237,8 +237,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nGetClassLongPtr(JN } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetLayeredWindowAttributes(JNIEnv *__env, jclass clazz, jlong hwndAddress, jint crKey, jbyte bAlpha, jint dwFlags, jlong __functionAddress) { - SetLayeredWindowAttributesPROC SetLayeredWindowAttributes = (SetLayeredWindowAttributesPROC)(intptr_t)__functionAddress; - intptr_t hwnd = (intptr_t)hwndAddress; + SetLayeredWindowAttributesPROC SetLayeredWindowAttributes = (SetLayeredWindowAttributesPROC)(uintptr_t)__functionAddress; + uintptr_t hwnd = (uintptr_t)hwndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)SetLayeredWindowAttributes(hwnd, crKey, bAlpha, dwFlags); @@ -247,9 +247,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nSetLayeredWindowAtt } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nLoadIcon(JNIEnv *__env, jclass clazz, jlong instanceAddress, jlong iconNameAddress, jlong __functionAddress) { - LoadIconWPROC LoadIconW = (LoadIconWPROC)(intptr_t)__functionAddress; - intptr_t instance = (intptr_t)instanceAddress; - intptr_t iconName = (intptr_t)iconNameAddress; + LoadIconWPROC LoadIconW = (LoadIconWPROC)(uintptr_t)__functionAddress; + uintptr_t instance = (uintptr_t)instanceAddress; + uintptr_t iconName = (uintptr_t)iconNameAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)LoadIconW(instance, iconName); @@ -258,9 +258,9 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nLoadIcon(JNIEnv *_ } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nLoadCursor(JNIEnv *__env, jclass clazz, jlong instanceAddress, jlong cursorNameAddress, jlong __functionAddress) { - LoadCursorWPROC LoadCursorW = (LoadCursorWPROC)(intptr_t)__functionAddress; - intptr_t instance = (intptr_t)instanceAddress; - intptr_t cursorName = (intptr_t)cursorNameAddress; + LoadCursorWPROC LoadCursorW = (LoadCursorWPROC)(uintptr_t)__functionAddress; + uintptr_t instance = (uintptr_t)instanceAddress; + uintptr_t cursorName = (uintptr_t)cursorNameAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)LoadCursorW(instance, cursorName); @@ -269,8 +269,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_User32_nLoadCursor(JNIEnv } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nRegisterTouchWindow(JNIEnv *__env, jclass clazz, jlong hWndAddress, jint ulFlags, jlong __functionAddress) { - RegisterTouchWindowPROC RegisterTouchWindow = (RegisterTouchWindowPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + RegisterTouchWindowPROC RegisterTouchWindow = (RegisterTouchWindowPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)RegisterTouchWindow(hWnd, ulFlags); @@ -279,8 +279,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nRegisterTouchWindow } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nUnregisterTouchWindow(JNIEnv *__env, jclass clazz, jlong hWndAddress, jlong __functionAddress) { - UnregisterTouchWindowPROC UnregisterTouchWindow = (UnregisterTouchWindowPROC)(intptr_t)__functionAddress; - intptr_t hWnd = (intptr_t)hWndAddress; + UnregisterTouchWindowPROC UnregisterTouchWindow = (UnregisterTouchWindowPROC)(uintptr_t)__functionAddress; + uintptr_t hWnd = (uintptr_t)hWndAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)UnregisterTouchWindow(hWnd); @@ -289,9 +289,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nUnregisterTouchWind } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetTouchInputInfo(JNIEnv *__env, jclass clazz, jlong hTouchInputAddress, jint cInputs, jlong pInputsAddress, jint cbSize, jlong __functionAddress) { - GetTouchInputInfoPROC GetTouchInputInfo = (GetTouchInputInfoPROC)(intptr_t)__functionAddress; - intptr_t hTouchInput = (intptr_t)hTouchInputAddress; - intptr_t pInputs = (intptr_t)pInputsAddress; + GetTouchInputInfoPROC GetTouchInputInfo = (GetTouchInputInfoPROC)(uintptr_t)__functionAddress; + uintptr_t hTouchInput = (uintptr_t)hTouchInputAddress; + uintptr_t pInputs = (uintptr_t)pInputsAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetTouchInputInfo(hTouchInput, cInputs, pInputs, cbSize); @@ -300,8 +300,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nGetTouchInputInfo(J } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_User32_nCloseTouchInputHandle(JNIEnv *__env, jclass clazz, jlong hTouchInputAddress, jlong __functionAddress) { - CloseTouchInputHandlePROC CloseTouchInputHandle = (CloseTouchInputHandlePROC)(intptr_t)__functionAddress; - intptr_t hTouchInput = (intptr_t)hTouchInputAddress; + CloseTouchInputHandlePROC CloseTouchInputHandle = (CloseTouchInputHandlePROC)(uintptr_t)__functionAddress; + uintptr_t hTouchInput = (uintptr_t)hTouchInputAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)CloseTouchInputHandle(hTouchInput); diff --git a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_WinBase.c b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_WinBase.c index 5687291170..53e4a22a9d 100644 --- a/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_WinBase.c +++ b/modules/lwjgl/core/src/generated/c/windows/org_lwjgl_system_windows_WinBase.c @@ -20,17 +20,17 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_WinBase_getLastError(JNIEnv } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_WinBase_nGetModuleHandle(JNIEnv *__env, jclass clazz, jlong moduleNameAddress) { - LPCTSTR moduleName = (LPCTSTR)(intptr_t)moduleNameAddress; + LPCTSTR moduleName = (LPCTSTR)(uintptr_t)moduleNameAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)GetModuleHandle(moduleName); + __result = (jlong)(uintptr_t)GetModuleHandle(moduleName); saveLastError(); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_WinBase_nGetModuleFileName(JNIEnv *__env, jclass clazz, jlong hModuleAddress, jlong lpFilenameAddress, jint nSize) { - HMODULE hModule = (HMODULE)(intptr_t)hModuleAddress; - LPTSTR lpFilename = (LPTSTR)(intptr_t)lpFilenameAddress; + HMODULE hModule = (HMODULE)(uintptr_t)hModuleAddress; + LPTSTR lpFilename = (LPTSTR)(uintptr_t)lpFilenameAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)GetModuleFileName(hModule, lpFilename, (DWORD)nSize); @@ -39,26 +39,26 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_WinBase_nGetModuleFileName( } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_WinBase_nLoadLibrary(JNIEnv *__env, jclass clazz, jlong nameAddress) { - LPCTSTR name = (LPCTSTR)(intptr_t)nameAddress; + LPCTSTR name = (LPCTSTR)(uintptr_t)nameAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)LoadLibrary(name); + __result = (jlong)(uintptr_t)LoadLibrary(name); saveLastError(); return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_windows_WinBase_nGetProcAddress(JNIEnv *__env, jclass clazz, jlong handleAddress, jlong nameAddress) { - HMODULE handle = (HMODULE)(intptr_t)handleAddress; - LPCSTR name = (LPCSTR)(intptr_t)nameAddress; + HMODULE handle = (HMODULE)(uintptr_t)handleAddress; + LPCSTR name = (LPCSTR)(uintptr_t)nameAddress; jlong __result; UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)GetProcAddress(handle, name); + __result = (jlong)(uintptr_t)GetProcAddress(handle, name); saveLastError(); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_windows_WinBase_nFreeLibrary(JNIEnv *__env, jclass clazz, jlong handleAddress) { - HMODULE handle = (HMODULE)(intptr_t)handleAddress; + HMODULE handle = (HMODULE)(uintptr_t)handleAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)FreeLibrary(handle); diff --git a/modules/lwjgl/core/src/generated/java/org/lwjgl/system/MemoryAccessJNI.java b/modules/lwjgl/core/src/generated/java/org/lwjgl/system/MemoryAccessJNI.java index 573a116402..f8f79e42f0 100644 --- a/modules/lwjgl/core/src/generated/java/org/lwjgl/system/MemoryAccessJNI.java +++ b/modules/lwjgl/core/src/generated/java/org/lwjgl/system/MemoryAccessJNI.java @@ -186,7 +186,7 @@ static double getDouble(@NativeType("void *") long ptr) { * * @param ptr the memory address to read */ - @NativeType("intptr_t") + @NativeType("uintptr_t") static long getAddress(@NativeType("void *") long ptr) { if (CHECKS) { check(ptr); @@ -313,7 +313,7 @@ static void putDouble(@NativeType("void *") long ptr, double value) { * @param ptr the memory address to write * @param value the value to write */ - static void putAddress(@NativeType("void *") long ptr, @NativeType("intptr_t") long value) { + static void putAddress(@NativeType("void *") long ptr, @NativeType("uintptr_t") long value) { if (CHECKS) { check(ptr); } diff --git a/modules/lwjgl/core/src/main/c/lwjgl_malloc.h b/modules/lwjgl/core/src/main/c/lwjgl_malloc.h index fe37f49d7a..2f35ee8280 100644 --- a/modules/lwjgl/core/src/main/c/lwjgl_malloc.h +++ b/modules/lwjgl/core/src/main/c/lwjgl_malloc.h @@ -41,13 +41,13 @@ JNIEXPORT void JNICALL Java_##classPath##_setupMalloc( \ ) { \ UNUSED_PARAMS(env, clazz) \ \ - org_lwjgl_malloc = (mallocPROC)(intptr_t)malloc; \ - org_lwjgl_calloc = (callocPROC)(intptr_t)calloc; \ - org_lwjgl_realloc = (reallocPROC)(intptr_t)realloc; \ - org_lwjgl_free = (freePROC)(intptr_t)free; \ + org_lwjgl_malloc = (mallocPROC)(uintptr_t)malloc; \ + org_lwjgl_calloc = (callocPROC)(uintptr_t)calloc; \ + org_lwjgl_realloc = (reallocPROC)(uintptr_t)realloc; \ + org_lwjgl_free = (freePROC)(uintptr_t)free; \ \ - org_lwjgl_aligned_alloc = (aligned_allocPROC)(intptr_t)aligned_alloc; \ - org_lwjgl_aligned_free = (aligned_freePROC)(intptr_t)aligned_free; \ + org_lwjgl_aligned_alloc = (aligned_allocPROC)(uintptr_t)aligned_alloc; \ + org_lwjgl_aligned_free = (aligned_freePROC)(uintptr_t)aligned_free; \ } mallocPROC org_lwjgl_malloc; diff --git a/modules/lwjgl/core/src/main/c/org_lwjgl_system_Callback.c b/modules/lwjgl/core/src/main/c/org_lwjgl_system_Callback.c index 977d933934..87c30fab5f 100644 --- a/modules/lwjgl/core/src/main/c/org_lwjgl_system_Callback.c +++ b/modules/lwjgl/core/src/main/c/org_lwjgl_system_Callback.c @@ -39,8 +39,8 @@ static void cbHandler(ffi_cif *cif, void *ret, void **args, void *user_data) { (*env)->CallVoidMethod(env, (jobject)user_data, javaCallback, - (jlong)(intptr_t)ret, - (jlong)(intptr_t)args + (jlong)(uintptr_t)ret, + (jlong)(uintptr_t)args ); // Check for exception diff --git a/modules/lwjgl/core/src/main/c/org_lwjgl_system_MemoryUtil.c b/modules/lwjgl/core/src/main/c/org_lwjgl_system_MemoryUtil.c index 215e17a282..881c6fcc4c 100644 --- a/modules/lwjgl/core/src/main/c/org_lwjgl_system_MemoryUtil.c +++ b/modules/lwjgl/core/src/main/c/org_lwjgl_system_MemoryUtil.c @@ -11,7 +11,7 @@ JNIEXPORT jobject JNICALL Java_org_lwjgl_system_MemoryUtil_memGlobalRefToObject( jlong globalRef ) { UNUSED_PARAMS(env, clazz) - return (jobject)(intptr_t)globalRef; + return (jobject)(uintptr_t)globalRef; } EXTERN_C_EXIT diff --git a/modules/lwjgl/core/src/main/c/org_lwjgl_system_SharedLibraryUtil.c b/modules/lwjgl/core/src/main/c/org_lwjgl_system_SharedLibraryUtil.c index eea0b3dc31..e387b87314 100644 --- a/modules/lwjgl/core/src/main/c/org_lwjgl_system_SharedLibraryUtil.c +++ b/modules/lwjgl/core/src/main/c/org_lwjgl_system_SharedLibraryUtil.c @@ -168,8 +168,8 @@ EXTERN_C_ENTER JNIEXPORT int JNICALL Java_org_lwjgl_system_SharedLibraryUtil_getLibraryPath(JNIEnv *env, jclass clazz, jlong pLibAddress, jlong sOutAddress, int bufSize) { UNUSED_PARAMS(env, clazz) - void *pLib = (void *)(intptr_t)pLibAddress; - char *sOut = (char *)(intptr_t)sOutAddress; + void *pLib = (void *)(uintptr_t)pLibAddress; + char *sOut = (char *)(uintptr_t)sOutAddress; struct link_map* p = NULL; int l = -1; @@ -192,8 +192,8 @@ EXTERN_C_ENTER JNIEXPORT int JNICALL Java_org_lwjgl_system_SharedLibraryUtil_getLibraryPath(JNIEnv *env, jclass clazz, jlong pLibAddress, jlong sOutAddress, jint bufSize) { UNUSED_PARAMS(env, clazz) - void *pLib = (void *)(intptr_t)pLibAddress; - char *sOut = (char *)(intptr_t)sOutAddress; + void *pLib = (void *)(uintptr_t)pLibAddress; + char *sOut = (char *)(uintptr_t)sOutAddress; uint32_t i; int l = -1; @@ -297,8 +297,8 @@ EXTERN_C_ENTER JNIEXPORT int JNICALL Java_org_lwjgl_system_SharedLibraryUtil_getLibraryPath(JNIEnv *env, jclass clazz, jlong pLibAddress, jlong sOutAddress, jint bufSize) { UNUSED_PARAMS(env, clazz) - void *pLib = (void *)(intptr_t)pLibAddress; - char *sOut = (char *)(intptr_t)sOutAddress; + void *pLib = (void *)(uintptr_t)pLibAddress; + char *sOut = (char *)(uintptr_t)sOutAddress; iter_phdr_data d = { pLib, sOut, bufSize }; return dl_iterate_phdr(iter_phdr_cb, &d); @@ -329,8 +329,8 @@ EXTERN_C_ENTER JNIEXPORT int JNICALL Java_org_lwjgl_system_SharedLibraryUtil_getLibraryPath(JNIEnv *env, jclass clazz, jlong pLibAddress, jlong sOutAddress, jint bufSize) { UNUSED_PARAMS(env, clazz) - void *pLib = (void *)(intptr_t)pLibAddress; - char *sOut = (char *)(intptr_t)sOutAddress; + void *pLib = (void *)(uintptr_t)pLibAddress; + char *sOut = (char *)(uintptr_t)sOutAddress; /*@@@ missing handler for pLib == NULL*/ /* cross fingers that shared object is standard ELF and look for _fini */ diff --git a/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c b/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c index 7bed3aa91d..126d459ea0 100644 --- a/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c +++ b/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c @@ -34,7 +34,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_system_ThreadLocalUtil_getThreadJNIEnv(JN // getFunctionMissingAbort()J JNIEXPORT jlong JNICALL Java_org_lwjgl_system_ThreadLocalUtil_getFunctionMissingAbort(JNIEnv *env, jclass clazz) { UNUSED_PARAMS(env, clazz) - return (jlong)(intptr_t)functionMissingAbort; + return (jlong)(uintptr_t)functionMissingAbort; } extern EnvData* tlsCreateEnvDataWithCopy(JNIEnv* env); diff --git a/modules/lwjgl/core/src/templates/kotlin/core/libc/templates/stdlib.kt b/modules/lwjgl/core/src/templates/kotlin/core/libc/templates/stdlib.kt index 14be604b10..2acd0ac44b 100644 --- a/modules/lwjgl/core/src/templates/kotlin/core/libc/templates/stdlib.kt +++ b/modules/lwjgl/core/src/templates/kotlin/core/libc/templates/stdlib.kt @@ -76,7 +76,7 @@ val stdlib = "LibCStdlib".nativeClass(Module.CORE_LIBC) { ) Code( - nativeCall = "${t}return (jlong)(intptr_t)__aligned_alloc((size_t)alignment, (size_t)size);" + nativeCall = "${t}return (jlong)(uintptr_t)__aligned_alloc((size_t)alignment, (size_t)size);" )..void.p( "aligned_alloc", """ diff --git a/modules/lwjgl/core/src/templates/kotlin/core/templates/MemoryAccessJNI.kt b/modules/lwjgl/core/src/templates/kotlin/core/templates/MemoryAccessJNI.kt index d5a0c13c7d..bf106fc836 100644 --- a/modules/lwjgl/core/src/templates/kotlin/core/templates/MemoryAccessJNI.kt +++ b/modules/lwjgl/core/src/templates/kotlin/core/templates/MemoryAccessJNI.kt @@ -32,7 +32,7 @@ val MemoryAccessJNI = "MemoryAccessJNI".nativeClass(Module.CORE) { Triple(float, "Float", "a float value"), Triple(double, "Double", "a double value"), - Triple(intptr_t, "Address", "a pointer address") + Triple(uintptr_t, "Address", "a pointer address") ) nativeDirective( @@ -89,7 +89,7 @@ ${primitives } Code( - nativeCall = "${t}return (jlong)(intptr_t)&__aligned_alloc;" + nativeCall = "${t}return (jlong)(uintptr_t)&__aligned_alloc;" )..macro..Address.."void * (*) (size_t, size_t)".handle( "aligned_alloc", "Returns the address of the stdlib {@code aligned_alloc} function.", @@ -97,7 +97,7 @@ ${primitives ) Code( - nativeCall = "${t}return (jlong)(intptr_t)&__aligned_free;" + nativeCall = "${t}return (jlong)(uintptr_t)&__aligned_free;" )..macro..Address.."void (*) (void *)".handle( "aligned_free", "Returns the address of the stdlib {@code aligned_free} function.", diff --git a/modules/lwjgl/jawt/src/generated/c/org_lwjgl_system_jawt_JAWTFunctions.c b/modules/lwjgl/jawt/src/generated/c/org_lwjgl_system_jawt_JAWTFunctions.c index 5608051595..55df7673e7 100644 --- a/modules/lwjgl/jawt/src/generated/c/org_lwjgl_system_jawt_JAWTFunctions.c +++ b/modules/lwjgl/jawt/src/generated/c/org_lwjgl_system_jawt_JAWTFunctions.c @@ -11,64 +11,64 @@ ENABLE_WARNINGS() #define APIENTRY #endif -typedef jboolean (APIENTRY *JAWT_GetAWTPROC) (JNIEnv *, intptr_t); -typedef intptr_t (APIENTRY *JAWT_GetDrawingSurfacePROC) (JNIEnv *, jobject); +typedef jboolean (APIENTRY *JAWT_GetAWTPROC) (JNIEnv *, uintptr_t); +typedef uintptr_t (APIENTRY *JAWT_GetDrawingSurfacePROC) (JNIEnv *, jobject); typedef void (APIENTRY *JAWT_LockPROC) (JNIEnv *); typedef void (APIENTRY *JAWT_UnlockPROC) (JNIEnv *); -typedef jobject (APIENTRY *JAWT_GetComponentPROC) (JNIEnv *, intptr_t); -typedef jobject (APIENTRY *JAWT_CreateEmbeddedFramePROC) (JNIEnv *, intptr_t); +typedef jobject (APIENTRY *JAWT_GetComponentPROC) (JNIEnv *, uintptr_t); +typedef jobject (APIENTRY *JAWT_CreateEmbeddedFramePROC) (JNIEnv *, uintptr_t); typedef void (APIENTRY *JAWT_SetBoundsPROC) (JNIEnv *, jobject, jint, jint, jint, jint); typedef void (APIENTRY *JAWT_SynthesizeWindowActivationPROC) (JNIEnv *, jobject, jboolean); EXTERN_C_ENTER JNIEXPORT jboolean JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1GetAWT(JNIEnv *__env, jclass clazz, jlong awtAddress, jlong __functionAddress) { - JAWT_GetAWTPROC JAWT_GetAWT = (JAWT_GetAWTPROC)(intptr_t)__functionAddress; - intptr_t awt = (intptr_t)awtAddress; + JAWT_GetAWTPROC JAWT_GetAWT = (JAWT_GetAWTPROC)(uintptr_t)__functionAddress; + uintptr_t awt = (uintptr_t)awtAddress; UNUSED_PARAM(clazz) return JAWT_GetAWT(__env, awt); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1GetDrawingSurface(JNIEnv *__env, jclass clazz, jobject target, jlong __functionAddress) { - JAWT_GetDrawingSurfacePROC JAWT_GetDrawingSurface = (JAWT_GetDrawingSurfacePROC)(intptr_t)__functionAddress; + JAWT_GetDrawingSurfacePROC JAWT_GetDrawingSurface = (JAWT_GetDrawingSurfacePROC)(uintptr_t)__functionAddress; UNUSED_PARAM(clazz) return (jlong)JAWT_GetDrawingSurface(__env, target); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1Lock(JNIEnv *__env, jclass clazz, jlong __functionAddress) { - JAWT_LockPROC JAWT_Lock = (JAWT_LockPROC)(intptr_t)__functionAddress; + JAWT_LockPROC JAWT_Lock = (JAWT_LockPROC)(uintptr_t)__functionAddress; UNUSED_PARAM(clazz) JAWT_Lock(__env); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1Unlock(JNIEnv *__env, jclass clazz, jlong __functionAddress) { - JAWT_UnlockPROC JAWT_Unlock = (JAWT_UnlockPROC)(intptr_t)__functionAddress; + JAWT_UnlockPROC JAWT_Unlock = (JAWT_UnlockPROC)(uintptr_t)__functionAddress; UNUSED_PARAM(clazz) JAWT_Unlock(__env); } JNIEXPORT jobject JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1GetComponent(JNIEnv *__env, jclass clazz, jlong platformInfoAddress, jlong __functionAddress) { - JAWT_GetComponentPROC JAWT_GetComponent = (JAWT_GetComponentPROC)(intptr_t)__functionAddress; - intptr_t platformInfo = (intptr_t)platformInfoAddress; + JAWT_GetComponentPROC JAWT_GetComponent = (JAWT_GetComponentPROC)(uintptr_t)__functionAddress; + uintptr_t platformInfo = (uintptr_t)platformInfoAddress; UNUSED_PARAM(clazz) return JAWT_GetComponent(__env, platformInfo); } JNIEXPORT jobject JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1CreateEmbeddedFrame(JNIEnv *__env, jclass clazz, jlong platformInfoAddress, jlong __functionAddress) { - JAWT_CreateEmbeddedFramePROC JAWT_CreateEmbeddedFrame = (JAWT_CreateEmbeddedFramePROC)(intptr_t)__functionAddress; - intptr_t platformInfo = (intptr_t)platformInfoAddress; + JAWT_CreateEmbeddedFramePROC JAWT_CreateEmbeddedFrame = (JAWT_CreateEmbeddedFramePROC)(uintptr_t)__functionAddress; + uintptr_t platformInfo = (uintptr_t)platformInfoAddress; UNUSED_PARAM(clazz) return JAWT_CreateEmbeddedFrame(__env, platformInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1SetBounds(JNIEnv *__env, jclass clazz, jobject embeddedFrame, jint x, jint y, jint w, jint h, jlong __functionAddress) { - JAWT_SetBoundsPROC JAWT_SetBounds = (JAWT_SetBoundsPROC)(intptr_t)__functionAddress; + JAWT_SetBoundsPROC JAWT_SetBounds = (JAWT_SetBoundsPROC)(uintptr_t)__functionAddress; UNUSED_PARAM(clazz) JAWT_SetBounds(__env, embeddedFrame, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_system_jawt_JAWTFunctions_nJAWT_1SynthesizeWindowActivation(JNIEnv *__env, jclass clazz, jobject embeddedFrame, jboolean doActivate, jlong __functionAddress) { - JAWT_SynthesizeWindowActivationPROC JAWT_SynthesizeWindowActivation = (JAWT_SynthesizeWindowActivationPROC)(intptr_t)__functionAddress; + JAWT_SynthesizeWindowActivationPROC JAWT_SynthesizeWindowActivation = (JAWT_SynthesizeWindowActivationPROC)(uintptr_t)__functionAddress; UNUSED_PARAM(clazz) JAWT_SynthesizeWindowActivation(__env, embeddedFrame, doActivate); } diff --git a/modules/lwjgl/libdivide/src/generated/c/org_lwjgl_util_libdivide_LibDivide.c b/modules/lwjgl/libdivide/src/generated/c/org_lwjgl_util_libdivide_LibDivide.c index 0e4c7bd949..1b7976ee45 100644 --- a/modules/lwjgl/libdivide/src/generated/c/org_lwjgl_util_libdivide_LibDivide.c +++ b/modules/lwjgl/libdivide/src/generated/c/org_lwjgl_util_libdivide_LibDivide.c @@ -10,204 +10,204 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1gen_1ref(JNIEnv *__env, jclass clazz, jshort denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s16_t*)(intptr_t)__result) = libdivide_s16_gen((int16_t)denom); + *((struct libdivide_s16_t*)(uintptr_t)__result) = libdivide_s16_gen((int16_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1gen_1ref(JNIEnv *__env, jclass clazz, jshort denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u16_t*)(intptr_t)__result) = libdivide_u16_gen((uint16_t)denom); + *((struct libdivide_u16_t*)(uintptr_t)__result) = libdivide_u16_gen((uint16_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1gen_1ref(JNIEnv *__env, jclass clazz, jint denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s32_t*)(intptr_t)__result) = libdivide_s32_gen((int32_t)denom); + *((struct libdivide_s32_t*)(uintptr_t)__result) = libdivide_s32_gen((int32_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1gen_1ref(JNIEnv *__env, jclass clazz, jint denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u32_t*)(intptr_t)__result) = libdivide_u32_gen((uint32_t)denom); + *((struct libdivide_u32_t*)(uintptr_t)__result) = libdivide_u32_gen((uint32_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1gen_1ref(JNIEnv *__env, jclass clazz, jlong denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s64_t*)(intptr_t)__result) = libdivide_s64_gen((int64_t)denom); + *((struct libdivide_s64_t*)(uintptr_t)__result) = libdivide_s64_gen((int64_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1gen_1ref(JNIEnv *__env, jclass clazz, jlong denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u64_t*)(intptr_t)__result) = libdivide_u64_gen((uint64_t)denom); + *((struct libdivide_u64_t*)(uintptr_t)__result) = libdivide_u64_gen((uint64_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jshort denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s16_branchfree_t*)(intptr_t)__result) = libdivide_s16_branchfree_gen((int16_t)denom); + *((struct libdivide_s16_branchfree_t*)(uintptr_t)__result) = libdivide_s16_branchfree_gen((int16_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jshort denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u16_branchfree_t*)(intptr_t)__result) = libdivide_u16_branchfree_gen((uint16_t)denom); + *((struct libdivide_u16_branchfree_t*)(uintptr_t)__result) = libdivide_u16_branchfree_gen((uint16_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jint denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s32_branchfree_t*)(intptr_t)__result) = libdivide_s32_branchfree_gen((int32_t)denom); + *((struct libdivide_s32_branchfree_t*)(uintptr_t)__result) = libdivide_s32_branchfree_gen((int32_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jint denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u32_branchfree_t*)(intptr_t)__result) = libdivide_u32_branchfree_gen((uint32_t)denom); + *((struct libdivide_u32_branchfree_t*)(uintptr_t)__result) = libdivide_u32_branchfree_gen((uint32_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jlong denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_s64_branchfree_t*)(intptr_t)__result) = libdivide_s64_branchfree_gen((int64_t)denom); + *((struct libdivide_s64_branchfree_t*)(uintptr_t)__result) = libdivide_s64_branchfree_gen((int64_t)denom); } JNIEXPORT void JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1branchfree_1gen_1ref(JNIEnv *__env, jclass clazz, jlong denom, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct libdivide_u64_branchfree_t*)(intptr_t)__result) = libdivide_u64_branchfree_gen((uint64_t)denom); + *((struct libdivide_u64_branchfree_t*)(uintptr_t)__result) = libdivide_u64_branchfree_gen((uint64_t)denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1do_1ref(JNIEnv *__env, jclass clazz, jshort numer, jlong denomAddress) { - struct libdivide_s16_t const *denom = (struct libdivide_s16_t const *)(intptr_t)denomAddress; + struct libdivide_s16_t const *denom = (struct libdivide_s16_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_s16_do((int16_t)numer, denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1do_1ref(JNIEnv *__env, jclass clazz, jshort numer, jlong denomAddress) { - struct libdivide_u16_t const *denom = (struct libdivide_u16_t const *)(intptr_t)denomAddress; + struct libdivide_u16_t const *denom = (struct libdivide_u16_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_u16_do((uint16_t)numer, denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1do_1ref(JNIEnv *__env, jclass clazz, jint numer, jlong denomAddress) { - struct libdivide_s32_t const *denom = (struct libdivide_s32_t const *)(intptr_t)denomAddress; + struct libdivide_s32_t const *denom = (struct libdivide_s32_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_s32_do((int32_t)numer, denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1do_1ref(JNIEnv *__env, jclass clazz, jint numer, jlong denomAddress) { - struct libdivide_u32_t const *denom = (struct libdivide_u32_t const *)(intptr_t)denomAddress; + struct libdivide_u32_t const *denom = (struct libdivide_u32_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_u32_do((uint32_t)numer, denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1do_1ref(JNIEnv *__env, jclass clazz, jlong numer, jlong denomAddress) { - struct libdivide_s64_t const *denom = (struct libdivide_s64_t const *)(intptr_t)denomAddress; + struct libdivide_s64_t const *denom = (struct libdivide_s64_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_s64_do((int64_t)numer, denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1do_1ref(JNIEnv *__env, jclass clazz, jlong numer, jlong denomAddress) { - struct libdivide_u64_t const *denom = (struct libdivide_u64_t const *)(intptr_t)denomAddress; + struct libdivide_u64_t const *denom = (struct libdivide_u64_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_u64_do((uint64_t)numer, denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jshort numer, jlong denomAddress) { - struct libdivide_s16_branchfree_t const *denom = (struct libdivide_s16_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s16_branchfree_t const *denom = (struct libdivide_s16_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_s16_branchfree_do((int16_t)numer, denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jshort numer, jlong denomAddress) { - struct libdivide_u16_branchfree_t const *denom = (struct libdivide_u16_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u16_branchfree_t const *denom = (struct libdivide_u16_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_u16_branchfree_do((uint16_t)numer, denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jint numer, jlong denomAddress) { - struct libdivide_s32_branchfree_t const *denom = (struct libdivide_s32_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s32_branchfree_t const *denom = (struct libdivide_s32_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_s32_branchfree_do((int32_t)numer, denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jint numer, jlong denomAddress) { - struct libdivide_u32_branchfree_t const *denom = (struct libdivide_u32_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u32_branchfree_t const *denom = (struct libdivide_u32_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_u32_branchfree_do((uint32_t)numer, denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jlong numer, jlong denomAddress) { - struct libdivide_s64_branchfree_t const *denom = (struct libdivide_s64_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s64_branchfree_t const *denom = (struct libdivide_s64_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_s64_branchfree_do((int64_t)numer, denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1branchfree_1do_1ref(JNIEnv *__env, jclass clazz, jlong numer, jlong denomAddress) { - struct libdivide_u64_branchfree_t const *denom = (struct libdivide_u64_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u64_branchfree_t const *denom = (struct libdivide_u64_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_u64_branchfree_do((uint64_t)numer, denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s16_t const *denom = (struct libdivide_s16_t const *)(intptr_t)denomAddress; + struct libdivide_s16_t const *denom = (struct libdivide_s16_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_s16_recover(denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u16_t const *denom = (struct libdivide_u16_t const *)(intptr_t)denomAddress; + struct libdivide_u16_t const *denom = (struct libdivide_u16_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_u16_recover(denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s32_t const *denom = (struct libdivide_s32_t const *)(intptr_t)denomAddress; + struct libdivide_s32_t const *denom = (struct libdivide_s32_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_s32_recover(denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u32_t const *denom = (struct libdivide_u32_t const *)(intptr_t)denomAddress; + struct libdivide_u32_t const *denom = (struct libdivide_u32_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_u32_recover(denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s64_t const *denom = (struct libdivide_s64_t const *)(intptr_t)denomAddress; + struct libdivide_s64_t const *denom = (struct libdivide_s64_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_s64_recover(denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u64_t const *denom = (struct libdivide_u64_t const *)(intptr_t)denomAddress; + struct libdivide_u64_t const *denom = (struct libdivide_u64_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_u64_recover(denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s16_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s16_branchfree_t const *denom = (struct libdivide_s16_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s16_branchfree_t const *denom = (struct libdivide_s16_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_s16_branchfree_recover(denom); } JNIEXPORT jshort JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u16_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u16_branchfree_t const *denom = (struct libdivide_u16_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u16_branchfree_t const *denom = (struct libdivide_u16_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jshort)libdivide_u16_branchfree_recover(denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s32_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s32_branchfree_t const *denom = (struct libdivide_s32_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s32_branchfree_t const *denom = (struct libdivide_s32_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_s32_branchfree_recover(denom); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u32_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u32_branchfree_t const *denom = (struct libdivide_u32_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u32_branchfree_t const *denom = (struct libdivide_u32_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jint)libdivide_u32_branchfree_recover(denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1s64_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_s64_branchfree_t const *denom = (struct libdivide_s64_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_s64_branchfree_t const *denom = (struct libdivide_s64_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_s64_branchfree_recover(denom); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_libdivide_LibDivide_nlibdivide_1u64_1branchfree_1recover(JNIEnv *__env, jclass clazz, jlong denomAddress) { - struct libdivide_u64_branchfree_t const *denom = (struct libdivide_u64_branchfree_t const *)(intptr_t)denomAddress; + struct libdivide_u64_branchfree_t const *denom = (struct libdivide_u64_branchfree_t const *)(uintptr_t)denomAddress; UNUSED_PARAMS(__env, clazz) return (jlong)libdivide_u64_branchfree_recover(denom); } diff --git a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangCompilationDatabase.c b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangCompilationDatabase.c index ea12c04f67..3a79d3b304 100644 --- a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangCompilationDatabase.c +++ b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangCompilationDatabase.c @@ -6,47 +6,47 @@ #include "common_tools.h" #include "clang-c/CXCompilationDatabase.h" -typedef CXString (*clang_CompileCommand_getDirectoryPROC) (intptr_t); -typedef CXString (*clang_CompileCommand_getFilenamePROC) (intptr_t); -typedef CXString (*clang_CompileCommand_getArgPROC) (intptr_t, jint); -typedef CXString (*clang_CompileCommand_getMappedSourcePathPROC) (intptr_t, jint); -typedef CXString (*clang_CompileCommand_getMappedSourceContentPROC) (intptr_t, jint); +typedef CXString (*clang_CompileCommand_getDirectoryPROC) (uintptr_t); +typedef CXString (*clang_CompileCommand_getFilenamePROC) (uintptr_t); +typedef CXString (*clang_CompileCommand_getArgPROC) (uintptr_t, jint); +typedef CXString (*clang_CompileCommand_getMappedSourcePathPROC) (uintptr_t, jint); +typedef CXString (*clang_CompileCommand_getMappedSourceContentPROC) (uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangCompilationDatabase_nclang_1CompileCommand_1getDirectory(JNIEnv *__env, jclass clazz, jlong commandAddress, jlong __functionAddress, jlong __result) { - clang_CompileCommand_getDirectoryPROC clang_CompileCommand_getDirectory = (clang_CompileCommand_getDirectoryPROC)(intptr_t)__functionAddress; - intptr_t command = (intptr_t)commandAddress; + clang_CompileCommand_getDirectoryPROC clang_CompileCommand_getDirectory = (clang_CompileCommand_getDirectoryPROC)(uintptr_t)__functionAddress; + uintptr_t command = (uintptr_t)commandAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_CompileCommand_getDirectory(command); + *((CXString*)(uintptr_t)__result) = clang_CompileCommand_getDirectory(command); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangCompilationDatabase_nclang_1CompileCommand_1getFilename(JNIEnv *__env, jclass clazz, jlong commandAddress, jlong __functionAddress, jlong __result) { - clang_CompileCommand_getFilenamePROC clang_CompileCommand_getFilename = (clang_CompileCommand_getFilenamePROC)(intptr_t)__functionAddress; - intptr_t command = (intptr_t)commandAddress; + clang_CompileCommand_getFilenamePROC clang_CompileCommand_getFilename = (clang_CompileCommand_getFilenamePROC)(uintptr_t)__functionAddress; + uintptr_t command = (uintptr_t)commandAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_CompileCommand_getFilename(command); + *((CXString*)(uintptr_t)__result) = clang_CompileCommand_getFilename(command); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangCompilationDatabase_nclang_1CompileCommand_1getArg(JNIEnv *__env, jclass clazz, jlong commandAddress, jint I, jlong __functionAddress, jlong __result) { - clang_CompileCommand_getArgPROC clang_CompileCommand_getArg = (clang_CompileCommand_getArgPROC)(intptr_t)__functionAddress; - intptr_t command = (intptr_t)commandAddress; + clang_CompileCommand_getArgPROC clang_CompileCommand_getArg = (clang_CompileCommand_getArgPROC)(uintptr_t)__functionAddress; + uintptr_t command = (uintptr_t)commandAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_CompileCommand_getArg(command, I); + *((CXString*)(uintptr_t)__result) = clang_CompileCommand_getArg(command, I); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangCompilationDatabase_nclang_1CompileCommand_1getMappedSourcePath(JNIEnv *__env, jclass clazz, jlong commandAddress, jint I, jlong __functionAddress, jlong __result) { - clang_CompileCommand_getMappedSourcePathPROC clang_CompileCommand_getMappedSourcePath = (clang_CompileCommand_getMappedSourcePathPROC)(intptr_t)__functionAddress; - intptr_t command = (intptr_t)commandAddress; + clang_CompileCommand_getMappedSourcePathPROC clang_CompileCommand_getMappedSourcePath = (clang_CompileCommand_getMappedSourcePathPROC)(uintptr_t)__functionAddress; + uintptr_t command = (uintptr_t)commandAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_CompileCommand_getMappedSourcePath(command, I); + *((CXString*)(uintptr_t)__result) = clang_CompileCommand_getMappedSourcePath(command, I); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangCompilationDatabase_nclang_1CompileCommand_1getMappedSourceContent(JNIEnv *__env, jclass clazz, jlong commandAddress, jint I, jlong __functionAddress, jlong __result) { - clang_CompileCommand_getMappedSourceContentPROC clang_CompileCommand_getMappedSourceContent = (clang_CompileCommand_getMappedSourceContentPROC)(intptr_t)__functionAddress; - intptr_t command = (intptr_t)commandAddress; + clang_CompileCommand_getMappedSourceContentPROC clang_CompileCommand_getMappedSourceContent = (clang_CompileCommand_getMappedSourceContentPROC)(uintptr_t)__functionAddress; + uintptr_t command = (uintptr_t)commandAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_CompileCommand_getMappedSourceContent(command, I); + *((CXString*)(uintptr_t)__result) = clang_CompileCommand_getMappedSourceContent(command, I); } EXTERN_C_EXIT diff --git a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangDocumentation.c b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangDocumentation.c index 6073192b8e..ee39f464e8 100644 --- a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangDocumentation.c +++ b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangDocumentation.c @@ -44,241 +44,241 @@ typedef CXString (*clang_FullComment_getAsXMLPROC) (CXComment); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1Cursor_1getParsedComment(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getParsedCommentPROC clang_Cursor_getParsedComment = (clang_Cursor_getParsedCommentPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getParsedCommentPROC clang_Cursor_getParsedComment = (clang_Cursor_getParsedCommentPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXComment*)(intptr_t)__result) = clang_Cursor_getParsedComment(*C); + *((CXComment*)(uintptr_t)__result) = clang_Cursor_getParsedComment(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1Comment_1getKind(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_Comment_getKindPROC clang_Comment_getKind = (clang_Comment_getKindPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_Comment_getKindPROC clang_Comment_getKind = (clang_Comment_getKindPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Comment_getKind(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1Comment_1getNumChildren(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_Comment_getNumChildrenPROC clang_Comment_getNumChildren = (clang_Comment_getNumChildrenPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_Comment_getNumChildrenPROC clang_Comment_getNumChildren = (clang_Comment_getNumChildrenPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Comment_getNumChildren(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1Comment_1getChild(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint ChildIdx, jlong __functionAddress, jlong __result) { - clang_Comment_getChildPROC clang_Comment_getChild = (clang_Comment_getChildPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_Comment_getChildPROC clang_Comment_getChild = (clang_Comment_getChildPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXComment*)(intptr_t)__result) = clang_Comment_getChild(*Comment, ChildIdx); + *((CXComment*)(uintptr_t)__result) = clang_Comment_getChild(*Comment, ChildIdx); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1Comment_1isWhitespace(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_Comment_isWhitespacePROC clang_Comment_isWhitespace = (clang_Comment_isWhitespacePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_Comment_isWhitespacePROC clang_Comment_isWhitespace = (clang_Comment_isWhitespacePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Comment_isWhitespace(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1InlineContentComment_1hasTrailingNewline(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_InlineContentComment_hasTrailingNewlinePROC clang_InlineContentComment_hasTrailingNewline = (clang_InlineContentComment_hasTrailingNewlinePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_InlineContentComment_hasTrailingNewlinePROC clang_InlineContentComment_hasTrailingNewline = (clang_InlineContentComment_hasTrailingNewlinePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_InlineContentComment_hasTrailingNewline(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1TextComment_1getText(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_TextComment_getTextPROC clang_TextComment_getText = (clang_TextComment_getTextPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_TextComment_getTextPROC clang_TextComment_getText = (clang_TextComment_getTextPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_TextComment_getText(*Comment); + *((CXString*)(uintptr_t)__result) = clang_TextComment_getText(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1InlineCommandComment_1getCommandName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_InlineCommandComment_getCommandNamePROC clang_InlineCommandComment_getCommandName = (clang_InlineCommandComment_getCommandNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_InlineCommandComment_getCommandNamePROC clang_InlineCommandComment_getCommandName = (clang_InlineCommandComment_getCommandNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_InlineCommandComment_getCommandName(*Comment); + *((CXString*)(uintptr_t)__result) = clang_InlineCommandComment_getCommandName(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1InlineCommandComment_1getRenderKind(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_InlineCommandComment_getRenderKindPROC clang_InlineCommandComment_getRenderKind = (clang_InlineCommandComment_getRenderKindPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_InlineCommandComment_getRenderKindPROC clang_InlineCommandComment_getRenderKind = (clang_InlineCommandComment_getRenderKindPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_InlineCommandComment_getRenderKind(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1InlineCommandComment_1getNumArgs(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_InlineCommandComment_getNumArgsPROC clang_InlineCommandComment_getNumArgs = (clang_InlineCommandComment_getNumArgsPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_InlineCommandComment_getNumArgsPROC clang_InlineCommandComment_getNumArgs = (clang_InlineCommandComment_getNumArgsPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_InlineCommandComment_getNumArgs(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1InlineCommandComment_1getArgText(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint ArgIdx, jlong __functionAddress, jlong __result) { - clang_InlineCommandComment_getArgTextPROC clang_InlineCommandComment_getArgText = (clang_InlineCommandComment_getArgTextPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_InlineCommandComment_getArgTextPROC clang_InlineCommandComment_getArgText = (clang_InlineCommandComment_getArgTextPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_InlineCommandComment_getArgText(*Comment, ArgIdx); + *((CXString*)(uintptr_t)__result) = clang_InlineCommandComment_getArgText(*Comment, ArgIdx); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLTagComment_1getTagName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_HTMLTagComment_getTagNamePROC clang_HTMLTagComment_getTagName = (clang_HTMLTagComment_getTagNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLTagComment_getTagNamePROC clang_HTMLTagComment_getTagName = (clang_HTMLTagComment_getTagNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_HTMLTagComment_getTagName(*Comment); + *((CXString*)(uintptr_t)__result) = clang_HTMLTagComment_getTagName(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLStartTagComment_1isSelfClosing(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_HTMLStartTagComment_isSelfClosingPROC clang_HTMLStartTagComment_isSelfClosing = (clang_HTMLStartTagComment_isSelfClosingPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLStartTagComment_isSelfClosingPROC clang_HTMLStartTagComment_isSelfClosing = (clang_HTMLStartTagComment_isSelfClosingPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_HTMLStartTagComment_isSelfClosing(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLStartTag_1getNumAttrs(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_HTMLStartTag_getNumAttrsPROC clang_HTMLStartTag_getNumAttrs = (clang_HTMLStartTag_getNumAttrsPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLStartTag_getNumAttrsPROC clang_HTMLStartTag_getNumAttrs = (clang_HTMLStartTag_getNumAttrsPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_HTMLStartTag_getNumAttrs(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLStartTag_1getAttrName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint AttrIdx, jlong __functionAddress, jlong __result) { - clang_HTMLStartTag_getAttrNamePROC clang_HTMLStartTag_getAttrName = (clang_HTMLStartTag_getAttrNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLStartTag_getAttrNamePROC clang_HTMLStartTag_getAttrName = (clang_HTMLStartTag_getAttrNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_HTMLStartTag_getAttrName(*Comment, AttrIdx); + *((CXString*)(uintptr_t)__result) = clang_HTMLStartTag_getAttrName(*Comment, AttrIdx); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLStartTag_1getAttrValue(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint AttrIdx, jlong __functionAddress, jlong __result) { - clang_HTMLStartTag_getAttrValuePROC clang_HTMLStartTag_getAttrValue = (clang_HTMLStartTag_getAttrValuePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLStartTag_getAttrValuePROC clang_HTMLStartTag_getAttrValue = (clang_HTMLStartTag_getAttrValuePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_HTMLStartTag_getAttrValue(*Comment, AttrIdx); + *((CXString*)(uintptr_t)__result) = clang_HTMLStartTag_getAttrValue(*Comment, AttrIdx); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1BlockCommandComment_1getCommandName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_BlockCommandComment_getCommandNamePROC clang_BlockCommandComment_getCommandName = (clang_BlockCommandComment_getCommandNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_BlockCommandComment_getCommandNamePROC clang_BlockCommandComment_getCommandName = (clang_BlockCommandComment_getCommandNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_BlockCommandComment_getCommandName(*Comment); + *((CXString*)(uintptr_t)__result) = clang_BlockCommandComment_getCommandName(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1BlockCommandComment_1getNumArgs(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_BlockCommandComment_getNumArgsPROC clang_BlockCommandComment_getNumArgs = (clang_BlockCommandComment_getNumArgsPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_BlockCommandComment_getNumArgsPROC clang_BlockCommandComment_getNumArgs = (clang_BlockCommandComment_getNumArgsPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_BlockCommandComment_getNumArgs(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1BlockCommandComment_1getArgText(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint ArgIdx, jlong __functionAddress, jlong __result) { - clang_BlockCommandComment_getArgTextPROC clang_BlockCommandComment_getArgText = (clang_BlockCommandComment_getArgTextPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_BlockCommandComment_getArgTextPROC clang_BlockCommandComment_getArgText = (clang_BlockCommandComment_getArgTextPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_BlockCommandComment_getArgText(*Comment, ArgIdx); + *((CXString*)(uintptr_t)__result) = clang_BlockCommandComment_getArgText(*Comment, ArgIdx); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1BlockCommandComment_1getParagraph(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_BlockCommandComment_getParagraphPROC clang_BlockCommandComment_getParagraph = (clang_BlockCommandComment_getParagraphPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_BlockCommandComment_getParagraphPROC clang_BlockCommandComment_getParagraph = (clang_BlockCommandComment_getParagraphPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXComment*)(intptr_t)__result) = clang_BlockCommandComment_getParagraph(*Comment); + *((CXComment*)(uintptr_t)__result) = clang_BlockCommandComment_getParagraph(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1ParamCommandComment_1getParamName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_ParamCommandComment_getParamNamePROC clang_ParamCommandComment_getParamName = (clang_ParamCommandComment_getParamNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_ParamCommandComment_getParamNamePROC clang_ParamCommandComment_getParamName = (clang_ParamCommandComment_getParamNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_ParamCommandComment_getParamName(*Comment); + *((CXString*)(uintptr_t)__result) = clang_ParamCommandComment_getParamName(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1ParamCommandComment_1isParamIndexValid(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_ParamCommandComment_isParamIndexValidPROC clang_ParamCommandComment_isParamIndexValid = (clang_ParamCommandComment_isParamIndexValidPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_ParamCommandComment_isParamIndexValidPROC clang_ParamCommandComment_isParamIndexValid = (clang_ParamCommandComment_isParamIndexValidPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_ParamCommandComment_isParamIndexValid(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1ParamCommandComment_1getParamIndex(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_ParamCommandComment_getParamIndexPROC clang_ParamCommandComment_getParamIndex = (clang_ParamCommandComment_getParamIndexPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_ParamCommandComment_getParamIndexPROC clang_ParamCommandComment_getParamIndex = (clang_ParamCommandComment_getParamIndexPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_ParamCommandComment_getParamIndex(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1ParamCommandComment_1isDirectionExplicit(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_ParamCommandComment_isDirectionExplicitPROC clang_ParamCommandComment_isDirectionExplicit = (clang_ParamCommandComment_isDirectionExplicitPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_ParamCommandComment_isDirectionExplicitPROC clang_ParamCommandComment_isDirectionExplicit = (clang_ParamCommandComment_isDirectionExplicitPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_ParamCommandComment_isDirectionExplicit(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1ParamCommandComment_1getDirection(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_ParamCommandComment_getDirectionPROC clang_ParamCommandComment_getDirection = (clang_ParamCommandComment_getDirectionPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_ParamCommandComment_getDirectionPROC clang_ParamCommandComment_getDirection = (clang_ParamCommandComment_getDirectionPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_ParamCommandComment_getDirection(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1TParamCommandComment_1getParamName(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_TParamCommandComment_getParamNamePROC clang_TParamCommandComment_getParamName = (clang_TParamCommandComment_getParamNamePROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_TParamCommandComment_getParamNamePROC clang_TParamCommandComment_getParamName = (clang_TParamCommandComment_getParamNamePROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_TParamCommandComment_getParamName(*Comment); + *((CXString*)(uintptr_t)__result) = clang_TParamCommandComment_getParamName(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1TParamCommandComment_1isParamPositionValid(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_TParamCommandComment_isParamPositionValidPROC clang_TParamCommandComment_isParamPositionValid = (clang_TParamCommandComment_isParamPositionValidPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_TParamCommandComment_isParamPositionValidPROC clang_TParamCommandComment_isParamPositionValid = (clang_TParamCommandComment_isParamPositionValidPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_TParamCommandComment_isParamPositionValid(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1TParamCommandComment_1getDepth(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress) { - clang_TParamCommandComment_getDepthPROC clang_TParamCommandComment_getDepth = (clang_TParamCommandComment_getDepthPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_TParamCommandComment_getDepthPROC clang_TParamCommandComment_getDepth = (clang_TParamCommandComment_getDepthPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_TParamCommandComment_getDepth(*Comment); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1TParamCommandComment_1getIndex(JNIEnv *__env, jclass clazz, jlong CommentAddress, jint Depth, jlong __functionAddress) { - clang_TParamCommandComment_getIndexPROC clang_TParamCommandComment_getIndex = (clang_TParamCommandComment_getIndexPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_TParamCommandComment_getIndexPROC clang_TParamCommandComment_getIndex = (clang_TParamCommandComment_getIndexPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_TParamCommandComment_getIndex(*Comment, Depth); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1VerbatimBlockLineComment_1getText(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_VerbatimBlockLineComment_getTextPROC clang_VerbatimBlockLineComment_getText = (clang_VerbatimBlockLineComment_getTextPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_VerbatimBlockLineComment_getTextPROC clang_VerbatimBlockLineComment_getText = (clang_VerbatimBlockLineComment_getTextPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_VerbatimBlockLineComment_getText(*Comment); + *((CXString*)(uintptr_t)__result) = clang_VerbatimBlockLineComment_getText(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1VerbatimLineComment_1getText(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_VerbatimLineComment_getTextPROC clang_VerbatimLineComment_getText = (clang_VerbatimLineComment_getTextPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_VerbatimLineComment_getTextPROC clang_VerbatimLineComment_getText = (clang_VerbatimLineComment_getTextPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_VerbatimLineComment_getText(*Comment); + *((CXString*)(uintptr_t)__result) = clang_VerbatimLineComment_getText(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1HTMLTagComment_1getAsString(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_HTMLTagComment_getAsStringPROC clang_HTMLTagComment_getAsString = (clang_HTMLTagComment_getAsStringPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_HTMLTagComment_getAsStringPROC clang_HTMLTagComment_getAsString = (clang_HTMLTagComment_getAsStringPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_HTMLTagComment_getAsString(*Comment); + *((CXString*)(uintptr_t)__result) = clang_HTMLTagComment_getAsString(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1FullComment_1getAsHTML(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_FullComment_getAsHTMLPROC clang_FullComment_getAsHTML = (clang_FullComment_getAsHTMLPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_FullComment_getAsHTMLPROC clang_FullComment_getAsHTML = (clang_FullComment_getAsHTMLPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_FullComment_getAsHTML(*Comment); + *((CXString*)(uintptr_t)__result) = clang_FullComment_getAsHTML(*Comment); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangDocumentation_nclang_1FullComment_1getAsXML(JNIEnv *__env, jclass clazz, jlong CommentAddress, jlong __functionAddress, jlong __result) { - clang_FullComment_getAsXMLPROC clang_FullComment_getAsXML = (clang_FullComment_getAsXMLPROC)(intptr_t)__functionAddress; - CXComment *Comment = (CXComment *)(intptr_t)CommentAddress; + clang_FullComment_getAsXMLPROC clang_FullComment_getAsXML = (clang_FullComment_getAsXMLPROC)(uintptr_t)__functionAddress; + CXComment *Comment = (CXComment *)(uintptr_t)CommentAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_FullComment_getAsXML(*Comment); + *((CXString*)(uintptr_t)__result) = clang_FullComment_getAsXML(*Comment); } EXTERN_C_EXIT diff --git a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangIndex.c b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangIndex.c index 5f6b280a7e..60c44424f9 100644 --- a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangIndex.c +++ b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangIndex.c @@ -6,39 +6,39 @@ #include "common_tools.h" #include "clang-c/Index.h" -typedef intptr_t (*clang_getCStringPROC) (CXString); +typedef uintptr_t (*clang_getCStringPROC) (CXString); typedef void (*clang_disposeStringPROC) (CXString); -typedef CXString (*clang_getFileNamePROC) (intptr_t); -typedef CXString (*clang_File_tryGetRealPathNamePROC) (intptr_t); +typedef CXString (*clang_getFileNamePROC) (uintptr_t); +typedef CXString (*clang_File_tryGetRealPathNamePROC) (uintptr_t); typedef CXSourceLocation (*clang_getNullLocationPROC) (void); typedef jint (*clang_equalLocationsPROC) (CXSourceLocation, CXSourceLocation); -typedef CXSourceLocation (*clang_getLocationPROC) (intptr_t, intptr_t, jint, jint); -typedef CXSourceLocation (*clang_getLocationForOffsetPROC) (intptr_t, intptr_t, jint); +typedef CXSourceLocation (*clang_getLocationPROC) (uintptr_t, uintptr_t, jint, jint); +typedef CXSourceLocation (*clang_getLocationForOffsetPROC) (uintptr_t, uintptr_t, jint); typedef jint (*clang_Location_isInSystemHeaderPROC) (CXSourceLocation); typedef jint (*clang_Location_isFromMainFilePROC) (CXSourceLocation); typedef CXSourceRange (*clang_getNullRangePROC) (void); typedef CXSourceRange (*clang_getRangePROC) (CXSourceLocation, CXSourceLocation); typedef jint (*clang_equalRangesPROC) (CXSourceRange, CXSourceRange); typedef jint (*clang_Range_isNullPROC) (CXSourceRange); -typedef void (*clang_getExpansionLocationPROC) (CXSourceLocation, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (*clang_getPresumedLocationPROC) (CXSourceLocation, intptr_t, intptr_t, intptr_t); -typedef void (*clang_getSpellingLocationPROC) (CXSourceLocation, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (*clang_getFileLocationPROC) (CXSourceLocation, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (*clang_getExpansionLocationPROC) (CXSourceLocation, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (*clang_getPresumedLocationPROC) (CXSourceLocation, uintptr_t, uintptr_t, uintptr_t); +typedef void (*clang_getSpellingLocationPROC) (CXSourceLocation, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (*clang_getFileLocationPROC) (CXSourceLocation, uintptr_t, uintptr_t, uintptr_t, uintptr_t); typedef CXSourceLocation (*clang_getRangeStartPROC) (CXSourceRange); typedef CXSourceLocation (*clang_getRangeEndPROC) (CXSourceRange); -typedef CXString (*clang_formatDiagnosticPROC) (intptr_t, jint); -typedef CXSourceLocation (*clang_getDiagnosticLocationPROC) (intptr_t); -typedef CXString (*clang_getDiagnosticSpellingPROC) (intptr_t); -typedef CXString (*clang_getDiagnosticOptionPROC) (intptr_t, intptr_t); -typedef CXString (*clang_getDiagnosticCategoryTextPROC) (intptr_t); -typedef CXSourceRange (*clang_getDiagnosticRangePROC) (intptr_t, jint); -typedef CXString (*clang_getDiagnosticFixItPROC) (intptr_t, jint, intptr_t); -typedef CXString (*clang_getTranslationUnitSpellingPROC) (intptr_t); -typedef CXTUResourceUsage (*clang_getCXTUResourceUsagePROC) (intptr_t); +typedef CXString (*clang_formatDiagnosticPROC) (uintptr_t, jint); +typedef CXSourceLocation (*clang_getDiagnosticLocationPROC) (uintptr_t); +typedef CXString (*clang_getDiagnosticSpellingPROC) (uintptr_t); +typedef CXString (*clang_getDiagnosticOptionPROC) (uintptr_t, uintptr_t); +typedef CXString (*clang_getDiagnosticCategoryTextPROC) (uintptr_t); +typedef CXSourceRange (*clang_getDiagnosticRangePROC) (uintptr_t, jint); +typedef CXString (*clang_getDiagnosticFixItPROC) (uintptr_t, jint, uintptr_t); +typedef CXString (*clang_getTranslationUnitSpellingPROC) (uintptr_t); +typedef CXTUResourceUsage (*clang_getCXTUResourceUsagePROC) (uintptr_t); typedef void (*clang_disposeCXTUResourceUsagePROC) (CXTUResourceUsage); -typedef CXString (*clang_TargetInfo_getTriplePROC) (intptr_t); +typedef CXString (*clang_TargetInfo_getTriplePROC) (uintptr_t); typedef CXCursor (*clang_getNullCursorPROC) (void); -typedef CXCursor (*clang_getTranslationUnitCursorPROC) (intptr_t); +typedef CXCursor (*clang_getTranslationUnitCursorPROC) (uintptr_t); typedef jint (*clang_equalCursorsPROC) (CXCursor, CXCursor); typedef jint (*clang_Cursor_isNullPROC) (CXCursor); typedef jint (*clang_hashCursorPROC) (CXCursor); @@ -48,20 +48,20 @@ typedef jint (*clang_Cursor_hasAttrsPROC) (CXCursor); typedef jint (*clang_getCursorLinkagePROC) (CXCursor); typedef jint (*clang_getCursorVisibilityPROC) (CXCursor); typedef jint (*clang_getCursorAvailabilityPROC) (CXCursor); -typedef jint (*clang_getCursorPlatformAvailabilityPROC) (CXCursor, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, jint); +typedef jint (*clang_getCursorPlatformAvailabilityPROC) (CXCursor, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint); typedef CXCursor (*clang_Cursor_getVarDeclInitializerPROC) (CXCursor); typedef jint (*clang_Cursor_hasVarDeclGlobalStoragePROC) (CXCursor); typedef jint (*clang_Cursor_hasVarDeclExternalStoragePROC) (CXCursor); typedef jint (*clang_getCursorLanguagePROC) (CXCursor); typedef jint (*clang_getCursorTLSKindPROC) (CXCursor); -typedef intptr_t (*clang_Cursor_getTranslationUnitPROC) (CXCursor); -typedef jint (*clang_CXCursorSet_containsPROC) (intptr_t, CXCursor); -typedef jint (*clang_CXCursorSet_insertPROC) (intptr_t, CXCursor); +typedef uintptr_t (*clang_Cursor_getTranslationUnitPROC) (CXCursor); +typedef jint (*clang_CXCursorSet_containsPROC) (uintptr_t, CXCursor); +typedef jint (*clang_CXCursorSet_insertPROC) (uintptr_t, CXCursor); typedef CXCursor (*clang_getCursorSemanticParentPROC) (CXCursor); typedef CXCursor (*clang_getCursorLexicalParentPROC) (CXCursor); -typedef void (*clang_getOverriddenCursorsPROC) (CXCursor, intptr_t, intptr_t); -typedef intptr_t (*clang_getIncludedFilePROC) (CXCursor); -typedef CXCursor (*clang_getCursorPROC) (intptr_t, CXSourceLocation); +typedef void (*clang_getOverriddenCursorsPROC) (CXCursor, uintptr_t, uintptr_t); +typedef uintptr_t (*clang_getIncludedFilePROC) (CXCursor); +typedef CXCursor (*clang_getCursorPROC) (uintptr_t, CXSourceLocation); typedef CXSourceLocation (*clang_getCursorLocationPROC) (CXCursor); typedef CXSourceRange (*clang_getCursorExtentPROC) (CXCursor); typedef CXType (*clang_getCursorTypePROC) (CXCursor); @@ -117,7 +117,7 @@ typedef jint (*clang_Type_getNullabilityPROC) (CXType); typedef jlong (*clang_Type_getAlignOfPROC) (CXType); typedef CXType (*clang_Type_getClassTypePROC) (CXType); typedef jlong (*clang_Type_getSizeOfPROC) (CXType); -typedef jlong (*clang_Type_getOffsetOfPROC) (CXType, intptr_t); +typedef jlong (*clang_Type_getOffsetOfPROC) (CXType, uintptr_t); typedef CXType (*clang_Type_getModifiedTypePROC) (CXType); typedef CXType (*clang_Type_getValueTypePROC) (CXType); typedef jlong (*clang_Cursor_getOffsetOfFieldPROC) (CXCursor); @@ -134,18 +134,18 @@ typedef jint (*clang_Cursor_getStorageClassPROC) (CXCursor); typedef jint (*clang_getNumOverloadedDeclsPROC) (CXCursor); typedef CXCursor (*clang_getOverloadedDeclPROC) (CXCursor, jint); typedef CXType (*clang_getIBOutletCollectionTypePROC) (CXCursor); -typedef jint (*clang_visitChildrenPROC) (CXCursor, intptr_t, intptr_t); +typedef jint (*clang_visitChildrenPROC) (CXCursor, uintptr_t, uintptr_t); typedef CXString (*clang_getCursorUSRPROC) (CXCursor); -typedef CXString (*clang_constructUSR_ObjCClassPROC) (intptr_t); -typedef CXString (*clang_constructUSR_ObjCCategoryPROC) (intptr_t, intptr_t); -typedef CXString (*clang_constructUSR_ObjCProtocolPROC) (intptr_t); -typedef CXString (*clang_constructUSR_ObjCIvarPROC) (intptr_t, CXString); -typedef CXString (*clang_constructUSR_ObjCMethodPROC) (intptr_t, jint, CXString); -typedef CXString (*clang_constructUSR_ObjCPropertyPROC) (intptr_t, CXString); +typedef CXString (*clang_constructUSR_ObjCClassPROC) (uintptr_t); +typedef CXString (*clang_constructUSR_ObjCCategoryPROC) (uintptr_t, uintptr_t); +typedef CXString (*clang_constructUSR_ObjCProtocolPROC) (uintptr_t); +typedef CXString (*clang_constructUSR_ObjCIvarPROC) (uintptr_t, CXString); +typedef CXString (*clang_constructUSR_ObjCMethodPROC) (uintptr_t, jint, CXString); +typedef CXString (*clang_constructUSR_ObjCPropertyPROC) (uintptr_t, CXString); typedef CXString (*clang_getCursorSpellingPROC) (CXCursor); typedef CXSourceRange (*clang_Cursor_getSpellingNameRangePROC) (CXCursor, jint, jint); -typedef intptr_t (*clang_getCursorPrintingPolicyPROC) (CXCursor); -typedef CXString (*clang_getCursorPrettyPrintedPROC) (CXCursor, intptr_t); +typedef uintptr_t (*clang_getCursorPrintingPolicyPROC) (CXCursor); +typedef CXString (*clang_getCursorPrettyPrintedPROC) (CXCursor, uintptr_t); typedef CXString (*clang_getCursorDisplayNamePROC) (CXCursor); typedef CXCursor (*clang_getCursorReferencedPROC) (CXCursor); typedef CXCursor (*clang_getCursorDefinitionPROC) (CXCursor); @@ -160,16 +160,16 @@ typedef CXString (*clang_Cursor_getObjCPropertySetterNamePROC) (CXCursor); typedef jint (*clang_Cursor_getObjCDeclQualifiersPROC) (CXCursor); typedef jint (*clang_Cursor_isObjCOptionalPROC) (CXCursor); typedef jint (*clang_Cursor_isVariadicPROC) (CXCursor); -typedef jint (*clang_Cursor_isExternalSymbolPROC) (CXCursor, intptr_t, intptr_t, intptr_t); +typedef jint (*clang_Cursor_isExternalSymbolPROC) (CXCursor, uintptr_t, uintptr_t, uintptr_t); typedef CXSourceRange (*clang_Cursor_getCommentRangePROC) (CXCursor); typedef CXString (*clang_Cursor_getRawCommentTextPROC) (CXCursor); typedef CXString (*clang_Cursor_getBriefCommentTextPROC) (CXCursor); typedef CXString (*clang_Cursor_getManglingPROC) (CXCursor); -typedef intptr_t (*clang_Cursor_getCXXManglingsPROC) (CXCursor); -typedef intptr_t (*clang_Cursor_getObjCManglingsPROC) (CXCursor); -typedef intptr_t (*clang_Cursor_getModulePROC) (CXCursor); -typedef CXString (*clang_Module_getNamePROC) (intptr_t); -typedef CXString (*clang_Module_getFullNamePROC) (intptr_t); +typedef uintptr_t (*clang_Cursor_getCXXManglingsPROC) (CXCursor); +typedef uintptr_t (*clang_Cursor_getObjCManglingsPROC) (CXCursor); +typedef uintptr_t (*clang_Cursor_getModulePROC) (CXCursor); +typedef CXString (*clang_Module_getNamePROC) (uintptr_t); +typedef CXString (*clang_Module_getFullNamePROC) (uintptr_t); typedef jint (*clang_CXXConstructor_isConvertingConstructorPROC) (CXCursor); typedef jint (*clang_CXXConstructor_isCopyConstructorPROC) (CXCursor); typedef jint (*clang_CXXConstructor_isDefaultConstructorPROC) (CXCursor); @@ -185,1507 +185,1507 @@ typedef jint (*clang_CXXMethod_isConstPROC) (CXCursor); typedef jint (*clang_getTemplateCursorKindPROC) (CXCursor); typedef CXCursor (*clang_getSpecializedCursorTemplatePROC) (CXCursor); typedef CXSourceRange (*clang_getCursorReferenceNameRangePROC) (CXCursor, jint, jint); -typedef intptr_t (*clang_getTokenPROC) (intptr_t, CXSourceLocation); +typedef uintptr_t (*clang_getTokenPROC) (uintptr_t, CXSourceLocation); typedef jint (*clang_getTokenKindPROC) (CXToken); -typedef CXString (*clang_getTokenSpellingPROC) (intptr_t, CXToken); -typedef CXSourceLocation (*clang_getTokenLocationPROC) (intptr_t, CXToken); -typedef CXSourceRange (*clang_getTokenExtentPROC) (intptr_t, CXToken); -typedef void (*clang_tokenizePROC) (intptr_t, CXSourceRange, intptr_t, intptr_t); +typedef CXString (*clang_getTokenSpellingPROC) (uintptr_t, CXToken); +typedef CXSourceLocation (*clang_getTokenLocationPROC) (uintptr_t, CXToken); +typedef CXSourceRange (*clang_getTokenExtentPROC) (uintptr_t, CXToken); +typedef void (*clang_tokenizePROC) (uintptr_t, CXSourceRange, uintptr_t, uintptr_t); typedef CXString (*clang_getCursorKindSpellingPROC) (jint); -typedef void (*clang_getDefinitionSpellingAndExtentPROC) (CXCursor, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef CXString (*clang_getCompletionChunkTextPROC) (intptr_t, jint); -typedef CXString (*clang_getCompletionAnnotationPROC) (intptr_t, jint); -typedef CXString (*clang_getCompletionParentPROC) (intptr_t, intptr_t); -typedef CXString (*clang_getCompletionBriefCommentPROC) (intptr_t); -typedef intptr_t (*clang_getCursorCompletionStringPROC) (CXCursor); -typedef CXString (*clang_getCompletionFixItPROC) (intptr_t, jint, jint, intptr_t); -typedef CXString (*clang_codeCompleteGetContainerUSRPROC) (intptr_t); -typedef CXString (*clang_codeCompleteGetObjCSelectorPROC) (intptr_t); +typedef void (*clang_getDefinitionSpellingAndExtentPROC) (CXCursor, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef CXString (*clang_getCompletionChunkTextPROC) (uintptr_t, jint); +typedef CXString (*clang_getCompletionAnnotationPROC) (uintptr_t, jint); +typedef CXString (*clang_getCompletionParentPROC) (uintptr_t, uintptr_t); +typedef CXString (*clang_getCompletionBriefCommentPROC) (uintptr_t); +typedef uintptr_t (*clang_getCursorCompletionStringPROC) (CXCursor); +typedef CXString (*clang_getCompletionFixItPROC) (uintptr_t, jint, jint, uintptr_t); +typedef CXString (*clang_codeCompleteGetContainerUSRPROC) (uintptr_t); +typedef CXString (*clang_codeCompleteGetObjCSelectorPROC) (uintptr_t); typedef CXString (*clang_getClangVersionPROC) (void); -typedef intptr_t (*clang_Cursor_EvaluatePROC) (CXCursor); -typedef jint (*clang_findReferencesInFilePROC) (CXCursor, intptr_t, CXCursorAndRangeVisitor); -typedef jint (*clang_findIncludesInFilePROC) (intptr_t, intptr_t, CXCursorAndRangeVisitor); -typedef void (*clang_indexLoc_getFileLocationPROC) (CXIdxLoc, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); +typedef uintptr_t (*clang_Cursor_EvaluatePROC) (CXCursor); +typedef jint (*clang_findReferencesInFilePROC) (CXCursor, uintptr_t, CXCursorAndRangeVisitor); +typedef jint (*clang_findIncludesInFilePROC) (uintptr_t, uintptr_t, CXCursorAndRangeVisitor); +typedef void (*clang_indexLoc_getFileLocationPROC) (CXIdxLoc, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); typedef CXSourceLocation (*clang_indexLoc_getCXSourceLocationPROC) (CXIdxLoc); -typedef jint (*clang_Type_visitFieldsPROC) (CXType, intptr_t, intptr_t); +typedef jint (*clang_Type_visitFieldsPROC) (CXType, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCString(JNIEnv *__env, jclass clazz, jlong stringAddress, jlong __functionAddress) { - clang_getCStringPROC clang_getCString = (clang_getCStringPROC)(intptr_t)__functionAddress; - CXString *string = (CXString *)(intptr_t)stringAddress; + clang_getCStringPROC clang_getCString = (clang_getCStringPROC)(uintptr_t)__functionAddress; + CXString *string = (CXString *)(uintptr_t)stringAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getCString(*string); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1disposeString(JNIEnv *__env, jclass clazz, jlong stringAddress, jlong __functionAddress) { - clang_disposeStringPROC clang_disposeString = (clang_disposeStringPROC)(intptr_t)__functionAddress; - CXString *string = (CXString *)(intptr_t)stringAddress; + clang_disposeStringPROC clang_disposeString = (clang_disposeStringPROC)(uintptr_t)__functionAddress; + CXString *string = (CXString *)(uintptr_t)stringAddress; UNUSED_PARAMS(__env, clazz) clang_disposeString(*string); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getFileName(JNIEnv *__env, jclass clazz, jlong SFileAddress, jlong __functionAddress, jlong __result) { - clang_getFileNamePROC clang_getFileName = (clang_getFileNamePROC)(intptr_t)__functionAddress; - intptr_t SFile = (intptr_t)SFileAddress; + clang_getFileNamePROC clang_getFileName = (clang_getFileNamePROC)(uintptr_t)__functionAddress; + uintptr_t SFile = (uintptr_t)SFileAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getFileName(SFile); + *((CXString*)(uintptr_t)__result) = clang_getFileName(SFile); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1File_1tryGetRealPathName(JNIEnv *__env, jclass clazz, jlong fileAddress, jlong __functionAddress, jlong __result) { - clang_File_tryGetRealPathNamePROC clang_File_tryGetRealPathName = (clang_File_tryGetRealPathNamePROC)(intptr_t)__functionAddress; - intptr_t file = (intptr_t)fileAddress; + clang_File_tryGetRealPathNamePROC clang_File_tryGetRealPathName = (clang_File_tryGetRealPathNamePROC)(uintptr_t)__functionAddress; + uintptr_t file = (uintptr_t)fileAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_File_tryGetRealPathName(file); + *((CXString*)(uintptr_t)__result) = clang_File_tryGetRealPathName(file); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNullLocation(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - clang_getNullLocationPROC clang_getNullLocation = (clang_getNullLocationPROC)(intptr_t)__functionAddress; + clang_getNullLocationPROC clang_getNullLocation = (clang_getNullLocationPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getNullLocation(); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getNullLocation(); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1equalLocations(JNIEnv *__env, jclass clazz, jlong loc1Address, jlong loc2Address, jlong __functionAddress) { - clang_equalLocationsPROC clang_equalLocations = (clang_equalLocationsPROC)(intptr_t)__functionAddress; - CXSourceLocation *loc1 = (CXSourceLocation *)(intptr_t)loc1Address; - CXSourceLocation *loc2 = (CXSourceLocation *)(intptr_t)loc2Address; + clang_equalLocationsPROC clang_equalLocations = (clang_equalLocationsPROC)(uintptr_t)__functionAddress; + CXSourceLocation *loc1 = (CXSourceLocation *)(uintptr_t)loc1Address; + CXSourceLocation *loc2 = (CXSourceLocation *)(uintptr_t)loc2Address; UNUSED_PARAMS(__env, clazz) return (jint)clang_equalLocations(*loc1, *loc2); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getLocation(JNIEnv *__env, jclass clazz, jlong tuAddress, jlong fileAddress, jint line, jint column, jlong __functionAddress, jlong __result) { - clang_getLocationPROC clang_getLocation = (clang_getLocationPROC)(intptr_t)__functionAddress; - intptr_t tu = (intptr_t)tuAddress; - intptr_t file = (intptr_t)fileAddress; + clang_getLocationPROC clang_getLocation = (clang_getLocationPROC)(uintptr_t)__functionAddress; + uintptr_t tu = (uintptr_t)tuAddress; + uintptr_t file = (uintptr_t)fileAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getLocation(tu, file, line, column); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getLocation(tu, file, line, column); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getLocationForOffset(JNIEnv *__env, jclass clazz, jlong tuAddress, jlong fileAddress, jint offset, jlong __functionAddress, jlong __result) { - clang_getLocationForOffsetPROC clang_getLocationForOffset = (clang_getLocationForOffsetPROC)(intptr_t)__functionAddress; - intptr_t tu = (intptr_t)tuAddress; - intptr_t file = (intptr_t)fileAddress; + clang_getLocationForOffsetPROC clang_getLocationForOffset = (clang_getLocationForOffsetPROC)(uintptr_t)__functionAddress; + uintptr_t tu = (uintptr_t)tuAddress; + uintptr_t file = (uintptr_t)fileAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getLocationForOffset(tu, file, offset); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getLocationForOffset(tu, file, offset); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Location_1isInSystemHeader(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong __functionAddress) { - clang_Location_isInSystemHeaderPROC clang_Location_isInSystemHeader = (clang_Location_isInSystemHeaderPROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; + clang_Location_isInSystemHeaderPROC clang_Location_isInSystemHeader = (clang_Location_isInSystemHeaderPROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Location_isInSystemHeader(*location); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Location_1isFromMainFile(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong __functionAddress) { - clang_Location_isFromMainFilePROC clang_Location_isFromMainFile = (clang_Location_isFromMainFilePROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; + clang_Location_isFromMainFilePROC clang_Location_isFromMainFile = (clang_Location_isFromMainFilePROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Location_isFromMainFile(*location); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNullRange(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - clang_getNullRangePROC clang_getNullRange = (clang_getNullRangePROC)(intptr_t)__functionAddress; + clang_getNullRangePROC clang_getNullRange = (clang_getNullRangePROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getNullRange(); + *((CXSourceRange*)(uintptr_t)__result) = clang_getNullRange(); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getRange(JNIEnv *__env, jclass clazz, jlong beginAddress, jlong endAddress, jlong __functionAddress, jlong __result) { - clang_getRangePROC clang_getRange = (clang_getRangePROC)(intptr_t)__functionAddress; - CXSourceLocation *begin = (CXSourceLocation *)(intptr_t)beginAddress; - CXSourceLocation *end = (CXSourceLocation *)(intptr_t)endAddress; + clang_getRangePROC clang_getRange = (clang_getRangePROC)(uintptr_t)__functionAddress; + CXSourceLocation *begin = (CXSourceLocation *)(uintptr_t)beginAddress; + CXSourceLocation *end = (CXSourceLocation *)(uintptr_t)endAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getRange(*begin, *end); + *((CXSourceRange*)(uintptr_t)__result) = clang_getRange(*begin, *end); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1equalRanges(JNIEnv *__env, jclass clazz, jlong range1Address, jlong range2Address, jlong __functionAddress) { - clang_equalRangesPROC clang_equalRanges = (clang_equalRangesPROC)(intptr_t)__functionAddress; - CXSourceRange *range1 = (CXSourceRange *)(intptr_t)range1Address; - CXSourceRange *range2 = (CXSourceRange *)(intptr_t)range2Address; + clang_equalRangesPROC clang_equalRanges = (clang_equalRangesPROC)(uintptr_t)__functionAddress; + CXSourceRange *range1 = (CXSourceRange *)(uintptr_t)range1Address; + CXSourceRange *range2 = (CXSourceRange *)(uintptr_t)range2Address; UNUSED_PARAMS(__env, clazz) return (jint)clang_equalRanges(*range1, *range2); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Range_1isNull(JNIEnv *__env, jclass clazz, jlong rangeAddress, jlong __functionAddress) { - clang_Range_isNullPROC clang_Range_isNull = (clang_Range_isNullPROC)(intptr_t)__functionAddress; - CXSourceRange *range = (CXSourceRange *)(intptr_t)rangeAddress; + clang_Range_isNullPROC clang_Range_isNull = (clang_Range_isNullPROC)(uintptr_t)__functionAddress; + CXSourceRange *range = (CXSourceRange *)(uintptr_t)rangeAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Range_isNull(*range); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getExpansionLocation(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong fileAddress, jlong lineAddress, jlong columnAddress, jlong offsetAddress, jlong __functionAddress) { - clang_getExpansionLocationPROC clang_getExpansionLocation = (clang_getExpansionLocationPROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; - intptr_t file = (intptr_t)fileAddress; - intptr_t line = (intptr_t)lineAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t offset = (intptr_t)offsetAddress; + clang_getExpansionLocationPROC clang_getExpansionLocation = (clang_getExpansionLocationPROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; + uintptr_t file = (uintptr_t)fileAddress; + uintptr_t line = (uintptr_t)lineAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t offset = (uintptr_t)offsetAddress; UNUSED_PARAMS(__env, clazz) clang_getExpansionLocation(*location, file, line, column, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getPresumedLocation(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong filenameAddress, jlong lineAddress, jlong columnAddress, jlong __functionAddress) { - clang_getPresumedLocationPROC clang_getPresumedLocation = (clang_getPresumedLocationPROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; - intptr_t filename = (intptr_t)filenameAddress; - intptr_t line = (intptr_t)lineAddress; - intptr_t column = (intptr_t)columnAddress; + clang_getPresumedLocationPROC clang_getPresumedLocation = (clang_getPresumedLocationPROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; + uintptr_t filename = (uintptr_t)filenameAddress; + uintptr_t line = (uintptr_t)lineAddress; + uintptr_t column = (uintptr_t)columnAddress; UNUSED_PARAMS(__env, clazz) clang_getPresumedLocation(*location, filename, line, column); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getSpellingLocation(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong fileAddress, jlong lineAddress, jlong columnAddress, jlong offsetAddress, jlong __functionAddress) { - clang_getSpellingLocationPROC clang_getSpellingLocation = (clang_getSpellingLocationPROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; - intptr_t file = (intptr_t)fileAddress; - intptr_t line = (intptr_t)lineAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t offset = (intptr_t)offsetAddress; + clang_getSpellingLocationPROC clang_getSpellingLocation = (clang_getSpellingLocationPROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; + uintptr_t file = (uintptr_t)fileAddress; + uintptr_t line = (uintptr_t)lineAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t offset = (uintptr_t)offsetAddress; UNUSED_PARAMS(__env, clazz) clang_getSpellingLocation(*location, file, line, column, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getFileLocation(JNIEnv *__env, jclass clazz, jlong locationAddress, jlong fileAddress, jlong lineAddress, jlong columnAddress, jlong offsetAddress, jlong __functionAddress) { - clang_getFileLocationPROC clang_getFileLocation = (clang_getFileLocationPROC)(intptr_t)__functionAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; - intptr_t file = (intptr_t)fileAddress; - intptr_t line = (intptr_t)lineAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t offset = (intptr_t)offsetAddress; + clang_getFileLocationPROC clang_getFileLocation = (clang_getFileLocationPROC)(uintptr_t)__functionAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; + uintptr_t file = (uintptr_t)fileAddress; + uintptr_t line = (uintptr_t)lineAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t offset = (uintptr_t)offsetAddress; UNUSED_PARAMS(__env, clazz) clang_getFileLocation(*location, file, line, column, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getRangeStart(JNIEnv *__env, jclass clazz, jlong rangeAddress, jlong __functionAddress, jlong __result) { - clang_getRangeStartPROC clang_getRangeStart = (clang_getRangeStartPROC)(intptr_t)__functionAddress; - CXSourceRange *range = (CXSourceRange *)(intptr_t)rangeAddress; + clang_getRangeStartPROC clang_getRangeStart = (clang_getRangeStartPROC)(uintptr_t)__functionAddress; + CXSourceRange *range = (CXSourceRange *)(uintptr_t)rangeAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getRangeStart(*range); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getRangeStart(*range); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getRangeEnd(JNIEnv *__env, jclass clazz, jlong rangeAddress, jlong __functionAddress, jlong __result) { - clang_getRangeEndPROC clang_getRangeEnd = (clang_getRangeEndPROC)(intptr_t)__functionAddress; - CXSourceRange *range = (CXSourceRange *)(intptr_t)rangeAddress; + clang_getRangeEndPROC clang_getRangeEnd = (clang_getRangeEndPROC)(uintptr_t)__functionAddress; + CXSourceRange *range = (CXSourceRange *)(uintptr_t)rangeAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getRangeEnd(*range); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getRangeEnd(*range); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1formatDiagnostic(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jint Options, jlong __functionAddress, jlong __result) { - clang_formatDiagnosticPROC clang_formatDiagnostic = (clang_formatDiagnosticPROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; + clang_formatDiagnosticPROC clang_formatDiagnostic = (clang_formatDiagnosticPROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_formatDiagnostic(Diagnostic, Options); + *((CXString*)(uintptr_t)__result) = clang_formatDiagnostic(Diagnostic, Options); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticLocation(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jlong __functionAddress, jlong __result) { - clang_getDiagnosticLocationPROC clang_getDiagnosticLocation = (clang_getDiagnosticLocationPROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; + clang_getDiagnosticLocationPROC clang_getDiagnosticLocation = (clang_getDiagnosticLocationPROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getDiagnosticLocation(Diagnostic); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getDiagnosticLocation(Diagnostic); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticSpelling(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jlong __functionAddress, jlong __result) { - clang_getDiagnosticSpellingPROC clang_getDiagnosticSpelling = (clang_getDiagnosticSpellingPROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; + clang_getDiagnosticSpellingPROC clang_getDiagnosticSpelling = (clang_getDiagnosticSpellingPROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getDiagnosticSpelling(Diagnostic); + *((CXString*)(uintptr_t)__result) = clang_getDiagnosticSpelling(Diagnostic); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticOption(JNIEnv *__env, jclass clazz, jlong DiagAddress, jlong DisableAddress, jlong __functionAddress, jlong __result) { - clang_getDiagnosticOptionPROC clang_getDiagnosticOption = (clang_getDiagnosticOptionPROC)(intptr_t)__functionAddress; - intptr_t Diag = (intptr_t)DiagAddress; - intptr_t Disable = (intptr_t)DisableAddress; + clang_getDiagnosticOptionPROC clang_getDiagnosticOption = (clang_getDiagnosticOptionPROC)(uintptr_t)__functionAddress; + uintptr_t Diag = (uintptr_t)DiagAddress; + uintptr_t Disable = (uintptr_t)DisableAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getDiagnosticOption(Diag, Disable); + *((CXString*)(uintptr_t)__result) = clang_getDiagnosticOption(Diag, Disable); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticCategoryText(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jlong __functionAddress, jlong __result) { - clang_getDiagnosticCategoryTextPROC clang_getDiagnosticCategoryText = (clang_getDiagnosticCategoryTextPROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; + clang_getDiagnosticCategoryTextPROC clang_getDiagnosticCategoryText = (clang_getDiagnosticCategoryTextPROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getDiagnosticCategoryText(Diagnostic); + *((CXString*)(uintptr_t)__result) = clang_getDiagnosticCategoryText(Diagnostic); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticRange(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jint Range, jlong __functionAddress, jlong __result) { - clang_getDiagnosticRangePROC clang_getDiagnosticRange = (clang_getDiagnosticRangePROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; + clang_getDiagnosticRangePROC clang_getDiagnosticRange = (clang_getDiagnosticRangePROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getDiagnosticRange(Diagnostic, Range); + *((CXSourceRange*)(uintptr_t)__result) = clang_getDiagnosticRange(Diagnostic, Range); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDiagnosticFixIt(JNIEnv *__env, jclass clazz, jlong DiagnosticAddress, jint FixIt, jlong ReplacementRangeAddress, jlong __functionAddress, jlong __result) { - clang_getDiagnosticFixItPROC clang_getDiagnosticFixIt = (clang_getDiagnosticFixItPROC)(intptr_t)__functionAddress; - intptr_t Diagnostic = (intptr_t)DiagnosticAddress; - intptr_t ReplacementRange = (intptr_t)ReplacementRangeAddress; + clang_getDiagnosticFixItPROC clang_getDiagnosticFixIt = (clang_getDiagnosticFixItPROC)(uintptr_t)__functionAddress; + uintptr_t Diagnostic = (uintptr_t)DiagnosticAddress; + uintptr_t ReplacementRange = (uintptr_t)ReplacementRangeAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getDiagnosticFixIt(Diagnostic, FixIt, ReplacementRange); + *((CXString*)(uintptr_t)__result) = clang_getDiagnosticFixIt(Diagnostic, FixIt, ReplacementRange); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTranslationUnitSpelling(JNIEnv *__env, jclass clazz, jlong CTUnitAddress, jlong __functionAddress, jlong __result) { - clang_getTranslationUnitSpellingPROC clang_getTranslationUnitSpelling = (clang_getTranslationUnitSpellingPROC)(intptr_t)__functionAddress; - intptr_t CTUnit = (intptr_t)CTUnitAddress; + clang_getTranslationUnitSpellingPROC clang_getTranslationUnitSpelling = (clang_getTranslationUnitSpellingPROC)(uintptr_t)__functionAddress; + uintptr_t CTUnit = (uintptr_t)CTUnitAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getTranslationUnitSpelling(CTUnit); + *((CXString*)(uintptr_t)__result) = clang_getTranslationUnitSpelling(CTUnit); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCXTUResourceUsage(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong __functionAddress, jlong __result) { - clang_getCXTUResourceUsagePROC clang_getCXTUResourceUsage = (clang_getCXTUResourceUsagePROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; + clang_getCXTUResourceUsagePROC clang_getCXTUResourceUsage = (clang_getCXTUResourceUsagePROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; UNUSED_PARAMS(__env, clazz) - *((CXTUResourceUsage*)(intptr_t)__result) = clang_getCXTUResourceUsage(TU); + *((CXTUResourceUsage*)(uintptr_t)__result) = clang_getCXTUResourceUsage(TU); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1disposeCXTUResourceUsage(JNIEnv *__env, jclass clazz, jlong usageAddress, jlong __functionAddress) { - clang_disposeCXTUResourceUsagePROC clang_disposeCXTUResourceUsage = (clang_disposeCXTUResourceUsagePROC)(intptr_t)__functionAddress; - CXTUResourceUsage *usage = (CXTUResourceUsage *)(intptr_t)usageAddress; + clang_disposeCXTUResourceUsagePROC clang_disposeCXTUResourceUsage = (clang_disposeCXTUResourceUsagePROC)(uintptr_t)__functionAddress; + CXTUResourceUsage *usage = (CXTUResourceUsage *)(uintptr_t)usageAddress; UNUSED_PARAMS(__env, clazz) clang_disposeCXTUResourceUsage(*usage); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1TargetInfo_1getTriple(JNIEnv *__env, jclass clazz, jlong InfoAddress, jlong __functionAddress, jlong __result) { - clang_TargetInfo_getTriplePROC clang_TargetInfo_getTriple = (clang_TargetInfo_getTriplePROC)(intptr_t)__functionAddress; - intptr_t Info = (intptr_t)InfoAddress; + clang_TargetInfo_getTriplePROC clang_TargetInfo_getTriple = (clang_TargetInfo_getTriplePROC)(uintptr_t)__functionAddress; + uintptr_t Info = (uintptr_t)InfoAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_TargetInfo_getTriple(Info); + *((CXString*)(uintptr_t)__result) = clang_TargetInfo_getTriple(Info); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNullCursor(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - clang_getNullCursorPROC clang_getNullCursor = (clang_getNullCursorPROC)(intptr_t)__functionAddress; + clang_getNullCursorPROC clang_getNullCursor = (clang_getNullCursorPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getNullCursor(); + *((CXCursor*)(uintptr_t)__result) = clang_getNullCursor(); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTranslationUnitCursor(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong __functionAddress, jlong __result) { - clang_getTranslationUnitCursorPROC clang_getTranslationUnitCursor = (clang_getTranslationUnitCursorPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; + clang_getTranslationUnitCursorPROC clang_getTranslationUnitCursor = (clang_getTranslationUnitCursorPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getTranslationUnitCursor(TU); + *((CXCursor*)(uintptr_t)__result) = clang_getTranslationUnitCursor(TU); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1equalCursors(JNIEnv *__env, jclass clazz, jlong AAddress, jlong BAddress, jlong __functionAddress) { - clang_equalCursorsPROC clang_equalCursors = (clang_equalCursorsPROC)(intptr_t)__functionAddress; - CXCursor *A = (CXCursor *)(intptr_t)AAddress; - CXCursor *B = (CXCursor *)(intptr_t)BAddress; + clang_equalCursorsPROC clang_equalCursors = (clang_equalCursorsPROC)(uintptr_t)__functionAddress; + CXCursor *A = (CXCursor *)(uintptr_t)AAddress; + CXCursor *B = (CXCursor *)(uintptr_t)BAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_equalCursors(*A, *B); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isNull(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_isNullPROC clang_Cursor_isNull = (clang_Cursor_isNullPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_isNullPROC clang_Cursor_isNull = (clang_Cursor_isNullPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isNull(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1hashCursor(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_hashCursorPROC clang_hashCursor = (clang_hashCursorPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_hashCursorPROC clang_hashCursor = (clang_hashCursorPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_hashCursor(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorKind(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorKindPROC clang_getCursorKind = (clang_getCursorKindPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorKindPROC clang_getCursorKind = (clang_getCursorKindPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorKind(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isInvalidDeclaration(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_isInvalidDeclarationPROC clang_isInvalidDeclaration = (clang_isInvalidDeclarationPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_isInvalidDeclarationPROC clang_isInvalidDeclaration = (clang_isInvalidDeclarationPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isInvalidDeclaration(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1hasAttrs(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_hasAttrsPROC clang_Cursor_hasAttrs = (clang_Cursor_hasAttrsPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_hasAttrsPROC clang_Cursor_hasAttrs = (clang_Cursor_hasAttrsPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_hasAttrs(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorLinkage(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorLinkagePROC clang_getCursorLinkage = (clang_getCursorLinkagePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorLinkagePROC clang_getCursorLinkage = (clang_getCursorLinkagePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorLinkage(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorVisibility(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorVisibilityPROC clang_getCursorVisibility = (clang_getCursorVisibilityPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorVisibilityPROC clang_getCursorVisibility = (clang_getCursorVisibilityPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorVisibility(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorAvailability(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorAvailabilityPROC clang_getCursorAvailability = (clang_getCursorAvailabilityPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorAvailabilityPROC clang_getCursorAvailability = (clang_getCursorAvailabilityPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorAvailability(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorPlatformAvailability(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong always_deprecatedAddress, jlong deprecated_messageAddress, jlong always_unavailableAddress, jlong unavailable_messageAddress, jlong availabilityAddress, jint availability_size, jlong __functionAddress) { - clang_getCursorPlatformAvailabilityPROC clang_getCursorPlatformAvailability = (clang_getCursorPlatformAvailabilityPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; - intptr_t always_deprecated = (intptr_t)always_deprecatedAddress; - intptr_t deprecated_message = (intptr_t)deprecated_messageAddress; - intptr_t always_unavailable = (intptr_t)always_unavailableAddress; - intptr_t unavailable_message = (intptr_t)unavailable_messageAddress; - intptr_t availability = (intptr_t)availabilityAddress; + clang_getCursorPlatformAvailabilityPROC clang_getCursorPlatformAvailability = (clang_getCursorPlatformAvailabilityPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; + uintptr_t always_deprecated = (uintptr_t)always_deprecatedAddress; + uintptr_t deprecated_message = (uintptr_t)deprecated_messageAddress; + uintptr_t always_unavailable = (uintptr_t)always_unavailableAddress; + uintptr_t unavailable_message = (uintptr_t)unavailable_messageAddress; + uintptr_t availability = (uintptr_t)availabilityAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorPlatformAvailability(*cursor, always_deprecated, deprecated_message, always_unavailable, unavailable_message, availability, availability_size); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getVarDeclInitializer(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getVarDeclInitializerPROC clang_Cursor_getVarDeclInitializer = (clang_Cursor_getVarDeclInitializerPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getVarDeclInitializerPROC clang_Cursor_getVarDeclInitializer = (clang_Cursor_getVarDeclInitializerPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_Cursor_getVarDeclInitializer(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_Cursor_getVarDeclInitializer(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1hasVarDeclGlobalStorage(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_hasVarDeclGlobalStoragePROC clang_Cursor_hasVarDeclGlobalStorage = (clang_Cursor_hasVarDeclGlobalStoragePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_hasVarDeclGlobalStoragePROC clang_Cursor_hasVarDeclGlobalStorage = (clang_Cursor_hasVarDeclGlobalStoragePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_hasVarDeclGlobalStorage(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1hasVarDeclExternalStorage(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_hasVarDeclExternalStoragePROC clang_Cursor_hasVarDeclExternalStorage = (clang_Cursor_hasVarDeclExternalStoragePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_hasVarDeclExternalStoragePROC clang_Cursor_hasVarDeclExternalStorage = (clang_Cursor_hasVarDeclExternalStoragePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_hasVarDeclExternalStorage(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorLanguage(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorLanguagePROC clang_getCursorLanguage = (clang_getCursorLanguagePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorLanguagePROC clang_getCursorLanguage = (clang_getCursorLanguagePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorLanguage(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorTLSKind(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorTLSKindPROC clang_getCursorTLSKind = (clang_getCursorTLSKindPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorTLSKindPROC clang_getCursorTLSKind = (clang_getCursorTLSKindPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorTLSKind(*cursor); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getTranslationUnit(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_getTranslationUnitPROC clang_Cursor_getTranslationUnit = (clang_Cursor_getTranslationUnitPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getTranslationUnitPROC clang_Cursor_getTranslationUnit = (clang_Cursor_getTranslationUnitPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getTranslationUnit(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXCursorSet_1contains(JNIEnv *__env, jclass clazz, jlong csetAddress, jlong cursorAddress, jlong __functionAddress) { - clang_CXCursorSet_containsPROC clang_CXCursorSet_contains = (clang_CXCursorSet_containsPROC)(intptr_t)__functionAddress; - intptr_t cset = (intptr_t)csetAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_CXCursorSet_containsPROC clang_CXCursorSet_contains = (clang_CXCursorSet_containsPROC)(uintptr_t)__functionAddress; + uintptr_t cset = (uintptr_t)csetAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXCursorSet_contains(cset, *cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXCursorSet_1insert(JNIEnv *__env, jclass clazz, jlong csetAddress, jlong cursorAddress, jlong __functionAddress) { - clang_CXCursorSet_insertPROC clang_CXCursorSet_insert = (clang_CXCursorSet_insertPROC)(intptr_t)__functionAddress; - intptr_t cset = (intptr_t)csetAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_CXCursorSet_insertPROC clang_CXCursorSet_insert = (clang_CXCursorSet_insertPROC)(uintptr_t)__functionAddress; + uintptr_t cset = (uintptr_t)csetAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXCursorSet_insert(cset, *cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorSemanticParent(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorSemanticParentPROC clang_getCursorSemanticParent = (clang_getCursorSemanticParentPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorSemanticParentPROC clang_getCursorSemanticParent = (clang_getCursorSemanticParentPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCursorSemanticParent(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_getCursorSemanticParent(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorLexicalParent(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorLexicalParentPROC clang_getCursorLexicalParent = (clang_getCursorLexicalParentPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorLexicalParentPROC clang_getCursorLexicalParent = (clang_getCursorLexicalParentPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCursorLexicalParent(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_getCursorLexicalParent(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getOverriddenCursors(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong overriddenAddress, jlong num_overriddenAddress, jlong __functionAddress) { - clang_getOverriddenCursorsPROC clang_getOverriddenCursors = (clang_getOverriddenCursorsPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; - intptr_t overridden = (intptr_t)overriddenAddress; - intptr_t num_overridden = (intptr_t)num_overriddenAddress; + clang_getOverriddenCursorsPROC clang_getOverriddenCursors = (clang_getOverriddenCursorsPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; + uintptr_t overridden = (uintptr_t)overriddenAddress; + uintptr_t num_overridden = (uintptr_t)num_overriddenAddress; UNUSED_PARAMS(__env, clazz) clang_getOverriddenCursors(*cursor, overridden, num_overridden); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getIncludedFile(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getIncludedFilePROC clang_getIncludedFile = (clang_getIncludedFilePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getIncludedFilePROC clang_getIncludedFile = (clang_getIncludedFilePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getIncludedFile(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursor(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong locationAddress, jlong __functionAddress, jlong __result) { - clang_getCursorPROC clang_getCursor = (clang_getCursorPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXSourceLocation *location = (CXSourceLocation *)(intptr_t)locationAddress; + clang_getCursorPROC clang_getCursor = (clang_getCursorPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXSourceLocation *location = (CXSourceLocation *)(uintptr_t)locationAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCursor(TU, *location); + *((CXCursor*)(uintptr_t)__result) = clang_getCursor(TU, *location); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorLocation(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorLocationPROC clang_getCursorLocation = (clang_getCursorLocationPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorLocationPROC clang_getCursorLocation = (clang_getCursorLocationPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getCursorLocation(*cursor); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getCursorLocation(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorExtent(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorExtentPROC clang_getCursorExtent = (clang_getCursorExtentPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorExtentPROC clang_getCursorExtent = (clang_getCursorExtentPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getCursorExtent(*cursor); + *((CXSourceRange*)(uintptr_t)__result) = clang_getCursorExtent(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getCursorTypePROC clang_getCursorType = (clang_getCursorTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getCursorTypePROC clang_getCursorType = (clang_getCursorTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getCursorType(*C); + *((CXType*)(uintptr_t)__result) = clang_getCursorType(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTypeSpelling(JNIEnv *__env, jclass clazz, jlong CTAddress, jlong __functionAddress, jlong __result) { - clang_getTypeSpellingPROC clang_getTypeSpelling = (clang_getTypeSpellingPROC)(intptr_t)__functionAddress; - CXType *CT = (CXType *)(intptr_t)CTAddress; + clang_getTypeSpellingPROC clang_getTypeSpelling = (clang_getTypeSpellingPROC)(uintptr_t)__functionAddress; + CXType *CT = (CXType *)(uintptr_t)CTAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getTypeSpelling(*CT); + *((CXString*)(uintptr_t)__result) = clang_getTypeSpelling(*CT); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTypedefDeclUnderlyingType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getTypedefDeclUnderlyingTypePROC clang_getTypedefDeclUnderlyingType = (clang_getTypedefDeclUnderlyingTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getTypedefDeclUnderlyingTypePROC clang_getTypedefDeclUnderlyingType = (clang_getTypedefDeclUnderlyingTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getTypedefDeclUnderlyingType(*C); + *((CXType*)(uintptr_t)__result) = clang_getTypedefDeclUnderlyingType(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getEnumDeclIntegerType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getEnumDeclIntegerTypePROC clang_getEnumDeclIntegerType = (clang_getEnumDeclIntegerTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getEnumDeclIntegerTypePROC clang_getEnumDeclIntegerType = (clang_getEnumDeclIntegerTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getEnumDeclIntegerType(*C); + *((CXType*)(uintptr_t)__result) = clang_getEnumDeclIntegerType(*C); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getEnumConstantDeclValue(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_getEnumConstantDeclValuePROC clang_getEnumConstantDeclValue = (clang_getEnumConstantDeclValuePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getEnumConstantDeclValuePROC clang_getEnumConstantDeclValue = (clang_getEnumConstantDeclValuePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getEnumConstantDeclValue(*C); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getEnumConstantDeclUnsignedValue(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_getEnumConstantDeclUnsignedValuePROC clang_getEnumConstantDeclUnsignedValue = (clang_getEnumConstantDeclUnsignedValuePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getEnumConstantDeclUnsignedValuePROC clang_getEnumConstantDeclUnsignedValue = (clang_getEnumConstantDeclUnsignedValuePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getEnumConstantDeclUnsignedValue(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getFieldDeclBitWidth(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_getFieldDeclBitWidthPROC clang_getFieldDeclBitWidth = (clang_getFieldDeclBitWidthPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getFieldDeclBitWidthPROC clang_getFieldDeclBitWidth = (clang_getFieldDeclBitWidthPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getFieldDeclBitWidth(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getNumArguments(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_getNumArgumentsPROC clang_Cursor_getNumArguments = (clang_Cursor_getNumArgumentsPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getNumArgumentsPROC clang_Cursor_getNumArguments = (clang_Cursor_getNumArgumentsPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getNumArguments(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getArgument(JNIEnv *__env, jclass clazz, jlong CAddress, jint i, jlong __functionAddress, jlong __result) { - clang_Cursor_getArgumentPROC clang_Cursor_getArgument = (clang_Cursor_getArgumentPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getArgumentPROC clang_Cursor_getArgument = (clang_Cursor_getArgumentPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_Cursor_getArgument(*C, i); + *((CXCursor*)(uintptr_t)__result) = clang_Cursor_getArgument(*C, i); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getNumTemplateArguments(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_getNumTemplateArgumentsPROC clang_Cursor_getNumTemplateArguments = (clang_Cursor_getNumTemplateArgumentsPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getNumTemplateArgumentsPROC clang_Cursor_getNumTemplateArguments = (clang_Cursor_getNumTemplateArgumentsPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getNumTemplateArguments(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getTemplateArgumentKind(JNIEnv *__env, jclass clazz, jlong CAddress, jint I, jlong __functionAddress) { - clang_Cursor_getTemplateArgumentKindPROC clang_Cursor_getTemplateArgumentKind = (clang_Cursor_getTemplateArgumentKindPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getTemplateArgumentKindPROC clang_Cursor_getTemplateArgumentKind = (clang_Cursor_getTemplateArgumentKindPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getTemplateArgumentKind(*C, I); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getTemplateArgumentType(JNIEnv *__env, jclass clazz, jlong CAddress, jint I, jlong __functionAddress, jlong __result) { - clang_Cursor_getTemplateArgumentTypePROC clang_Cursor_getTemplateArgumentType = (clang_Cursor_getTemplateArgumentTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getTemplateArgumentTypePROC clang_Cursor_getTemplateArgumentType = (clang_Cursor_getTemplateArgumentTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Cursor_getTemplateArgumentType(*C, I); + *((CXType*)(uintptr_t)__result) = clang_Cursor_getTemplateArgumentType(*C, I); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getTemplateArgumentValue(JNIEnv *__env, jclass clazz, jlong CAddress, jint I, jlong __functionAddress) { - clang_Cursor_getTemplateArgumentValuePROC clang_Cursor_getTemplateArgumentValue = (clang_Cursor_getTemplateArgumentValuePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getTemplateArgumentValuePROC clang_Cursor_getTemplateArgumentValue = (clang_Cursor_getTemplateArgumentValuePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getTemplateArgumentValue(*C, I); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getTemplateArgumentUnsignedValue(JNIEnv *__env, jclass clazz, jlong CAddress, jint I, jlong __functionAddress) { - clang_Cursor_getTemplateArgumentUnsignedValuePROC clang_Cursor_getTemplateArgumentUnsignedValue = (clang_Cursor_getTemplateArgumentUnsignedValuePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getTemplateArgumentUnsignedValuePROC clang_Cursor_getTemplateArgumentUnsignedValue = (clang_Cursor_getTemplateArgumentUnsignedValuePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getTemplateArgumentUnsignedValue(*C, I); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1equalTypes(JNIEnv *__env, jclass clazz, jlong AAddress, jlong BAddress, jlong __functionAddress) { - clang_equalTypesPROC clang_equalTypes = (clang_equalTypesPROC)(intptr_t)__functionAddress; - CXType *A = (CXType *)(intptr_t)AAddress; - CXType *B = (CXType *)(intptr_t)BAddress; + clang_equalTypesPROC clang_equalTypes = (clang_equalTypesPROC)(uintptr_t)__functionAddress; + CXType *A = (CXType *)(uintptr_t)AAddress; + CXType *B = (CXType *)(uintptr_t)BAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_equalTypes(*A, *B); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCanonicalType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getCanonicalTypePROC clang_getCanonicalType = (clang_getCanonicalTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getCanonicalTypePROC clang_getCanonicalType = (clang_getCanonicalTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getCanonicalType(*T); + *((CXType*)(uintptr_t)__result) = clang_getCanonicalType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isConstQualifiedType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_isConstQualifiedTypePROC clang_isConstQualifiedType = (clang_isConstQualifiedTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_isConstQualifiedTypePROC clang_isConstQualifiedType = (clang_isConstQualifiedTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isConstQualifiedType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isMacroFunctionLike(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isMacroFunctionLikePROC clang_Cursor_isMacroFunctionLike = (clang_Cursor_isMacroFunctionLikePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isMacroFunctionLikePROC clang_Cursor_isMacroFunctionLike = (clang_Cursor_isMacroFunctionLikePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isMacroFunctionLike(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isMacroBuiltin(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isMacroBuiltinPROC clang_Cursor_isMacroBuiltin = (clang_Cursor_isMacroBuiltinPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isMacroBuiltinPROC clang_Cursor_isMacroBuiltin = (clang_Cursor_isMacroBuiltinPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isMacroBuiltin(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isFunctionInlined(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isFunctionInlinedPROC clang_Cursor_isFunctionInlined = (clang_Cursor_isFunctionInlinedPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isFunctionInlinedPROC clang_Cursor_isFunctionInlined = (clang_Cursor_isFunctionInlinedPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isFunctionInlined(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isVolatileQualifiedType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_isVolatileQualifiedTypePROC clang_isVolatileQualifiedType = (clang_isVolatileQualifiedTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_isVolatileQualifiedTypePROC clang_isVolatileQualifiedType = (clang_isVolatileQualifiedTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isVolatileQualifiedType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isRestrictQualifiedType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_isRestrictQualifiedTypePROC clang_isRestrictQualifiedType = (clang_isRestrictQualifiedTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_isRestrictQualifiedTypePROC clang_isRestrictQualifiedType = (clang_isRestrictQualifiedTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isRestrictQualifiedType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getAddressSpace(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getAddressSpacePROC clang_getAddressSpace = (clang_getAddressSpacePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getAddressSpacePROC clang_getAddressSpace = (clang_getAddressSpacePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getAddressSpace(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTypedefName(JNIEnv *__env, jclass clazz, jlong CTAddress, jlong __functionAddress, jlong __result) { - clang_getTypedefNamePROC clang_getTypedefName = (clang_getTypedefNamePROC)(intptr_t)__functionAddress; - CXType *CT = (CXType *)(intptr_t)CTAddress; + clang_getTypedefNamePROC clang_getTypedefName = (clang_getTypedefNamePROC)(uintptr_t)__functionAddress; + CXType *CT = (CXType *)(uintptr_t)CTAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getTypedefName(*CT); + *((CXString*)(uintptr_t)__result) = clang_getTypedefName(*CT); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getPointeeType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getPointeeTypePROC clang_getPointeeType = (clang_getPointeeTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getPointeeTypePROC clang_getPointeeType = (clang_getPointeeTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getPointeeType(*T); + *((CXType*)(uintptr_t)__result) = clang_getPointeeType(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTypeDeclaration(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getTypeDeclarationPROC clang_getTypeDeclaration = (clang_getTypeDeclarationPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getTypeDeclarationPROC clang_getTypeDeclaration = (clang_getTypeDeclarationPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getTypeDeclaration(*T); + *((CXCursor*)(uintptr_t)__result) = clang_getTypeDeclaration(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDeclObjCTypeEncoding(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getDeclObjCTypeEncodingPROC clang_getDeclObjCTypeEncoding = (clang_getDeclObjCTypeEncodingPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getDeclObjCTypeEncodingPROC clang_getDeclObjCTypeEncoding = (clang_getDeclObjCTypeEncodingPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getDeclObjCTypeEncoding(*C); + *((CXString*)(uintptr_t)__result) = clang_getDeclObjCTypeEncoding(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getObjCEncoding(JNIEnv *__env, jclass clazz, jlong typeAddress, jlong __functionAddress, jlong __result) { - clang_Type_getObjCEncodingPROC clang_Type_getObjCEncoding = (clang_Type_getObjCEncodingPROC)(intptr_t)__functionAddress; - CXType *type = (CXType *)(intptr_t)typeAddress; + clang_Type_getObjCEncodingPROC clang_Type_getObjCEncoding = (clang_Type_getObjCEncodingPROC)(uintptr_t)__functionAddress; + CXType *type = (CXType *)(uintptr_t)typeAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Type_getObjCEncoding(*type); + *((CXString*)(uintptr_t)__result) = clang_Type_getObjCEncoding(*type); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTypeKindSpelling(JNIEnv *__env, jclass clazz, jint K, jlong __functionAddress, jlong __result) { - clang_getTypeKindSpellingPROC clang_getTypeKindSpelling = (clang_getTypeKindSpellingPROC)(intptr_t)__functionAddress; + clang_getTypeKindSpellingPROC clang_getTypeKindSpelling = (clang_getTypeKindSpellingPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getTypeKindSpelling(K); + *((CXString*)(uintptr_t)__result) = clang_getTypeKindSpelling(K); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getFunctionTypeCallingConv(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getFunctionTypeCallingConvPROC clang_getFunctionTypeCallingConv = (clang_getFunctionTypeCallingConvPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getFunctionTypeCallingConvPROC clang_getFunctionTypeCallingConv = (clang_getFunctionTypeCallingConvPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getFunctionTypeCallingConv(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getResultType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getResultTypePROC clang_getResultType = (clang_getResultTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getResultTypePROC clang_getResultType = (clang_getResultTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getResultType(*T); + *((CXType*)(uintptr_t)__result) = clang_getResultType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getExceptionSpecificationType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getExceptionSpecificationTypePROC clang_getExceptionSpecificationType = (clang_getExceptionSpecificationTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getExceptionSpecificationTypePROC clang_getExceptionSpecificationType = (clang_getExceptionSpecificationTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getExceptionSpecificationType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNumArgTypes(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getNumArgTypesPROC clang_getNumArgTypes = (clang_getNumArgTypesPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getNumArgTypesPROC clang_getNumArgTypes = (clang_getNumArgTypesPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getNumArgTypes(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getArgType(JNIEnv *__env, jclass clazz, jlong TAddress, jint i, jlong __functionAddress, jlong __result) { - clang_getArgTypePROC clang_getArgType = (clang_getArgTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getArgTypePROC clang_getArgType = (clang_getArgTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getArgType(*T, i); + *((CXType*)(uintptr_t)__result) = clang_getArgType(*T, i); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getObjCObjectBaseType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_Type_getObjCObjectBaseTypePROC clang_Type_getObjCObjectBaseType = (clang_Type_getObjCObjectBaseTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getObjCObjectBaseTypePROC clang_Type_getObjCObjectBaseType = (clang_Type_getObjCObjectBaseTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getObjCObjectBaseType(*T); + *((CXType*)(uintptr_t)__result) = clang_Type_getObjCObjectBaseType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getNumObjCProtocolRefs(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getNumObjCProtocolRefsPROC clang_Type_getNumObjCProtocolRefs = (clang_Type_getNumObjCProtocolRefsPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getNumObjCProtocolRefsPROC clang_Type_getNumObjCProtocolRefs = (clang_Type_getNumObjCProtocolRefsPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_getNumObjCProtocolRefs(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getObjCProtocolDecl(JNIEnv *__env, jclass clazz, jlong TAddress, jint i, jlong __functionAddress, jlong __result) { - clang_Type_getObjCProtocolDeclPROC clang_Type_getObjCProtocolDecl = (clang_Type_getObjCProtocolDeclPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getObjCProtocolDeclPROC clang_Type_getObjCProtocolDecl = (clang_Type_getObjCProtocolDeclPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_Type_getObjCProtocolDecl(*T, i); + *((CXCursor*)(uintptr_t)__result) = clang_Type_getObjCProtocolDecl(*T, i); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getNumObjCTypeArgs(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getNumObjCTypeArgsPROC clang_Type_getNumObjCTypeArgs = (clang_Type_getNumObjCTypeArgsPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getNumObjCTypeArgsPROC clang_Type_getNumObjCTypeArgs = (clang_Type_getNumObjCTypeArgsPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_getNumObjCTypeArgs(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getObjCTypeArg(JNIEnv *__env, jclass clazz, jlong TAddress, jint i, jlong __functionAddress, jlong __result) { - clang_Type_getObjCTypeArgPROC clang_Type_getObjCTypeArg = (clang_Type_getObjCTypeArgPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getObjCTypeArgPROC clang_Type_getObjCTypeArg = (clang_Type_getObjCTypeArgPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getObjCTypeArg(*T, i); + *((CXType*)(uintptr_t)__result) = clang_Type_getObjCTypeArg(*T, i); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isFunctionTypeVariadic(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_isFunctionTypeVariadicPROC clang_isFunctionTypeVariadic = (clang_isFunctionTypeVariadicPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_isFunctionTypeVariadicPROC clang_isFunctionTypeVariadic = (clang_isFunctionTypeVariadicPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isFunctionTypeVariadic(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorResultType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getCursorResultTypePROC clang_getCursorResultType = (clang_getCursorResultTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getCursorResultTypePROC clang_getCursorResultType = (clang_getCursorResultTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getCursorResultType(*C); + *((CXType*)(uintptr_t)__result) = clang_getCursorResultType(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorExceptionSpecificationType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_getCursorExceptionSpecificationTypePROC clang_getCursorExceptionSpecificationType = (clang_getCursorExceptionSpecificationTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getCursorExceptionSpecificationTypePROC clang_getCursorExceptionSpecificationType = (clang_getCursorExceptionSpecificationTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCursorExceptionSpecificationType(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isPODType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_isPODTypePROC clang_isPODType = (clang_isPODTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_isPODTypePROC clang_isPODType = (clang_isPODTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isPODType(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getElementType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getElementTypePROC clang_getElementType = (clang_getElementTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getElementTypePROC clang_getElementType = (clang_getElementTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getElementType(*T); + *((CXType*)(uintptr_t)__result) = clang_getElementType(*T); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNumElements(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getNumElementsPROC clang_getNumElements = (clang_getNumElementsPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getNumElementsPROC clang_getNumElements = (clang_getNumElementsPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getNumElements(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getArrayElementType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_getArrayElementTypePROC clang_getArrayElementType = (clang_getArrayElementTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getArrayElementTypePROC clang_getArrayElementType = (clang_getArrayElementTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getArrayElementType(*T); + *((CXType*)(uintptr_t)__result) = clang_getArrayElementType(*T); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getArraySize(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_getArraySizePROC clang_getArraySize = (clang_getArraySizePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_getArraySizePROC clang_getArraySize = (clang_getArraySizePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getArraySize(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getNamedType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_Type_getNamedTypePROC clang_Type_getNamedType = (clang_Type_getNamedTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getNamedTypePROC clang_Type_getNamedType = (clang_Type_getNamedTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getNamedType(*T); + *((CXType*)(uintptr_t)__result) = clang_Type_getNamedType(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1isTransparentTagTypedef(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_isTransparentTagTypedefPROC clang_Type_isTransparentTagTypedef = (clang_Type_isTransparentTagTypedefPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_isTransparentTagTypedefPROC clang_Type_isTransparentTagTypedef = (clang_Type_isTransparentTagTypedefPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_isTransparentTagTypedef(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getNullability(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getNullabilityPROC clang_Type_getNullability = (clang_Type_getNullabilityPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getNullabilityPROC clang_Type_getNullability = (clang_Type_getNullabilityPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_getNullability(*T); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getAlignOf(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getAlignOfPROC clang_Type_getAlignOf = (clang_Type_getAlignOfPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getAlignOfPROC clang_Type_getAlignOf = (clang_Type_getAlignOfPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Type_getAlignOf(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getClassType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_Type_getClassTypePROC clang_Type_getClassType = (clang_Type_getClassTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getClassTypePROC clang_Type_getClassType = (clang_Type_getClassTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getClassType(*T); + *((CXType*)(uintptr_t)__result) = clang_Type_getClassType(*T); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getSizeOf(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getSizeOfPROC clang_Type_getSizeOf = (clang_Type_getSizeOfPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getSizeOfPROC clang_Type_getSizeOf = (clang_Type_getSizeOfPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Type_getSizeOf(*T); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getOffsetOf(JNIEnv *__env, jclass clazz, jlong TAddress, jlong SAddress, jlong __functionAddress) { - clang_Type_getOffsetOfPROC clang_Type_getOffsetOf = (clang_Type_getOffsetOfPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; - intptr_t S = (intptr_t)SAddress; + clang_Type_getOffsetOfPROC clang_Type_getOffsetOf = (clang_Type_getOffsetOfPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; + uintptr_t S = (uintptr_t)SAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Type_getOffsetOf(*T, S); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getModifiedType(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress, jlong __result) { - clang_Type_getModifiedTypePROC clang_Type_getModifiedType = (clang_Type_getModifiedTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getModifiedTypePROC clang_Type_getModifiedType = (clang_Type_getModifiedTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getModifiedType(*T); + *((CXType*)(uintptr_t)__result) = clang_Type_getModifiedType(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getValueType(JNIEnv *__env, jclass clazz, jlong CTAddress, jlong __functionAddress, jlong __result) { - clang_Type_getValueTypePROC clang_Type_getValueType = (clang_Type_getValueTypePROC)(intptr_t)__functionAddress; - CXType *CT = (CXType *)(intptr_t)CTAddress; + clang_Type_getValueTypePROC clang_Type_getValueType = (clang_Type_getValueTypePROC)(uintptr_t)__functionAddress; + CXType *CT = (CXType *)(uintptr_t)CTAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getValueType(*CT); + *((CXType*)(uintptr_t)__result) = clang_Type_getValueType(*CT); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getOffsetOfField(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_getOffsetOfFieldPROC clang_Cursor_getOffsetOfField = (clang_Cursor_getOffsetOfFieldPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getOffsetOfFieldPROC clang_Cursor_getOffsetOfField = (clang_Cursor_getOffsetOfFieldPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getOffsetOfField(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isAnonymous(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isAnonymousPROC clang_Cursor_isAnonymous = (clang_Cursor_isAnonymousPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isAnonymousPROC clang_Cursor_isAnonymous = (clang_Cursor_isAnonymousPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isAnonymous(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isAnonymousRecordDecl(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isAnonymousRecordDeclPROC clang_Cursor_isAnonymousRecordDecl = (clang_Cursor_isAnonymousRecordDeclPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isAnonymousRecordDeclPROC clang_Cursor_isAnonymousRecordDecl = (clang_Cursor_isAnonymousRecordDeclPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isAnonymousRecordDecl(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isInlineNamespace(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isInlineNamespacePROC clang_Cursor_isInlineNamespace = (clang_Cursor_isInlineNamespacePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isInlineNamespacePROC clang_Cursor_isInlineNamespace = (clang_Cursor_isInlineNamespacePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isInlineNamespace(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getNumTemplateArguments(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getNumTemplateArgumentsPROC clang_Type_getNumTemplateArguments = (clang_Type_getNumTemplateArgumentsPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getNumTemplateArgumentsPROC clang_Type_getNumTemplateArguments = (clang_Type_getNumTemplateArgumentsPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_getNumTemplateArguments(*T); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getTemplateArgumentAsType(JNIEnv *__env, jclass clazz, jlong TAddress, jint i, jlong __functionAddress, jlong __result) { - clang_Type_getTemplateArgumentAsTypePROC clang_Type_getTemplateArgumentAsType = (clang_Type_getTemplateArgumentAsTypePROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getTemplateArgumentAsTypePROC clang_Type_getTemplateArgumentAsType = (clang_Type_getTemplateArgumentAsTypePROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Type_getTemplateArgumentAsType(*T, i); + *((CXType*)(uintptr_t)__result) = clang_Type_getTemplateArgumentAsType(*T, i); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1getCXXRefQualifier(JNIEnv *__env, jclass clazz, jlong TAddress, jlong __functionAddress) { - clang_Type_getCXXRefQualifierPROC clang_Type_getCXXRefQualifier = (clang_Type_getCXXRefQualifierPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; + clang_Type_getCXXRefQualifierPROC clang_Type_getCXXRefQualifier = (clang_Type_getCXXRefQualifierPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_getCXXRefQualifier(*T); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isBitField(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isBitFieldPROC clang_Cursor_isBitField = (clang_Cursor_isBitFieldPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isBitFieldPROC clang_Cursor_isBitField = (clang_Cursor_isBitFieldPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isBitField(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isVirtualBase(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_isVirtualBasePROC clang_isVirtualBase = (clang_isVirtualBasePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_isVirtualBasePROC clang_isVirtualBase = (clang_isVirtualBasePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isVirtualBase(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCXXAccessSpecifier(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCXXAccessSpecifierPROC clang_getCXXAccessSpecifier = (clang_getCXXAccessSpecifierPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCXXAccessSpecifierPROC clang_getCXXAccessSpecifier = (clang_getCXXAccessSpecifierPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getCXXAccessSpecifier(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getStorageClass(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_getStorageClassPROC clang_Cursor_getStorageClass = (clang_Cursor_getStorageClassPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getStorageClassPROC clang_Cursor_getStorageClass = (clang_Cursor_getStorageClassPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getStorageClass(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getNumOverloadedDecls(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getNumOverloadedDeclsPROC clang_getNumOverloadedDecls = (clang_getNumOverloadedDeclsPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getNumOverloadedDeclsPROC clang_getNumOverloadedDecls = (clang_getNumOverloadedDeclsPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getNumOverloadedDecls(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getOverloadedDecl(JNIEnv *__env, jclass clazz, jlong cursorAddress, jint index, jlong __functionAddress, jlong __result) { - clang_getOverloadedDeclPROC clang_getOverloadedDecl = (clang_getOverloadedDeclPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getOverloadedDeclPROC clang_getOverloadedDecl = (clang_getOverloadedDeclPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getOverloadedDecl(*cursor, index); + *((CXCursor*)(uintptr_t)__result) = clang_getOverloadedDecl(*cursor, index); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getIBOutletCollectionType(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getIBOutletCollectionTypePROC clang_getIBOutletCollectionType = (clang_getIBOutletCollectionTypePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getIBOutletCollectionTypePROC clang_getIBOutletCollectionType = (clang_getIBOutletCollectionTypePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_getIBOutletCollectionType(*cursor); + *((CXType*)(uintptr_t)__result) = clang_getIBOutletCollectionType(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1visitChildren(JNIEnv *__env, jclass clazz, jlong parentAddress, jlong visitorAddress, jlong client_dataAddress, jlong __functionAddress) { - clang_visitChildrenPROC clang_visitChildren = (clang_visitChildrenPROC)(intptr_t)__functionAddress; - CXCursor *parent = (CXCursor *)(intptr_t)parentAddress; - intptr_t visitor = (intptr_t)visitorAddress; - intptr_t client_data = (intptr_t)client_dataAddress; + clang_visitChildrenPROC clang_visitChildren = (clang_visitChildrenPROC)(uintptr_t)__functionAddress; + CXCursor *parent = (CXCursor *)(uintptr_t)parentAddress; + uintptr_t visitor = (uintptr_t)visitorAddress; + uintptr_t client_data = (uintptr_t)client_dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_visitChildren(*parent, visitor, client_data); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorUSR(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorUSRPROC clang_getCursorUSR = (clang_getCursorUSRPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorUSRPROC clang_getCursorUSR = (clang_getCursorUSRPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCursorUSR(*cursor); + *((CXString*)(uintptr_t)__result) = clang_getCursorUSR(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCClass(JNIEnv *__env, jclass clazz, jlong class_nameAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCClassPROC clang_constructUSR_ObjCClass = (clang_constructUSR_ObjCClassPROC)(intptr_t)__functionAddress; - intptr_t class_name = (intptr_t)class_nameAddress; + clang_constructUSR_ObjCClassPROC clang_constructUSR_ObjCClass = (clang_constructUSR_ObjCClassPROC)(uintptr_t)__functionAddress; + uintptr_t class_name = (uintptr_t)class_nameAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCClass(class_name); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCClass(class_name); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCCategory(JNIEnv *__env, jclass clazz, jlong class_nameAddress, jlong category_nameAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCCategoryPROC clang_constructUSR_ObjCCategory = (clang_constructUSR_ObjCCategoryPROC)(intptr_t)__functionAddress; - intptr_t class_name = (intptr_t)class_nameAddress; - intptr_t category_name = (intptr_t)category_nameAddress; + clang_constructUSR_ObjCCategoryPROC clang_constructUSR_ObjCCategory = (clang_constructUSR_ObjCCategoryPROC)(uintptr_t)__functionAddress; + uintptr_t class_name = (uintptr_t)class_nameAddress; + uintptr_t category_name = (uintptr_t)category_nameAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCCategory(class_name, category_name); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCCategory(class_name, category_name); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCProtocol(JNIEnv *__env, jclass clazz, jlong protocol_nameAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCProtocolPROC clang_constructUSR_ObjCProtocol = (clang_constructUSR_ObjCProtocolPROC)(intptr_t)__functionAddress; - intptr_t protocol_name = (intptr_t)protocol_nameAddress; + clang_constructUSR_ObjCProtocolPROC clang_constructUSR_ObjCProtocol = (clang_constructUSR_ObjCProtocolPROC)(uintptr_t)__functionAddress; + uintptr_t protocol_name = (uintptr_t)protocol_nameAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCProtocol(protocol_name); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCProtocol(protocol_name); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCIvar(JNIEnv *__env, jclass clazz, jlong nameAddress, jlong classUSRAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCIvarPROC clang_constructUSR_ObjCIvar = (clang_constructUSR_ObjCIvarPROC)(intptr_t)__functionAddress; - intptr_t name = (intptr_t)nameAddress; - CXString *classUSR = (CXString *)(intptr_t)classUSRAddress; + clang_constructUSR_ObjCIvarPROC clang_constructUSR_ObjCIvar = (clang_constructUSR_ObjCIvarPROC)(uintptr_t)__functionAddress; + uintptr_t name = (uintptr_t)nameAddress; + CXString *classUSR = (CXString *)(uintptr_t)classUSRAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCIvar(name, *classUSR); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCIvar(name, *classUSR); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCMethod(JNIEnv *__env, jclass clazz, jlong nameAddress, jint isInstanceMethod, jlong classUSRAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCMethodPROC clang_constructUSR_ObjCMethod = (clang_constructUSR_ObjCMethodPROC)(intptr_t)__functionAddress; - intptr_t name = (intptr_t)nameAddress; - CXString *classUSR = (CXString *)(intptr_t)classUSRAddress; + clang_constructUSR_ObjCMethodPROC clang_constructUSR_ObjCMethod = (clang_constructUSR_ObjCMethodPROC)(uintptr_t)__functionAddress; + uintptr_t name = (uintptr_t)nameAddress; + CXString *classUSR = (CXString *)(uintptr_t)classUSRAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCMethod(name, isInstanceMethod, *classUSR); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCMethod(name, isInstanceMethod, *classUSR); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1constructUSR_1ObjCProperty(JNIEnv *__env, jclass clazz, jlong propertyAddress, jlong classUSRAddress, jlong __functionAddress, jlong __result) { - clang_constructUSR_ObjCPropertyPROC clang_constructUSR_ObjCProperty = (clang_constructUSR_ObjCPropertyPROC)(intptr_t)__functionAddress; - intptr_t property = (intptr_t)propertyAddress; - CXString *classUSR = (CXString *)(intptr_t)classUSRAddress; + clang_constructUSR_ObjCPropertyPROC clang_constructUSR_ObjCProperty = (clang_constructUSR_ObjCPropertyPROC)(uintptr_t)__functionAddress; + uintptr_t property = (uintptr_t)propertyAddress; + CXString *classUSR = (CXString *)(uintptr_t)classUSRAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_constructUSR_ObjCProperty(property, *classUSR); + *((CXString*)(uintptr_t)__result) = clang_constructUSR_ObjCProperty(property, *classUSR); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorSpelling(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorSpellingPROC clang_getCursorSpelling = (clang_getCursorSpellingPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorSpellingPROC clang_getCursorSpelling = (clang_getCursorSpellingPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCursorSpelling(*cursor); + *((CXString*)(uintptr_t)__result) = clang_getCursorSpelling(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getSpellingNameRange(JNIEnv *__env, jclass clazz, jlong cursorAddress, jint pieceIndex, jint options, jlong __functionAddress, jlong __result) { - clang_Cursor_getSpellingNameRangePROC clang_Cursor_getSpellingNameRange = (clang_Cursor_getSpellingNameRangePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getSpellingNameRangePROC clang_Cursor_getSpellingNameRange = (clang_Cursor_getSpellingNameRangePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_Cursor_getSpellingNameRange(*cursor, pieceIndex, options); + *((CXSourceRange*)(uintptr_t)__result) = clang_Cursor_getSpellingNameRange(*cursor, pieceIndex, options); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorPrintingPolicy(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorPrintingPolicyPROC clang_getCursorPrintingPolicy = (clang_getCursorPrintingPolicyPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorPrintingPolicyPROC clang_getCursorPrintingPolicy = (clang_getCursorPrintingPolicyPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getCursorPrintingPolicy(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorPrettyPrinted(JNIEnv *__env, jclass clazz, jlong CursorAddress, jlong PolicyAddress, jlong __functionAddress, jlong __result) { - clang_getCursorPrettyPrintedPROC clang_getCursorPrettyPrinted = (clang_getCursorPrettyPrintedPROC)(intptr_t)__functionAddress; - CXCursor *Cursor = (CXCursor *)(intptr_t)CursorAddress; - intptr_t Policy = (intptr_t)PolicyAddress; + clang_getCursorPrettyPrintedPROC clang_getCursorPrettyPrinted = (clang_getCursorPrettyPrintedPROC)(uintptr_t)__functionAddress; + CXCursor *Cursor = (CXCursor *)(uintptr_t)CursorAddress; + uintptr_t Policy = (uintptr_t)PolicyAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCursorPrettyPrinted(*Cursor, Policy); + *((CXString*)(uintptr_t)__result) = clang_getCursorPrettyPrinted(*Cursor, Policy); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorDisplayName(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorDisplayNamePROC clang_getCursorDisplayName = (clang_getCursorDisplayNamePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorDisplayNamePROC clang_getCursorDisplayName = (clang_getCursorDisplayNamePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCursorDisplayName(*cursor); + *((CXString*)(uintptr_t)__result) = clang_getCursorDisplayName(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorReferenced(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorReferencedPROC clang_getCursorReferenced = (clang_getCursorReferencedPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorReferencedPROC clang_getCursorReferenced = (clang_getCursorReferencedPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCursorReferenced(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_getCursorReferenced(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorDefinition(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCursorDefinitionPROC clang_getCursorDefinition = (clang_getCursorDefinitionPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorDefinitionPROC clang_getCursorDefinition = (clang_getCursorDefinitionPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCursorDefinition(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_getCursorDefinition(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1isCursorDefinition(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_isCursorDefinitionPROC clang_isCursorDefinition = (clang_isCursorDefinitionPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_isCursorDefinitionPROC clang_isCursorDefinition = (clang_isCursorDefinitionPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_isCursorDefinition(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCanonicalCursor(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_getCanonicalCursorPROC clang_getCanonicalCursor = (clang_getCanonicalCursorPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCanonicalCursorPROC clang_getCanonicalCursor = (clang_getCanonicalCursorPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getCanonicalCursor(*cursor); + *((CXCursor*)(uintptr_t)__result) = clang_getCanonicalCursor(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCSelectorIndex(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_getObjCSelectorIndexPROC clang_Cursor_getObjCSelectorIndex = (clang_Cursor_getObjCSelectorIndexPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getObjCSelectorIndexPROC clang_Cursor_getObjCSelectorIndex = (clang_Cursor_getObjCSelectorIndexPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getObjCSelectorIndex(*cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isDynamicCall(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isDynamicCallPROC clang_Cursor_isDynamicCall = (clang_Cursor_isDynamicCallPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isDynamicCallPROC clang_Cursor_isDynamicCall = (clang_Cursor_isDynamicCallPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isDynamicCall(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getReceiverType(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getReceiverTypePROC clang_Cursor_getReceiverType = (clang_Cursor_getReceiverTypePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getReceiverTypePROC clang_Cursor_getReceiverType = (clang_Cursor_getReceiverTypePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXType*)(intptr_t)__result) = clang_Cursor_getReceiverType(*C); + *((CXType*)(uintptr_t)__result) = clang_Cursor_getReceiverType(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCPropertyAttributes(JNIEnv *__env, jclass clazz, jlong CAddress, jint reserved, jlong __functionAddress) { - clang_Cursor_getObjCPropertyAttributesPROC clang_Cursor_getObjCPropertyAttributes = (clang_Cursor_getObjCPropertyAttributesPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getObjCPropertyAttributesPROC clang_Cursor_getObjCPropertyAttributes = (clang_Cursor_getObjCPropertyAttributesPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getObjCPropertyAttributes(*C, reserved); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCPropertyGetterName(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getObjCPropertyGetterNamePROC clang_Cursor_getObjCPropertyGetterName = (clang_Cursor_getObjCPropertyGetterNamePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getObjCPropertyGetterNamePROC clang_Cursor_getObjCPropertyGetterName = (clang_Cursor_getObjCPropertyGetterNamePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Cursor_getObjCPropertyGetterName(*C); + *((CXString*)(uintptr_t)__result) = clang_Cursor_getObjCPropertyGetterName(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCPropertySetterName(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getObjCPropertySetterNamePROC clang_Cursor_getObjCPropertySetterName = (clang_Cursor_getObjCPropertySetterNamePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getObjCPropertySetterNamePROC clang_Cursor_getObjCPropertySetterName = (clang_Cursor_getObjCPropertySetterNamePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Cursor_getObjCPropertySetterName(*C); + *((CXString*)(uintptr_t)__result) = clang_Cursor_getObjCPropertySetterName(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCDeclQualifiers(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_getObjCDeclQualifiersPROC clang_Cursor_getObjCDeclQualifiers = (clang_Cursor_getObjCDeclQualifiersPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getObjCDeclQualifiersPROC clang_Cursor_getObjCDeclQualifiers = (clang_Cursor_getObjCDeclQualifiersPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_getObjCDeclQualifiers(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isObjCOptional(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isObjCOptionalPROC clang_Cursor_isObjCOptional = (clang_Cursor_isObjCOptionalPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isObjCOptionalPROC clang_Cursor_isObjCOptional = (clang_Cursor_isObjCOptionalPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isObjCOptional(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isVariadic(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_isVariadicPROC clang_Cursor_isVariadic = (clang_Cursor_isVariadicPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_isVariadicPROC clang_Cursor_isVariadic = (clang_Cursor_isVariadicPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isVariadic(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1isExternalSymbol(JNIEnv *__env, jclass clazz, jlong CAddress, jlong languageAddress, jlong definedInAddress, jlong isGeneratedAddress, jlong __functionAddress) { - clang_Cursor_isExternalSymbolPROC clang_Cursor_isExternalSymbol = (clang_Cursor_isExternalSymbolPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; - intptr_t language = (intptr_t)languageAddress; - intptr_t definedIn = (intptr_t)definedInAddress; - intptr_t isGenerated = (intptr_t)isGeneratedAddress; + clang_Cursor_isExternalSymbolPROC clang_Cursor_isExternalSymbol = (clang_Cursor_isExternalSymbolPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; + uintptr_t language = (uintptr_t)languageAddress; + uintptr_t definedIn = (uintptr_t)definedInAddress; + uintptr_t isGenerated = (uintptr_t)isGeneratedAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Cursor_isExternalSymbol(*C, language, definedIn, isGenerated); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getCommentRange(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getCommentRangePROC clang_Cursor_getCommentRange = (clang_Cursor_getCommentRangePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getCommentRangePROC clang_Cursor_getCommentRange = (clang_Cursor_getCommentRangePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_Cursor_getCommentRange(*C); + *((CXSourceRange*)(uintptr_t)__result) = clang_Cursor_getCommentRange(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getRawCommentText(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getRawCommentTextPROC clang_Cursor_getRawCommentText = (clang_Cursor_getRawCommentTextPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getRawCommentTextPROC clang_Cursor_getRawCommentText = (clang_Cursor_getRawCommentTextPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Cursor_getRawCommentText(*C); + *((CXString*)(uintptr_t)__result) = clang_Cursor_getRawCommentText(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getBriefCommentText(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getBriefCommentTextPROC clang_Cursor_getBriefCommentText = (clang_Cursor_getBriefCommentTextPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getBriefCommentTextPROC clang_Cursor_getBriefCommentText = (clang_Cursor_getBriefCommentTextPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Cursor_getBriefCommentText(*C); + *((CXString*)(uintptr_t)__result) = clang_Cursor_getBriefCommentText(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getMangling(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress, jlong __result) { - clang_Cursor_getManglingPROC clang_Cursor_getMangling = (clang_Cursor_getManglingPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getManglingPROC clang_Cursor_getMangling = (clang_Cursor_getManglingPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Cursor_getMangling(*cursor); + *((CXString*)(uintptr_t)__result) = clang_Cursor_getMangling(*cursor); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getCXXManglings(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_getCXXManglingsPROC clang_Cursor_getCXXManglings = (clang_Cursor_getCXXManglingsPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getCXXManglingsPROC clang_Cursor_getCXXManglings = (clang_Cursor_getCXXManglingsPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getCXXManglings(*cursor); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getObjCManglings(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_Cursor_getObjCManglingsPROC clang_Cursor_getObjCManglings = (clang_Cursor_getObjCManglingsPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_Cursor_getObjCManglingsPROC clang_Cursor_getObjCManglings = (clang_Cursor_getObjCManglingsPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getObjCManglings(*cursor); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1getModule(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_getModulePROC clang_Cursor_getModule = (clang_Cursor_getModulePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_getModulePROC clang_Cursor_getModule = (clang_Cursor_getModulePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_getModule(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Module_1getName(JNIEnv *__env, jclass clazz, jlong ModuleAddress, jlong __functionAddress, jlong __result) { - clang_Module_getNamePROC clang_Module_getName = (clang_Module_getNamePROC)(intptr_t)__functionAddress; - intptr_t Module = (intptr_t)ModuleAddress; + clang_Module_getNamePROC clang_Module_getName = (clang_Module_getNamePROC)(uintptr_t)__functionAddress; + uintptr_t Module = (uintptr_t)ModuleAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Module_getName(Module); + *((CXString*)(uintptr_t)__result) = clang_Module_getName(Module); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Module_1getFullName(JNIEnv *__env, jclass clazz, jlong ModuleAddress, jlong __functionAddress, jlong __result) { - clang_Module_getFullNamePROC clang_Module_getFullName = (clang_Module_getFullNamePROC)(intptr_t)__functionAddress; - intptr_t Module = (intptr_t)ModuleAddress; + clang_Module_getFullNamePROC clang_Module_getFullName = (clang_Module_getFullNamePROC)(uintptr_t)__functionAddress; + uintptr_t Module = (uintptr_t)ModuleAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_Module_getFullName(Module); + *((CXString*)(uintptr_t)__result) = clang_Module_getFullName(Module); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXConstructor_1isConvertingConstructor(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXConstructor_isConvertingConstructorPROC clang_CXXConstructor_isConvertingConstructor = (clang_CXXConstructor_isConvertingConstructorPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXConstructor_isConvertingConstructorPROC clang_CXXConstructor_isConvertingConstructor = (clang_CXXConstructor_isConvertingConstructorPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXConstructor_isConvertingConstructor(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXConstructor_1isCopyConstructor(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXConstructor_isCopyConstructorPROC clang_CXXConstructor_isCopyConstructor = (clang_CXXConstructor_isCopyConstructorPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXConstructor_isCopyConstructorPROC clang_CXXConstructor_isCopyConstructor = (clang_CXXConstructor_isCopyConstructorPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXConstructor_isCopyConstructor(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXConstructor_1isDefaultConstructor(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXConstructor_isDefaultConstructorPROC clang_CXXConstructor_isDefaultConstructor = (clang_CXXConstructor_isDefaultConstructorPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXConstructor_isDefaultConstructorPROC clang_CXXConstructor_isDefaultConstructor = (clang_CXXConstructor_isDefaultConstructorPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXConstructor_isDefaultConstructor(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXConstructor_1isMoveConstructor(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXConstructor_isMoveConstructorPROC clang_CXXConstructor_isMoveConstructor = (clang_CXXConstructor_isMoveConstructorPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXConstructor_isMoveConstructorPROC clang_CXXConstructor_isMoveConstructor = (clang_CXXConstructor_isMoveConstructorPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXConstructor_isMoveConstructor(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXField_1isMutable(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXField_isMutablePROC clang_CXXField_isMutable = (clang_CXXField_isMutablePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXField_isMutablePROC clang_CXXField_isMutable = (clang_CXXField_isMutablePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXField_isMutable(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXMethod_1isDefaulted(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXMethod_isDefaultedPROC clang_CXXMethod_isDefaulted = (clang_CXXMethod_isDefaultedPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXMethod_isDefaultedPROC clang_CXXMethod_isDefaulted = (clang_CXXMethod_isDefaultedPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXMethod_isDefaulted(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXMethod_1isPureVirtual(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXMethod_isPureVirtualPROC clang_CXXMethod_isPureVirtual = (clang_CXXMethod_isPureVirtualPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXMethod_isPureVirtualPROC clang_CXXMethod_isPureVirtual = (clang_CXXMethod_isPureVirtualPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXMethod_isPureVirtual(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXMethod_1isStatic(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXMethod_isStaticPROC clang_CXXMethod_isStatic = (clang_CXXMethod_isStaticPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXMethod_isStaticPROC clang_CXXMethod_isStatic = (clang_CXXMethod_isStaticPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXMethod_isStatic(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXMethod_1isVirtual(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXMethod_isVirtualPROC clang_CXXMethod_isVirtual = (clang_CXXMethod_isVirtualPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXMethod_isVirtualPROC clang_CXXMethod_isVirtual = (clang_CXXMethod_isVirtualPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXMethod_isVirtual(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXRecord_1isAbstract(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXRecord_isAbstractPROC clang_CXXRecord_isAbstract = (clang_CXXRecord_isAbstractPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXRecord_isAbstractPROC clang_CXXRecord_isAbstract = (clang_CXXRecord_isAbstractPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXRecord_isAbstract(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1EnumDecl_1isScoped(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_EnumDecl_isScopedPROC clang_EnumDecl_isScoped = (clang_EnumDecl_isScopedPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_EnumDecl_isScopedPROC clang_EnumDecl_isScoped = (clang_EnumDecl_isScopedPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_EnumDecl_isScoped(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1CXXMethod_1isConst(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_CXXMethod_isConstPROC clang_CXXMethod_isConst = (clang_CXXMethod_isConstPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_CXXMethod_isConstPROC clang_CXXMethod_isConst = (clang_CXXMethod_isConstPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_CXXMethod_isConst(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTemplateCursorKind(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_getTemplateCursorKindPROC clang_getTemplateCursorKind = (clang_getTemplateCursorKindPROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getTemplateCursorKindPROC clang_getTemplateCursorKind = (clang_getTemplateCursorKindPROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getTemplateCursorKind(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getSpecializedCursorTemplate(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress, jlong __result) { - clang_getSpecializedCursorTemplatePROC clang_getSpecializedCursorTemplate = (clang_getSpecializedCursorTemplatePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getSpecializedCursorTemplatePROC clang_getSpecializedCursorTemplate = (clang_getSpecializedCursorTemplatePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXCursor*)(intptr_t)__result) = clang_getSpecializedCursorTemplate(*C); + *((CXCursor*)(uintptr_t)__result) = clang_getSpecializedCursorTemplate(*C); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorReferenceNameRange(JNIEnv *__env, jclass clazz, jlong CAddress, jint NameFlags, jint PieceIndex, jlong __functionAddress, jlong __result) { - clang_getCursorReferenceNameRangePROC clang_getCursorReferenceNameRange = (clang_getCursorReferenceNameRangePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_getCursorReferenceNameRangePROC clang_getCursorReferenceNameRange = (clang_getCursorReferenceNameRangePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getCursorReferenceNameRange(*C, NameFlags, PieceIndex); + *((CXSourceRange*)(uintptr_t)__result) = clang_getCursorReferenceNameRange(*C, NameFlags, PieceIndex); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getToken(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong LocationAddress, jlong __functionAddress) { - clang_getTokenPROC clang_getToken = (clang_getTokenPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXSourceLocation *Location = (CXSourceLocation *)(intptr_t)LocationAddress; + clang_getTokenPROC clang_getToken = (clang_getTokenPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXSourceLocation *Location = (CXSourceLocation *)(uintptr_t)LocationAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getToken(TU, *Location); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTokenKind(JNIEnv *__env, jclass clazz, jlong tokenAddress, jlong __functionAddress) { - clang_getTokenKindPROC clang_getTokenKind = (clang_getTokenKindPROC)(intptr_t)__functionAddress; - CXToken *token = (CXToken *)(intptr_t)tokenAddress; + clang_getTokenKindPROC clang_getTokenKind = (clang_getTokenKindPROC)(uintptr_t)__functionAddress; + CXToken *token = (CXToken *)(uintptr_t)tokenAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_getTokenKind(*token); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTokenSpelling(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong tokenAddress, jlong __functionAddress, jlong __result) { - clang_getTokenSpellingPROC clang_getTokenSpelling = (clang_getTokenSpellingPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXToken *token = (CXToken *)(intptr_t)tokenAddress; + clang_getTokenSpellingPROC clang_getTokenSpelling = (clang_getTokenSpellingPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXToken *token = (CXToken *)(uintptr_t)tokenAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getTokenSpelling(TU, *token); + *((CXString*)(uintptr_t)__result) = clang_getTokenSpelling(TU, *token); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTokenLocation(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong tokenAddress, jlong __functionAddress, jlong __result) { - clang_getTokenLocationPROC clang_getTokenLocation = (clang_getTokenLocationPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXToken *token = (CXToken *)(intptr_t)tokenAddress; + clang_getTokenLocationPROC clang_getTokenLocation = (clang_getTokenLocationPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXToken *token = (CXToken *)(uintptr_t)tokenAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_getTokenLocation(TU, *token); + *((CXSourceLocation*)(uintptr_t)__result) = clang_getTokenLocation(TU, *token); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getTokenExtent(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong tokenAddress, jlong __functionAddress, jlong __result) { - clang_getTokenExtentPROC clang_getTokenExtent = (clang_getTokenExtentPROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXToken *token = (CXToken *)(intptr_t)tokenAddress; + clang_getTokenExtentPROC clang_getTokenExtent = (clang_getTokenExtentPROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXToken *token = (CXToken *)(uintptr_t)tokenAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceRange*)(intptr_t)__result) = clang_getTokenExtent(TU, *token); + *((CXSourceRange*)(uintptr_t)__result) = clang_getTokenExtent(TU, *token); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1tokenize(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong RangeAddress, jlong TokensAddress, jlong NumTokensAddress, jlong __functionAddress) { - clang_tokenizePROC clang_tokenize = (clang_tokenizePROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - CXSourceRange *Range = (CXSourceRange *)(intptr_t)RangeAddress; - intptr_t Tokens = (intptr_t)TokensAddress; - intptr_t NumTokens = (intptr_t)NumTokensAddress; + clang_tokenizePROC clang_tokenize = (clang_tokenizePROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + CXSourceRange *Range = (CXSourceRange *)(uintptr_t)RangeAddress; + uintptr_t Tokens = (uintptr_t)TokensAddress; + uintptr_t NumTokens = (uintptr_t)NumTokensAddress; UNUSED_PARAMS(__env, clazz) clang_tokenize(TU, *Range, Tokens, NumTokens); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorKindSpelling(JNIEnv *__env, jclass clazz, jint Kind, jlong __functionAddress, jlong __result) { - clang_getCursorKindSpellingPROC clang_getCursorKindSpelling = (clang_getCursorKindSpellingPROC)(intptr_t)__functionAddress; + clang_getCursorKindSpellingPROC clang_getCursorKindSpelling = (clang_getCursorKindSpellingPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCursorKindSpelling(Kind); + *((CXString*)(uintptr_t)__result) = clang_getCursorKindSpelling(Kind); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getDefinitionSpellingAndExtent(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong startBufAddress, jlong endBufAddress, jlong startLineAddress, jlong startColumnAddress, jlong endLineAddress, jlong endColumnAddress, jlong __functionAddress) { - clang_getDefinitionSpellingAndExtentPROC clang_getDefinitionSpellingAndExtent = (clang_getDefinitionSpellingAndExtentPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; - intptr_t startBuf = (intptr_t)startBufAddress; - intptr_t endBuf = (intptr_t)endBufAddress; - intptr_t startLine = (intptr_t)startLineAddress; - intptr_t startColumn = (intptr_t)startColumnAddress; - intptr_t endLine = (intptr_t)endLineAddress; - intptr_t endColumn = (intptr_t)endColumnAddress; + clang_getDefinitionSpellingAndExtentPROC clang_getDefinitionSpellingAndExtent = (clang_getDefinitionSpellingAndExtentPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; + uintptr_t startBuf = (uintptr_t)startBufAddress; + uintptr_t endBuf = (uintptr_t)endBufAddress; + uintptr_t startLine = (uintptr_t)startLineAddress; + uintptr_t startColumn = (uintptr_t)startColumnAddress; + uintptr_t endLine = (uintptr_t)endLineAddress; + uintptr_t endColumn = (uintptr_t)endColumnAddress; UNUSED_PARAMS(__env, clazz) clang_getDefinitionSpellingAndExtent(*cursor, startBuf, endBuf, startLine, startColumn, endLine, endColumn); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCompletionChunkText(JNIEnv *__env, jclass clazz, jlong completion_stringAddress, jint chunk_number, jlong __functionAddress, jlong __result) { - clang_getCompletionChunkTextPROC clang_getCompletionChunkText = (clang_getCompletionChunkTextPROC)(intptr_t)__functionAddress; - intptr_t completion_string = (intptr_t)completion_stringAddress; + clang_getCompletionChunkTextPROC clang_getCompletionChunkText = (clang_getCompletionChunkTextPROC)(uintptr_t)__functionAddress; + uintptr_t completion_string = (uintptr_t)completion_stringAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCompletionChunkText(completion_string, chunk_number); + *((CXString*)(uintptr_t)__result) = clang_getCompletionChunkText(completion_string, chunk_number); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCompletionAnnotation(JNIEnv *__env, jclass clazz, jlong completion_stringAddress, jint annotation_number, jlong __functionAddress, jlong __result) { - clang_getCompletionAnnotationPROC clang_getCompletionAnnotation = (clang_getCompletionAnnotationPROC)(intptr_t)__functionAddress; - intptr_t completion_string = (intptr_t)completion_stringAddress; + clang_getCompletionAnnotationPROC clang_getCompletionAnnotation = (clang_getCompletionAnnotationPROC)(uintptr_t)__functionAddress; + uintptr_t completion_string = (uintptr_t)completion_stringAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCompletionAnnotation(completion_string, annotation_number); + *((CXString*)(uintptr_t)__result) = clang_getCompletionAnnotation(completion_string, annotation_number); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCompletionParent(JNIEnv *__env, jclass clazz, jlong completion_stringAddress, jlong kindAddress, jlong __functionAddress, jlong __result) { - clang_getCompletionParentPROC clang_getCompletionParent = (clang_getCompletionParentPROC)(intptr_t)__functionAddress; - intptr_t completion_string = (intptr_t)completion_stringAddress; - intptr_t kind = (intptr_t)kindAddress; + clang_getCompletionParentPROC clang_getCompletionParent = (clang_getCompletionParentPROC)(uintptr_t)__functionAddress; + uintptr_t completion_string = (uintptr_t)completion_stringAddress; + uintptr_t kind = (uintptr_t)kindAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCompletionParent(completion_string, kind); + *((CXString*)(uintptr_t)__result) = clang_getCompletionParent(completion_string, kind); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCompletionBriefComment(JNIEnv *__env, jclass clazz, jlong completion_stringAddress, jlong __functionAddress, jlong __result) { - clang_getCompletionBriefCommentPROC clang_getCompletionBriefComment = (clang_getCompletionBriefCommentPROC)(intptr_t)__functionAddress; - intptr_t completion_string = (intptr_t)completion_stringAddress; + clang_getCompletionBriefCommentPROC clang_getCompletionBriefComment = (clang_getCompletionBriefCommentPROC)(uintptr_t)__functionAddress; + uintptr_t completion_string = (uintptr_t)completion_stringAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCompletionBriefComment(completion_string); + *((CXString*)(uintptr_t)__result) = clang_getCompletionBriefComment(completion_string); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCursorCompletionString(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong __functionAddress) { - clang_getCursorCompletionStringPROC clang_getCursorCompletionString = (clang_getCursorCompletionStringPROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; + clang_getCursorCompletionStringPROC clang_getCursorCompletionString = (clang_getCursorCompletionStringPROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_getCursorCompletionString(*cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getCompletionFixIt(JNIEnv *__env, jclass clazz, jlong resultsAddress, jint completion_index, jint fixit_index, jlong replacement_rangeAddress, jlong __functionAddress, jlong __result) { - clang_getCompletionFixItPROC clang_getCompletionFixIt = (clang_getCompletionFixItPROC)(intptr_t)__functionAddress; - intptr_t results = (intptr_t)resultsAddress; - intptr_t replacement_range = (intptr_t)replacement_rangeAddress; + clang_getCompletionFixItPROC clang_getCompletionFixIt = (clang_getCompletionFixItPROC)(uintptr_t)__functionAddress; + uintptr_t results = (uintptr_t)resultsAddress; + uintptr_t replacement_range = (uintptr_t)replacement_rangeAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getCompletionFixIt(results, completion_index, fixit_index, replacement_range); + *((CXString*)(uintptr_t)__result) = clang_getCompletionFixIt(results, completion_index, fixit_index, replacement_range); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1codeCompleteGetContainerUSR(JNIEnv *__env, jclass clazz, jlong ResultsAddress, jlong __functionAddress, jlong __result) { - clang_codeCompleteGetContainerUSRPROC clang_codeCompleteGetContainerUSR = (clang_codeCompleteGetContainerUSRPROC)(intptr_t)__functionAddress; - intptr_t Results = (intptr_t)ResultsAddress; + clang_codeCompleteGetContainerUSRPROC clang_codeCompleteGetContainerUSR = (clang_codeCompleteGetContainerUSRPROC)(uintptr_t)__functionAddress; + uintptr_t Results = (uintptr_t)ResultsAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_codeCompleteGetContainerUSR(Results); + *((CXString*)(uintptr_t)__result) = clang_codeCompleteGetContainerUSR(Results); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1codeCompleteGetObjCSelector(JNIEnv *__env, jclass clazz, jlong ResultsAddress, jlong __functionAddress, jlong __result) { - clang_codeCompleteGetObjCSelectorPROC clang_codeCompleteGetObjCSelector = (clang_codeCompleteGetObjCSelectorPROC)(intptr_t)__functionAddress; - intptr_t Results = (intptr_t)ResultsAddress; + clang_codeCompleteGetObjCSelectorPROC clang_codeCompleteGetObjCSelector = (clang_codeCompleteGetObjCSelectorPROC)(uintptr_t)__functionAddress; + uintptr_t Results = (uintptr_t)ResultsAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_codeCompleteGetObjCSelector(Results); + *((CXString*)(uintptr_t)__result) = clang_codeCompleteGetObjCSelector(Results); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1getClangVersion(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - clang_getClangVersionPROC clang_getClangVersion = (clang_getClangVersionPROC)(intptr_t)__functionAddress; + clang_getClangVersionPROC clang_getClangVersion = (clang_getClangVersionPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((CXString*)(intptr_t)__result) = clang_getClangVersion(); + *((CXString*)(uintptr_t)__result) = clang_getClangVersion(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Cursor_1Evaluate(JNIEnv *__env, jclass clazz, jlong CAddress, jlong __functionAddress) { - clang_Cursor_EvaluatePROC clang_Cursor_Evaluate = (clang_Cursor_EvaluatePROC)(intptr_t)__functionAddress; - CXCursor *C = (CXCursor *)(intptr_t)CAddress; + clang_Cursor_EvaluatePROC clang_Cursor_Evaluate = (clang_Cursor_EvaluatePROC)(uintptr_t)__functionAddress; + CXCursor *C = (CXCursor *)(uintptr_t)CAddress; UNUSED_PARAMS(__env, clazz) return (jlong)clang_Cursor_Evaluate(*C); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1findReferencesInFile(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong fileAddress, jlong visitorAddress, jlong __functionAddress) { - clang_findReferencesInFilePROC clang_findReferencesInFile = (clang_findReferencesInFilePROC)(intptr_t)__functionAddress; - CXCursor *cursor = (CXCursor *)(intptr_t)cursorAddress; - intptr_t file = (intptr_t)fileAddress; - CXCursorAndRangeVisitor *visitor = (CXCursorAndRangeVisitor *)(intptr_t)visitorAddress; + clang_findReferencesInFilePROC clang_findReferencesInFile = (clang_findReferencesInFilePROC)(uintptr_t)__functionAddress; + CXCursor *cursor = (CXCursor *)(uintptr_t)cursorAddress; + uintptr_t file = (uintptr_t)fileAddress; + CXCursorAndRangeVisitor *visitor = (CXCursorAndRangeVisitor *)(uintptr_t)visitorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_findReferencesInFile(*cursor, file, *visitor); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1findIncludesInFile(JNIEnv *__env, jclass clazz, jlong TUAddress, jlong fileAddress, jlong visitorAddress, jlong __functionAddress) { - clang_findIncludesInFilePROC clang_findIncludesInFile = (clang_findIncludesInFilePROC)(intptr_t)__functionAddress; - intptr_t TU = (intptr_t)TUAddress; - intptr_t file = (intptr_t)fileAddress; - CXCursorAndRangeVisitor *visitor = (CXCursorAndRangeVisitor *)(intptr_t)visitorAddress; + clang_findIncludesInFilePROC clang_findIncludesInFile = (clang_findIncludesInFilePROC)(uintptr_t)__functionAddress; + uintptr_t TU = (uintptr_t)TUAddress; + uintptr_t file = (uintptr_t)fileAddress; + CXCursorAndRangeVisitor *visitor = (CXCursorAndRangeVisitor *)(uintptr_t)visitorAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_findIncludesInFile(TU, file, *visitor); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1indexLoc_1getFileLocation(JNIEnv *__env, jclass clazz, jlong locAddress, jlong indexFileAddress, jlong fileAddress, jlong lineAddress, jlong columnAddress, jlong offsetAddress, jlong __functionAddress) { - clang_indexLoc_getFileLocationPROC clang_indexLoc_getFileLocation = (clang_indexLoc_getFileLocationPROC)(intptr_t)__functionAddress; - CXIdxLoc *loc = (CXIdxLoc *)(intptr_t)locAddress; - intptr_t indexFile = (intptr_t)indexFileAddress; - intptr_t file = (intptr_t)fileAddress; - intptr_t line = (intptr_t)lineAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t offset = (intptr_t)offsetAddress; + clang_indexLoc_getFileLocationPROC clang_indexLoc_getFileLocation = (clang_indexLoc_getFileLocationPROC)(uintptr_t)__functionAddress; + CXIdxLoc *loc = (CXIdxLoc *)(uintptr_t)locAddress; + uintptr_t indexFile = (uintptr_t)indexFileAddress; + uintptr_t file = (uintptr_t)fileAddress; + uintptr_t line = (uintptr_t)lineAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t offset = (uintptr_t)offsetAddress; UNUSED_PARAMS(__env, clazz) clang_indexLoc_getFileLocation(*loc, indexFile, file, line, column, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1indexLoc_1getCXSourceLocation(JNIEnv *__env, jclass clazz, jlong locAddress, jlong __functionAddress, jlong __result) { - clang_indexLoc_getCXSourceLocationPROC clang_indexLoc_getCXSourceLocation = (clang_indexLoc_getCXSourceLocationPROC)(intptr_t)__functionAddress; - CXIdxLoc *loc = (CXIdxLoc *)(intptr_t)locAddress; + clang_indexLoc_getCXSourceLocationPROC clang_indexLoc_getCXSourceLocation = (clang_indexLoc_getCXSourceLocationPROC)(uintptr_t)__functionAddress; + CXIdxLoc *loc = (CXIdxLoc *)(uintptr_t)locAddress; UNUSED_PARAMS(__env, clazz) - *((CXSourceLocation*)(intptr_t)__result) = clang_indexLoc_getCXSourceLocation(*loc); + *((CXSourceLocation*)(uintptr_t)__result) = clang_indexLoc_getCXSourceLocation(*loc); } JNIEXPORT jint JNICALL Java_org_lwjgl_llvm_ClangIndex_nclang_1Type_1visitFields(JNIEnv *__env, jclass clazz, jlong TAddress, jlong visitorAddress, jlong client_dataAddress, jlong __functionAddress) { - clang_Type_visitFieldsPROC clang_Type_visitFields = (clang_Type_visitFieldsPROC)(intptr_t)__functionAddress; - CXType *T = (CXType *)(intptr_t)TAddress; - intptr_t visitor = (intptr_t)visitorAddress; - intptr_t client_data = (intptr_t)client_dataAddress; + clang_Type_visitFieldsPROC clang_Type_visitFields = (clang_Type_visitFieldsPROC)(uintptr_t)__functionAddress; + CXType *T = (CXType *)(uintptr_t)TAddress; + uintptr_t visitor = (uintptr_t)visitorAddress; + uintptr_t client_data = (uintptr_t)client_dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)clang_Type_visitFields(*T, visitor, client_data); } diff --git a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangRewrite.c b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangRewrite.c index 4bd4c03537..5e8e1a250d 100644 --- a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangRewrite.c +++ b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_ClangRewrite.c @@ -6,34 +6,34 @@ #include "common_tools.h" #include "clang-c/Rewrite.h" -typedef void (*clang_CXRewriter_insertTextBeforePROC) (intptr_t, CXSourceLocation, intptr_t); -typedef void (*clang_CXRewriter_replaceTextPROC) (intptr_t, CXSourceRange, intptr_t); -typedef void (*clang_CXRewriter_removeTextPROC) (intptr_t, CXSourceRange); +typedef void (*clang_CXRewriter_insertTextBeforePROC) (uintptr_t, CXSourceLocation, uintptr_t); +typedef void (*clang_CXRewriter_replaceTextPROC) (uintptr_t, CXSourceRange, uintptr_t); +typedef void (*clang_CXRewriter_removeTextPROC) (uintptr_t, CXSourceRange); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangRewrite_nclang_1CXRewriter_1insertTextBefore(JNIEnv *__env, jclass clazz, jlong RewAddress, jlong LocAddress, jlong InsertAddress, jlong __functionAddress) { - clang_CXRewriter_insertTextBeforePROC clang_CXRewriter_insertTextBefore = (clang_CXRewriter_insertTextBeforePROC)(intptr_t)__functionAddress; - intptr_t Rew = (intptr_t)RewAddress; - CXSourceLocation *Loc = (CXSourceLocation *)(intptr_t)LocAddress; - intptr_t Insert = (intptr_t)InsertAddress; + clang_CXRewriter_insertTextBeforePROC clang_CXRewriter_insertTextBefore = (clang_CXRewriter_insertTextBeforePROC)(uintptr_t)__functionAddress; + uintptr_t Rew = (uintptr_t)RewAddress; + CXSourceLocation *Loc = (CXSourceLocation *)(uintptr_t)LocAddress; + uintptr_t Insert = (uintptr_t)InsertAddress; UNUSED_PARAMS(__env, clazz) clang_CXRewriter_insertTextBefore(Rew, *Loc, Insert); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangRewrite_nclang_1CXRewriter_1replaceText(JNIEnv *__env, jclass clazz, jlong RewAddress, jlong ToBeReplacedAddress, jlong ReplacementAddress, jlong __functionAddress) { - clang_CXRewriter_replaceTextPROC clang_CXRewriter_replaceText = (clang_CXRewriter_replaceTextPROC)(intptr_t)__functionAddress; - intptr_t Rew = (intptr_t)RewAddress; - CXSourceRange *ToBeReplaced = (CXSourceRange *)(intptr_t)ToBeReplacedAddress; - intptr_t Replacement = (intptr_t)ReplacementAddress; + clang_CXRewriter_replaceTextPROC clang_CXRewriter_replaceText = (clang_CXRewriter_replaceTextPROC)(uintptr_t)__functionAddress; + uintptr_t Rew = (uintptr_t)RewAddress; + CXSourceRange *ToBeReplaced = (CXSourceRange *)(uintptr_t)ToBeReplacedAddress; + uintptr_t Replacement = (uintptr_t)ReplacementAddress; UNUSED_PARAMS(__env, clazz) clang_CXRewriter_replaceText(Rew, *ToBeReplaced, Replacement); } JNIEXPORT void JNICALL Java_org_lwjgl_llvm_ClangRewrite_nclang_1CXRewriter_1removeText(JNIEnv *__env, jclass clazz, jlong RewAddress, jlong ToBeRemovedAddress, jlong __functionAddress) { - clang_CXRewriter_removeTextPROC clang_CXRewriter_removeText = (clang_CXRewriter_removeTextPROC)(intptr_t)__functionAddress; - intptr_t Rew = (intptr_t)RewAddress; - CXSourceRange *ToBeRemoved = (CXSourceRange *)(intptr_t)ToBeRemovedAddress; + clang_CXRewriter_removeTextPROC clang_CXRewriter_removeText = (clang_CXRewriter_removeTextPROC)(uintptr_t)__functionAddress; + uintptr_t Rew = (uintptr_t)RewAddress; + CXSourceRange *ToBeRemoved = (CXSourceRange *)(uintptr_t)ToBeRemovedAddress; UNUSED_PARAMS(__env, clazz) clang_CXRewriter_removeText(Rew, *ToBeRemoved); } diff --git a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_LLVMLTO.c b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_LLVMLTO.c index 0a5af7f512..6fe39082f1 100644 --- a/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_LLVMLTO.c +++ b/modules/lwjgl/llvm/src/generated/c/org_lwjgl_llvm_LLVMLTO.c @@ -10,15 +10,15 @@ typedef struct { size_t Size; } LTOObjectBuffer; -typedef LTOObjectBuffer (*thinlto_module_get_objectPROC) (intptr_t, jint); +typedef LTOObjectBuffer (*thinlto_module_get_objectPROC) (uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_llvm_LLVMLTO_nthinlto_1module_1get_1object(JNIEnv *__env, jclass clazz, jlong cgAddress, jint index, jlong __functionAddress, jlong __result) { - thinlto_module_get_objectPROC thinlto_module_get_object = (thinlto_module_get_objectPROC)(intptr_t)__functionAddress; - intptr_t cg = (intptr_t)cgAddress; + thinlto_module_get_objectPROC thinlto_module_get_object = (thinlto_module_get_objectPROC)(uintptr_t)__functionAddress; + uintptr_t cg = (uintptr_t)cgAddress; UNUSED_PARAMS(__env, clazz) - *((LTOObjectBuffer*)(intptr_t)__result) = thinlto_module_get_object(cg, index); + *((LTOObjectBuffer*)(uintptr_t)__result) = thinlto_module_get_object(cg, index); } EXTERN_C_EXIT diff --git a/modules/lwjgl/lmdb/src/generated/c/org_lwjgl_util_lmdb_LMDB.c b/modules/lwjgl/lmdb/src/generated/c/org_lwjgl_util_lmdb_LMDB.c index 162df4d8c3..71152693c4 100644 --- a/modules/lwjgl/lmdb/src/generated/c/org_lwjgl_util_lmdb_LMDB.c +++ b/modules/lwjgl/lmdb/src/generated/c/org_lwjgl_util_lmdb_LMDB.c @@ -15,353 +15,353 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1version__JJJ(JNIEnv *__env, jclass clazz, jlong majorAddress, jlong minorAddress, jlong patchAddress) { - int *major = (int *)(intptr_t)majorAddress; - int *minor = (int *)(intptr_t)minorAddress; - int *patch = (int *)(intptr_t)patchAddress; + int *major = (int *)(uintptr_t)majorAddress; + int *minor = (int *)(uintptr_t)minorAddress; + int *patch = (int *)(uintptr_t)patchAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)mdb_version(major, minor, patch); + return (jlong)(uintptr_t)mdb_version(major, minor, patch); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1strerror(JNIEnv *__env, jclass clazz, jint err) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)mdb_strerror(err); + return (jlong)(uintptr_t)mdb_strerror(err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1create(JNIEnv *__env, jclass clazz, jlong envAddress) { - MDB_env **env = (MDB_env **)(intptr_t)envAddress; + MDB_env **env = (MDB_env **)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_create(env); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1open(JNIEnv *__env, jclass clazz, jlong envAddress, jlong pathAddress, jint flags, jint mode) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - char const *path = (char const *)(intptr_t)pathAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_open(env, path, (unsigned int)flags, (mdb_mode_t)mode); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1copy(JNIEnv *__env, jclass clazz, jlong envAddress, jlong pathAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - char const *path = (char const *)(intptr_t)pathAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_copy(env, path); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1copy2(JNIEnv *__env, jclass clazz, jlong envAddress, jlong pathAddress, jint flags) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - char const *path = (char const *)(intptr_t)pathAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + char const *path = (char const *)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_copy2(env, path, (unsigned int)flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1stat(JNIEnv *__env, jclass clazz, jlong envAddress, jlong statAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - MDB_stat *stat = (MDB_stat *)(intptr_t)statAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + MDB_stat *stat = (MDB_stat *)(uintptr_t)statAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_stat(env, stat); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1info(JNIEnv *__env, jclass clazz, jlong envAddress, jlong statAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - MDB_envinfo *stat = (MDB_envinfo *)(intptr_t)statAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + MDB_envinfo *stat = (MDB_envinfo *)(uintptr_t)statAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_info(env, stat); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1sync(JNIEnv *__env, jclass clazz, jlong envAddress, jint force) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_sync(env, force); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1close(JNIEnv *__env, jclass clazz, jlong envAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) mdb_env_close(env); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1set_1flags(JNIEnv *__env, jclass clazz, jlong envAddress, jint flags, jint onoff) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_set_flags(env, (unsigned int)flags, onoff); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1flags__JJ(JNIEnv *__env, jclass clazz, jlong envAddress, jlong flagsAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - unsigned int *flags = (unsigned int *)(intptr_t)flagsAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + unsigned int *flags = (unsigned int *)(uintptr_t)flagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_get_flags(env, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1path(JNIEnv *__env, jclass clazz, jlong envAddress, jlong pathAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - char const **path = (char const **)(intptr_t)pathAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + char const **path = (char const **)(uintptr_t)pathAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_get_path(env, path); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1set_1mapsize(JNIEnv *__env, jclass clazz, jlong envAddress, jlong size) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_set_mapsize(env, (size_t)size); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1set_1maxreaders(JNIEnv *__env, jclass clazz, jlong envAddress, jint readers) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_set_maxreaders(env, (unsigned int)readers); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1maxreaders__JJ(JNIEnv *__env, jclass clazz, jlong envAddress, jlong readersAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - unsigned int *readers = (unsigned int *)(intptr_t)readersAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + unsigned int *readers = (unsigned int *)(uintptr_t)readersAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_get_maxreaders(env, readers); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1set_1maxdbs(JNIEnv *__env, jclass clazz, jlong envAddress, jint dbs) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_set_maxdbs(env, (MDB_dbi)dbs); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1maxkeysize(JNIEnv *__env, jclass clazz, jlong envAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_get_maxkeysize(env); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1set_1userctx(JNIEnv *__env, jclass clazz, jlong envAddress, jlong ctxAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - void *ctx = (void *)(intptr_t)ctxAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + void *ctx = (void *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_env_set_userctx(env, ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1userctx(JNIEnv *__env, jclass clazz, jlong envAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)mdb_env_get_userctx(env); + return (jlong)(uintptr_t)mdb_env_get_userctx(env); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1begin(JNIEnv *__env, jclass clazz, jlong envAddress, jlong parentAddress, jint flags, jlong txnAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - MDB_txn *parent = (MDB_txn *)(intptr_t)parentAddress; - MDB_txn **txn = (MDB_txn **)(intptr_t)txnAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + MDB_txn *parent = (MDB_txn *)(uintptr_t)parentAddress; + MDB_txn **txn = (MDB_txn **)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_txn_begin(env, parent, (unsigned int)flags, txn); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1env(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)mdb_txn_env(txn); + return (jlong)(uintptr_t)mdb_txn_env(txn); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1id(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) return (jlong)mdb_txn_id(txn); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1commit(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_txn_commit(txn); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1abort(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) mdb_txn_abort(txn); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1reset(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) mdb_txn_reset(txn); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1txn_1renew(JNIEnv *__env, jclass clazz, jlong txnAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_txn_renew(txn); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1open__JJIJ(JNIEnv *__env, jclass clazz, jlong txnAddress, jlong nameAddress, jint flags, jlong dbiAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - char const *name = (char const *)(intptr_t)nameAddress; - MDB_dbi *dbi = (MDB_dbi *)(intptr_t)dbiAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + MDB_dbi *dbi = (MDB_dbi *)(uintptr_t)dbiAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_dbi_open(txn, name, (unsigned int)flags, dbi); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1stat(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong statAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_stat *stat = (MDB_stat *)(intptr_t)statAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_stat *stat = (MDB_stat *)(uintptr_t)statAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_stat(txn, (MDB_dbi)dbi, stat); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1flags__JIJ(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong flagsAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - unsigned int *flags = (unsigned int *)(intptr_t)flagsAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + unsigned int *flags = (unsigned int *)(uintptr_t)flagsAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_dbi_flags(txn, (MDB_dbi)dbi, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1close(JNIEnv *__env, jclass clazz, jlong envAddress, jint dbi) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; UNUSED_PARAMS(__env, clazz) mdb_dbi_close(env, (MDB_dbi)dbi); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1drop(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jint del) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_drop(txn, (MDB_dbi)dbi, del); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1set_1compare(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong cmpAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_cmp_func *cmp = (MDB_cmp_func *)(intptr_t)cmpAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_cmp_func *cmp = (MDB_cmp_func *)(uintptr_t)cmpAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_set_compare(txn, (MDB_dbi)dbi, cmp); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1set_1dupsort(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong cmpAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_cmp_func *cmp = (MDB_cmp_func *)(intptr_t)cmpAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_cmp_func *cmp = (MDB_cmp_func *)(uintptr_t)cmpAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_set_dupsort(txn, (MDB_dbi)dbi, cmp); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1set_1relfunc(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong relAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_rel_func *rel = (MDB_rel_func *)(intptr_t)relAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_rel_func *rel = (MDB_rel_func *)(uintptr_t)relAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_set_relfunc(txn, (MDB_dbi)dbi, rel); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1set_1relctx(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong ctxAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - void *ctx = (void *)(intptr_t)ctxAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + void *ctx = (void *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_set_relctx(txn, (MDB_dbi)dbi, ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1get(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong keyAddress, jlong dataAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_val *key = (MDB_val *)(intptr_t)keyAddress; - MDB_val *data = (MDB_val *)(intptr_t)dataAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_val *key = (MDB_val *)(uintptr_t)keyAddress; + MDB_val *data = (MDB_val *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_get(txn, (MDB_dbi)dbi, key, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1put(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong keyAddress, jlong dataAddress, jint flags) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_val *key = (MDB_val *)(intptr_t)keyAddress; - MDB_val *data = (MDB_val *)(intptr_t)dataAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_val *key = (MDB_val *)(uintptr_t)keyAddress; + MDB_val *data = (MDB_val *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_put(txn, (MDB_dbi)dbi, key, data, (unsigned int)flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1del(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong keyAddress, jlong dataAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_val *key = (MDB_val *)(intptr_t)keyAddress; - MDB_val *data = (MDB_val *)(intptr_t)dataAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_val *key = (MDB_val *)(uintptr_t)keyAddress; + MDB_val *data = (MDB_val *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_del(txn, (MDB_dbi)dbi, key, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1open(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong cursorAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_cursor **cursor = (MDB_cursor **)(intptr_t)cursorAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_cursor **cursor = (MDB_cursor **)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_open(txn, (MDB_dbi)dbi, cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1close(JNIEnv *__env, jclass clazz, jlong cursorAddress) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) mdb_cursor_close(cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1renew(JNIEnv *__env, jclass clazz, jlong txnAddress, jlong cursorAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_renew(txn, cursor); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1txn(JNIEnv *__env, jclass clazz, jlong cursorAddress) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)mdb_cursor_txn(cursor); + return (jlong)(uintptr_t)mdb_cursor_txn(cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1dbi(JNIEnv *__env, jclass clazz, jlong cursorAddress) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_dbi(cursor); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1get(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong keyAddress, jlong dataAddress, jint op) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; - MDB_val *key = (MDB_val *)(intptr_t)keyAddress; - MDB_val *data = (MDB_val *)(intptr_t)dataAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; + MDB_val *key = (MDB_val *)(uintptr_t)keyAddress; + MDB_val *data = (MDB_val *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_get(cursor, key, data, (MDB_cursor_op)op); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1put(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong keyAddress, jlong dataAddress, jint flags) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; - MDB_val *key = (MDB_val *)(intptr_t)keyAddress; - MDB_val *data = (MDB_val *)(intptr_t)dataAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; + MDB_val *key = (MDB_val *)(uintptr_t)keyAddress; + MDB_val *data = (MDB_val *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_put(cursor, key, data, (unsigned int)flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1del(JNIEnv *__env, jclass clazz, jlong cursorAddress, jint flags) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_del(cursor, (unsigned int)flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cursor_1count(JNIEnv *__env, jclass clazz, jlong cursorAddress, jlong countpAddress) { - MDB_cursor *cursor = (MDB_cursor *)(intptr_t)cursorAddress; - size_t *countp = (size_t *)(intptr_t)countpAddress; + MDB_cursor *cursor = (MDB_cursor *)(uintptr_t)cursorAddress; + size_t *countp = (size_t *)(uintptr_t)countpAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cursor_count(cursor, countp); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1cmp(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong aAddress, jlong bAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_val const *a = (MDB_val const *)(intptr_t)aAddress; - MDB_val const *b = (MDB_val const *)(intptr_t)bAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_val const *a = (MDB_val const *)(uintptr_t)aAddress; + MDB_val const *b = (MDB_val const *)(uintptr_t)bAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_cmp(txn, (MDB_dbi)dbi, a, b); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dcmp(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jlong aAddress, jlong bAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - MDB_val const *a = (MDB_val const *)(intptr_t)aAddress; - MDB_val const *b = (MDB_val const *)(intptr_t)bAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + MDB_val const *a = (MDB_val const *)(uintptr_t)aAddress; + MDB_val const *b = (MDB_val const *)(uintptr_t)bAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_dcmp(txn, (MDB_dbi)dbi, a, b); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1reader_1list(JNIEnv *__env, jclass clazz, jlong envAddress, jlong funcAddress, jlong ctxAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - MDB_msg_func *func = (MDB_msg_func *)(intptr_t)funcAddress; - void *ctx = (void *)(intptr_t)ctxAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + MDB_msg_func *func = (MDB_msg_func *)(uintptr_t)funcAddress; + void *ctx = (void *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_reader_list(env, func, ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1reader_1check__JJ(JNIEnv *__env, jclass clazz, jlong envAddress, jlong deadAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; - int *dead = (int *)(intptr_t)deadAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; + int *dead = (int *)(uintptr_t)deadAddress; UNUSED_PARAMS(__env, clazz) return (jint)mdb_reader_check(env, dead); } @@ -372,7 +372,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1version___3I_3I_3I(J jint *minor = minorAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, minorAddress, NULL); jint *patch = patchAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, patchAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)mdb_version((int *)major, (int *)minor, (int *)patch); + __result = (jlong)(uintptr_t)mdb_version((int *)major, (int *)minor, (int *)patch); if (patch != NULL) { (*__env)->ReleaseIntArrayElements(__env, patchAddress, patch, 0); } if (minor != NULL) { (*__env)->ReleaseIntArrayElements(__env, minorAddress, minor, 0); } if (major != NULL) { (*__env)->ReleaseIntArrayElements(__env, majorAddress, major, 0); } @@ -380,7 +380,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1version___3I_3I_3I(J } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1flags__J_3I(JNIEnv *__env, jclass clazz, jlong envAddress, jintArray flagsAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; jint __result; jint *flags = (*__env)->GetIntArrayElements(__env, flagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -390,7 +390,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1flags__J_3I } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1maxreaders__J_3I(JNIEnv *__env, jclass clazz, jlong envAddress, jintArray readersAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; jint __result; jint *readers = (*__env)->GetIntArrayElements(__env, readersAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -400,8 +400,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1env_1get_1maxreaders_ } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1open__JJI_3I(JNIEnv *__env, jclass clazz, jlong txnAddress, jlong nameAddress, jint flags, jintArray dbiAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; - char const *name = (char const *)(intptr_t)nameAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; + char const *name = (char const *)(uintptr_t)nameAddress; jint __result; jint *dbi = (*__env)->GetIntArrayElements(__env, dbiAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -411,7 +411,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1open__JJI_3I(JNI } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1flags__JI_3I(JNIEnv *__env, jclass clazz, jlong txnAddress, jint dbi, jintArray flagsAddress) { - MDB_txn *txn = (MDB_txn *)(intptr_t)txnAddress; + MDB_txn *txn = (MDB_txn *)(uintptr_t)txnAddress; jint __result; jint *flags = (*__env)->GetIntArrayElements(__env, flagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -421,7 +421,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1dbi_1flags__JI_3I(JNI } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lmdb_LMDB_nmdb_1reader_1check__J_3I(JNIEnv *__env, jclass clazz, jlong envAddress, jintArray deadAddress) { - MDB_env *env = (MDB_env *)(intptr_t)envAddress; + MDB_env *env = (MDB_env *)(uintptr_t)envAddress; jint __result; jint *dead = (*__env)->GetIntArrayElements(__env, deadAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4.c b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4.c index 81b3d99bdf..ecb235f69c 100644 --- a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4.c +++ b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4.c @@ -18,19 +18,19 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1versionNumber(JNIEnv *__ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1versionString(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_versionString(); + return (jlong)(uintptr_t)LZ4_versionString(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1default(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_default(src, dst, srcSize, dstCapacity); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1decompress_1safe(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint compressedSize, jint dstCapacity) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_decompress_safe(src, dst, compressedSize, dstCapacity); } @@ -41,8 +41,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1compressBound(JNIEnv *__ } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1fast(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint acceleration) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_fast(src, dst, srcSize, dstCapacity, acceleration); } @@ -53,81 +53,81 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1sizeofState(JNIEnv *__en } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1fast_1extState(JNIEnv *__env, jclass clazz, jlong stateAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint acceleration) { - void *state = (void *)(intptr_t)stateAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + void *state = (void *)(uintptr_t)stateAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_fast_extState(state, src, dst, srcSize, dstCapacity, acceleration); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1destSize(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jlong srcSizePtrAddress, jint targetDstSize) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; - int *srcSizePtr = (int *)(intptr_t)srcSizePtrAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; + int *srcSizePtr = (int *)(uintptr_t)srcSizePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_destSize(src, dst, srcSizePtr, targetDstSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1decompress_1safe_1partial(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint compressedSize, jint targetOutputSize, jint dstCapacity) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_decompress_safe_partial(src, dst, compressedSize, targetOutputSize, dstCapacity); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1createStream(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_createStream(); + return (jlong)(uintptr_t)LZ4_createStream(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1freeStream(JNIEnv *__env, jclass clazz, jlong streamPtrAddress) { - LZ4_stream_t *streamPtr = (LZ4_stream_t *)(intptr_t)streamPtrAddress; + LZ4_stream_t *streamPtr = (LZ4_stream_t *)(uintptr_t)streamPtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_freeStream(streamPtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1resetStream_1fast(JNIEnv *__env, jclass clazz, jlong streamPtrAddress) { - LZ4_stream_t *streamPtr = (LZ4_stream_t *)(intptr_t)streamPtrAddress; + LZ4_stream_t *streamPtr = (LZ4_stream_t *)(uintptr_t)streamPtrAddress; UNUSED_PARAMS(__env, clazz) LZ4_resetStream_fast(streamPtr); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1loadDict(JNIEnv *__env, jclass clazz, jlong streamPtrAddress, jlong dictionaryAddress, jint dictSize) { - LZ4_stream_t *streamPtr = (LZ4_stream_t *)(intptr_t)streamPtrAddress; - char const *dictionary = (char const *)(intptr_t)dictionaryAddress; + LZ4_stream_t *streamPtr = (LZ4_stream_t *)(uintptr_t)streamPtrAddress; + char const *dictionary = (char const *)(uintptr_t)dictionaryAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_loadDict(streamPtr, dictionary, dictSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1fast_1continue(JNIEnv *__env, jclass clazz, jlong streamPtrAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint acceleration) { - LZ4_stream_t *streamPtr = (LZ4_stream_t *)(intptr_t)streamPtrAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + LZ4_stream_t *streamPtr = (LZ4_stream_t *)(uintptr_t)streamPtrAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_fast_continue(streamPtr, src, dst, srcSize, dstCapacity, acceleration); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1saveDict(JNIEnv *__env, jclass clazz, jlong streamPtrAddress, jlong safeBufferAddress, jint maxDictSize) { - LZ4_stream_t *streamPtr = (LZ4_stream_t *)(intptr_t)streamPtrAddress; - char *safeBuffer = (char *)(intptr_t)safeBufferAddress; + LZ4_stream_t *streamPtr = (LZ4_stream_t *)(uintptr_t)streamPtrAddress; + char *safeBuffer = (char *)(uintptr_t)safeBufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_saveDict(streamPtr, safeBuffer, maxDictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1createStreamDecode(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_createStreamDecode(); + return (jlong)(uintptr_t)LZ4_createStreamDecode(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1freeStreamDecode(JNIEnv *__env, jclass clazz, jlong LZ4_streamAddress) { - LZ4_streamDecode_t *LZ4_stream = (LZ4_streamDecode_t *)(intptr_t)LZ4_streamAddress; + LZ4_streamDecode_t *LZ4_stream = (LZ4_streamDecode_t *)(uintptr_t)LZ4_streamAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_freeStreamDecode(LZ4_stream); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1setStreamDecode(JNIEnv *__env, jclass clazz, jlong LZ4_streamDecodeAddress, jlong dictionaryAddress, jint dictSize) { - LZ4_streamDecode_t *LZ4_streamDecode = (LZ4_streamDecode_t *)(intptr_t)LZ4_streamDecodeAddress; - char const *dictionary = (char const *)(intptr_t)dictionaryAddress; + LZ4_streamDecode_t *LZ4_streamDecode = (LZ4_streamDecode_t *)(uintptr_t)LZ4_streamDecodeAddress; + char const *dictionary = (char const *)(uintptr_t)dictionaryAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_setStreamDecode(LZ4_streamDecode, dictionary, dictSize); } @@ -138,40 +138,40 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_LZ4_1decoderRingBufferSize(JN } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1decompress_1safe_1continue(JNIEnv *__env, jclass clazz, jlong LZ4_streamDecodeAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity) { - LZ4_streamDecode_t *LZ4_streamDecode = (LZ4_streamDecode_t *)(intptr_t)LZ4_streamDecodeAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + LZ4_streamDecode_t *LZ4_streamDecode = (LZ4_streamDecode_t *)(uintptr_t)LZ4_streamDecodeAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_decompress_safe_continue(LZ4_streamDecode, src, dst, srcSize, dstCapacity); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1decompress_1safe_1usingDict(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jlong dictStartAddress, jint dictSize) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; - char const *dictStart = (char const *)(intptr_t)dictStartAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; + char const *dictStart = (char const *)(uintptr_t)dictStartAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_decompress_safe_usingDict(src, dst, srcSize, dstCapacity, dictStart, dictSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1compress_1fast_1extState_1fastReset(JNIEnv *__env, jclass clazz, jlong stateAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint acceleration) { - void *state = (void *)(intptr_t)stateAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + void *state = (void *)(uintptr_t)stateAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_fast_extState_fastReset(state, src, dst, srcSize, dstCapacity, acceleration); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1attach_1dictionary(JNIEnv *__env, jclass clazz, jlong workingStreamAddress, jlong dictionaryStreamAddress) { - LZ4_stream_t *workingStream = (LZ4_stream_t *)(intptr_t)workingStreamAddress; - LZ4_stream_t const *dictionaryStream = (LZ4_stream_t const *)(intptr_t)dictionaryStreamAddress; + LZ4_stream_t *workingStream = (LZ4_stream_t *)(uintptr_t)workingStreamAddress; + LZ4_stream_t const *dictionaryStream = (LZ4_stream_t const *)(uintptr_t)dictionaryStreamAddress; UNUSED_PARAMS(__env, clazz) LZ4_attach_dictionary(workingStream, dictionaryStream); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4_nLZ4_1initStream(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong size) { - void *buffer = (void *)(intptr_t)bufferAddress; + void *buffer = (void *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_initStream(buffer, (size_t)size); + return (jlong)(uintptr_t)LZ4_initStream(buffer, (size_t)size); } EXTERN_C_EXIT diff --git a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4Frame.c b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4Frame.c index f81285d8f6..b5eb5ab4f5 100644 --- a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4Frame.c +++ b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4Frame.c @@ -18,7 +18,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1isError(JNIEnv *_ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1getErrorName(JNIEnv *__env, jclass clazz, jlong code) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4F_getErrorName((LZ4F_errorCode_t)code); + return (jlong)(uintptr_t)LZ4F_getErrorName((LZ4F_errorCode_t)code); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_LZ4F_1compressionLevel_1max(JNIEnv *__env, jclass clazz) { @@ -27,15 +27,15 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_LZ4F_1compressionLevel_1 } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressFrameBound(JNIEnv *__env, jclass clazz, jlong srcSize, jlong preferencesPtrAddress) { - LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(intptr_t)preferencesPtrAddress; + LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(uintptr_t)preferencesPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressFrameBound((size_t)srcSize, preferencesPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressFrame(JNIEnv *__env, jclass clazz, jlong dstBufferAddress, jlong dstCapacity, jlong srcBufferAddress, jlong srcSize, jlong preferencesPtrAddress) { - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - void const *srcBuffer = (void const *)(intptr_t)srcBufferAddress; - LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(intptr_t)preferencesPtrAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + void const *srcBuffer = (void const *)(uintptr_t)srcBufferAddress; + LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(uintptr_t)preferencesPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressFrame(dstBuffer, (size_t)dstCapacity, srcBuffer, (size_t)srcSize, preferencesPtr); } @@ -46,90 +46,90 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_LZ4F_1getVersion(JNIEnv } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1createCompressionContext(JNIEnv *__env, jclass clazz, jlong cctxPtrAddress, jint version) { - LZ4F_cctx **cctxPtr = (LZ4F_cctx **)(intptr_t)cctxPtrAddress; + LZ4F_cctx **cctxPtr = (LZ4F_cctx **)(uintptr_t)cctxPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_createCompressionContext(cctxPtr, (unsigned)version); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1freeCompressionContext(JNIEnv *__env, jclass clazz, jlong cctxAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_freeCompressionContext(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressBegin(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstBufferAddress, jlong dstCapacity, jlong prefsPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(intptr_t)prefsPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(uintptr_t)prefsPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressBegin(cctx, dstBuffer, (size_t)dstCapacity, prefsPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressBound(JNIEnv *__env, jclass clazz, jlong srcSize, jlong prefsPtrAddress) { - LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(intptr_t)prefsPtrAddress; + LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(uintptr_t)prefsPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressBound((size_t)srcSize, prefsPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressUpdate(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstBufferAddress, jlong dstCapacity, jlong srcBufferAddress, jlong srcSize, jlong cOptPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - void const *srcBuffer = (void const *)(intptr_t)srcBufferAddress; - LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(intptr_t)cOptPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + void const *srcBuffer = (void const *)(uintptr_t)srcBufferAddress; + LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(uintptr_t)cOptPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressUpdate(cctx, dstBuffer, (size_t)dstCapacity, srcBuffer, (size_t)srcSize, cOptPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1flush(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstBufferAddress, jlong dstCapacity, jlong cOptPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(intptr_t)cOptPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(uintptr_t)cOptPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_flush(cctx, dstBuffer, (size_t)dstCapacity, cOptPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressEnd(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstBufferAddress, jlong dstCapacity, jlong cOptPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(intptr_t)cOptPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + LZ4F_compressOptions_t const *cOptPtr = (LZ4F_compressOptions_t const *)(uintptr_t)cOptPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressEnd(cctx, dstBuffer, (size_t)dstCapacity, cOptPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1createDecompressionContext(JNIEnv *__env, jclass clazz, jlong dctxPtrAddress, jint version) { - LZ4F_dctx **dctxPtr = (LZ4F_dctx **)(intptr_t)dctxPtrAddress; + LZ4F_dctx **dctxPtr = (LZ4F_dctx **)(uintptr_t)dctxPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_createDecompressionContext(dctxPtr, (unsigned)version); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1freeDecompressionContext(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - LZ4F_dctx *dctx = (LZ4F_dctx *)(intptr_t)dctxAddress; + LZ4F_dctx *dctx = (LZ4F_dctx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_freeDecompressionContext(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1getFrameInfo(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong frameInfoPtrAddress, jlong srcBufferAddress, jlong srcSizePtrAddress) { - LZ4F_dctx *dctx = (LZ4F_dctx *)(intptr_t)dctxAddress; - LZ4F_frameInfo_t *frameInfoPtr = (LZ4F_frameInfo_t *)(intptr_t)frameInfoPtrAddress; - void const *srcBuffer = (void const *)(intptr_t)srcBufferAddress; - size_t *srcSizePtr = (size_t *)(intptr_t)srcSizePtrAddress; + LZ4F_dctx *dctx = (LZ4F_dctx *)(uintptr_t)dctxAddress; + LZ4F_frameInfo_t *frameInfoPtr = (LZ4F_frameInfo_t *)(uintptr_t)frameInfoPtrAddress; + void const *srcBuffer = (void const *)(uintptr_t)srcBufferAddress; + size_t *srcSizePtr = (size_t *)(uintptr_t)srcSizePtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_getFrameInfo(dctx, frameInfoPtr, srcBuffer, srcSizePtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1decompress(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstBufferAddress, jlong dstSizePtrAddress, jlong srcBufferAddress, jlong srcSizePtrAddress, jlong dOptPtrAddress) { - LZ4F_dctx *dctx = (LZ4F_dctx *)(intptr_t)dctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - size_t *dstSizePtr = (size_t *)(intptr_t)dstSizePtrAddress; - void const *srcBuffer = (void const *)(intptr_t)srcBufferAddress; - size_t *srcSizePtr = (size_t *)(intptr_t)srcSizePtrAddress; - LZ4F_decompressOptions_t const *dOptPtr = (LZ4F_decompressOptions_t const *)(intptr_t)dOptPtrAddress; + LZ4F_dctx *dctx = (LZ4F_dctx *)(uintptr_t)dctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + size_t *dstSizePtr = (size_t *)(uintptr_t)dstSizePtrAddress; + void const *srcBuffer = (void const *)(uintptr_t)srcBufferAddress; + size_t *srcSizePtr = (size_t *)(uintptr_t)srcSizePtrAddress; + LZ4F_decompressOptions_t const *dOptPtr = (LZ4F_decompressOptions_t const *)(uintptr_t)dOptPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_decompress(dctx, dstBuffer, dstSizePtr, srcBuffer, srcSizePtr, dOptPtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1resetDecompressionContext(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - LZ4F_dctx *dctx = (LZ4F_dctx *)(intptr_t)dctxAddress; + LZ4F_dctx *dctx = (LZ4F_dctx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) LZ4F_resetDecompressionContext(dctx); } @@ -140,44 +140,44 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_LZ4F_1getErrorCode(JNIEn } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1createCDict(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4F_createCDict(dictBuffer, (size_t)dictSize); + return (jlong)(uintptr_t)LZ4F_createCDict(dictBuffer, (size_t)dictSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1freeCDict(JNIEnv *__env, jclass clazz, jlong CDictAddress) { - LZ4F_CDict *CDict = (LZ4F_CDict *)(intptr_t)CDictAddress; + LZ4F_CDict *CDict = (LZ4F_CDict *)(uintptr_t)CDictAddress; UNUSED_PARAMS(__env, clazz) LZ4F_freeCDict(CDict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressFrame_1usingCDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jlong cdictAddress, jlong preferencesPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; - LZ4F_CDict const *cdict = (LZ4F_CDict const *)(intptr_t)cdictAddress; - LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(intptr_t)preferencesPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + LZ4F_CDict const *cdict = (LZ4F_CDict const *)(uintptr_t)cdictAddress; + LZ4F_preferences_t const *preferencesPtr = (LZ4F_preferences_t const *)(uintptr_t)preferencesPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressFrame_usingCDict(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, cdict, preferencesPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1compressBegin_1usingCDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstBufferAddress, jlong dstCapacity, jlong cdictAddress, jlong prefsPtrAddress) { - LZ4F_cctx *cctx = (LZ4F_cctx *)(intptr_t)cctxAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - LZ4F_CDict const *cdict = (LZ4F_CDict const *)(intptr_t)cdictAddress; - LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(intptr_t)prefsPtrAddress; + LZ4F_cctx *cctx = (LZ4F_cctx *)(uintptr_t)cctxAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + LZ4F_CDict const *cdict = (LZ4F_CDict const *)(uintptr_t)cdictAddress; + LZ4F_preferences_t const *prefsPtr = (LZ4F_preferences_t const *)(uintptr_t)prefsPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_compressBegin_usingCDict(cctx, dstBuffer, (size_t)dstCapacity, cdict, prefsPtr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4Frame_nLZ4F_1decompress_1usingDict(JNIEnv *__env, jclass clazz, jlong dctxPtrAddress, jlong dstBufferAddress, jlong dstSizePtrAddress, jlong srcBufferAddress, jlong srcSizePtrAddress, jlong dictAddress, jlong dictSize, jlong decompressOptionsPtrAddress) { - LZ4F_dctx *dctxPtr = (LZ4F_dctx *)(intptr_t)dctxPtrAddress; - void *dstBuffer = (void *)(intptr_t)dstBufferAddress; - size_t *dstSizePtr = (size_t *)(intptr_t)dstSizePtrAddress; - void const *srcBuffer = (void const *)(intptr_t)srcBufferAddress; - size_t *srcSizePtr = (size_t *)(intptr_t)srcSizePtrAddress; - void const *dict = (void const *)(intptr_t)dictAddress; - LZ4F_decompressOptions_t const *decompressOptionsPtr = (LZ4F_decompressOptions_t const *)(intptr_t)decompressOptionsPtrAddress; + LZ4F_dctx *dctxPtr = (LZ4F_dctx *)(uintptr_t)dctxPtrAddress; + void *dstBuffer = (void *)(uintptr_t)dstBufferAddress; + size_t *dstSizePtr = (size_t *)(uintptr_t)dstSizePtrAddress; + void const *srcBuffer = (void const *)(uintptr_t)srcBufferAddress; + size_t *srcSizePtr = (size_t *)(uintptr_t)srcSizePtrAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; + LZ4F_decompressOptions_t const *decompressOptionsPtr = (LZ4F_decompressOptions_t const *)(uintptr_t)decompressOptionsPtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)LZ4F_decompress_usingDict(dctxPtr, dstBuffer, dstSizePtr, srcBuffer, srcSizePtr, dict, (size_t)dictSize, decompressOptionsPtr); } diff --git a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4HC.c b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4HC.c index a76b0e4422..5aad15b8ed 100644 --- a/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4HC.c +++ b/modules/lwjgl/lz4/src/generated/c/org_lwjgl_util_lz4_LZ4HC.c @@ -12,8 +12,8 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint compressionLevel) { - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC(src, dst, srcSize, dstCapacity, compressionLevel); } @@ -24,99 +24,99 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_LZ4_1sizeofStateHC(JNIEnv * } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC_1extStateHC(JNIEnv *__env, jclass clazz, jlong stateAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint maxDstSize, jint compressionLevel) { - void *state = (void *)(intptr_t)stateAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + void *state = (void *)(uintptr_t)stateAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC_extStateHC(state, src, dst, srcSize, maxDstSize, compressionLevel); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC_1destSize(JNIEnv *__env, jclass clazz, jlong stateHCAddress, jlong srcAddress, jlong dstAddress, jlong srcSizePtrAddress, jint targetDstSize, jint compressionLevel) { - void *stateHC = (void *)(intptr_t)stateHCAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; - int *srcSizePtr = (int *)(intptr_t)srcSizePtrAddress; + void *stateHC = (void *)(uintptr_t)stateHCAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; + int *srcSizePtr = (int *)(uintptr_t)srcSizePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC_destSize(stateHC, src, dst, srcSizePtr, targetDstSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4HC_LZ4_1createStreamHC(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_createStreamHC(); + return (jlong)(uintptr_t)LZ4_createStreamHC(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1freeStreamHC(JNIEnv *__env, jclass clazz, jlong streamHCPtrAddress) { - LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(intptr_t)streamHCPtrAddress; + LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)streamHCPtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_freeStreamHC(streamHCPtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1resetStreamHC_1fast(JNIEnv *__env, jclass clazz, jlong LZ4_streamHCPtrAddress, jint compressionLevel) { - LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(intptr_t)LZ4_streamHCPtrAddress; + LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)LZ4_streamHCPtrAddress; UNUSED_PARAMS(__env, clazz) LZ4_resetStreamHC_fast(LZ4_streamHCPtr, compressionLevel); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1loadDictHC(JNIEnv *__env, jclass clazz, jlong streamHCPtrAddress, jlong dictionaryAddress, jint dictSize) { - LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(intptr_t)streamHCPtrAddress; - char const *dictionary = (char const *)(intptr_t)dictionaryAddress; + LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)streamHCPtrAddress; + char const *dictionary = (char const *)(uintptr_t)dictionaryAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_loadDictHC(streamHCPtr, dictionary, dictSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC_1continue(JNIEnv *__env, jclass clazz, jlong streamHCPtrAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint maxDstSize) { - LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(intptr_t)streamHCPtrAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)streamHCPtrAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC_continue(streamHCPtr, src, dst, srcSize, maxDstSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC_1continue_1destSize(JNIEnv *__env, jclass clazz, jlong streamHCPtrAddress, jlong srcAddress, jlong dstAddress, jlong srcSizePtrAddress, jint targetDstSize) { - LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(intptr_t)streamHCPtrAddress; - char const *src = (char const *)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; - int *srcSizePtr = (int *)(intptr_t)srcSizePtrAddress; + LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)streamHCPtrAddress; + char const *src = (char const *)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; + int *srcSizePtr = (int *)(uintptr_t)srcSizePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC_continue_destSize(streamHCPtr, src, dst, srcSizePtr, targetDstSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1saveDictHC(JNIEnv *__env, jclass clazz, jlong streamHCPtrAddress, jlong safeBufferAddress, jint maxDictSize) { - LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(intptr_t)streamHCPtrAddress; - char *safeBuffer = (char *)(intptr_t)safeBufferAddress; + LZ4_streamHC_t *streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)streamHCPtrAddress; + char *safeBuffer = (char *)(uintptr_t)safeBufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_saveDictHC(streamHCPtr, safeBuffer, maxDictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1initStreamHC(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong size) { - void *buffer = (void *)(intptr_t)bufferAddress; + void *buffer = (void *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)LZ4_initStreamHC(buffer, (size_t)size); + return (jlong)(uintptr_t)LZ4_initStreamHC(buffer, (size_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1setCompressionLevel(JNIEnv *__env, jclass clazz, jlong LZ4_streamHCPtrAddress, jint compressionLevel) { - LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(intptr_t)LZ4_streamHCPtrAddress; + LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)LZ4_streamHCPtrAddress; UNUSED_PARAMS(__env, clazz) LZ4_setCompressionLevel(LZ4_streamHCPtr, compressionLevel); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1favorDecompressionSpeed(JNIEnv *__env, jclass clazz, jlong LZ4_streamHCPtrAddress, jint favor) { - LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(intptr_t)LZ4_streamHCPtrAddress; + LZ4_streamHC_t *LZ4_streamHCPtr = (LZ4_streamHC_t *)(uintptr_t)LZ4_streamHCPtrAddress; UNUSED_PARAMS(__env, clazz) LZ4_favorDecompressionSpeed(LZ4_streamHCPtr, favor); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1compress_1HC_1extStateHC_1fastReset(JNIEnv *__env, jclass clazz, jlong stateAddress, jlong srcAddress, jlong dstAddress, jint srcSize, jint dstCapacity, jint compressionLevel) { - void *state = (void *)(intptr_t)stateAddress; - char * const src = (char * const)(intptr_t)srcAddress; - char *dst = (char *)(intptr_t)dstAddress; + void *state = (void *)(uintptr_t)stateAddress; + char * const src = (char * const)(uintptr_t)srcAddress; + char *dst = (char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) return (jint)LZ4_compress_HC_extStateHC_fastReset(state, src, dst, srcSize, dstCapacity, compressionLevel); } JNIEXPORT void JNICALL Java_org_lwjgl_util_lz4_LZ4HC_nLZ4_1attach_1HC_1dictionary(JNIEnv *__env, jclass clazz, jlong working_streamAddress, jlong dictionary_streamAddress) { - LZ4_streamHC_t *working_stream = (LZ4_streamHC_t *)(intptr_t)working_streamAddress; - LZ4_streamHC_t * const dictionary_stream = (LZ4_streamHC_t * const)(intptr_t)dictionary_streamAddress; + LZ4_streamHC_t *working_stream = (LZ4_streamHC_t *)(uintptr_t)working_streamAddress; + LZ4_streamHC_t * const dictionary_stream = (LZ4_streamHC_t * const)(uintptr_t)dictionary_streamAddress; UNUSED_PARAMS(__env, clazz) LZ4_attach_HC_dictionary(working_stream, dictionary_stream); } diff --git a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_Meow.c b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_Meow.c index 69496ade46..bf3815b8ec 100644 --- a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_Meow.c +++ b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_Meow.c @@ -11,47 +11,47 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meow_Meow_nMeowU64From(JNIEnv *__env, jclass clazz, jlong HashAddress) { - meow_hash *Hash = (meow_hash *)(intptr_t)HashAddress; + meow_hash *Hash = (meow_hash *)(uintptr_t)HashAddress; UNUSED_PARAMS(__env, clazz) return (jlong)MeowU64From(*Hash, 0); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_meow_Meow_nMeowU32From(JNIEnv *__env, jclass clazz, jlong HashAddress) { - meow_hash *Hash = (meow_hash *)(intptr_t)HashAddress; + meow_hash *Hash = (meow_hash *)(uintptr_t)HashAddress; UNUSED_PARAMS(__env, clazz) return (jlong)MeowU32From(*Hash, 0); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_meow_Meow_nMeowHashesAreEqual(JNIEnv *__env, jclass clazz, jlong AAddress, jlong BAddress) { - meow_hash *A = (meow_hash *)(intptr_t)AAddress; - meow_hash *B = (meow_hash *)(intptr_t)BAddress; + meow_hash *A = (meow_hash *)(uintptr_t)AAddress; + meow_hash *B = (meow_hash *)(uintptr_t)BAddress; UNUSED_PARAMS(__env, clazz) return (jint)MeowHashesAreEqual(*A, *B); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meow_Meow_nMeowHash_1Accelerated(JNIEnv *__env, jclass clazz, jlong Seed, jlong TotalLengthInBytes, jlong SourceInitAddress, jlong __result) { - void *SourceInit = (void *)(intptr_t)SourceInitAddress; + void *SourceInit = (void *)(uintptr_t)SourceInitAddress; UNUSED_PARAMS(__env, clazz) - *((meow_hash*)(intptr_t)__result) = MeowHash_Accelerated((meow_u64)Seed, (meow_u64)TotalLengthInBytes, SourceInit); + *((meow_hash*)(uintptr_t)__result) = MeowHash_Accelerated((meow_u64)Seed, (meow_u64)TotalLengthInBytes, SourceInit); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meow_Meow_nMeowHashBegin(JNIEnv *__env, jclass clazz, jlong StateAddress) { - meow_hash_state *State = (meow_hash_state *)(intptr_t)StateAddress; + meow_hash_state *State = (meow_hash_state *)(uintptr_t)StateAddress; UNUSED_PARAMS(__env, clazz) MeowHashBegin(State); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meow_Meow_nMeowHashAbsorb(JNIEnv *__env, jclass clazz, jlong StateAddress, jlong Len, jlong SourceInitAddress) { - meow_hash_state *State = (meow_hash_state *)(intptr_t)StateAddress; - void *SourceInit = (void *)(intptr_t)SourceInitAddress; + meow_hash_state *State = (meow_hash_state *)(uintptr_t)StateAddress; + void *SourceInit = (void *)(uintptr_t)SourceInitAddress; UNUSED_PARAMS(__env, clazz) MeowHashAbsorb(State, (meow_u64)Len, SourceInit); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meow_Meow_nMeowHashEnd(JNIEnv *__env, jclass clazz, jlong StateAddress, jlong Seed, jlong __result) { - meow_hash_state *State = (meow_hash_state *)(intptr_t)StateAddress; + meow_hash_state *State = (meow_hash_state *)(uintptr_t)StateAddress; UNUSED_PARAMS(__env, clazz) - *((meow_hash*)(intptr_t)__result) = MeowHashEnd(State, (meow_u64)Seed); + *((meow_hash*)(uintptr_t)__result) = MeowHashEnd(State, (meow_u64)Seed); } EXTERN_C_EXIT diff --git a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowC.c b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowC.c index a85dd357a1..8ce93c5c17 100644 --- a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowC.c +++ b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowC.c @@ -12,9 +12,9 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_util_meow_MeowC_nMeowHash_1C(JNIEnv *__env, jclass clazz, jlong Seed, jlong TotalLengthInBytes, jlong SourceInitAddress, jlong __result) { - void *SourceInit = (void *)(intptr_t)SourceInitAddress; + void *SourceInit = (void *)(uintptr_t)SourceInitAddress; UNUSED_PARAMS(__env, clazz) - *((meow_hash*)(intptr_t)__result) = MeowHash_C((meow_u64)Seed, (meow_u64)TotalLengthInBytes, SourceInit); + *((meow_hash*)(uintptr_t)__result) = MeowHash_C((meow_u64)Seed, (meow_u64)TotalLengthInBytes, SourceInit); } EXTERN_C_EXIT diff --git a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowHashState.c b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowHashState.c index 976432e56d..de3a644192 100644 --- a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowHashState.c +++ b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowHashState.c @@ -17,7 +17,7 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_meow_MeowHashState_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowU128.c b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowU128.c index 9e619aede7..a488019408 100644 --- a/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowU128.c +++ b/modules/lwjgl/meow/src/generated/c/org_lwjgl_util_meow_MeowU128.c @@ -15,7 +15,7 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_meow_MeowU128_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/meshoptimizer/src/generated/c/org_lwjgl_util_meshoptimizer_MeshOptimizer.c b/modules/lwjgl/meshoptimizer/src/generated/c/org_lwjgl_util_meshoptimizer_MeshOptimizer.c index aa286fb791..11a2fb3fb5 100644 --- a/modules/lwjgl/meshoptimizer/src/generated/c/org_lwjgl_util_meshoptimizer_MeshOptimizer.c +++ b/modules/lwjgl/meshoptimizer/src/generated/c/org_lwjgl_util_meshoptimizer_MeshOptimizer.c @@ -9,116 +9,116 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateVertexRemap(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong verticesAddress, jlong vertex_count, jlong vertex_size) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - void const *vertices = (void const *)(intptr_t)verticesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + void const *vertices = (void const *)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_generateVertexRemap(destination, indices, (size_t)index_count, vertices, (size_t)vertex_count, (size_t)vertex_size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateVertexRemapMulti(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count, jlong streamsAddress, jlong stream_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - struct meshopt_Stream const *streams = (struct meshopt_Stream const *)(intptr_t)streamsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + struct meshopt_Stream const *streams = (struct meshopt_Stream const *)(uintptr_t)streamsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_generateVertexRemapMulti(destination, indices, (size_t)index_count, (size_t)vertex_count, streams, (size_t)stream_count); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1remapVertexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong verticesAddress, jlong vertex_count, jlong vertex_size, jlong remapAddress) { - void *destination = (void *)(intptr_t)destinationAddress; - void const *vertices = (void const *)(intptr_t)verticesAddress; - unsigned int const *remap = (unsigned int const *)(intptr_t)remapAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + void const *vertices = (void const *)(uintptr_t)verticesAddress; + unsigned int const *remap = (unsigned int const *)(uintptr_t)remapAddress; UNUSED_PARAMS(__env, clazz) meshopt_remapVertexBuffer(destination, vertices, (size_t)vertex_count, (size_t)vertex_size, remap); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1remapIndexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong remapAddress) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - unsigned int const *remap = (unsigned int const *)(intptr_t)remapAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + unsigned int const *remap = (unsigned int const *)(uintptr_t)remapAddress; UNUSED_PARAMS(__env, clazz) meshopt_remapIndexBuffer(destination, indices, (size_t)index_count, remap); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateShadowIndexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong verticesAddress, jlong vertex_count, jlong vertex_size, jlong vertex_stride) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - void const *vertices = (void const *)(intptr_t)verticesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + void const *vertices = (void const *)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) meshopt_generateShadowIndexBuffer(destination, indices, (size_t)index_count, vertices, (size_t)vertex_count, (size_t)vertex_size, (size_t)vertex_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateShadowIndexBufferMulti(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count, jlong streamsAddress, jlong stream_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - struct meshopt_Stream const *streams = (struct meshopt_Stream const *)(intptr_t)streamsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + struct meshopt_Stream const *streams = (struct meshopt_Stream const *)(uintptr_t)streamsAddress; UNUSED_PARAMS(__env, clazz) meshopt_generateShadowIndexBufferMulti(destination, indices, (size_t)index_count, (size_t)vertex_count, streams, (size_t)stream_count); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateAdjacencyIndexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) meshopt_generateAdjacencyIndexBuffer(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1generateTessellationIndexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) meshopt_generateTessellationIndexBuffer(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeVertexCache(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) meshopt_optimizeVertexCache(destination, indices, (size_t)index_count, (size_t)vertex_count); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeVertexCacheStrip(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) meshopt_optimizeVertexCacheStrip(destination, indices, (size_t)index_count, (size_t)vertex_count); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeVertexCacheFifo(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count, jint cache_size) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) meshopt_optimizeVertexCacheFifo(destination, indices, (size_t)index_count, (size_t)vertex_count, (unsigned int)cache_size); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeOverdraw(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jfloat threshold) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) meshopt_optimizeOverdraw(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride, threshold); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeVertexFetch(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong verticesAddress, jlong vertex_count, jlong vertex_size) { - void *destination = (void *)(intptr_t)destinationAddress; - unsigned int *indices = (unsigned int *)(intptr_t)indicesAddress; - void const *vertices = (void const *)(intptr_t)verticesAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + unsigned int *indices = (unsigned int *)(uintptr_t)indicesAddress; + void const *vertices = (void const *)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_optimizeVertexFetch(destination, indices, (size_t)index_count, vertices, (size_t)vertex_count, (size_t)vertex_size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1optimizeVertexFetchRemap(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_optimizeVertexFetchRemap(destination, indices, (size_t)index_count, (size_t)vertex_count); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeIndexBuffer(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong buffer_size, jlong indicesAddress, jlong index_count) { - unsigned char *buffer = (unsigned char *)(intptr_t)bufferAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned char *buffer = (unsigned char *)(uintptr_t)bufferAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_encodeIndexBuffer(buffer, (size_t)buffer_size, indices, (size_t)index_count); } @@ -134,15 +134,15 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_1 } JNIEXPORT jint JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeIndexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong index_count, jlong index_size, jlong bufferAddress, jlong buffer_size) { - void *destination = (void *)(intptr_t)destinationAddress; - unsigned char const *buffer = (unsigned char const *)(intptr_t)bufferAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + unsigned char const *buffer = (unsigned char const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)meshopt_decodeIndexBuffer(destination, (size_t)index_count, (size_t)index_size, buffer, (size_t)buffer_size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeIndexSequence(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong buffer_size, jlong indicesAddress, jlong index_count) { - unsigned char *buffer = (unsigned char *)(intptr_t)bufferAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned char *buffer = (unsigned char *)(uintptr_t)bufferAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_encodeIndexSequence(buffer, (size_t)buffer_size, indices, (size_t)index_count); } @@ -153,15 +153,15 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_ } JNIEXPORT jint JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeIndexSequence(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong index_count, jlong index_size, jlong bufferAddress, jlong buffer_size) { - void *destination = (void *)(intptr_t)destinationAddress; - unsigned char const *buffer = (unsigned char const *)(intptr_t)bufferAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + unsigned char const *buffer = (unsigned char const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)meshopt_decodeIndexSequence(destination, (size_t)index_count, (size_t)index_size, buffer, (size_t)buffer_size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeVertexBuffer(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong buffer_size, jlong verticesAddress, jlong vertex_count, jlong vertex_size) { - unsigned char *buffer = (unsigned char *)(intptr_t)bufferAddress; - void const *vertices = (void const *)(intptr_t)verticesAddress; + unsigned char *buffer = (unsigned char *)(uintptr_t)bufferAddress; + void const *vertices = (void const *)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_encodeVertexBuffer(buffer, (size_t)buffer_size, vertices, (size_t)vertex_count, (size_t)vertex_size); } @@ -177,85 +177,85 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_1 } JNIEXPORT jint JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeVertexBuffer(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong vertex_count, jlong vertex_size, jlong bufferAddress, jlong buffer_size) { - void *destination = (void *)(intptr_t)destinationAddress; - unsigned char const *buffer = (unsigned char const *)(intptr_t)bufferAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + unsigned char const *buffer = (unsigned char const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)meshopt_decodeVertexBuffer(destination, (size_t)vertex_count, (size_t)vertex_size, buffer, (size_t)buffer_size); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeFilterOct(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong count, jlong stride) { - void *buffer = (void *)(intptr_t)bufferAddress; + void *buffer = (void *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) meshopt_decodeFilterOct(buffer, (size_t)count, (size_t)stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeFilterQuat(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong count, jlong stride) { - void *buffer = (void *)(intptr_t)bufferAddress; + void *buffer = (void *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) meshopt_decodeFilterQuat(buffer, (size_t)count, (size_t)stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1decodeFilterExp(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong count, jlong stride) { - void *buffer = (void *)(intptr_t)bufferAddress; + void *buffer = (void *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) meshopt_decodeFilterExp(buffer, (size_t)count, (size_t)stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeFilterOct(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong count, jlong stride, jint bits, jlong dataAddress) { - void *destination = (void *)(intptr_t)destinationAddress; - float const *data = (float const *)(intptr_t)dataAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + float const *data = (float const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) meshopt_encodeFilterOct(destination, (size_t)count, (size_t)stride, bits, data); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeFilterQuat(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong count, jlong stride, jint bits, jlong dataAddress) { - void *destination = (void *)(intptr_t)destinationAddress; - float const *data = (float const *)(intptr_t)dataAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + float const *data = (float const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) meshopt_encodeFilterQuat(destination, (size_t)count, (size_t)stride, bits, data); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1encodeFilterExp(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong count, jlong stride, jint bits, jlong dataAddress) { - void *destination = (void *)(intptr_t)destinationAddress; - float const *data = (float const *)(intptr_t)dataAddress; + void *destination = (void *)(uintptr_t)destinationAddress; + float const *data = (float const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) meshopt_encodeFilterExp(destination, (size_t)count, (size_t)stride, bits, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1simplify(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong target_index_count, jfloat target_error, jlong result_errorAddress) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; - float *result_error = (float *)(intptr_t)result_errorAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; + float *result_error = (float *)(uintptr_t)result_errorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_simplify(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride, (size_t)target_index_count, target_error, result_error); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1simplifySloppy(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong target_index_count, jfloat target_error, jlong result_errorAddress) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; - float *result_error = (float *)(intptr_t)result_errorAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; + float *result_error = (float *)(uintptr_t)result_errorAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_simplifySloppy(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride, (size_t)target_index_count, target_error, result_error); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1simplifyPoints(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong target_vertex_count) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_simplifyPoints(destination, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride, (size_t)target_vertex_count); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1simplifyScale(JNIEnv *__env, jclass clazz, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride) { - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)meshopt_simplifyScale(vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1stripify(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_count, jint restart_index) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_stripify(destination, indices, (size_t)index_count, (size_t)vertex_count, (unsigned int)restart_index); } @@ -266,8 +266,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_ } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1unstripify(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jint restart_index) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_unstripify(destination, indices, (size_t)index_count, (unsigned int)restart_index); } @@ -278,39 +278,39 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_ } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1analyzeVertexCache(JNIEnv *__env, jclass clazz, jlong indicesAddress, jlong index_count, jlong vertex_count, jint cache_size, jint warp_size, jint primgroup_size, jlong __result) { - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) - *((struct meshopt_VertexCacheStatistics*)(intptr_t)__result) = meshopt_analyzeVertexCache(indices, (size_t)index_count, (size_t)vertex_count, (unsigned int)cache_size, (unsigned int)warp_size, (unsigned int)primgroup_size); + *((struct meshopt_VertexCacheStatistics*)(uintptr_t)__result) = meshopt_analyzeVertexCache(indices, (size_t)index_count, (size_t)vertex_count, (unsigned int)cache_size, (unsigned int)warp_size, (unsigned int)primgroup_size); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1analyzeOverdraw(JNIEnv *__env, jclass clazz, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong __result) { - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) - *((struct meshopt_OverdrawStatistics*)(intptr_t)__result) = meshopt_analyzeOverdraw(indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); + *((struct meshopt_OverdrawStatistics*)(uintptr_t)__result) = meshopt_analyzeOverdraw(indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1analyzeVertexFetch(JNIEnv *__env, jclass clazz, jlong indicesAddress, jlong index_count, jlong vertex_count, jlong vertex_size, jlong __result) { - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) - *((struct meshopt_VertexFetchStatistics*)(intptr_t)__result) = meshopt_analyzeVertexFetch(indices, (size_t)index_count, (size_t)vertex_count, (size_t)vertex_size); + *((struct meshopt_VertexFetchStatistics*)(uintptr_t)__result) = meshopt_analyzeVertexFetch(indices, (size_t)index_count, (size_t)vertex_count, (size_t)vertex_size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1buildMeshlets(JNIEnv *__env, jclass clazz, jlong meshletsAddress, jlong meshlet_verticesAddress, jlong meshlet_trianglesAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong max_vertices, jlong max_triangles, jfloat cone_weight) { - struct meshopt_Meshlet *meshlets = (struct meshopt_Meshlet *)(intptr_t)meshletsAddress; - unsigned int *meshlet_vertices = (unsigned int *)(intptr_t)meshlet_verticesAddress; - unsigned char *meshlet_triangles = (unsigned char *)(intptr_t)meshlet_trianglesAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + struct meshopt_Meshlet *meshlets = (struct meshopt_Meshlet *)(uintptr_t)meshletsAddress; + unsigned int *meshlet_vertices = (unsigned int *)(uintptr_t)meshlet_verticesAddress; + unsigned char *meshlet_triangles = (unsigned char *)(uintptr_t)meshlet_trianglesAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_buildMeshlets(meshlets, meshlet_vertices, meshlet_triangles, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride, (size_t)max_vertices, (size_t)max_triangles, cone_weight); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1buildMeshletsScan(JNIEnv *__env, jclass clazz, jlong meshletsAddress, jlong meshlet_verticesAddress, jlong meshlet_trianglesAddress, jlong indicesAddress, jlong index_count, jlong vertex_count, jlong max_vertices, jlong max_triangles) { - struct meshopt_Meshlet *meshlets = (struct meshopt_Meshlet *)(intptr_t)meshletsAddress; - unsigned int *meshlet_vertices = (unsigned int *)(intptr_t)meshlet_verticesAddress; - unsigned char *meshlet_triangles = (unsigned char *)(intptr_t)meshlet_trianglesAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; + struct meshopt_Meshlet *meshlets = (struct meshopt_Meshlet *)(uintptr_t)meshletsAddress; + unsigned int *meshlet_vertices = (unsigned int *)(uintptr_t)meshlet_verticesAddress; + unsigned char *meshlet_triangles = (unsigned char *)(uintptr_t)meshlet_trianglesAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)meshopt_buildMeshletsScan(meshlets, meshlet_vertices, meshlet_triangles, indices, (size_t)index_count, (size_t)vertex_count, (size_t)max_vertices, (size_t)max_triangles); } @@ -321,38 +321,38 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_meshopt_ } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1computeClusterBounds(JNIEnv *__env, jclass clazz, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong __result) { - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) - *((struct meshopt_Bounds*)(intptr_t)__result) = meshopt_computeClusterBounds(indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); + *((struct meshopt_Bounds*)(uintptr_t)__result) = meshopt_computeClusterBounds(indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1computeMeshletBounds(JNIEnv *__env, jclass clazz, jlong meshlet_verticesAddress, jlong meshlet_trianglesAddress, jlong triangle_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride, jlong __result) { - unsigned int const *meshlet_vertices = (unsigned int const *)(intptr_t)meshlet_verticesAddress; - unsigned char const *meshlet_triangles = (unsigned char const *)(intptr_t)meshlet_trianglesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int const *meshlet_vertices = (unsigned int const *)(uintptr_t)meshlet_verticesAddress; + unsigned char const *meshlet_triangles = (unsigned char const *)(uintptr_t)meshlet_trianglesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) - *((struct meshopt_Bounds*)(intptr_t)__result) = meshopt_computeMeshletBounds(meshlet_vertices, meshlet_triangles, (size_t)triangle_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); + *((struct meshopt_Bounds*)(uintptr_t)__result) = meshopt_computeMeshletBounds(meshlet_vertices, meshlet_triangles, (size_t)triangle_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1spatialSortRemap(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) meshopt_spatialSortRemap(destination, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1spatialSortTriangles(JNIEnv *__env, jclass clazz, jlong destinationAddress, jlong indicesAddress, jlong index_count, jlong vertex_positionsAddress, jlong vertex_count, jlong vertex_positions_stride) { - unsigned int *destination = (unsigned int *)(intptr_t)destinationAddress; - unsigned int const *indices = (unsigned int const *)(intptr_t)indicesAddress; - float const *vertex_positions = (float const *)(intptr_t)vertex_positionsAddress; + unsigned int *destination = (unsigned int *)(uintptr_t)destinationAddress; + unsigned int const *indices = (unsigned int const *)(uintptr_t)indicesAddress; + float const *vertex_positions = (float const *)(uintptr_t)vertex_positionsAddress; UNUSED_PARAMS(__env, clazz) meshopt_spatialSortTriangles(destination, indices, (size_t)index_count, vertex_positions, (size_t)vertex_count, (size_t)vertex_positions_stride); } JNIEXPORT void JNICALL Java_org_lwjgl_util_meshoptimizer_MeshOptimizer_nmeshopt_1setAllocator(JNIEnv *__env, jclass clazz, jlong allocateAddress, jlong deallocateAddress) { - void * (*allocate) (size_t) = (void * (*) (size_t))(intptr_t)allocateAddress; - void (*deallocate) (void *) = (void (*) (void *))(intptr_t)deallocateAddress; + void * (*allocate) (size_t) = (void * (*) (size_t))(uintptr_t)allocateAddress; + void (*deallocate) (void *) = (void (*) (void *))(uintptr_t)deallocateAddress; UNUSED_PARAMS(__env, clazz) meshopt_setAllocator(allocate, deallocate); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_Blendish.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_Blendish.c index 02f3c09cef..bf1d7fab26 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_Blendish.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_Blendish.c @@ -13,14 +13,14 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndSetTheme(JNIEnv *__env, jclass clazz, jlong themeAddress) { - BNDtheme *theme = (BNDtheme *)(intptr_t)themeAddress; + BNDtheme *theme = (BNDtheme *)(uintptr_t)themeAddress; UNUSED_PARAMS(__env, clazz) bndSetTheme(*theme); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_Blendish_nbndGetTheme(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)bndGetTheme(); + return (jlong)(uintptr_t)bndGetTheme(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_bndSetIconImage(JNIEnv *__env, jclass clazz, jint image) { @@ -34,322 +34,322 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_bndSetFont(JNIEnv *__env, } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndLabel(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndLabel(ctx, x, y, w, h, iconid, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndToolButton(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndToolButton(ctx, x, y, w, h, flags, (BNDwidgetState)state, iconid, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndRadioButton(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndRadioButton(ctx, x, y, w, h, flags, (BNDwidgetState)state, iconid, label); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_Blendish_nbndTextFieldTextPosition(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong textAddress, jint px, jint py) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jint)bndTextFieldTextPosition(ctx, x, y, w, h, iconid, text, px, py); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndTextField(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jint iconid, jlong textAddress, jint cbegin, jint cend) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) bndTextField(ctx, x, y, w, h, flags, (BNDwidgetState)state, iconid, text, cbegin, cend); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndOptionButton(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint state, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndOptionButton(ctx, x, y, w, h, (BNDwidgetState)state, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndChoiceButton(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndChoiceButton(ctx, x, y, w, h, flags, (BNDwidgetState)state, iconid, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndColorButton(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndColorButton(ctx, x, y, w, h, flags, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNumberField(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jlong labelAddress, jlong valueAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; - char const *value = (char const *)(intptr_t)valueAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; + char const *value = (char const *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) bndNumberField(ctx, x, y, w, h, flags, (BNDwidgetState)state, label, value); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndSlider(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags, jint state, jfloat progress, jlong labelAddress, jlong valueAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; - char const *value = (char const *)(intptr_t)valueAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; + char const *value = (char const *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) bndSlider(ctx, x, y, w, h, flags, (BNDwidgetState)state, progress, label, value); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndScrollBar(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint state, jfloat offset, jfloat size) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndScrollBar(ctx, x, y, w, h, (BNDwidgetState)state, offset, size); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndMenuBackground(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint flags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndMenuBackground(ctx, x, y, w, h, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndMenuLabel(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndMenuLabel(ctx, x, y, w, h, iconid, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndMenuItem(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint state, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndMenuItem(ctx, x, y, w, h, (BNDwidgetState)state, iconid, label); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndTooltipBackground(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndTooltipBackground(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodePort(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jint state, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndNodePort(ctx, x, y, (BNDwidgetState)state, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodeWire(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint state0, jint state1) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndNodeWire(ctx, x0, y0, x1, y1, (BNDwidgetState)state0, (BNDwidgetState)state1); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndColoredNodeWire(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jlong color0Address, jlong color1Address) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color0 = (NVGcolor *)(intptr_t)color0Address; - NVGcolor *color1 = (NVGcolor *)(intptr_t)color1Address; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color0 = (NVGcolor *)(uintptr_t)color0Address; + NVGcolor *color1 = (NVGcolor *)(uintptr_t)color1Address; UNUSED_PARAMS(__env, clazz) bndColoredNodeWire(ctx, x0, y0, x1, y1, *color0, *color1); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodeBackground(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint state, jint iconid, jlong labelAddress, jlong titleColorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; - NVGcolor *titleColor = (NVGcolor *)(intptr_t)titleColorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; + NVGcolor *titleColor = (NVGcolor *)(uintptr_t)titleColorAddress; UNUSED_PARAMS(__env, clazz) bndNodeBackground(ctx, x, y, w, h, (BNDwidgetState)state, iconid, label, *titleColor); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndSplitterWidgets(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndSplitterWidgets(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndJoinAreaOverlay(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint vertical, jint mirror) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndJoinAreaOverlay(ctx, x, y, w, h, vertical, mirror); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_Blendish_nbndLabelWidth(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint iconid, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)bndLabelWidth(ctx, iconid, label); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_Blendish_nbndLabelHeight(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint iconid, jlong labelAddress, jfloat width) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)bndLabelHeight(ctx, iconid, label, width); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndTransparent(JNIEnv *__env, jclass clazz, jlong colorAddress, jlong __result) { - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = bndTransparent(*color); + *((NVGcolor*)(uintptr_t)__result) = bndTransparent(*color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndOffsetColor(JNIEnv *__env, jclass clazz, jlong colorAddress, jint delta, jlong __result) { - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = bndOffsetColor(*color, delta); + *((NVGcolor*)(uintptr_t)__result) = bndOffsetColor(*color, delta); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndSelectCorners__JFI(JNIEnv *__env, jclass clazz, jlong radiusesAddress, jfloat r, jint flags) { - float *radiuses = (float *)(intptr_t)radiusesAddress; + float *radiuses = (float *)(uintptr_t)radiusesAddress; UNUSED_PARAMS(__env, clazz) bndSelectCorners(radiuses, r, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndInnerColors(JNIEnv *__env, jclass clazz, jlong shade_topAddress, jlong shade_downAddress, jlong themeAddress, jint state, jint flipActive) { - NVGcolor *shade_top = (NVGcolor *)(intptr_t)shade_topAddress; - NVGcolor *shade_down = (NVGcolor *)(intptr_t)shade_downAddress; - BNDwidgetTheme const *theme = (BNDwidgetTheme const *)(intptr_t)themeAddress; + NVGcolor *shade_top = (NVGcolor *)(uintptr_t)shade_topAddress; + NVGcolor *shade_down = (NVGcolor *)(uintptr_t)shade_downAddress; + BNDwidgetTheme const *theme = (BNDwidgetTheme const *)(uintptr_t)themeAddress; UNUSED_PARAMS(__env, clazz) bndInnerColors(shade_top, shade_down, theme, (BNDwidgetState)state, flipActive); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndTextColor(JNIEnv *__env, jclass clazz, jlong themeAddress, jint state, jlong __result) { - BNDwidgetTheme const *theme = (BNDwidgetTheme const *)(intptr_t)themeAddress; + BNDwidgetTheme const *theme = (BNDwidgetTheme const *)(uintptr_t)themeAddress; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = bndTextColor(theme, (BNDwidgetState)state); + *((NVGcolor*)(uintptr_t)__result) = bndTextColor(theme, (BNDwidgetState)state); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndScrollHandleRect__JJJJFF(JNIEnv *__env, jclass clazz, jlong xAddress, jlong yAddress, jlong wAddress, jlong hAddress, jfloat offset, jfloat size) { - float *x = (float *)(intptr_t)xAddress; - float *y = (float *)(intptr_t)yAddress; - float *w = (float *)(intptr_t)wAddress; - float *h = (float *)(intptr_t)hAddress; + float *x = (float *)(uintptr_t)xAddress; + float *y = (float *)(uintptr_t)yAddress; + float *w = (float *)(uintptr_t)wAddress; + float *h = (float *)(uintptr_t)hAddress; UNUSED_PARAMS(__env, clazz) bndScrollHandleRect(x, y, w, h, offset, size); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndRoundedBox(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat cr0, jfloat cr1, jfloat cr2, jfloat cr3) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndRoundedBox(ctx, x, y, w, h, cr0, cr1, cr2, cr3); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndBackground(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndBackground(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndBevel(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndBevel(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndBevelInset(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat cr2, jfloat cr3) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndBevelInset(ctx, x, y, w, h, cr2, cr3); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndIcon(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jint iconid) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndIcon(ctx, x, y, iconid); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndDropShadow(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat r, jfloat feather, jfloat alpha) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) bndDropShadow(ctx, x, y, w, h, r, feather, alpha); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndInnerBox(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat cr0, jfloat cr1, jfloat cr2, jfloat cr3, jlong shade_topAddress, jlong shade_downAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *shade_top = (NVGcolor *)(intptr_t)shade_topAddress; - NVGcolor *shade_down = (NVGcolor *)(intptr_t)shade_downAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *shade_top = (NVGcolor *)(uintptr_t)shade_topAddress; + NVGcolor *shade_down = (NVGcolor *)(uintptr_t)shade_downAddress; UNUSED_PARAMS(__env, clazz) bndInnerBox(ctx, x, y, w, h, cr0, cr1, cr2, cr3, *shade_top, *shade_down); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndOutlineBox(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat cr0, jfloat cr1, jfloat cr2, jfloat cr3, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndOutlineBox(ctx, x, y, w, h, cr0, cr1, cr2, cr3, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndIconLabelValue(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong colorAddress, jint align, jfloat fontsize, jlong labelAddress, jlong valueAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; - char const *label = (char const *)(intptr_t)labelAddress; - char const *value = (char const *)(intptr_t)valueAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; + char const *label = (char const *)(uintptr_t)labelAddress; + char const *value = (char const *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) bndIconLabelValue(ctx, x, y, w, h, iconid, *color, align, fontsize, label, value); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodeIconLabel(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong colorAddress, jlong shadowColorAddress, jint align, jfloat fontsize, jlong labelAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; - NVGcolor *shadowColor = (NVGcolor *)(intptr_t)shadowColorAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; + NVGcolor *shadowColor = (NVGcolor *)(uintptr_t)shadowColorAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) bndNodeIconLabel(ctx, x, y, w, h, iconid, *color, *shadowColor, align, fontsize, label); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_Blendish_nbndIconLabelTextPosition(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jfloat fontsize, jlong labelAddress, jint px, jint py) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *label = (char const *)(intptr_t)labelAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *label = (char const *)(uintptr_t)labelAddress; UNUSED_PARAMS(__env, clazz) return (jint)bndIconLabelTextPosition(ctx, x, y, w, h, iconid, fontsize, label, px, py); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndIconLabelCaret(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jint iconid, jlong colorAddress, jfloat fontsize, jlong labelAddress, jlong caretcolorAddress, jint cbegin, jint cend) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; - char const *label = (char const *)(intptr_t)labelAddress; - NVGcolor *caretcolor = (NVGcolor *)(intptr_t)caretcolorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; + char const *label = (char const *)(uintptr_t)labelAddress; + NVGcolor *caretcolor = (NVGcolor *)(uintptr_t)caretcolorAddress; UNUSED_PARAMS(__env, clazz) bndIconLabelCaret(ctx, x, y, w, h, iconid, *color, fontsize, label, *caretcolor, cbegin, cend); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndCheck(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat ox, jfloat oy, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndCheck(ctx, ox, oy, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndArrow(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat s, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndArrow(ctx, x, y, s, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndUpDownArrow(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat s, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndUpDownArrow(ctx, x, y, s, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodeArrowDown(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat s, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) bndNodeArrowDown(ctx, x, y, s, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndNodeWireColor(JNIEnv *__env, jclass clazz, jlong themeAddress, jint state, jlong __result) { - BNDnodeTheme const *theme = (BNDnodeTheme const *)(intptr_t)themeAddress; + BNDnodeTheme const *theme = (BNDnodeTheme const *)(uintptr_t)themeAddress; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = bndNodeWireColor(theme, (BNDwidgetState)state); + *((NVGcolor*)(uintptr_t)__result) = bndNodeWireColor(theme, (BNDwidgetState)state); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_Blendish_nbndSelectCorners___3FFI(JNIEnv *__env, jclass clazz, jfloatArray radiusesAddress, jfloat r, jint flags) { diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoSVG.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoSVG.c index 2300c2902f..09a9e2925c 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoSVG.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoSVG.c @@ -18,46 +18,46 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgParseFromFile(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong unitsAddress, jfloat dpi) { - char const *filename = (char const *)(intptr_t)filenameAddress; - char const *units = (char const *)(intptr_t)unitsAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const *units = (char const *)(uintptr_t)unitsAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nsvgParseFromFile(filename, units, dpi); + return (jlong)(uintptr_t)nsvgParseFromFile(filename, units, dpi); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgParse(JNIEnv *__env, jclass clazz, jlong inputAddress, jlong unitsAddress, jfloat dpi) { - char *input = (char *)(intptr_t)inputAddress; - char const *units = (char const *)(intptr_t)unitsAddress; + char *input = (char *)(uintptr_t)inputAddress; + char const *units = (char const *)(uintptr_t)unitsAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nsvgParse(input, units, dpi); + return (jlong)(uintptr_t)nsvgParse(input, units, dpi); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgDuplicatePath(JNIEnv *__env, jclass clazz, jlong pAddress) { - NSVGpath *p = (NSVGpath *)(intptr_t)pAddress; + NSVGpath *p = (NSVGpath *)(uintptr_t)pAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nsvgDuplicatePath(p); + return (jlong)(uintptr_t)nsvgDuplicatePath(p); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgDelete(JNIEnv *__env, jclass clazz, jlong imageAddress) { - NSVGimage *image = (NSVGimage *)(intptr_t)imageAddress; + NSVGimage *image = (NSVGimage *)(uintptr_t)imageAddress; UNUSED_PARAMS(__env, clazz) nsvgDelete(image); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoSVG_nsvgCreateRasterizer(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nsvgCreateRasterizer(); + return (jlong)(uintptr_t)nsvgCreateRasterizer(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgRasterize(JNIEnv *__env, jclass clazz, jlong rAddress, jlong imageAddress, jfloat tx, jfloat ty, jfloat scale, jlong dstAddress, jint w, jint h, jint stride) { - NSVGrasterizer *r = (NSVGrasterizer *)(intptr_t)rAddress; - NSVGimage *image = (NSVGimage *)(intptr_t)imageAddress; - unsigned char *dst = (unsigned char *)(intptr_t)dstAddress; + NSVGrasterizer *r = (NSVGrasterizer *)(uintptr_t)rAddress; + NSVGimage *image = (NSVGimage *)(uintptr_t)imageAddress; + unsigned char *dst = (unsigned char *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nsvgRasterize(r, image, tx, ty, scale, dst, w, h, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoSVG_nnsvgDeleteRasterizer(JNIEnv *__env, jclass clazz, jlong rasterizerAddress) { - NSVGrasterizer *rasterizer = (NSVGrasterizer *)(intptr_t)rasterizerAddress; + NSVGrasterizer *rasterizer = (NSVGrasterizer *)(uintptr_t)rasterizerAddress; UNUSED_PARAMS(__env, clazz) nsvgDeleteRasterizer(rasterizer); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVG.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVG.c index ffc25b7a7a..59a0b87d0c 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVG.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVG.c @@ -27,282 +27,282 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgBeginFrame(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat windowWidth, jfloat windowHeight, jfloat devicePixelRatio) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgBeginFrame(ctx, windowWidth, windowHeight, devicePixelRatio); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCancelFrame(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgCancelFrame(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgEndFrame(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgEndFrame(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgGlobalCompositeOperation(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint op) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgGlobalCompositeOperation(ctx, op); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgGlobalCompositeBlendFunc(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint sfactor, jint dfactor) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgGlobalCompositeBlendFunc(ctx, sfactor, dfactor); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgGlobalCompositeBlendFuncSeparate(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint srcRGB, jint dstRGB, jint srcAlpha, jint dstAlpha) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgGlobalCompositeBlendFuncSeparate(ctx, srcRGB, dstRGB, srcAlpha, dstAlpha); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRGB(JNIEnv *__env, jclass clazz, jbyte r, jbyte g, jbyte b, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgRGB((unsigned char)r, (unsigned char)g, (unsigned char)b); + *((NVGcolor*)(uintptr_t)__result) = nvgRGB((unsigned char)r, (unsigned char)g, (unsigned char)b); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRGBf(JNIEnv *__env, jclass clazz, jfloat r, jfloat g, jfloat b, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgRGBf(r, g, b); + *((NVGcolor*)(uintptr_t)__result) = nvgRGBf(r, g, b); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRGBA(JNIEnv *__env, jclass clazz, jbyte r, jbyte g, jbyte b, jbyte a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgRGBA((unsigned char)r, (unsigned char)g, (unsigned char)b, (unsigned char)a); + *((NVGcolor*)(uintptr_t)__result) = nvgRGBA((unsigned char)r, (unsigned char)g, (unsigned char)b, (unsigned char)a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRGBAf(JNIEnv *__env, jclass clazz, jfloat r, jfloat g, jfloat b, jfloat a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgRGBAf(r, g, b, a); + *((NVGcolor*)(uintptr_t)__result) = nvgRGBAf(r, g, b, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgLerpRGBA(JNIEnv *__env, jclass clazz, jlong c0Address, jlong c1Address, jfloat u, jlong __result) { - NVGcolor *c0 = (NVGcolor *)(intptr_t)c0Address; - NVGcolor *c1 = (NVGcolor *)(intptr_t)c1Address; + NVGcolor *c0 = (NVGcolor *)(uintptr_t)c0Address; + NVGcolor *c1 = (NVGcolor *)(uintptr_t)c1Address; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgLerpRGBA(*c0, *c1, u); + *((NVGcolor*)(uintptr_t)__result) = nvgLerpRGBA(*c0, *c1, u); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransRGBA(JNIEnv *__env, jclass clazz, jlong c0Address, jbyte a, jlong __result) { - NVGcolor *c0 = (NVGcolor *)(intptr_t)c0Address; + NVGcolor *c0 = (NVGcolor *)(uintptr_t)c0Address; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgTransRGBA(*c0, (unsigned char)a); + *((NVGcolor*)(uintptr_t)__result) = nvgTransRGBA(*c0, (unsigned char)a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransRGBAf(JNIEnv *__env, jclass clazz, jlong c0Address, jfloat a, jlong __result) { - NVGcolor *c0 = (NVGcolor *)(intptr_t)c0Address; + NVGcolor *c0 = (NVGcolor *)(uintptr_t)c0Address; UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgTransRGBAf(*c0, a); + *((NVGcolor*)(uintptr_t)__result) = nvgTransRGBAf(*c0, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgHSL(JNIEnv *__env, jclass clazz, jfloat h, jfloat s, jfloat l, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgHSL(h, s, l); + *((NVGcolor*)(uintptr_t)__result) = nvgHSL(h, s, l); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgHSLA(JNIEnv *__env, jclass clazz, jfloat h, jfloat s, jfloat l, jbyte a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((NVGcolor*)(intptr_t)__result) = nvgHSLA(h, s, l, (unsigned char)a); + *((NVGcolor*)(uintptr_t)__result) = nvgHSLA(h, s, l, (unsigned char)a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgSave(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgSave(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRestore(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgRestore(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgReset(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgReset(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgShapeAntiAlias(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint enabled) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgShapeAntiAlias(ctx, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgStrokeColor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nvgStrokeColor(ctx, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgStrokePaint(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong paintAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGpaint *paint = (NVGpaint *)(intptr_t)paintAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGpaint *paint = (NVGpaint *)(uintptr_t)paintAddress; UNUSED_PARAMS(__env, clazz) nvgStrokePaint(ctx, *paint); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFillColor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *color = (NVGcolor *)(intptr_t)colorAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *color = (NVGcolor *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nvgFillColor(ctx, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFillPaint(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong paintAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGpaint *paint = (NVGpaint *)(intptr_t)paintAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGpaint *paint = (NVGpaint *)(uintptr_t)paintAddress; UNUSED_PARAMS(__env, clazz) nvgFillPaint(ctx, *paint); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgMiterLimit(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat limit) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgMiterLimit(ctx, limit); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgStrokeWidth(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat size) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgStrokeWidth(ctx, size); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgLineCap(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint cap) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgLineCap(ctx, cap); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgLineJoin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint join) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgLineJoin(ctx, join); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgGlobalAlpha(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat alpha) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgGlobalAlpha(ctx, alpha); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgResetTransform(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgResetTransform(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransform(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat a, jfloat b, jfloat c, jfloat d, jfloat e, jfloat f) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgTransform(ctx, a, b, c, d, e, f); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTranslate(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgTranslate(ctx, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRotate(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat angle) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgRotate(ctx, angle); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgSkewX(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat angle) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgSkewX(ctx, angle); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgSkewY(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat angle) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgSkewY(ctx, angle); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgScale(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgScale(ctx, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCurrentTransform__JJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong xformAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - float *xform = (float *)(intptr_t)xformAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + float *xform = (float *)(uintptr_t)xformAddress; UNUSED_PARAMS(__env, clazz) nvgCurrentTransform(ctx, xform); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformIdentity__J(JNIEnv *__env, jclass clazz, jlong dstAddress) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformIdentity(dst); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformTranslate__JFF(JNIEnv *__env, jclass clazz, jlong dstAddress, jfloat tx, jfloat ty) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformTranslate(dst, tx, ty); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformScale__JFF(JNIEnv *__env, jclass clazz, jlong dstAddress, jfloat sx, jfloat sy) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformScale(dst, sx, sy); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformRotate__JF(JNIEnv *__env, jclass clazz, jlong dstAddress, jfloat a) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformRotate(dst, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformSkewX__JF(JNIEnv *__env, jclass clazz, jlong dstAddress, jfloat a) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformSkewX(dst, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformSkewY__JF(JNIEnv *__env, jclass clazz, jlong dstAddress, jfloat a) { - float *dst = (float *)(intptr_t)dstAddress; + float *dst = (float *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) nvgTransformSkewY(dst, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformMultiply__JJ(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong srcAddress) { - float *dst = (float *)(intptr_t)dstAddress; - float const *src = (float const *)(intptr_t)srcAddress; + float *dst = (float *)(uintptr_t)dstAddress; + float const *src = (float const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) nvgTransformMultiply(dst, src); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformPremultiply__JJ(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong srcAddress) { - float *dst = (float *)(intptr_t)dstAddress; - float const *src = (float const *)(intptr_t)srcAddress; + float *dst = (float *)(uintptr_t)dstAddress; + float const *src = (float const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) nvgTransformPremultiply(dst, src); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformInverse__JJ(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong srcAddress) { - float *dst = (float *)(intptr_t)dstAddress; - float const *src = (float const *)(intptr_t)srcAddress; + float *dst = (float *)(uintptr_t)dstAddress; + float const *src = (float const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgTransformInverse(dst, src); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformPoint__JJJFF(JNIEnv *__env, jclass clazz, jlong dstxAddress, jlong dstyAddress, jlong xformAddress, jfloat srcx, jfloat srcy) { - float *dstx = (float *)(intptr_t)dstxAddress; - float *dsty = (float *)(intptr_t)dstyAddress; - float const *xform = (float const *)(intptr_t)xformAddress; + float *dstx = (float *)(uintptr_t)dstxAddress; + float *dsty = (float *)(uintptr_t)dstyAddress; + float const *xform = (float const *)(uintptr_t)xformAddress; UNUSED_PARAMS(__env, clazz) nvgTransformPoint(dstx, dsty, xform, srcx, srcy); } @@ -318,378 +318,378 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_NanoVG_nvgRadToDeg(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateImage(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong filenameAddress, jint imageFlags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateImage(ctx, filename, imageFlags); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateImageMem(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint imageFlags, jlong dataAddress, jint ndata) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - unsigned char *data = (unsigned char *)(intptr_t)dataAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + unsigned char *data = (unsigned char *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateImageMem(ctx, imageFlags, data, ndata); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateImageRGBA(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint w, jint h, jint imageFlags, jlong dataAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateImageRGBA(ctx, w, h, imageFlags, data); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgUpdateImage(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image, jlong dataAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) nvgUpdateImage(ctx, image, data); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgImageSize__JIJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image, jlong wAddress, jlong hAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - int *w = (int *)(intptr_t)wAddress; - int *h = (int *)(intptr_t)hAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + int *w = (int *)(uintptr_t)wAddress; + int *h = (int *)(uintptr_t)hAddress; UNUSED_PARAMS(__env, clazz) nvgImageSize(ctx, image, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgDeleteImage(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgDeleteImage(ctx, image); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgLinearGradient(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat sx, jfloat sy, jfloat ex, jfloat ey, jlong icolAddress, jlong ocolAddress, jlong __result) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *icol = (NVGcolor *)(intptr_t)icolAddress; - NVGcolor *ocol = (NVGcolor *)(intptr_t)ocolAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *icol = (NVGcolor *)(uintptr_t)icolAddress; + NVGcolor *ocol = (NVGcolor *)(uintptr_t)ocolAddress; UNUSED_PARAMS(__env, clazz) - *((NVGpaint*)(intptr_t)__result) = nvgLinearGradient(ctx, sx, sy, ex, ey, *icol, *ocol); + *((NVGpaint*)(uintptr_t)__result) = nvgLinearGradient(ctx, sx, sy, ex, ey, *icol, *ocol); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgBoxGradient(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat r, jfloat f, jlong icolAddress, jlong ocolAddress, jlong __result) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *icol = (NVGcolor *)(intptr_t)icolAddress; - NVGcolor *ocol = (NVGcolor *)(intptr_t)ocolAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *icol = (NVGcolor *)(uintptr_t)icolAddress; + NVGcolor *ocol = (NVGcolor *)(uintptr_t)ocolAddress; UNUSED_PARAMS(__env, clazz) - *((NVGpaint*)(intptr_t)__result) = nvgBoxGradient(ctx, x, y, w, h, r, f, *icol, *ocol); + *((NVGpaint*)(uintptr_t)__result) = nvgBoxGradient(ctx, x, y, w, h, r, f, *icol, *ocol); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRadialGradient(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat cx, jfloat cy, jfloat inr, jfloat outr, jlong icolAddress, jlong ocolAddress, jlong __result) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGcolor *icol = (NVGcolor *)(intptr_t)icolAddress; - NVGcolor *ocol = (NVGcolor *)(intptr_t)ocolAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGcolor *icol = (NVGcolor *)(uintptr_t)icolAddress; + NVGcolor *ocol = (NVGcolor *)(uintptr_t)ocolAddress; UNUSED_PARAMS(__env, clazz) - *((NVGpaint*)(intptr_t)__result) = nvgRadialGradient(ctx, cx, cy, inr, outr, *icol, *ocol); + *((NVGpaint*)(uintptr_t)__result) = nvgRadialGradient(ctx, cx, cy, inr, outr, *icol, *ocol); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgImagePattern(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat ox, jfloat oy, jfloat ex, jfloat ey, jfloat angle, jint image, jfloat alpha, jlong __result) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((NVGpaint*)(intptr_t)__result) = nvgImagePattern(ctx, ox, oy, ex, ey, angle, image, alpha); + *((NVGpaint*)(uintptr_t)__result) = nvgImagePattern(ctx, ox, oy, ex, ey, angle, image, alpha); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgScissor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgScissor(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgIntersectScissor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgIntersectScissor(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgResetScissor(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgResetScissor(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgBeginPath(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgBeginPath(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgMoveTo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgMoveTo(ctx, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgLineTo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgLineTo(ctx, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgBezierTo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat c1x, jfloat c1y, jfloat c2x, jfloat c2y, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgBezierTo(ctx, c1x, c1y, c2x, c2y, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgQuadTo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat cx, jfloat cy, jfloat x, jfloat y) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgQuadTo(ctx, cx, cy, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgArcTo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat radius) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgArcTo(ctx, x1, y1, x2, y2, radius); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgClosePath(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgClosePath(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgPathWinding(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint dir) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgPathWinding(ctx, dir); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgArc(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat cx, jfloat cy, jfloat r, jfloat a0, jfloat a1, jint dir) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgArc(ctx, cx, cy, r, a0, a1, dir); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRect(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgRect(ctx, x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRoundedRect(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat r) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgRoundedRect(ctx, x, y, w, h, r); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgRoundedRectVarying(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat w, jfloat h, jfloat radTopLeft, jfloat radTopRight, jfloat radBottomRight, jfloat radBottomLeft) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgRoundedRectVarying(ctx, x, y, w, h, radTopLeft, radTopRight, radBottomRight, radBottomLeft); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgEllipse(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat cx, jfloat cy, jfloat rx, jfloat ry) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgEllipse(ctx, cx, cy, rx, ry); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCircle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat cx, jfloat cy, jfloat r) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgCircle(ctx, cx, cy, r); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFill(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgFill(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgStroke(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgStroke(ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateFont(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong filenameAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateFont(ctx, name, filename); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateFontAtIndex(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong filenameAddress, jint fontIndex) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateFontAtIndex(ctx, name, filename, fontIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateFontMem(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong dataAddress, jint ndata, jint freeData) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - unsigned char *data = (unsigned char *)(intptr_t)dataAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + unsigned char *data = (unsigned char *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateFontMem(ctx, name, data, ndata, freeData); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCreateFontMemAtIndex(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong dataAddress, jint ndata, jint freeData, jint fontIndex) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - unsigned char *data = (unsigned char *)(intptr_t)dataAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + unsigned char *data = (unsigned char *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgCreateFontMemAtIndex(ctx, name, data, ndata, freeData, fontIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFindFont(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgFindFont(ctx, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgAddFallbackFontId(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint baseFont, jint fallbackFont) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgAddFallbackFontId(ctx, baseFont, fallbackFont); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgAddFallbackFont(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong baseFontAddress, jlong fallbackFontAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *baseFont = (char const *)(intptr_t)baseFontAddress; - char const *fallbackFont = (char const *)(intptr_t)fallbackFontAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *baseFont = (char const *)(uintptr_t)baseFontAddress; + char const *fallbackFont = (char const *)(uintptr_t)fallbackFontAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgAddFallbackFont(ctx, baseFont, fallbackFont); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgResetFallbackFontsId(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint baseFont) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgResetFallbackFontsId(ctx, baseFont); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgResetFallbackFonts(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong baseFontAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *baseFont = (char const *)(intptr_t)baseFontAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *baseFont = (char const *)(uintptr_t)baseFontAddress; UNUSED_PARAMS(__env, clazz) nvgResetFallbackFonts(ctx, baseFont); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFontSize(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat size) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgFontSize(ctx, size); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFontBlur(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat blur) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgFontBlur(ctx, blur); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextLetterSpacing(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat spacing) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgTextLetterSpacing(ctx, spacing); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextLineHeight(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat lineHeight) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgTextLineHeight(ctx, lineHeight); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextAlign(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint align) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgTextAlign(ctx, align); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFontFaceId(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint font) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgFontFaceId(ctx, font); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgFontFace(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fontAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *font = (char const *)(intptr_t)fontAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *font = (char const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) nvgFontFace(ctx, font); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgText(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jlong stringAddress, jlong endAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nvgText(ctx, x, y, string, end); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBox(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat breakRowWidth, jlong stringAddress, jlong endAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; UNUSED_PARAMS(__env, clazz) nvgTextBox(ctx, x, y, breakRowWidth, string, end); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBounds__JFFJJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jlong stringAddress, jlong endAddress, jlong boundsAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; - float *bounds = (float *)(intptr_t)boundsAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; + float *bounds = (float *)(uintptr_t)boundsAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nvgTextBounds(ctx, x, y, string, end, bounds); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBoxBounds__JFFFJJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat breakRowWidth, jlong stringAddress, jlong endAddress, jlong boundsAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; - float *bounds = (float *)(intptr_t)boundsAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; + float *bounds = (float *)(uintptr_t)boundsAddress; UNUSED_PARAMS(__env, clazz) nvgTextBoxBounds(ctx, x, y, breakRowWidth, string, end, bounds); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextGlyphPositions(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jlong stringAddress, jlong endAddress, jlong positionsAddress, jint maxPositions) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; - NVGglyphPosition *positions = (NVGglyphPosition *)(intptr_t)positionsAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; + NVGglyphPosition *positions = (NVGglyphPosition *)(uintptr_t)positionsAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgTextGlyphPositions(ctx, x, y, string, end, positions, maxPositions); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextMetrics__JJJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong ascenderAddress, jlong descenderAddress, jlong linehAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - float *ascender = (float *)(intptr_t)ascenderAddress; - float *descender = (float *)(intptr_t)descenderAddress; - float *lineh = (float *)(intptr_t)linehAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + float *ascender = (float *)(uintptr_t)ascenderAddress; + float *descender = (float *)(uintptr_t)descenderAddress; + float *lineh = (float *)(uintptr_t)linehAddress; UNUSED_PARAMS(__env, clazz) nvgTextMetrics(ctx, ascender, descender, lineh); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBreakLines(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong stringAddress, jlong endAddress, jfloat breakRowWidth, jlong rowsAddress, jint maxRows) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; - NVGtextRow *rows = (NVGtextRow *)(intptr_t)rowsAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; + NVGtextRow *rows = (NVGtextRow *)(uintptr_t)rowsAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvgTextBreakLines(ctx, string, end, breakRowWidth, rows, maxRows); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVG_nvgCreateInternal(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&nvgCreateInternal; + return (jlong)(uintptr_t)&nvgCreateInternal; } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVG_nvgInternalParams(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&nvgInternalParams; + return (jlong)(uintptr_t)&nvgInternalParams; } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVG_nvgDeleteInternal(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&nvgDeleteInternal; + return (jlong)(uintptr_t)&nvgDeleteInternal; } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgCurrentTransform__J_3F(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloatArray xformAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; jfloat *xform = (*__env)->GetFloatArrayElements(__env, xformAddress, NULL); UNUSED_PARAMS(__env, clazz) nvgCurrentTransform(ctx, (float *)xform); @@ -779,7 +779,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTransformPoint___3F_3F_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgImageSize__JI_3I_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image, jintArray wAddress, jintArray hAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; jint *w = (*__env)->GetIntArrayElements(__env, wAddress, NULL); jint *h = (*__env)->GetIntArrayElements(__env, hAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -789,9 +789,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgImageSize__JI_3I_3I(JNIE } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBounds__JFFJJ_3F(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jlong stringAddress, jlong endAddress, jfloatArray boundsAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; jfloat __result; jfloat *bounds = boundsAddress == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, boundsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -801,9 +801,9 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBounds__JFFJJ_3F(J } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBoxBounds__JFFFJJ_3F(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat x, jfloat y, jfloat breakRowWidth, jlong stringAddress, jlong endAddress, jfloatArray boundsAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - char const *string = (char const *)(intptr_t)stringAddress; - char const *end = (char const *)(intptr_t)endAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + char const *end = (char const *)(uintptr_t)endAddress; jfloat *bounds = boundsAddress == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, boundsAddress, NULL); UNUSED_PARAMS(__env, clazz) nvgTextBoxBounds(ctx, x, y, breakRowWidth, string, end, (float *)bounds); @@ -811,7 +811,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextBoxBounds__JFFFJJ_3F } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVG_nnvgTextMetrics__J_3F_3F_3F(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloatArray ascenderAddress, jfloatArray descenderAddress, jfloatArray linehAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; jfloat *ascender = ascenderAddress == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, ascenderAddress, NULL); jfloat *descender = descenderAddress == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, descenderAddress, NULL); jfloat *lineh = linehAddress == NULL ? NULL : (*__env)->GetFloatArrayElements(__env, linehAddress, NULL); diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL2.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL2.c index bee67c05bd..cbe2aff4ee 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL2.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL2.c @@ -18,44 +18,44 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvglCreateImageFromHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint textureId, jint w, jint h, jint flags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglCreateImageFromHandleGL2(ctx, (GLuint)textureId, w, h, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvglImageHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglImageHandleGL2(ctx, image); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvgCreate(JNIEnv *__env, jclass clazz, jint flags) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)nvgCreateGL2(__env, flags); + return (jlong)(uintptr_t)nvgCreateGL2(__env, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvgDelete(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgDeleteGL2(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvgluCreateFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint w, jint h, jint imageFlags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nvgluCreateFramebufferGL2(ctx, w, h, imageFlags); + return (jlong)(uintptr_t)nvgluCreateFramebufferGL2(ctx, w, h, imageFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvgluBindFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluBindFramebufferGL2(ctx, fb); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL2_nnvgluDeleteFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluDeleteFramebufferGL2(ctx, fb); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL3.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL3.c index 09f3c4ad58..891d6229c5 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL3.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGL3.c @@ -18,44 +18,44 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvglCreateImageFromHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint textureId, jint w, jint h, jint flags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglCreateImageFromHandleGL3(ctx, (GLuint)textureId, w, h, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvglImageHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglImageHandleGL3(ctx, image); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvgCreate(JNIEnv *__env, jclass clazz, jint flags) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)nvgCreateGL3(__env, flags); + return (jlong)(uintptr_t)nvgCreateGL3(__env, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvgDelete(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgDeleteGL3(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvgluCreateFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint w, jint h, jint imageFlags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nvgluCreateFramebufferGL3(ctx, w, h, imageFlags); + return (jlong)(uintptr_t)nvgluCreateFramebufferGL3(ctx, w, h, imageFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvgluBindFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluBindFramebufferGL3(ctx, fb); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGL3_nnvgluDeleteFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluDeleteFramebufferGL3(ctx, fb); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES2.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES2.c index 26870d16bf..e600d7148d 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES2.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES2.c @@ -18,44 +18,44 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvglCreateImageFromHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint textureId, jint w, jint h, jint flags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglCreateImageFromHandleGLES2(ctx, (GLuint)textureId, w, h, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvglImageHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglImageHandleGLES2(ctx, image); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvgCreate(JNIEnv *__env, jclass clazz, jint flags) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)nvgCreateGLES2(__env, flags); + return (jlong)(uintptr_t)nvgCreateGLES2(__env, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvgDelete(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgDeleteGLES2(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvgluCreateFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint w, jint h, jint imageFlags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nvgluCreateFramebufferGLES2(ctx, w, h, imageFlags); + return (jlong)(uintptr_t)nvgluCreateFramebufferGLES2(ctx, w, h, imageFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvgluBindFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluBindFramebufferGLES2(ctx, fb); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES2_nnvgluDeleteFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluDeleteFramebufferGLES2(ctx, fb); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES3.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES3.c index 736973322e..531553efaa 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES3.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_NanoVGGLES3.c @@ -18,44 +18,44 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvglCreateImageFromHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint textureId, jint w, jint h, jint flags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglCreateImageFromHandleGLES3(ctx, (GLuint)textureId, w, h, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvglImageHandle(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint image) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nvglImageHandleGLES3(ctx, image); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvgCreate(JNIEnv *__env, jclass clazz, jint flags) { UNUSED_PARAM(clazz) - return (jlong)(intptr_t)nvgCreateGLES3(__env, flags); + return (jlong)(uintptr_t)nvgCreateGLES3(__env, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvgDelete(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nvgDeleteGLES3(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvgluCreateFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint w, jint h, jint imageFlags) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nvgluCreateFramebufferGLES3(ctx, w, h, imageFlags); + return (jlong)(uintptr_t)nvgluCreateFramebufferGLES3(ctx, w, h, imageFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvgluBindFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluBindFramebufferGLES3(ctx, fb); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_NanoVGGLES3_nnvgluDeleteFramebuffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fbAddress) { - NVGcontext *ctx = (NVGcontext *)(intptr_t)ctxAddress; - NVGLUframebuffer *fb = (NVGLUframebuffer *)(intptr_t)fbAddress; + NVGcontext *ctx = (NVGcontext *)(uintptr_t)ctxAddress; + NVGLUframebuffer *fb = (NVGLUframebuffer *)(uintptr_t)fbAddress; UNUSED_PARAMS(__env, clazz) nvgluDeleteFramebufferGLES3(ctx, fb); } diff --git a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_OUI.c b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_OUI.c index d6d2266710..25ede83692 100644 --- a/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_OUI.c +++ b/modules/lwjgl/nanovg/src/generated/c/org_lwjgl_nanovg_OUI.c @@ -16,24 +16,24 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_OUI_uiCreateContext(JNIEnv *__env, jclass clazz, jint item_capacity, jint buffer_capacity) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)uiCreateContext((unsigned int)item_capacity, (unsigned int)buffer_capacity); + return (jlong)(uintptr_t)uiCreateContext((unsigned int)item_capacity, (unsigned int)buffer_capacity); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiMakeCurrent(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - UIcontext *ctx = (UIcontext *)(intptr_t)ctxAddress; + UIcontext *ctx = (UIcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) uiMakeCurrent(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiDestroyContext(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - UIcontext *ctx = (UIcontext *)(intptr_t)ctxAddress; + UIcontext *ctx = (UIcontext *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) uiDestroyContext(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_OUI_uiGetContext(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)uiGetContext(); + return (jlong)(uintptr_t)uiGetContext(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiSetCursor(JNIEnv *__env, jclass clazz, jint x, jint y) { @@ -43,22 +43,22 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiSetCursor(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetCursor(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIvec2*)(intptr_t)__result) = uiGetCursor(); + *((UIvec2*)(uintptr_t)__result) = uiGetCursor(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetCursorDelta(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIvec2*)(intptr_t)__result) = uiGetCursorDelta(); + *((UIvec2*)(uintptr_t)__result) = uiGetCursorDelta(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetCursorStart(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIvec2*)(intptr_t)__result) = uiGetCursorStart(); + *((UIvec2*)(uintptr_t)__result) = uiGetCursorStart(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetCursorStartDelta(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIvec2*)(intptr_t)__result) = uiGetCursorStartDelta(); + *((UIvec2*)(uintptr_t)__result) = uiGetCursorStartDelta(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiSetButton(JNIEnv *__env, jclass clazz, jint button, jint mod, jint enabled) { @@ -93,7 +93,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiSetScroll(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetScroll(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIvec2*)(intptr_t)__result) = uiGetScroll(); + *((UIvec2*)(uintptr_t)__result) = uiGetScroll(); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiBeginLayout(JNIEnv *__env, jclass clazz) { @@ -132,18 +132,18 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiSetFrozen(JNIEnv *__env, jcl } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_uiSetHandle(JNIEnv *__env, jclass clazz, jint item, jlong handleAddress) { - void *handle = (void *)(intptr_t)handleAddress; + void *handle = (void *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) uiSetHandle(item, handle); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_OUI_nuiAllocHandle(JNIEnv *__env, jclass clazz, jint item, jint size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)uiAllocHandle(item, (unsigned int)size); + return (jlong)(uintptr_t)uiAllocHandle(item, (unsigned int)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiSetHandler(JNIEnv *__env, jclass clazz, jlong handlerAddress) { - UIhandler handler = (UIhandler)(intptr_t)handlerAddress; + UIhandler handler = (UIhandler)(uintptr_t)handlerAddress; UNUSED_PARAMS(__env, clazz) uiSetHandler(handler); } @@ -230,7 +230,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_uiGetState(JNIEnv *__env, jclas JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_OUI_uiGetHandle(JNIEnv *__env, jclass clazz, jint item) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)uiGetHandle(item); + return (jlong)(uintptr_t)uiGetHandle(item); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_uiGetHotItem(JNIEnv *__env, jclass clazz) { @@ -250,7 +250,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_uiFindItem(JNIEnv *__env, jclas JNIEXPORT jlong JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetHandler(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)uiGetHandler(); + return (jlong)(uintptr_t)uiGetHandler(); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_uiGetEvents(JNIEnv *__env, jclass clazz, jint item) { @@ -275,7 +275,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_uiGetModifier(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_nanovg_OUI_nuiGetRect(JNIEnv *__env, jclass clazz, jint item, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((UIrect*)(intptr_t)__result) = uiGetRect(item); + *((UIrect*)(uintptr_t)__result) = uiGetRect(item); } JNIEXPORT jint JNICALL Java_org_lwjgl_nanovg_OUI_nuiContains(JNIEnv *__env, jclass clazz, jint item, jint x, jint y) { diff --git a/modules/lwjgl/nanovg/src/main/c/nanovg_gl.h b/modules/lwjgl/nanovg/src/main/c/nanovg_gl.h index cabe0bfdc0..e3add8030a 100644 --- a/modules/lwjgl/nanovg/src/main/c/nanovg_gl.h +++ b/modules/lwjgl/nanovg/src/main/c/nanovg_gl.h @@ -1860,7 +1860,7 @@ NVGcontext* EXT(nvgCreate)(JNIEnv* env, int flags) if (gl == NULL) goto error; memset(gl, 0, sizeof(GLNVGcontext)); - (*env)->CallStaticVoidMethod(env, NanoVGGLConfig, config, (jlong)(intptr_t)&gl->ActiveTexture); + (*env)->CallStaticVoidMethod(env, NanoVGGLConfig, config, (jlong)(uintptr_t)&gl->ActiveTexture); if ( (*env)->ExceptionCheck(env) ) goto error; diff --git a/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NFDPathSet.c b/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NFDPathSet.c index 8ecd137b9f..db2e0c4d01 100644 --- a/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NFDPathSet.c +++ b/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NFDPathSet.c @@ -15,7 +15,7 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_nfd_NFDPathSet_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NativeFileDialog.c b/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NativeFileDialog.c index bfc4e27e8a..5c4aac9e09 100644 --- a/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NativeFileDialog.c +++ b/modules/lwjgl/nfd/src/generated/c/org_lwjgl_util_nfd_NativeFileDialog.c @@ -10,61 +10,61 @@ EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1OpenDialog(JNIEnv *__env, jclass clazz, jlong filterListAddress, jlong defaultPathAddress, jlong outPathAddress) { - nfdchar_t const *filterList = (nfdchar_t const *)(intptr_t)filterListAddress; - nfdchar_t const *defaultPath = (nfdchar_t const *)(intptr_t)defaultPathAddress; - nfdchar_t **outPath = (nfdchar_t **)(intptr_t)outPathAddress; + nfdchar_t const *filterList = (nfdchar_t const *)(uintptr_t)filterListAddress; + nfdchar_t const *defaultPath = (nfdchar_t const *)(uintptr_t)defaultPathAddress; + nfdchar_t **outPath = (nfdchar_t **)(uintptr_t)outPathAddress; UNUSED_PARAMS(__env, clazz) return (jint)NFD_OpenDialog(filterList, defaultPath, outPath); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1OpenDialogMultiple(JNIEnv *__env, jclass clazz, jlong filterListAddress, jlong defaultPathAddress, jlong outPathsAddress) { - nfdchar_t const *filterList = (nfdchar_t const *)(intptr_t)filterListAddress; - nfdchar_t const *defaultPath = (nfdchar_t const *)(intptr_t)defaultPathAddress; - nfdpathset_t *outPaths = (nfdpathset_t *)(intptr_t)outPathsAddress; + nfdchar_t const *filterList = (nfdchar_t const *)(uintptr_t)filterListAddress; + nfdchar_t const *defaultPath = (nfdchar_t const *)(uintptr_t)defaultPathAddress; + nfdpathset_t *outPaths = (nfdpathset_t *)(uintptr_t)outPathsAddress; UNUSED_PARAMS(__env, clazz) return (jint)NFD_OpenDialogMultiple(filterList, defaultPath, outPaths); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1SaveDialog(JNIEnv *__env, jclass clazz, jlong filterListAddress, jlong defaultPathAddress, jlong outPathAddress) { - nfdchar_t const *filterList = (nfdchar_t const *)(intptr_t)filterListAddress; - nfdchar_t const *defaultPath = (nfdchar_t const *)(intptr_t)defaultPathAddress; - nfdchar_t **outPath = (nfdchar_t **)(intptr_t)outPathAddress; + nfdchar_t const *filterList = (nfdchar_t const *)(uintptr_t)filterListAddress; + nfdchar_t const *defaultPath = (nfdchar_t const *)(uintptr_t)defaultPathAddress; + nfdchar_t **outPath = (nfdchar_t **)(uintptr_t)outPathAddress; UNUSED_PARAMS(__env, clazz) return (jint)NFD_SaveDialog(filterList, defaultPath, outPath); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1PickFolder(JNIEnv *__env, jclass clazz, jlong defaultPathAddress, jlong outPathAddress) { - nfdchar_t const *defaultPath = (nfdchar_t const *)(intptr_t)defaultPathAddress; - nfdchar_t **outPath = (nfdchar_t **)(intptr_t)outPathAddress; + nfdchar_t const *defaultPath = (nfdchar_t const *)(uintptr_t)defaultPathAddress; + nfdchar_t **outPath = (nfdchar_t **)(uintptr_t)outPathAddress; UNUSED_PARAMS(__env, clazz) return (jint)NFD_PickFolder(defaultPath, outPath); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1GetError(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)NFD_GetError(); + return (jlong)(uintptr_t)NFD_GetError(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1PathSet_1GetCount(JNIEnv *__env, jclass clazz, jlong pathSetAddress) { - nfdpathset_t const *pathSet = (nfdpathset_t const *)(intptr_t)pathSetAddress; + nfdpathset_t const *pathSet = (nfdpathset_t const *)(uintptr_t)pathSetAddress; UNUSED_PARAMS(__env, clazz) return (jlong)NFD_PathSet_GetCount(pathSet); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1PathSet_1GetPath(JNIEnv *__env, jclass clazz, jlong pathSetAddress, jlong index) { - nfdpathset_t const *pathSet = (nfdpathset_t const *)(intptr_t)pathSetAddress; + nfdpathset_t const *pathSet = (nfdpathset_t const *)(uintptr_t)pathSetAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)NFD_PathSet_GetPath(pathSet, (size_t)index); + return (jlong)(uintptr_t)NFD_PathSet_GetPath(pathSet, (size_t)index); } JNIEXPORT void JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1PathSet_1Free(JNIEnv *__env, jclass clazz, jlong pathSetAddress) { - nfdpathset_t *pathSet = (nfdpathset_t *)(intptr_t)pathSetAddress; + nfdpathset_t *pathSet = (nfdpathset_t *)(uintptr_t)pathSetAddress; UNUSED_PARAMS(__env, clazz) NFD_PathSet_Free(pathSet); } JNIEXPORT void JNICALL Java_org_lwjgl_util_nfd_NativeFileDialog_nNFD_1Free(JNIEnv *__env, jclass clazz, jlong outPathAddress) { - void *outPath = (void *)(intptr_t)outPathAddress; + void *outPath = (void *)(uintptr_t)outPathAddress; UNUSED_PARAMS(__env, clazz) NFD_Free(outPath); } diff --git a/modules/lwjgl/nuklear/src/generated/c/org_lwjgl_nuklear_Nuklear.c b/modules/lwjgl/nuklear/src/generated/c/org_lwjgl_nuklear_Nuklear.c index e290fa982c..8d042ba4c7 100644 --- a/modules/lwjgl/nuklear/src/generated/c/org_lwjgl_nuklear_Nuklear.c +++ b/modules/lwjgl/nuklear/src/generated/c/org_lwjgl_nuklear_Nuklear.c @@ -32,3409 +32,3409 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1init_1fixed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong memoryAddress, jlong size, jlong fontAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - void *memory = (void *)(intptr_t)memoryAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + void *memory = (void *)(uintptr_t)memoryAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_init_fixed(ctx, memory, (nk_size)size, font); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1init(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong allocatorAddress, jlong fontAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_allocator *allocator = (struct nk_allocator *)(intptr_t)allocatorAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_allocator *allocator = (struct nk_allocator *)(uintptr_t)allocatorAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_init(ctx, allocator, font); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1init_1custom(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong cmdsAddress, jlong poolAddress, jlong fontAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_buffer *cmds = (struct nk_buffer *)(intptr_t)cmdsAddress; - struct nk_buffer *pool = (struct nk_buffer *)(intptr_t)poolAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_buffer *cmds = (struct nk_buffer *)(uintptr_t)cmdsAddress; + struct nk_buffer *pool = (struct nk_buffer *)(uintptr_t)poolAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_init_custom(ctx, cmds, pool, font); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1clear(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_clear(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1free(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_free(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1set_1user_1data(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong handleAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_handle *handle = (nk_handle *)(intptr_t)handleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_handle *handle = (nk_handle *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) nk_set_user_data(ctx, *handle); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong titleAddress, jlong boundsAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; - struct nk_rect *bounds = (struct nk_rect *)(intptr_t)boundsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + struct nk_rect *bounds = (struct nk_rect *)(uintptr_t)boundsAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_begin(ctx, title, *bounds, (nk_flags)flags); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1begin_1titled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong titleAddress, jlong boundsAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - char const *title = (char const *)(intptr_t)titleAddress; - struct nk_rect *bounds = (struct nk_rect *)(intptr_t)boundsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + struct nk_rect *bounds = (struct nk_rect *)(uintptr_t)boundsAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_begin_titled(ctx, name, title, *bounds, (nk_flags)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_end(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1find(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_window_find(ctx, name); + return (jlong)(uintptr_t)nk_window_find(ctx, name); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1bounds(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_window_get_bounds(ctx); + *((struct nk_rect*)(uintptr_t)__result) = nk_window_get_bounds(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1position(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_window_get_position(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_window_get_position(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1size(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_window_get_size(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_window_get_size(ctx); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1width(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_window_get_width(ctx); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1height(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_window_get_height(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1panel(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_window_get_panel(ctx); + return (jlong)(uintptr_t)nk_window_get_panel(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1content_1region(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_window_get_content_region(ctx); + *((struct nk_rect*)(uintptr_t)__result) = nk_window_get_content_region(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1content_1region_1min(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_window_get_content_region_min(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_window_get_content_region_min(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1content_1region_1max(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_window_get_content_region_max(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_window_get_content_region_max(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1content_1region_1size(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_window_get_content_region_size(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_window_get_content_region_size(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1canvas(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_window_get_canvas(ctx); + return (jlong)(uintptr_t)nk_window_get_canvas(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1scroll__JJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong offset_xAddress, jlong offset_yAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_uint *offset_x = (nk_uint *)(intptr_t)offset_xAddress; - nk_uint *offset_y = (nk_uint *)(intptr_t)offset_yAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_uint *offset_x = (nk_uint *)(uintptr_t)offset_xAddress; + nk_uint *offset_y = (nk_uint *)(uintptr_t)offset_yAddress; UNUSED_PARAMS(__env, clazz) nk_window_get_scroll(ctx, offset_x, offset_y); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1has_1focus(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_has_focus(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1collapsed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_collapsed(ctx, name); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1closed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_closed(ctx, name); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1hidden(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_hidden(ctx, name); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1active(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_active(ctx, name); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1hovered(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_hovered(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1is_1any_1hovered(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_window_is_any_hovered(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1item_1is_1any_1active(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_item_is_any_active(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1set_1bounds(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong boundsAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - struct nk_rect *bounds = (struct nk_rect *)(intptr_t)boundsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + struct nk_rect *bounds = (struct nk_rect *)(uintptr_t)boundsAddress; UNUSED_PARAMS(__env, clazz) nk_window_set_bounds(ctx, name, *bounds); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1set_1position(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong positionAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - struct nk_vec2 *position = (struct nk_vec2 *)(intptr_t)positionAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + struct nk_vec2 *position = (struct nk_vec2 *)(uintptr_t)positionAddress; UNUSED_PARAMS(__env, clazz) nk_window_set_position(ctx, name, *position); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1set_1size(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) nk_window_set_size(ctx, name, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1set_1focus(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_set_focus(ctx, name); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1set_1scroll(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint offset_x, jint offset_y) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_window_set_scroll(ctx, (nk_uint)offset_x, (nk_uint)offset_y); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1close(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_close(ctx, name); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1collapse(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint c) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_collapse(ctx, name, (enum nk_collapse_states)c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1collapse_1if(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint c, jboolean cond) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_collapse_if(ctx, name, (enum nk_collapse_states)c, (nk_bool)cond); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1show(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint s) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_show(ctx, name, (enum nk_show_states)s); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1show_1if(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint s, jboolean cond) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) nk_window_show_if(ctx, name, (enum nk_show_states)s, (nk_bool)cond); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1set_1min_1row_1height(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat height) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_set_min_row_height(ctx, height); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1reset_1min_1row_1height(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_reset_min_row_height(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1widget_1bounds(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_layout_widget_bounds(ctx); + *((struct nk_rect*)(uintptr_t)__result) = nk_layout_widget_bounds(ctx); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1ratio_1from_1pixel(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat pixel_width) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_layout_ratio_from_pixel(ctx, pixel_width); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1dynamic(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat height, jint cols) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_dynamic(ctx, height, (nk_int)cols); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1static(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat height, jint item_width, jint cols) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_static(ctx, height, (nk_int)item_width, (nk_int)cols); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint fmt, jfloat row_height, jint cols) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_begin(ctx, (enum nk_layout_format)fmt, row_height, (nk_int)cols); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1push(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_push(ctx, value); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row__JIFIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint fmt, jfloat height, jint cols, jlong ratioAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - float const *ratio = (float const *)(intptr_t)ratioAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + float const *ratio = (float const *)(uintptr_t)ratioAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row(ctx, (enum nk_layout_format)fmt, height, (nk_int)cols, ratio); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1template_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat height) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_template_begin(ctx, height); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1template_1push_1dynamic(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_template_push_dynamic(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1template_1push_1variable(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat min_width) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_template_push_variable(ctx, min_width); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1template_1push_1static(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat width) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_template_push_static(ctx, width); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row_1template_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_row_template_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint fmt, jfloat height, jint widget_count) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_space_begin(ctx, (enum nk_layout_format)fmt, height, (nk_int)widget_count); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1push(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong rectAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) nk_layout_space_push(ctx, *rect); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_layout_space_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1bounds(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_layout_space_bounds(ctx); + *((struct nk_rect*)(uintptr_t)__result) = nk_layout_space_bounds(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1to_1screen(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong retAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *ret = (struct nk_vec2 *)(intptr_t)retAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *ret = (struct nk_vec2 *)(uintptr_t)retAddress; UNUSED_PARAMS(__env, clazz) *ret = nk_layout_space_to_screen(ctx, *ret); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1to_1local(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong retAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *ret = (struct nk_vec2 *)(intptr_t)retAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *ret = (struct nk_vec2 *)(uintptr_t)retAddress; UNUSED_PARAMS(__env, clazz) *ret = nk_layout_space_to_local(ctx, *ret); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1rect_1to_1screen(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong retAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_rect *ret = (struct nk_rect *)(intptr_t)retAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_rect *ret = (struct nk_rect *)(uintptr_t)retAddress; UNUSED_PARAMS(__env, clazz) *ret = nk_layout_space_rect_to_screen(ctx, *ret); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1space_1rect_1to_1local(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong retAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_rect *ret = (struct nk_rect *)(intptr_t)retAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_rect *ret = (struct nk_rect *)(uintptr_t)retAddress; UNUSED_PARAMS(__env, clazz) *ret = nk_layout_space_rect_to_local(ctx, *ret); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1spacer(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_spacer(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong titleAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_group_begin(ctx, title, (nk_flags)flags); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1begin_1titled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jlong titleAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_group_begin_titled(ctx, name, title, (nk_flags)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_group_end(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1scrolled_1offset_1begin__JJJJI(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong x_offsetAddress, jlong y_offsetAddress, jlong titleAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_uint *x_offset = (nk_uint *)(intptr_t)x_offsetAddress; - nk_uint *y_offset = (nk_uint *)(intptr_t)y_offsetAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_uint *x_offset = (nk_uint *)(uintptr_t)x_offsetAddress; + nk_uint *y_offset = (nk_uint *)(uintptr_t)y_offsetAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_group_scrolled_offset_begin(ctx, x_offset, y_offset, title, (nk_flags)flags); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1scrolled_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong scrollAddress, jlong titleAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_scroll *scroll = (struct nk_scroll *)(intptr_t)scrollAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_scroll *scroll = (struct nk_scroll *)(uintptr_t)scrollAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_group_scrolled_begin(ctx, scroll, title, (nk_flags)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1scrolled_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_group_scrolled_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1get_1scroll__JJJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong idAddress, jlong x_offsetAddress, jlong y_offsetAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *id = (char const *)(intptr_t)idAddress; - nk_uint *x_offset = (nk_uint *)(intptr_t)x_offsetAddress; - nk_uint *y_offset = (nk_uint *)(intptr_t)y_offsetAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *id = (char const *)(uintptr_t)idAddress; + nk_uint *x_offset = (nk_uint *)(uintptr_t)x_offsetAddress; + nk_uint *y_offset = (nk_uint *)(uintptr_t)y_offsetAddress; UNUSED_PARAMS(__env, clazz) nk_group_get_scroll(ctx, id, x_offset, y_offset); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1set_1scroll(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong idAddress, jint x_offset, jint y_offset) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *id = (char const *)(intptr_t)idAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *id = (char const *)(uintptr_t)idAddress; UNUSED_PARAMS(__env, clazz) nk_group_set_scroll(ctx, id, (nk_uint)x_offset, (nk_uint)y_offset); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1list_1view_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong viewAddress, jlong titleAddress, jint flags, jint row_height, jint row_count) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_list_view *view = (struct nk_list_view *)(intptr_t)viewAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_list_view *view = (struct nk_list_view *)(uintptr_t)viewAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_list_view_begin(ctx, view, title, (nk_flags)flags, row_height, row_count); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1list_1view_1end(JNIEnv *__env, jclass clazz, jlong viewAddress) { - struct nk_list_view *view = (struct nk_list_view *)(intptr_t)viewAddress; + struct nk_list_view *view = (struct nk_list_view *)(uintptr_t)viewAddress; UNUSED_PARAMS(__env, clazz) nk_list_view_end(view); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1push_1hashed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong titleAddress, jint initial_state, jlong hashAddress, jint len, jint seed) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; - char const *hash = (char const *)(intptr_t)hashAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + char const *hash = (char const *)(uintptr_t)hashAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_push_hashed(ctx, (enum nk_tree_type)type, title, (enum nk_collapse_states)initial_state, hash, (nk_int)len, (nk_int)seed); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1image_1push_1hashed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong imgAddress, jlong titleAddress, jint initial_state, jlong hashAddress, jint len, jint seed) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *title = (char const *)(intptr_t)titleAddress; - char const *hash = (char const *)(intptr_t)hashAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + char const *hash = (char const *)(uintptr_t)hashAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_image_push_hashed(ctx, (enum nk_tree_type)type, *img, title, (enum nk_collapse_states)initial_state, hash, (nk_int)len, (nk_int)seed); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1pop(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_tree_pop(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1push__JIJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong titleAddress, jlong stateAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; - enum nk_collapse_states *state = (enum nk_collapse_states *)(intptr_t)stateAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + enum nk_collapse_states *state = (enum nk_collapse_states *)(uintptr_t)stateAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_state_push(ctx, (enum nk_tree_type)type, title, state); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1image_1push__JIJJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong imageAddress, jlong titleAddress, jlong stateAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *image = (struct nk_image *)(intptr_t)imageAddress; - char const *title = (char const *)(intptr_t)titleAddress; - enum nk_collapse_states *state = (enum nk_collapse_states *)(intptr_t)stateAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *image = (struct nk_image *)(uintptr_t)imageAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + enum nk_collapse_states *state = (enum nk_collapse_states *)(uintptr_t)stateAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_state_image_push(ctx, (enum nk_tree_type)type, *image, title, state); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1pop(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_tree_state_pop(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1element_1push_1hashed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong titleAddress, jint initial_state, jlong selectedAddress, jlong hashAddress, jint len, jint seed) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; - nk_bool *selected = (nk_bool *)(intptr_t)selectedAddress; - char const *hash = (char const *)(intptr_t)hashAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + nk_bool *selected = (nk_bool *)(uintptr_t)selectedAddress; + char const *hash = (char const *)(uintptr_t)hashAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_element_push_hashed(ctx, (enum nk_tree_type)type, title, (enum nk_collapse_states)initial_state, selected, hash, len, seed); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1element_1image_1push_1hashed(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong imgAddress, jlong titleAddress, jint initial_state, jlong selectedAddress, jlong hashAddress, jint len, jint seed) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *title = (char const *)(intptr_t)titleAddress; - nk_bool *selected = (nk_bool *)(intptr_t)selectedAddress; - char const *hash = (char const *)(intptr_t)hashAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + nk_bool *selected = (nk_bool *)(uintptr_t)selectedAddress; + char const *hash = (char const *)(uintptr_t)hashAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tree_element_image_push_hashed(ctx, (enum nk_tree_type)type, *img, title, (enum nk_collapse_states)initial_state, selected, hash, len, seed); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1element_1pop(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_tree_element_pop(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_text(ctx, str, (nk_int)len, (nk_flags)alignment); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1text_1colored(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jint alignment, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_text_colored(ctx, str, (nk_int)len, (nk_flags)alignment, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1text_1wrap(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_text_wrap(ctx, str, (nk_int)len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1text_1wrap_1colored(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_text_wrap_colored(ctx, str, (nk_int)len, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint align) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_label(ctx, str, (nk_flags)align); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1label_1colored(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint align, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_label_colored(ctx, str, (nk_flags)align, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1label_1wrap(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_label_wrap(ctx, str); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1label_1colored_1wrap(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_label_colored_wrap(ctx, str, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) nk_image(ctx, *img); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image_1color(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_image_color(ctx, *img, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1set_1behavior(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint behavior) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_button_set_behavior(ctx, (enum nk_button_behavior)behavior); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1push_1behavior(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint behavior) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_push_behavior(ctx, (enum nk_button_behavior)behavior); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1pop_1behavior(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_pop_behavior(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong titleAddress, jint len) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_text(ctx, title, (nk_int)len); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong titleAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_label(ctx, title); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1color(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_color(ctx, *color); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol(ctx, (enum nk_symbol_type)symbol); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image(ctx, *img); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint text_alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol_label(ctx, (enum nk_symbol_type)symbol, text, (nk_flags)text_alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol_text(ctx, (enum nk_symbol_type)symbol, text, (nk_int)len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint text_alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image_label(ctx, *img, text, (nk_flags)text_alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image_text(ctx, *img, text, (nk_int)len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1text_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jlong titleAddress, jint len) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_text_styled(ctx, style, title, len); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1label_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jlong titleAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_label_styled(ctx, style, title); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jint symbol) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol_styled(ctx, style, (enum nk_symbol_type)symbol); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jlong imgAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image_styled(ctx, style, *img); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol_1text_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jint symbol, jlong titleAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol_text_styled(ctx, style, (enum nk_symbol_type)symbol, title, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1symbol_1label_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jint symbol, jlong titleAddress, jint text_alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_symbol_label_styled(ctx, style, (enum nk_symbol_type)symbol, title, (nk_flags)text_alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image_1label_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jlong imgAddress, jlong titleAddress, jint text_alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image_label_styled(ctx, style, *img, title, (nk_flags)text_alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1button_1image_1text_1styled(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong styleAddress, jlong imgAddress, jlong titleAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_button const *style = (struct nk_style_button const *)(intptr_t)styleAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_button const *style = (struct nk_style_button const *)(uintptr_t)styleAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *title = (char const *)(uintptr_t)titleAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_button_image_text_styled(ctx, style, *img, title, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1check_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jboolean active) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_check_label(ctx, str, (nk_bool)active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1check_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jboolean active) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_check_text(ctx, str, len, (nk_bool)active); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1check_1flags_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint flags, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_check_flags_label(ctx, str, (unsigned int)flags, (unsigned int)value); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1check_1flags_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jint flags, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_check_flags_text(ctx, str, len, (unsigned int)flags, (unsigned int)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jlong activeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *active = (nk_bool *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *active = (nk_bool *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_checkbox_label(ctx, str, active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jlong activeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *active = (nk_bool *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *active = (nk_bool *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_checkbox_text(ctx, str, len, active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1label__JJJI(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jlong flagsAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - unsigned int *flags = (unsigned int *)(intptr_t)flagsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + unsigned int *flags = (unsigned int *)(uintptr_t)flagsAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_checkbox_flags_label(ctx, str, flags, (unsigned int)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1text__JJIJI(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jlong flagsAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - unsigned int *flags = (unsigned int *)(intptr_t)flagsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + unsigned int *flags = (unsigned int *)(uintptr_t)flagsAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_checkbox_flags_text(ctx, str, len, flags, (unsigned int)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1radio_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jlong activeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *active = (nk_bool *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *active = (nk_bool *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_radio_label(ctx, str, active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1radio_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jlong activeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *active = (nk_bool *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *active = (nk_bool *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_radio_text(ctx, str, len, active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1option_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jboolean active) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_option_label(ctx, str, (nk_bool)active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1option_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jboolean active) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_option_text(ctx, str, len, (nk_bool)active); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_label(ctx, str, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_text(ctx, str, len, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong strAddress, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_image_label(ctx, *img, str, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong strAddress, jint len, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_image_text(ctx, *img, str, len, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong strAddress, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_symbol_label(ctx, (enum nk_symbol_type)symbol, str, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1selectable_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong strAddress, jint len, jint align, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; - nk_bool *value = (nk_bool *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; + nk_bool *value = (nk_bool *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_selectable_symbol_text(ctx, (enum nk_symbol_type)symbol, str, len, (nk_flags)align, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_label(ctx, str, (nk_flags)align, (nk_bool)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_text(ctx, str, len, (nk_flags)align, (nk_bool)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong strAddress, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_image_label(ctx, *img, str, (nk_flags)align, (nk_bool)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong strAddress, jint len, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_image_text(ctx, *img, str, len, (nk_flags)align, (nk_bool)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong strAddress, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_symbol_label(ctx, (enum nk_symbol_type)symbol, str, (nk_flags)align, (nk_bool)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1select_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong strAddress, jint len, jint align, jboolean value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_select_symbol_text(ctx, (enum nk_symbol_type)symbol, str, len, (nk_flags)align, (nk_bool)value); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slide_1float(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat min, jfloat val, jfloat max, jfloat step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_slide_float(ctx, min, val, max, step); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slide_1int(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint min, jint val, jint max, jint step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_slide_int(ctx, min, val, max, step); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1float__JFJFF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat min, jlong valAddress, jfloat max, jfloat step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - float *val = (float *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + float *val = (float *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_slider_float(ctx, min, val, max, step); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1int__JIJII(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint min, jlong valAddress, jint max, jint step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - int *val = (int *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + int *val = (int *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_slider_int(ctx, min, val, max, step); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1progress(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong curAddress, jlong max, jboolean modifyable) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_size *cur = (nk_size *)(intptr_t)curAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_size *cur = (nk_size *)(uintptr_t)curAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_progress(ctx, cur, (nk_size)max, (nk_bool)modifyable); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1prog(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong cur, jlong max, jboolean modifyable) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)nk_prog(ctx, (nk_size)cur, (nk_size)max, (nk_bool)modifyable); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1picker(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress, jint fmt) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_colorf *color = (struct nk_colorf *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_colorf *color = (struct nk_colorf *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) *color = nk_color_picker(ctx, *color, (enum nk_color_format)fmt); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1pick(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress, jint fmt) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_colorf *color = (struct nk_colorf *)(intptr_t)colorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_colorf *color = (struct nk_colorf *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_color_pick(ctx, color, (enum nk_color_format)fmt); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1int__JJIJIIF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint min, jlong valAddress, jint max, jint step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - int *val = (int *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + int *val = (int *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) nk_property_int(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1float__JJFJFFF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jfloat min, jlong valAddress, jfloat max, jfloat step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - float *val = (float *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + float *val = (float *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) nk_property_float(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1double__JJDJDDF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jdouble min, jlong valAddress, jdouble max, jdouble step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; - double *val = (double *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + double *val = (double *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) nk_property_double(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1propertyi(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint min, jint val, jint max, jint step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_propertyi(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1propertyf(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jfloat min, jfloat val, jfloat max, jfloat step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_propertyf(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1propertyd(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jdouble min, jdouble val, jdouble max, jdouble step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jdouble)nk_propertyd(ctx, name, min, val, max, step, inc_per_pixel); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1focus(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_edit_focus(ctx, (nk_flags)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1unfocus(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_edit_unfocus(ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1string__JIJJIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags, jlong memoryAddress, jlong lenAddress, jint max, jlong filterAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char *memory = (char *)(intptr_t)memoryAddress; - int *len = (int *)(intptr_t)lenAddress; - nk_plugin_filter filter = (nk_plugin_filter)(intptr_t)filterAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char *memory = (char *)(uintptr_t)memoryAddress; + int *len = (int *)(uintptr_t)lenAddress; + nk_plugin_filter filter = (nk_plugin_filter)(uintptr_t)filterAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_edit_string(ctx, (nk_flags)flags, memory, len, max, filter); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1buffer(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags, jlong editAddress, jlong filterAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_text_edit *edit = (struct nk_text_edit *)(intptr_t)editAddress; - nk_plugin_filter filter = (nk_plugin_filter)(intptr_t)filterAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_text_edit *edit = (struct nk_text_edit *)(uintptr_t)editAddress; + nk_plugin_filter filter = (nk_plugin_filter)(uintptr_t)filterAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_edit_buffer(ctx, (nk_flags)flags, edit, filter); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1string_1zero_1terminated(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags, jlong bufferAddress, jint max, jlong filterAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char *buffer = (char *)(intptr_t)bufferAddress; - nk_plugin_filter filter = (nk_plugin_filter)(intptr_t)filterAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char *buffer = (char *)(uintptr_t)bufferAddress; + nk_plugin_filter filter = (nk_plugin_filter)(uintptr_t)filterAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_edit_string_zero_terminated(ctx, (nk_flags)flags, buffer, max, filter); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jint num, jfloat min, jfloat max) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_chart_begin(ctx, (enum nk_chart_type)type, num, min, max); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1begin_1colored(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong colorAddress, jlong activeAddress, jint num, jfloat min, jfloat max) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; - struct nk_color *active = (struct nk_color *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; + struct nk_color *active = (struct nk_color *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_chart_begin_colored(ctx, (enum nk_chart_type)type, *color, *active, num, min, max); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1add_1slot(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jint count, jfloat min_value, jfloat max_value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_chart_add_slot(ctx, (enum nk_chart_type)type, count, min_value, max_value); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1add_1slot_1colored(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong colorAddress, jlong activeAddress, jint count, jfloat min_value, jfloat max_value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; - struct nk_color *active = (struct nk_color *)(intptr_t)activeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; + struct nk_color *active = (struct nk_color *)(uintptr_t)activeAddress; UNUSED_PARAMS(__env, clazz) nk_chart_add_slot_colored(ctx, (enum nk_chart_type)type, *color, *active, count, min_value, max_value); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1push(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_chart_push(ctx, value); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1push_1slot(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat value, jint slot) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_chart_push_slot(ctx, value, slot); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1chart_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_chart_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1plot__JIJII(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong valuesAddress, jint count, jint offset) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - float const *values = (float const *)(intptr_t)valuesAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + float const *values = (float const *)(uintptr_t)valuesAddress; UNUSED_PARAMS(__env, clazz) nk_plot(ctx, (enum nk_chart_type)type, values, count, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1plot_1function(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong userdataAddress, jlong value_getterAddress, jint count, jint offset) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - void *userdata = (void *)(intptr_t)userdataAddress; - nk_value_getter value_getter = (nk_value_getter)(intptr_t)value_getterAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; + nk_value_getter value_getter = (nk_value_getter)(uintptr_t)value_getterAddress; UNUSED_PARAMS(__env, clazz) nk_plot_function(ctx, (enum nk_chart_type)type, userdata, value_getter, count, offset); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong titleAddress, jint flags, jlong rectAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_popup_begin(ctx, (enum nk_popup_type)type, title, (nk_flags)flags, *rect); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1close(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_popup_close(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_popup_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1get_1scroll__JJJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong offset_xAddress, jlong offset_yAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_uint *offset_x = (nk_uint *)(intptr_t)offset_xAddress; - nk_uint *offset_y = (nk_uint *)(intptr_t)offset_yAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_uint *offset_x = (nk_uint *)(uintptr_t)offset_xAddress; + nk_uint *offset_y = (nk_uint *)(uintptr_t)offset_yAddress; UNUSED_PARAMS(__env, clazz) nk_popup_get_scroll(ctx, offset_x, offset_y); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1set_1scroll(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint offset_x, jint offset_y) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_popup_set_scroll(ctx, (nk_uint)offset_x, (nk_uint)offset_y); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong itemsAddress, jint count, jint selected, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const **items = (char const **)(intptr_t)itemsAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const **items = (char const **)(uintptr_t)itemsAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_combo(ctx, items, count, selected, item_height, *size); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1separator(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_separatorAddress, jint separator, jint selected, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_separator = (char const *)(intptr_t)items_separated_by_separatorAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_separator = (char const *)(uintptr_t)items_separated_by_separatorAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_combo_separator(ctx, items_separated_by_separator, separator, selected, count, item_height, *size); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1string(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_zerosAddress, jint selected, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_zeros = (char const *)(intptr_t)items_separated_by_zerosAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_zeros = (char const *)(uintptr_t)items_separated_by_zerosAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_combo_string(ctx, items_separated_by_zeros, selected, count, item_height, *size); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1callback(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong item_getterAddress, jlong userdataAddress, jint selected, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_item_getter item_getter = (nk_item_getter)(intptr_t)item_getterAddress; - void *userdata = (void *)(intptr_t)userdataAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_item_getter item_getter = (nk_item_getter)(uintptr_t)item_getterAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_combo_callback(ctx, item_getter, userdata, selected, count, item_height, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox__JJIJIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong itemsAddress, jint count, jlong selectedAddress, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const **items = (char const **)(intptr_t)itemsAddress; - int *selected = (int *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const **items = (char const **)(uintptr_t)itemsAddress; + int *selected = (int *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) nk_combobox(ctx, items, count, selected, item_height, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1string__JJJIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_zerosAddress, jlong selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_zeros = (char const *)(intptr_t)items_separated_by_zerosAddress; - int *selected = (int *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_zeros = (char const *)(uintptr_t)items_separated_by_zerosAddress; + int *selected = (int *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) nk_combobox_string(ctx, items_separated_by_zeros, selected, count, item_height, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1separator__JJIJIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_separatorAddress, jint separator, jlong selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_separator = (char const *)(intptr_t)items_separated_by_separatorAddress; - int *selected = (int *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_separator = (char const *)(uintptr_t)items_separated_by_separatorAddress; + int *selected = (int *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) nk_combobox_separator(ctx, items_separated_by_separator, separator, selected, count, item_height, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1callback__JJJJIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong item_getterAddress, jlong userdataAddress, jlong selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_item_getter item_getter = (nk_item_getter)(intptr_t)item_getterAddress; - void *userdata = (void *)(intptr_t)userdataAddress; - int *selected = (int *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_item_getter item_getter = (nk_item_getter)(uintptr_t)item_getterAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; + int *selected = (int *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) nk_combobox_callback(ctx, item_getter, userdata, selected, count, item_height, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jint len, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_text(ctx, selected, len, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_label(ctx, selected, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1color(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong colorAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_color(ctx, *color, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1symbol(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_symbol(ctx, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_symbol_label(ctx, selected, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jint len, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_symbol_text(ctx, selected, len, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1image(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_image(ctx, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_image_label(ctx, selected, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1begin_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong selectedAddress, jint len, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *selected = (char const *)(intptr_t)selectedAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *selected = (char const *)(uintptr_t)selectedAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_begin_image_text(ctx, selected, len, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_label(ctx, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_text(ctx, text, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_image_label(ctx, *img, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_image_text(ctx, *img, text, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_symbol_label(ctx, (enum nk_symbol_type)symbol, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1item_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_combo_item_symbol_text(ctx, (enum nk_symbol_type)symbol, text, len, (nk_flags)alignment); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1close(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_combo_close(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combo_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_combo_end(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags, jlong sizeAddress, jlong trigger_boundsAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; - struct nk_rect *trigger_bounds = (struct nk_rect *)(intptr_t)trigger_boundsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; + struct nk_rect *trigger_bounds = (struct nk_rect *)(uintptr_t)trigger_boundsAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_begin(ctx, (nk_flags)flags, *size, *trigger_bounds); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint align) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_text(ctx, text, len, (nk_flags)align); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint align) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_label(ctx, text, (nk_flags)align); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_image_label(ctx, *img, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_image_text(ctx, *img, text, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_symbol_label(ctx, (enum nk_symbol_type)symbol, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1item_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_contextual_item_symbol_text(ctx, (enum nk_symbol_type)symbol, text, len, (nk_flags)alignment); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1close(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_contextual_close(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1contextual_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_contextual_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tooltip(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) nk_tooltip(ctx, text); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tooltip_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat width) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_tooltip_begin(ctx, width); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tooltip_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_tooltip_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menubar_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_menubar_begin(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menubar_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_menubar_end(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint align, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_text(ctx, text, len, (nk_flags)align, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint align, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_label(ctx, text, (nk_flags)align, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1image(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_image(ctx, text, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint align, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_image_text(ctx, text, len, (nk_flags)align, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint align, jlong imgAddress, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_image_label(ctx, text, (nk_flags)align, *img, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1symbol(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_symbol(ctx, text, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint align, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_symbol_text(ctx, text, len, (nk_flags)align, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1begin_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint align, jint symbol, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_begin_symbol_label(ctx, text, (nk_flags)align, (enum nk_symbol_type)symbol, *size); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint len, jint align) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_text(ctx, text, len, (nk_flags)align); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_label(ctx, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1image_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_image_label(ctx, *img, text, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1image_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong imgAddress, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_image_text(ctx, *img, text, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1symbol_1text(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint len, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_symbol_text(ctx, (enum nk_symbol_type)symbol, text, len, (nk_flags)alignment); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1item_1symbol_1label(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint symbol, jlong textAddress, jint alignment) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_menu_item_symbol_label(ctx, (enum nk_symbol_type)symbol, text, (nk_flags)alignment); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1close(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_menu_close(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1menu_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_menu_end(ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1convert(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong cmdsAddress, jlong verticesAddress, jlong elementsAddress, jlong configAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_buffer *cmds = (struct nk_buffer *)(intptr_t)cmdsAddress; - struct nk_buffer *vertices = (struct nk_buffer *)(intptr_t)verticesAddress; - struct nk_buffer *elements = (struct nk_buffer *)(intptr_t)elementsAddress; - struct nk_convert_config const *config = (struct nk_convert_config const *)(intptr_t)configAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_buffer *cmds = (struct nk_buffer *)(uintptr_t)cmdsAddress; + struct nk_buffer *vertices = (struct nk_buffer *)(uintptr_t)verticesAddress; + struct nk_buffer *elements = (struct nk_buffer *)(uintptr_t)elementsAddress; + struct nk_convert_config const *config = (struct nk_convert_config const *)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_convert(ctx, cmds, vertices, elements, config); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_begin(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1motion(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint x, jint y) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_motion(ctx, x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1key(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint key, jboolean down) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_key(ctx, (enum nk_keys)key, (nk_bool)down); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1button(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint id, jint x, jint y, jboolean down) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_button(ctx, (enum nk_buttons)id, x, y, (nk_bool)down); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1scroll(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong valAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *val = (struct nk_vec2 *)(intptr_t)valAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *val = (struct nk_vec2 *)(uintptr_t)valAddress; UNUSED_PARAMS(__env, clazz) nk_input_scroll(ctx, *val); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1char(JNIEnv *__env, jclass clazz, jlong ctxAddress, jbyte c) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_char(ctx, (char)c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1glyph(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong glyphAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char *glyph = (char *)(intptr_t)glyphAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char *glyph = (char *)(uintptr_t)glyphAddress; UNUSED_PARAMS(__env, clazz) nk_input_glyph(ctx, glyph); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1unicode(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint unicode) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_unicode(ctx, (nk_rune)unicode); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_input_end(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1default(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_style_default(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1from_1table(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong tableAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color const *table = (struct nk_color const *)(intptr_t)tableAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color const *table = (struct nk_color const *)(uintptr_t)tableAddress; UNUSED_PARAMS(__env, clazz) nk_style_from_table(ctx, table); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1load_1cursor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint style, jlong cursorAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_cursor *cursor = (struct nk_cursor *)(intptr_t)cursorAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_cursor *cursor = (struct nk_cursor *)(uintptr_t)cursorAddress; UNUSED_PARAMS(__env, clazz) nk_style_load_cursor(ctx, (enum nk_style_cursor)style, cursor); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1load_1all_1cursors(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong cursorsAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_cursor *cursors = (struct nk_cursor *)(intptr_t)cursorsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_cursor *cursors = (struct nk_cursor *)(uintptr_t)cursorsAddress; UNUSED_PARAMS(__env, clazz) nk_style_load_all_cursors(ctx, cursors); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1get_1color_1by_1name(JNIEnv *__env, jclass clazz, jint c) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_style_get_color_by_name((enum nk_style_colors)c); + return (jlong)(uintptr_t)nk_style_get_color_by_name((enum nk_style_colors)c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1set_1font(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fontAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) nk_style_set_font(ctx, font); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1set_1cursor(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint style) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_set_cursor(ctx, (enum nk_style_cursor)style); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1show_1cursor(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_style_show_cursor(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1hide_1cursor(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_style_hide_cursor(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1font(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong fontAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_font(ctx, font); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1float__JJF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong addressAddress, jfloat value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - float *address = (float *)(intptr_t)addressAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + float *address = (float *)(uintptr_t)addressAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_float(ctx, address, value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1vec2(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong addressAddress, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *address = (struct nk_vec2 *)(intptr_t)addressAddress; - struct nk_vec2 *value = (struct nk_vec2 *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *address = (struct nk_vec2 *)(uintptr_t)addressAddress; + struct nk_vec2 *value = (struct nk_vec2 *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_vec2(ctx, address, *value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1style_1item(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong addressAddress, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_style_item *address = (struct nk_style_item *)(intptr_t)addressAddress; - struct nk_style_item *value = (struct nk_style_item *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_style_item *address = (struct nk_style_item *)(uintptr_t)addressAddress; + struct nk_style_item *value = (struct nk_style_item *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_style_item(ctx, address, *value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1flags__JJI(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong addressAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_flags *address = (nk_flags *)(intptr_t)addressAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_flags *address = (nk_flags *)(uintptr_t)addressAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_flags(ctx, address, (nk_flags)value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1color(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong addressAddress, jlong valueAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_color *address = (struct nk_color *)(intptr_t)addressAddress; - struct nk_color *value = (struct nk_color *)(intptr_t)valueAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_color *address = (struct nk_color *)(uintptr_t)addressAddress; + struct nk_color *value = (struct nk_color *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_push_color(ctx, address, *value); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1font(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_font(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1float(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_float(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1vec2(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_vec2(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1style_1item(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_style_item(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1flags(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_flags(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1pop_1color(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_style_pop_color(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1bounds(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_widget_bounds(ctx); + *((struct nk_rect*)(uintptr_t)__result) = nk_widget_bounds(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1position(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_widget_position(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_widget_position(ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1size(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong __result) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_widget_size(ctx); + *((struct nk_vec2*)(uintptr_t)__result) = nk_widget_size(ctx); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1width(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_widget_width(ctx); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1height(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_widget_height(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1is_1hovered(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_widget_is_hovered(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1is_1mouse_1clicked(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint btn) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_widget_is_mouse_clicked(ctx, (enum nk_buttons)btn); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1has_1mouse_1click_1down(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint btn, jboolean down) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_widget_has_mouse_click_down(ctx, (enum nk_buttons)btn, (nk_bool)down); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1spacing(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint cols) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) nk_spacing(ctx, cols); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget(JNIEnv *__env, jclass clazz, jlong boundsAddress, jlong ctxAddress) { - struct nk_rect *bounds = (struct nk_rect *)(intptr_t)boundsAddress; - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_rect *bounds = (struct nk_rect *)(uintptr_t)boundsAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_widget(bounds, ctx); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1widget_1fitting(JNIEnv *__env, jclass clazz, jlong boundsAddress, jlong ctxAddress, jlong item_paddingAddress) { - struct nk_rect *bounds = (struct nk_rect *)(intptr_t)boundsAddress; - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_vec2 *item_padding = (struct nk_vec2 *)(intptr_t)item_paddingAddress; + struct nk_rect *bounds = (struct nk_rect *)(uintptr_t)boundsAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_vec2 *item_padding = (struct nk_vec2 *)(uintptr_t)item_paddingAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_widget_fitting(bounds, ctx, *item_padding); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb(JNIEnv *__env, jclass clazz, jint r, jint g, jint b, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb(r, g, b); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb(r, g, b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1iv__JJ(JNIEnv *__env, jclass clazz, jlong rgbAddress, jlong __result) { - int const *rgb = (int const *)(intptr_t)rgbAddress; + int const *rgb = (int const *)(uintptr_t)rgbAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_iv(rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_iv(rgb); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1bv(JNIEnv *__env, jclass clazz, jlong rgbAddress, jlong __result) { - nk_byte const *rgb = (nk_byte const *)(intptr_t)rgbAddress; + nk_byte const *rgb = (nk_byte const *)(uintptr_t)rgbAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_bv(rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_bv(rgb); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1f(JNIEnv *__env, jclass clazz, jfloat r, jfloat g, jfloat b, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_f(r, g, b); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_f(r, g, b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1fv__JJ(JNIEnv *__env, jclass clazz, jlong rgbAddress, jlong __result) { - float const *rgb = (float const *)(intptr_t)rgbAddress; + float const *rgb = (float const *)(uintptr_t)rgbAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_fv(rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_fv(rgb); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1cf(JNIEnv *__env, jclass clazz, jlong cAddress, jlong __result) { - struct nk_colorf *c = (struct nk_colorf *)(intptr_t)cAddress; + struct nk_colorf *c = (struct nk_colorf *)(uintptr_t)cAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_cf(*c); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_cf(*c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1hex(JNIEnv *__env, jclass clazz, jlong rgbAddress, jlong __result) { - char const *rgb = (char const *)(intptr_t)rgbAddress; + char const *rgb = (char const *)(uintptr_t)rgbAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_hex(rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_hex(rgb); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba(JNIEnv *__env, jclass clazz, jint r, jint g, jint b, jint a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba(r, g, b, a); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba(r, g, b, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1u32(JNIEnv *__env, jclass clazz, jint in, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_u32((nk_uint)in); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_u32((nk_uint)in); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1iv__JJ(JNIEnv *__env, jclass clazz, jlong rgbaAddress, jlong __result) { - int const *rgba = (int const *)(intptr_t)rgbaAddress; + int const *rgba = (int const *)(uintptr_t)rgbaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_iv(rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_iv(rgba); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1bv(JNIEnv *__env, jclass clazz, jlong rgbaAddress, jlong __result) { - nk_byte const *rgba = (nk_byte const *)(intptr_t)rgbaAddress; + nk_byte const *rgba = (nk_byte const *)(uintptr_t)rgbaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_bv(rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_bv(rgba); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1f(JNIEnv *__env, jclass clazz, jfloat r, jfloat g, jfloat b, jfloat a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_f(r, g, b, a); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_f(r, g, b, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1fv__JJ(JNIEnv *__env, jclass clazz, jlong rgbaAddress, jlong __result) { - float const *rgba = (float const *)(intptr_t)rgbaAddress; + float const *rgba = (float const *)(uintptr_t)rgbaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_fv(rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_fv(rgba); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1cf(JNIEnv *__env, jclass clazz, jlong cAddress, jlong __result) { - struct nk_colorf *c = (struct nk_colorf *)(intptr_t)cAddress; + struct nk_colorf *c = (struct nk_colorf *)(uintptr_t)cAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_cf(*c); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_cf(*c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1hex(JNIEnv *__env, jclass clazz, jlong rgbaAddress, jlong __result) { - char const *rgba = (char const *)(intptr_t)rgbaAddress; + char const *rgba = (char const *)(uintptr_t)rgbaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_hex(rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_hex(rgba); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1colorf(JNIEnv *__env, jclass clazz, jfloat h, jfloat s, jfloat v, jfloat a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_colorf*)(intptr_t)__result) = nk_hsva_colorf(h, s, v, a); + *((struct nk_colorf*)(uintptr_t)__result) = nk_hsva_colorf(h, s, v, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1colorfv__JJ(JNIEnv *__env, jclass clazz, jlong cAddress, jlong __result) { - float *c = (float *)(intptr_t)cAddress; + float *c = (float *)(uintptr_t)cAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_colorf*)(intptr_t)__result) = nk_hsva_colorfv(c); + *((struct nk_colorf*)(uintptr_t)__result) = nk_hsva_colorfv(c); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1f__JJJJJ(JNIEnv *__env, jclass clazz, jlong out_hAddress, jlong out_sAddress, jlong out_vAddress, jlong out_aAddress, jlong inAddress) { - float *out_h = (float *)(intptr_t)out_hAddress; - float *out_s = (float *)(intptr_t)out_sAddress; - float *out_v = (float *)(intptr_t)out_vAddress; - float *out_a = (float *)(intptr_t)out_aAddress; - struct nk_colorf *in = (struct nk_colorf *)(intptr_t)inAddress; + float *out_h = (float *)(uintptr_t)out_hAddress; + float *out_s = (float *)(uintptr_t)out_sAddress; + float *out_v = (float *)(uintptr_t)out_vAddress; + float *out_a = (float *)(uintptr_t)out_aAddress; + struct nk_colorf *in = (struct nk_colorf *)(uintptr_t)inAddress; UNUSED_PARAMS(__env, clazz) nk_colorf_hsva_f(out_h, out_s, out_v, out_a, *in); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1fv__JJ(JNIEnv *__env, jclass clazz, jlong hsvaAddress, jlong inAddress) { - float *hsva = (float *)(intptr_t)hsvaAddress; - struct nk_colorf *in = (struct nk_colorf *)(intptr_t)inAddress; + float *hsva = (float *)(uintptr_t)hsvaAddress; + struct nk_colorf *in = (struct nk_colorf *)(uintptr_t)inAddress; UNUSED_PARAMS(__env, clazz) nk_colorf_hsva_fv(hsva, *in); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv(JNIEnv *__env, jclass clazz, jint h, jint s, jint v, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv(h, s, v); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv(h, s, v); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1iv__JJ(JNIEnv *__env, jclass clazz, jlong hsvAddress, jlong __result) { - int const *hsv = (int const *)(intptr_t)hsvAddress; + int const *hsv = (int const *)(uintptr_t)hsvAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_iv(hsv); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_iv(hsv); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1bv(JNIEnv *__env, jclass clazz, jlong hsvAddress, jlong __result) { - nk_byte const *hsv = (nk_byte const *)(intptr_t)hsvAddress; + nk_byte const *hsv = (nk_byte const *)(uintptr_t)hsvAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_bv(hsv); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_bv(hsv); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1f(JNIEnv *__env, jclass clazz, jfloat h, jfloat s, jfloat v, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_f(h, s, v); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_f(h, s, v); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1fv__JJ(JNIEnv *__env, jclass clazz, jlong hsvAddress, jlong __result) { - float const *hsv = (float const *)(intptr_t)hsvAddress; + float const *hsv = (float const *)(uintptr_t)hsvAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_fv(hsv); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_fv(hsv); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva(JNIEnv *__env, jclass clazz, jint h, jint s, jint v, jint a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva(h, s, v, a); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva(h, s, v, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1iv__JJ(JNIEnv *__env, jclass clazz, jlong hsvaAddress, jlong __result) { - int const *hsva = (int const *)(intptr_t)hsvaAddress; + int const *hsva = (int const *)(uintptr_t)hsvaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_iv(hsva); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_iv(hsva); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1bv(JNIEnv *__env, jclass clazz, jlong hsvaAddress, jlong __result) { - nk_byte const *hsva = (nk_byte const *)(intptr_t)hsvaAddress; + nk_byte const *hsva = (nk_byte const *)(uintptr_t)hsvaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_bv(hsva); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_bv(hsva); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1f(JNIEnv *__env, jclass clazz, jfloat h, jfloat s, jfloat v, jfloat a, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_f(h, s, v, a); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_f(h, s, v, a); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1fv__JJ(JNIEnv *__env, jclass clazz, jlong hsvaAddress, jlong __result) { - float const *hsva = (float const *)(intptr_t)hsvaAddress; + float const *hsva = (float const *)(uintptr_t)hsvaAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_fv(hsva); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_fv(hsva); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1f__JJJJJ(JNIEnv *__env, jclass clazz, jlong rAddress, jlong gAddress, jlong bAddress, jlong aAddress, jlong colorAddress) { - float *r = (float *)(intptr_t)rAddress; - float *g = (float *)(intptr_t)gAddress; - float *b = (float *)(intptr_t)bAddress; - float *a = (float *)(intptr_t)aAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *r = (float *)(uintptr_t)rAddress; + float *g = (float *)(uintptr_t)gAddress; + float *b = (float *)(uintptr_t)bAddress; + float *a = (float *)(uintptr_t)aAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_f(r, g, b, a, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1fv__JJ(JNIEnv *__env, jclass clazz, jlong rgba_outAddress, jlong colorAddress) { - float *rgba_out = (float *)(intptr_t)rgba_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *rgba_out = (float *)(uintptr_t)rgba_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_fv(rgba_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1cf(JNIEnv *__env, jclass clazz, jlong colorAddress, jlong __result) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_colorf*)(intptr_t)__result) = nk_color_cf(*color); + *((struct nk_colorf*)(uintptr_t)__result) = nk_color_cf(*color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1d__JJJJJ(JNIEnv *__env, jclass clazz, jlong rAddress, jlong gAddress, jlong bAddress, jlong aAddress, jlong colorAddress) { - double *r = (double *)(intptr_t)rAddress; - double *g = (double *)(intptr_t)gAddress; - double *b = (double *)(intptr_t)bAddress; - double *a = (double *)(intptr_t)aAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + double *r = (double *)(uintptr_t)rAddress; + double *g = (double *)(uintptr_t)gAddress; + double *b = (double *)(uintptr_t)bAddress; + double *a = (double *)(uintptr_t)aAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_d(r, g, b, a, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1dv__JJ(JNIEnv *__env, jclass clazz, jlong rgba_outAddress, jlong colorAddress) { - double *rgba_out = (double *)(intptr_t)rgba_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + double *rgba_out = (double *)(uintptr_t)rgba_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_dv(rgba_out, *color); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1u32(JNIEnv *__env, jclass clazz, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_color_u32(*color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hex_1rgba(JNIEnv *__env, jclass clazz, jlong outputAddress, jlong colorAddress) { - char *output = (char *)(intptr_t)outputAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + char *output = (char *)(uintptr_t)outputAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hex_rgba(output, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hex_1rgb(JNIEnv *__env, jclass clazz, jlong outputAddress, jlong colorAddress) { - char *output = (char *)(intptr_t)outputAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + char *output = (char *)(uintptr_t)outputAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hex_rgb(output, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1i__JJJJ(JNIEnv *__env, jclass clazz, jlong out_hAddress, jlong out_sAddress, jlong out_vAddress, jlong colorAddress) { - int *out_h = (int *)(intptr_t)out_hAddress; - int *out_s = (int *)(intptr_t)out_sAddress; - int *out_v = (int *)(intptr_t)out_vAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + int *out_h = (int *)(uintptr_t)out_hAddress; + int *out_s = (int *)(uintptr_t)out_sAddress; + int *out_v = (int *)(uintptr_t)out_vAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_i(out_h, out_s, out_v, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1b(JNIEnv *__env, jclass clazz, jlong out_hAddress, jlong out_sAddress, jlong out_vAddress, jlong colorAddress) { - nk_byte *out_h = (nk_byte *)(intptr_t)out_hAddress; - nk_byte *out_s = (nk_byte *)(intptr_t)out_sAddress; - nk_byte *out_v = (nk_byte *)(intptr_t)out_vAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + nk_byte *out_h = (nk_byte *)(uintptr_t)out_hAddress; + nk_byte *out_s = (nk_byte *)(uintptr_t)out_sAddress; + nk_byte *out_v = (nk_byte *)(uintptr_t)out_vAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_b(out_h, out_s, out_v, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1iv__JJ(JNIEnv *__env, jclass clazz, jlong hsv_outAddress, jlong colorAddress) { - int *hsv_out = (int *)(intptr_t)hsv_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + int *hsv_out = (int *)(uintptr_t)hsv_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_iv(hsv_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1bv(JNIEnv *__env, jclass clazz, jlong hsv_outAddress, jlong colorAddress) { - nk_byte *hsv_out = (nk_byte *)(intptr_t)hsv_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + nk_byte *hsv_out = (nk_byte *)(uintptr_t)hsv_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_bv(hsv_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1f__JJJJ(JNIEnv *__env, jclass clazz, jlong out_hAddress, jlong out_sAddress, jlong out_vAddress, jlong colorAddress) { - float *out_h = (float *)(intptr_t)out_hAddress; - float *out_s = (float *)(intptr_t)out_sAddress; - float *out_v = (float *)(intptr_t)out_vAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *out_h = (float *)(uintptr_t)out_hAddress; + float *out_s = (float *)(uintptr_t)out_sAddress; + float *out_v = (float *)(uintptr_t)out_vAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_f(out_h, out_s, out_v, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1fv__JJ(JNIEnv *__env, jclass clazz, jlong hsv_outAddress, jlong colorAddress) { - float *hsv_out = (float *)(intptr_t)hsv_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *hsv_out = (float *)(uintptr_t)hsv_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsv_fv(hsv_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1i__JJJJJ(JNIEnv *__env, jclass clazz, jlong hAddress, jlong sAddress, jlong vAddress, jlong aAddress, jlong colorAddress) { - int *h = (int *)(intptr_t)hAddress; - int *s = (int *)(intptr_t)sAddress; - int *v = (int *)(intptr_t)vAddress; - int *a = (int *)(intptr_t)aAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + int *h = (int *)(uintptr_t)hAddress; + int *s = (int *)(uintptr_t)sAddress; + int *v = (int *)(uintptr_t)vAddress; + int *a = (int *)(uintptr_t)aAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_i(h, s, v, a, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1b(JNIEnv *__env, jclass clazz, jlong hAddress, jlong sAddress, jlong vAddress, jlong aAddress, jlong colorAddress) { - nk_byte *h = (nk_byte *)(intptr_t)hAddress; - nk_byte *s = (nk_byte *)(intptr_t)sAddress; - nk_byte *v = (nk_byte *)(intptr_t)vAddress; - nk_byte *a = (nk_byte *)(intptr_t)aAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + nk_byte *h = (nk_byte *)(uintptr_t)hAddress; + nk_byte *s = (nk_byte *)(uintptr_t)sAddress; + nk_byte *v = (nk_byte *)(uintptr_t)vAddress; + nk_byte *a = (nk_byte *)(uintptr_t)aAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_b(h, s, v, a, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1iv__JJ(JNIEnv *__env, jclass clazz, jlong hsva_outAddress, jlong colorAddress) { - int *hsva_out = (int *)(intptr_t)hsva_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + int *hsva_out = (int *)(uintptr_t)hsva_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_iv(hsva_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1bv(JNIEnv *__env, jclass clazz, jlong hsva_outAddress, jlong colorAddress) { - nk_byte *hsva_out = (nk_byte *)(intptr_t)hsva_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + nk_byte *hsva_out = (nk_byte *)(uintptr_t)hsva_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_bv(hsva_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1f__JJJJJ(JNIEnv *__env, jclass clazz, jlong out_hAddress, jlong out_sAddress, jlong out_vAddress, jlong out_aAddress, jlong colorAddress) { - float *out_h = (float *)(intptr_t)out_hAddress; - float *out_s = (float *)(intptr_t)out_sAddress; - float *out_v = (float *)(intptr_t)out_vAddress; - float *out_a = (float *)(intptr_t)out_aAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *out_h = (float *)(uintptr_t)out_hAddress; + float *out_s = (float *)(uintptr_t)out_sAddress; + float *out_v = (float *)(uintptr_t)out_vAddress; + float *out_a = (float *)(uintptr_t)out_aAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_f(out_h, out_s, out_v, out_a, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1fv__JJ(JNIEnv *__env, jclass clazz, jlong hsva_outAddress, jlong colorAddress) { - float *hsva_out = (float *)(intptr_t)hsva_outAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + float *hsva_out = (float *)(uintptr_t)hsva_outAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_color_hsva_fv(hsva_out, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1handle_1ptr(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong __result) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - *((nk_handle*)(intptr_t)__result) = nk_handle_ptr(ptr); + *((nk_handle*)(uintptr_t)__result) = nk_handle_ptr(ptr); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1handle_1id(JNIEnv *__env, jclass clazz, jint id, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((nk_handle*)(intptr_t)__result) = nk_handle_id(id); + *((nk_handle*)(uintptr_t)__result) = nk_handle_id(id); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image_1handle(JNIEnv *__env, jclass clazz, jlong handleAddress, jlong __result) { - nk_handle *handle = (nk_handle *)(intptr_t)handleAddress; + nk_handle *handle = (nk_handle *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_image_handle(*handle); + *((struct nk_image*)(uintptr_t)__result) = nk_image_handle(*handle); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image_1ptr(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong __result) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_image_ptr(ptr); + *((struct nk_image*)(uintptr_t)__result) = nk_image_ptr(ptr); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image_1id(JNIEnv *__env, jclass clazz, jint id, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_image_id(id); + *((struct nk_image*)(uintptr_t)__result) = nk_image_id(id); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1image_1is_1subimage(JNIEnv *__env, jclass clazz, jlong imgAddress) { - struct nk_image const *img = (struct nk_image const *)(intptr_t)imgAddress; + struct nk_image const *img = (struct nk_image const *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_image_is_subimage(img); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1subimage_1ptr(JNIEnv *__env, jclass clazz, jlong ptrAddress, jshort w, jshort h, jlong sub_regionAddress, jlong __result) { - void *ptr = (void *)(intptr_t)ptrAddress; - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_subimage_ptr(ptr, (nk_ushort)w, (nk_ushort)h, *sub_region); + *((struct nk_image*)(uintptr_t)__result) = nk_subimage_ptr(ptr, (nk_ushort)w, (nk_ushort)h, *sub_region); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1subimage_1id(JNIEnv *__env, jclass clazz, jint id, jshort w, jshort h, jlong sub_regionAddress, jlong __result) { - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_subimage_id(id, (nk_ushort)w, (nk_ushort)h, *sub_region); + *((struct nk_image*)(uintptr_t)__result) = nk_subimage_id(id, (nk_ushort)w, (nk_ushort)h, *sub_region); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1subimage_1handle(JNIEnv *__env, jclass clazz, jlong handleAddress, jshort w, jshort h, jlong sub_regionAddress, jlong __result) { - nk_handle *handle = (nk_handle *)(intptr_t)handleAddress; - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + nk_handle *handle = (nk_handle *)(uintptr_t)handleAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_image*)(intptr_t)__result) = nk_subimage_handle(*handle, (nk_ushort)w, (nk_ushort)h, *sub_region); + *((struct nk_image*)(uintptr_t)__result) = nk_subimage_handle(*handle, (nk_ushort)w, (nk_ushort)h, *sub_region); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1nine_1slice_1handle(JNIEnv *__env, jclass clazz, jlong handleAddress, jshort l, jshort t, jshort r, jshort b, jlong __result) { - nk_handle *handle = (nk_handle *)(intptr_t)handleAddress; + nk_handle *handle = (nk_handle *)(uintptr_t)handleAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_nine_slice_handle(*handle, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_nine_slice_handle(*handle, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1nine_1slice_1ptr(JNIEnv *__env, jclass clazz, jlong ptrAddress, jshort l, jshort t, jshort r, jshort b, jlong __result) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_nine_slice_ptr(ptr, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_nine_slice_ptr(ptr, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1nine_1slice_1id(JNIEnv *__env, jclass clazz, jint id, jshort l, jshort t, jshort r, jshort b, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_nine_slice_id(id, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_nine_slice_id(id, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1nine_1slice_1is_1sub9slice(JNIEnv *__env, jclass clazz, jlong imgAddress) { - struct nk_nine_slice const *img = (struct nk_nine_slice const *)(intptr_t)imgAddress; + struct nk_nine_slice const *img = (struct nk_nine_slice const *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_nine_slice_is_sub9slice(img); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1sub9slice_1ptr(JNIEnv *__env, jclass clazz, jlong ptrAddress, jshort w, jshort h, jlong sub_regionAddress, jshort l, jshort t, jshort r, jshort b, jlong __result) { - void *ptr = (void *)(intptr_t)ptrAddress; - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_sub9slice_ptr(ptr, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_sub9slice_ptr(ptr, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1sub9slice_1id(JNIEnv *__env, jclass clazz, jint id, jshort w, jshort h, jlong sub_regionAddress, jshort l, jshort t, jshort r, jshort b, jlong __result) { - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_sub9slice_id(id, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_sub9slice_id(id, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1sub9slice_1handle(JNIEnv *__env, jclass clazz, jlong handleAddress, jshort w, jshort h, jlong sub_regionAddress, jshort l, jshort t, jshort r, jshort b, jlong __result) { - nk_handle *handle = (nk_handle *)(intptr_t)handleAddress; - struct nk_rect *sub_region = (struct nk_rect *)(intptr_t)sub_regionAddress; + nk_handle *handle = (nk_handle *)(uintptr_t)handleAddress; + struct nk_rect *sub_region = (struct nk_rect *)(uintptr_t)sub_regionAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_nine_slice*)(intptr_t)__result) = nk_sub9slice_handle(*handle, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); + *((struct nk_nine_slice*)(uintptr_t)__result) = nk_sub9slice_handle(*handle, (nk_ushort)w, (nk_ushort)h, *sub_region, (nk_ushort)l, (nk_ushort)t, (nk_ushort)r, (nk_ushort)b); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1murmur_1hash(JNIEnv *__env, jclass clazz, jlong keyAddress, jint len, jint seed) { - void const *key = (void const *)(intptr_t)keyAddress; + void const *key = (void const *)(uintptr_t)keyAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_murmur_hash(key, len, (nk_hash)seed); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1triangle_1from_1direction(JNIEnv *__env, jclass clazz, jlong resultAddress, jlong rAddress, jfloat pad_x, jfloat pad_y, jint direction) { - struct nk_vec2 *result = (struct nk_vec2 *)(intptr_t)resultAddress; - struct nk_rect *r = (struct nk_rect *)(intptr_t)rAddress; + struct nk_vec2 *result = (struct nk_vec2 *)(uintptr_t)resultAddress; + struct nk_rect *r = (struct nk_rect *)(uintptr_t)rAddress; UNUSED_PARAMS(__env, clazz) nk_triangle_from_direction(result, *r, pad_x, pad_y, (enum nk_heading)direction); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2(JNIEnv *__env, jclass clazz, jfloat x, jfloat y, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2(x, y); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2(x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2i(JNIEnv *__env, jclass clazz, jint x, jint y, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2i(x, y); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2i(x, y); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2v__JJ(JNIEnv *__env, jclass clazz, jlong xyAddress, jlong __result) { - float const *xy = (float const *)(intptr_t)xyAddress; + float const *xy = (float const *)(uintptr_t)xyAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2v(xy); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2v(xy); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2iv__JJ(JNIEnv *__env, jclass clazz, jlong xyAddress, jlong __result) { - int const *xy = (int const *)(intptr_t)xyAddress; + int const *xy = (int const *)(uintptr_t)xyAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2iv(xy); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2iv(xy); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1get_1null_1rect(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_get_null_rect(); + *((struct nk_rect*)(uintptr_t)__result) = nk_get_null_rect(); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rect(JNIEnv *__env, jclass clazz, jfloat x, jfloat y, jfloat w, jfloat h, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_rect(x, y, w, h); + *((struct nk_rect*)(uintptr_t)__result) = nk_rect(x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1recti(JNIEnv *__env, jclass clazz, jint x, jint y, jint w, jint h, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_recti(x, y, w, h); + *((struct nk_rect*)(uintptr_t)__result) = nk_recti(x, y, w, h); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1recta(JNIEnv *__env, jclass clazz, jlong posAddress, jlong sizeAddress, jlong __result) { - struct nk_vec2 *pos = (struct nk_vec2 *)(intptr_t)posAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_vec2 *pos = (struct nk_vec2 *)(uintptr_t)posAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_recta(*pos, *size); + *((struct nk_rect*)(uintptr_t)__result) = nk_recta(*pos, *size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rectv__JJ(JNIEnv *__env, jclass clazz, jlong xywhAddress, jlong __result) { - float const *xywh = (float const *)(intptr_t)xywhAddress; + float const *xywh = (float const *)(uintptr_t)xywhAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_rectv(xywh); + *((struct nk_rect*)(uintptr_t)__result) = nk_rectv(xywh); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rectiv__JJ(JNIEnv *__env, jclass clazz, jlong xywhAddress, jlong __result) { - int const *xywh = (int const *)(intptr_t)xywhAddress; + int const *xywh = (int const *)(uintptr_t)xywhAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_rectiv(xywh); + *((struct nk_rect*)(uintptr_t)__result) = nk_rectiv(xywh); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rect_1pos(JNIEnv *__env, jclass clazz, jlong rAddress, jlong __result) { - struct nk_rect *r = (struct nk_rect *)(intptr_t)rAddress; + struct nk_rect *r = (struct nk_rect *)(uintptr_t)rAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_rect_pos(*r); + *((struct nk_vec2*)(uintptr_t)__result) = nk_rect_pos(*r); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rect_1size(JNIEnv *__env, jclass clazz, jlong rAddress, jlong __result) { - struct nk_rect *r = (struct nk_rect *)(intptr_t)rAddress; + struct nk_rect *r = (struct nk_rect *)(uintptr_t)rAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_rect_size(*r); + *((struct nk_vec2*)(uintptr_t)__result) = nk_rect_size(*r); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strlen(JNIEnv *__env, jclass clazz, jlong strAddress) { - char const *str = (char const *)(intptr_t)strAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_strlen(str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stricmp(JNIEnv *__env, jclass clazz, jlong s1Address, jlong s2Address) { - char const *s1 = (char const *)(intptr_t)s1Address; - char const *s2 = (char const *)(intptr_t)s2Address; + char const *s1 = (char const *)(uintptr_t)s1Address; + char const *s2 = (char const *)(uintptr_t)s2Address; UNUSED_PARAMS(__env, clazz) return (jint)nk_stricmp(s1, s2); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stricmpn(JNIEnv *__env, jclass clazz, jlong s1Address, jlong s2Address, jint n) { - char const *s1 = (char const *)(intptr_t)s1Address; - char const *s2 = (char const *)(intptr_t)s2Address; + char const *s1 = (char const *)(uintptr_t)s1Address; + char const *s2 = (char const *)(uintptr_t)s2Address; UNUSED_PARAMS(__env, clazz) return (jint)nk_stricmpn(s1, s2, n); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strtoi(JNIEnv *__env, jclass clazz, jlong strAddress, jlong endptrAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const **endptr = (char const **)(intptr_t)endptrAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const **endptr = (char const **)(uintptr_t)endptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_strtoi(str, endptr); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strtof(JNIEnv *__env, jclass clazz, jlong strAddress, jlong endptrAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const **endptr = (char const **)(intptr_t)endptrAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const **endptr = (char const **)(uintptr_t)endptrAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)nk_strtof(str, endptr); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strtod(JNIEnv *__env, jclass clazz, jlong strAddress, jlong endptrAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const **endptr = (char const **)(intptr_t)endptrAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const **endptr = (char const **)(uintptr_t)endptrAddress; UNUSED_PARAMS(__env, clazz) return (jdouble)nk_strtod(str, endptr); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strfilter(JNIEnv *__env, jclass clazz, jlong strAddress, jlong regexpAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const *regexp = (char const *)(intptr_t)regexpAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const *regexp = (char const *)(uintptr_t)regexpAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_strfilter(str, regexp); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1string__JJJ(JNIEnv *__env, jclass clazz, jlong strAddress, jlong patternAddress, jlong out_scoreAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const *pattern = (char const *)(intptr_t)patternAddress; - int *out_score = (int *)(intptr_t)out_scoreAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const *pattern = (char const *)(uintptr_t)patternAddress; + int *out_score = (int *)(uintptr_t)out_scoreAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_strmatch_fuzzy_string(str, pattern, out_score); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1text__JIJJ(JNIEnv *__env, jclass clazz, jlong txtAddress, jint txt_len, jlong patternAddress, jlong out_scoreAddress) { - char const *txt = (char const *)(intptr_t)txtAddress; - char const *pattern = (char const *)(intptr_t)patternAddress; - int *out_score = (int *)(intptr_t)out_scoreAddress; + char const *txt = (char const *)(uintptr_t)txtAddress; + char const *pattern = (char const *)(uintptr_t)patternAddress; + int *out_score = (int *)(uintptr_t)out_scoreAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_strmatch_fuzzy_text(txt, txt_len, pattern, out_score); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1decode__JJI(JNIEnv *__env, jclass clazz, jlong cAddress, jlong uAddress, jint clen) { - char const *c = (char const *)(intptr_t)cAddress; - nk_rune *u = (nk_rune *)(intptr_t)uAddress; + char const *c = (char const *)(uintptr_t)cAddress; + nk_rune *u = (nk_rune *)(uintptr_t)uAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_utf_decode(c, u, clen); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1encode(JNIEnv *__env, jclass clazz, jint u, jlong cAddress, jint clen) { - char *c = (char *)(intptr_t)cAddress; + char *c = (char *)(uintptr_t)cAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_utf_encode((nk_rune)u, c, clen); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1len(JNIEnv *__env, jclass clazz, jlong strAddress, jint byte_len) { - char const *str = (char const *)(intptr_t)strAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_utf_len(str, byte_len); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1at__JIIJJ(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint length, jint index, jlong unicodeAddress, jlong lenAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - nk_rune *unicode = (nk_rune *)(intptr_t)unicodeAddress; - int *len = (int *)(intptr_t)lenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + nk_rune *unicode = (nk_rune *)(uintptr_t)unicodeAddress; + int *len = (int *)(uintptr_t)lenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_utf_at(buffer, length, index, unicode, len); + return (jlong)(uintptr_t)nk_utf_at(buffer, length, index, unicode, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1init(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong allocatorAddress, jlong size) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; - struct nk_allocator const *allocator = (struct nk_allocator const *)(intptr_t)allocatorAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; + struct nk_allocator const *allocator = (struct nk_allocator const *)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_init(buffer, allocator, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1init_1fixed(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong memoryAddress, jlong size) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; - void *memory = (void *)(intptr_t)memoryAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; + void *memory = (void *)(uintptr_t)memoryAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_init_fixed(buffer, memory, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1info(JNIEnv *__env, jclass clazz, jlong statusAddress, jlong bufferAddress) { - struct nk_memory_status *status = (struct nk_memory_status *)(intptr_t)statusAddress; - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_memory_status *status = (struct nk_memory_status *)(uintptr_t)statusAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_info(status, buffer); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1push(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint type, jlong memoryAddress, jlong size, jlong align) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; - void const *memory = (void const *)(intptr_t)memoryAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; + void const *memory = (void const *)(uintptr_t)memoryAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_push(buffer, (enum nk_buffer_allocation_type)type, memory, (nk_size)size, (nk_size)align); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1mark(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint type) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_mark(buffer, (enum nk_buffer_allocation_type)type); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1reset(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint type) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_reset(buffer, (enum nk_buffer_allocation_type)type); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1clear(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_clear(buffer); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1free(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) nk_buffer_free(buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1memory(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_buffer_memory(buffer); + return (jlong)(uintptr_t)nk_buffer_memory(buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1memory_1const(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_buffer_memory_const(buffer); + return (jlong)(uintptr_t)nk_buffer_memory_const(buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1buffer_1total(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - struct nk_buffer *buffer = (struct nk_buffer *)(intptr_t)bufferAddress; + struct nk_buffer *buffer = (struct nk_buffer *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jlong)nk_buffer_total(buffer); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1init(JNIEnv *__env, jclass clazz, jlong strAddress, jlong allocatorAddress, jlong size) { - struct nk_str *str = (struct nk_str *)(intptr_t)strAddress; - struct nk_allocator const *allocator = (struct nk_allocator const *)(intptr_t)allocatorAddress; + struct nk_str *str = (struct nk_str *)(uintptr_t)strAddress; + struct nk_allocator const *allocator = (struct nk_allocator const *)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) nk_str_init(str, allocator, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1init_1fixed(JNIEnv *__env, jclass clazz, jlong strAddress, jlong memoryAddress, jlong size) { - struct nk_str *str = (struct nk_str *)(intptr_t)strAddress; - void *memory = (void *)(intptr_t)memoryAddress; + struct nk_str *str = (struct nk_str *)(uintptr_t)strAddress; + void *memory = (void *)(uintptr_t)memoryAddress; UNUSED_PARAMS(__env, clazz) nk_str_init_fixed(str, memory, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1clear(JNIEnv *__env, jclass clazz, jlong strAddress) { - struct nk_str *str = (struct nk_str *)(intptr_t)strAddress; + struct nk_str *str = (struct nk_str *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_str_clear(str); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1free(JNIEnv *__env, jclass clazz, jlong strAddress) { - struct nk_str *str = (struct nk_str *)(intptr_t)strAddress; + struct nk_str *str = (struct nk_str *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_str_free(str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1text_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_text_char(s, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1str_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jlong strAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_str_char(s, str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1text_1utf8(JNIEnv *__env, jclass clazz, jlong sAddress, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_text_utf8(s, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1str_1utf8(JNIEnv *__env, jclass clazz, jlong sAddress, jlong strAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_str_utf8(s, str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1text_1runes__JJI(JNIEnv *__env, jclass clazz, jlong sAddress, jlong runesAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - nk_rune const *runes = (nk_rune const *)(intptr_t)runesAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + nk_rune const *runes = (nk_rune const *)(uintptr_t)runesAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_text_runes(s, runes, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1str_1runes__JJ(JNIEnv *__env, jclass clazz, jlong sAddress, jlong runesAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - nk_rune const *runes = (nk_rune const *)(intptr_t)runesAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + nk_rune const *runes = (nk_rune const *)(uintptr_t)runesAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_append_str_runes(s, runes); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1at_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_at_char(s, pos, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1at_1rune(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_at_rune(s, pos, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1text_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_text_char(s, pos, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1str_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_str_char(s, pos, str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1text_1utf8(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_text_utf8(s, pos, str, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1str_1utf8(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong strAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + char const *str = (char const *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_str_utf8(s, pos, str); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1text_1runes__JIJI(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong runesAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - nk_rune const *runes = (nk_rune const *)(intptr_t)runesAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + nk_rune const *runes = (nk_rune const *)(uintptr_t)runesAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_text_runes(s, pos, runes, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1str_1runes__JIJ(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong runesAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - nk_rune const *runes = (nk_rune const *)(intptr_t)runesAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + nk_rune const *runes = (nk_rune const *)(uintptr_t)runesAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_insert_str_runes(s, pos, runes); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1remove_1chars(JNIEnv *__env, jclass clazz, jlong sAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) nk_str_remove_chars(s, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1remove_1runes(JNIEnv *__env, jclass clazz, jlong strAddress, jint len) { - struct nk_str *str = (struct nk_str *)(intptr_t)strAddress; + struct nk_str *str = (struct nk_str *)(uintptr_t)strAddress; UNUSED_PARAMS(__env, clazz) nk_str_remove_runes(str, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1delete_1chars(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) nk_str_delete_chars(s, pos, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1delete_1runes(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) nk_str_delete_runes(s, pos, len); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1char(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_at_char(s, pos); + return (jlong)(uintptr_t)nk_str_at_char(s, pos); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1rune__JIJJ(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong unicodeAddress, jlong lenAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - nk_rune *unicode = (nk_rune *)(intptr_t)unicodeAddress; - int *len = (int *)(intptr_t)lenAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + nk_rune *unicode = (nk_rune *)(uintptr_t)unicodeAddress; + int *len = (int *)(uintptr_t)lenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_at_rune(s, pos, unicode, len); + return (jlong)(uintptr_t)nk_str_at_rune(s, pos, unicode, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1rune_1at(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos) { - struct nk_str const *s = (struct nk_str const *)(intptr_t)sAddress; + struct nk_str const *s = (struct nk_str const *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_rune_at(s, pos); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1char_1const(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos) { - struct nk_str const *s = (struct nk_str const *)(intptr_t)sAddress; + struct nk_str const *s = (struct nk_str const *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_at_char_const(s, pos); + return (jlong)(uintptr_t)nk_str_at_char_const(s, pos); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1const__JIJJ(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jlong unicodeAddress, jlong lenAddress) { - struct nk_str const *s = (struct nk_str const *)(intptr_t)sAddress; - nk_rune *unicode = (nk_rune *)(intptr_t)unicodeAddress; - int *len = (int *)(intptr_t)lenAddress; + struct nk_str const *s = (struct nk_str const *)(uintptr_t)sAddress; + nk_rune *unicode = (nk_rune *)(uintptr_t)unicodeAddress; + int *len = (int *)(uintptr_t)lenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_at_const(s, pos, unicode, len); + return (jlong)(uintptr_t)nk_str_at_const(s, pos, unicode, len); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1get(JNIEnv *__env, jclass clazz, jlong sAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_get(s); + return (jlong)(uintptr_t)nk_str_get(s); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1get_1const(JNIEnv *__env, jclass clazz, jlong sAddress) { - struct nk_str const *s = (struct nk_str const *)(intptr_t)sAddress; + struct nk_str const *s = (struct nk_str const *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk_str_get_const(s); + return (jlong)(uintptr_t)nk_str_get_const(s); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1len(JNIEnv *__env, jclass clazz, jlong sAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_len(s); } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1len_1char(JNIEnv *__env, jclass clazz, jlong sAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; UNUSED_PARAMS(__env, clazz) return (jint)nk_str_len_char(s); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1default(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_default(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1ascii(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_ascii(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1float(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_float(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1decimal(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_decimal(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1hex(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_hex(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1oct(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_oct(edit, (nk_rune)unicode); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1filter_1binary(JNIEnv *__env, jclass clazz, jlong editAddress, jint unicode) { - struct nk_text_edit const *edit = (struct nk_text_edit const *)(intptr_t)editAddress; + struct nk_text_edit const *edit = (struct nk_text_edit const *)(uintptr_t)editAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_filter_binary(edit, (nk_rune)unicode); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1init(JNIEnv *__env, jclass clazz, jlong boxAddress, jlong allocatorAddress, jlong size) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; - struct nk_allocator *allocator = (struct nk_allocator *)(intptr_t)allocatorAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; + struct nk_allocator *allocator = (struct nk_allocator *)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_init(box, allocator, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1init_1fixed(JNIEnv *__env, jclass clazz, jlong boxAddress, jlong memoryAddress, jlong size) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; - void *memory = (void *)(intptr_t)memoryAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; + void *memory = (void *)(uintptr_t)memoryAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_init_fixed(box, memory, (nk_size)size); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1free(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_free(box); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1text(JNIEnv *__env, jclass clazz, jlong boxAddress, jlong textAddress, jint total_len) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; - char const *text = (char const *)(intptr_t)textAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; + char const *text = (char const *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_text(box, text, total_len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1delete(JNIEnv *__env, jclass clazz, jlong boxAddress, jint where, jint len) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_delete(box, where, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1delete_1selection(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_delete_selection(box); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1select_1all(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_select_all(box); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1cut(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_textedit_cut(box); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1paste(JNIEnv *__env, jclass clazz, jlong boxAddress, jlong ctextAddress, jint len) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; - char const *ctext = (char const *)(intptr_t)ctextAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; + char const *ctext = (char const *)(uintptr_t)ctextAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_textedit_paste(box, ctext, len); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1undo(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_undo(box); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1textedit_1redo(JNIEnv *__env, jclass clazz, jlong boxAddress) { - struct nk_text_edit *box = (struct nk_text_edit *)(intptr_t)boxAddress; + struct nk_text_edit *box = (struct nk_text_edit *)(uintptr_t)boxAddress; UNUSED_PARAMS(__env, clazz) nk_textedit_redo(box); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1line(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_line(b, x0, y0, x1, y1, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1curve(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat ax, jfloat ay, jfloat ctrl0x, jfloat ctrl0y, jfloat ctrl1x, jfloat ctrl1y, jfloat bx, jfloat by, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_curve(b, ax, ay, ctrl0x, ctrl0y, ctrl1x, ctrl1y, bx, by, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1rect(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jfloat rounding, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_rect(b, *rect, rounding, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1circle(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_circle(b, *rect, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1arc(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat cx, jfloat cy, jfloat radius, jfloat a_min, jfloat a_max, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_arc(b, cx, cy, radius, a_min, a_max, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1triangle(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat line_thichness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_triangle(b, x0, y0, x1, y1, x2, y2, line_thichness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polyline__JJIFJ(JNIEnv *__env, jclass clazz, jlong bAddress, jlong pointsAddress, jint point_count, jfloat line_thickness, jlong colAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - float *points = (float *)(intptr_t)pointsAddress; - struct nk_color *col = (struct nk_color *)(intptr_t)colAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + float *points = (float *)(uintptr_t)pointsAddress; + struct nk_color *col = (struct nk_color *)(uintptr_t)colAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_polyline(b, points, point_count, line_thickness, *col); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polygon__JJIFJ(JNIEnv *__env, jclass clazz, jlong bAddress, jlong pointsAddress, jint point_count, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - float *points = (float *)(intptr_t)pointsAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + float *points = (float *)(uintptr_t)pointsAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_stroke_polygon(b, points, point_count, line_thickness, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1rect(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jfloat rounding, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_fill_rect(b, *rect, rounding, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1rect_1multi_1color(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong leftAddress, jlong topAddress, jlong rightAddress, jlong bottomAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *left = (struct nk_color *)(intptr_t)leftAddress; - struct nk_color *top = (struct nk_color *)(intptr_t)topAddress; - struct nk_color *right = (struct nk_color *)(intptr_t)rightAddress; - struct nk_color *bottom = (struct nk_color *)(intptr_t)bottomAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *left = (struct nk_color *)(uintptr_t)leftAddress; + struct nk_color *top = (struct nk_color *)(uintptr_t)topAddress; + struct nk_color *right = (struct nk_color *)(uintptr_t)rightAddress; + struct nk_color *bottom = (struct nk_color *)(uintptr_t)bottomAddress; UNUSED_PARAMS(__env, clazz) nk_fill_rect_multi_color(b, *rect, *left, *top, *right, *bottom); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1circle(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_fill_circle(b, *rect, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1arc(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat cx, jfloat cy, jfloat radius, jfloat a_min, jfloat a_max, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_fill_arc(b, cx, cy, radius, a_min, a_max, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1triangle(JNIEnv *__env, jclass clazz, jlong bAddress, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_fill_triangle(b, x0, y0, x1, y1, x2, y2, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1polygon__JJIJ(JNIEnv *__env, jclass clazz, jlong bAddress, jlong pointsAddress, jint point_count, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - float *points = (float *)(intptr_t)pointsAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + float *points = (float *)(uintptr_t)pointsAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_fill_polygon(b, points, point_count, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1image(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong imgAddress, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_image const *img = (struct nk_image const *)(intptr_t)imgAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_image const *img = (struct nk_image const *)(uintptr_t)imgAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_image(b, *rect, img, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1nine_1slice(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong slcAddress, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_nine_slice const *slc = (struct nk_nine_slice const *)(intptr_t)slcAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_nine_slice const *slc = (struct nk_nine_slice const *)(uintptr_t)slcAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_nine_slice(b, *rect, slc, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1text(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong stringAddress, jint length, jlong fontAddress, jlong bgAddress, jlong fgAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - char const *string = (char const *)(intptr_t)stringAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; - struct nk_color *bg = (struct nk_color *)(intptr_t)bgAddress; - struct nk_color *fg = (struct nk_color *)(intptr_t)fgAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + char const *string = (char const *)(uintptr_t)stringAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; + struct nk_color *bg = (struct nk_color *)(uintptr_t)bgAddress; + struct nk_color *fg = (struct nk_color *)(uintptr_t)fgAddress; UNUSED_PARAMS(__env, clazz) nk_draw_text(b, *rect, string, length, font, *bg, *fg); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1push_1scissor(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) nk_push_scissor(b, *rect); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1push_1custom(JNIEnv *__env, jclass clazz, jlong bAddress, jlong rectAddress, jlong callbackAddress, jlong usrAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - nk_command_custom_callback callback = (nk_command_custom_callback)(intptr_t)callbackAddress; - nk_handle *usr = (nk_handle *)(intptr_t)usrAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + nk_command_custom_callback callback = (nk_command_custom_callback)(uintptr_t)callbackAddress; + nk_handle *usr = (nk_handle *)(uintptr_t)usrAddress; UNUSED_PARAMS(__env, clazz) nk_push_custom(b, *rect, callback, *usr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1next(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong cmdAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_command const *cmd = (struct nk_command const *)(intptr_t)cmdAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_command const *cmd = (struct nk_command const *)(uintptr_t)cmdAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__next(ctx, cmd); + return (jlong)(uintptr_t)nk__next(ctx, cmd); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__begin(ctx); + return (jlong)(uintptr_t)nk__begin(ctx); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1has_1mouse_1click(JNIEnv *__env, jclass clazz, jlong iAddress, jint id) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_has_mouse_click(i, (enum nk_buttons)id); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1has_1mouse_1click_1in_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jint id, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_has_mouse_click_in_rect(i, (enum nk_buttons)id, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1has_1mouse_1click_1down_1in_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jint id, jlong rectAddress, jboolean down) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_has_mouse_click_down_in_rect(i, (enum nk_buttons)id, *rect, (nk_bool)down); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1click_1in_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jint id, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_click_in_rect(i, (enum nk_buttons)id, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1click_1down_1in_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jint id, jlong bAddress, jboolean down) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *b = (struct nk_rect *)(intptr_t)bAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *b = (struct nk_rect *)(uintptr_t)bAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_click_down_in_rect(i, (enum nk_buttons)id, *b, (nk_bool)down); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1any_1mouse_1click_1in_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_any_mouse_click_in_rect(i, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1prev_1hovering_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_prev_hovering_rect(i, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1hovering_1rect(JNIEnv *__env, jclass clazz, jlong iAddress, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_hovering_rect(i, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1mouse_1clicked(JNIEnv *__env, jclass clazz, jlong iAddress, jint id, jlong rectAddress) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_mouse_clicked(i, (enum nk_buttons)id, *rect); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1down(JNIEnv *__env, jclass clazz, jlong iAddress, jint id) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_down(i, (enum nk_buttons)id); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1pressed(JNIEnv *__env, jclass clazz, jlong iAddress, jint id) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_pressed(i, (enum nk_buttons)id); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1mouse_1released(JNIEnv *__env, jclass clazz, jlong iAddress, jint id) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_mouse_released(i, (enum nk_buttons)id); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1key_1pressed(JNIEnv *__env, jclass clazz, jlong iAddress, jint key) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_key_pressed(i, (enum nk_keys)key); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1key_1released(JNIEnv *__env, jclass clazz, jlong iAddress, jint key) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_key_released(i, (enum nk_keys)key); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1input_1is_1key_1down(JNIEnv *__env, jclass clazz, jlong iAddress, jint key) { - struct nk_input const *i = (struct nk_input const *)(intptr_t)iAddress; + struct nk_input const *i = (struct nk_input const *)(uintptr_t)iAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)nk_input_is_key_down(i, (enum nk_keys)key); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1init(JNIEnv *__env, jclass clazz, jlong listAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_init(list); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1setup(JNIEnv *__env, jclass clazz, jlong canvasAddress, jlong configAddress, jlong cmdsAddress, jlong verticesAddress, jlong elementsAddress, jint line_aa, jint shape_aa) { - struct nk_draw_list *canvas = (struct nk_draw_list *)(intptr_t)canvasAddress; - struct nk_convert_config const *config = (struct nk_convert_config const *)(intptr_t)configAddress; - struct nk_buffer *cmds = (struct nk_buffer *)(intptr_t)cmdsAddress; - struct nk_buffer *vertices = (struct nk_buffer *)(intptr_t)verticesAddress; - struct nk_buffer *elements = (struct nk_buffer *)(intptr_t)elementsAddress; + struct nk_draw_list *canvas = (struct nk_draw_list *)(uintptr_t)canvasAddress; + struct nk_convert_config const *config = (struct nk_convert_config const *)(uintptr_t)configAddress; + struct nk_buffer *cmds = (struct nk_buffer *)(uintptr_t)cmdsAddress; + struct nk_buffer *vertices = (struct nk_buffer *)(uintptr_t)verticesAddress; + struct nk_buffer *elements = (struct nk_buffer *)(uintptr_t)elementsAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_setup(canvas, config, cmds, vertices, elements, (enum nk_anti_aliasing)line_aa, (enum nk_anti_aliasing)shape_aa); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1draw_1list_1begin(JNIEnv *__env, jclass clazz, jlong listAddress, jlong bufferAddress) { - struct nk_draw_list const *list = (struct nk_draw_list const *)(intptr_t)listAddress; - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; + struct nk_draw_list const *list = (struct nk_draw_list const *)(uintptr_t)listAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__draw_list_begin(list, buffer); + return (jlong)(uintptr_t)nk__draw_list_begin(list, buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1draw_1list_1next(JNIEnv *__env, jclass clazz, jlong cmdAddress, jlong bufferAddress, jlong listAddress) { - struct nk_draw_command const *cmd = (struct nk_draw_command const *)(intptr_t)cmdAddress; - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; - struct nk_draw_list const *list = (struct nk_draw_list const *)(intptr_t)listAddress; + struct nk_draw_command const *cmd = (struct nk_draw_command const *)(uintptr_t)cmdAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; + struct nk_draw_list const *list = (struct nk_draw_list const *)(uintptr_t)listAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__draw_list_next(cmd, buffer, list); + return (jlong)(uintptr_t)nk__draw_list_next(cmd, buffer, list); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1draw_1begin(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong bufferAddress) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__draw_begin(ctx, buffer); + return (jlong)(uintptr_t)nk__draw_begin(ctx, buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1draw_1end(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong bufferAddress) { - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__draw_end(ctx, buffer); + return (jlong)(uintptr_t)nk__draw_end(ctx, buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1_1draw_1next(JNIEnv *__env, jclass clazz, jlong cmdAddress, jlong bufferAddress, jlong ctxAddress) { - struct nk_draw_command const *cmd = (struct nk_draw_command const *)(intptr_t)cmdAddress; - struct nk_buffer const *buffer = (struct nk_buffer const *)(intptr_t)bufferAddress; - struct nk_context const *ctx = (struct nk_context const *)(intptr_t)ctxAddress; + struct nk_draw_command const *cmd = (struct nk_draw_command const *)(uintptr_t)cmdAddress; + struct nk_buffer const *buffer = (struct nk_buffer const *)(uintptr_t)bufferAddress; + struct nk_context const *ctx = (struct nk_context const *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)nk__draw_next(cmd, buffer, ctx); + return (jlong)(uintptr_t)nk__draw_next(cmd, buffer, ctx); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1clear(JNIEnv *__env, jclass clazz, jlong listAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_clear(list); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1line_1to(JNIEnv *__env, jclass clazz, jlong listAddress, jlong posAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *pos = (struct nk_vec2 *)(intptr_t)posAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *pos = (struct nk_vec2 *)(uintptr_t)posAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_line_to(list, *pos); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1arc_1to_1fast(JNIEnv *__env, jclass clazz, jlong listAddress, jlong centerAddress, jfloat radius, jint a_min, jint a_max) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *center = (struct nk_vec2 *)(intptr_t)centerAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *center = (struct nk_vec2 *)(uintptr_t)centerAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_arc_to_fast(list, *center, radius, a_min, a_max); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1arc_1to(JNIEnv *__env, jclass clazz, jlong listAddress, jlong centerAddress, jfloat radius, jfloat a_min, jfloat a_max, jint segments) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *center = (struct nk_vec2 *)(intptr_t)centerAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *center = (struct nk_vec2 *)(uintptr_t)centerAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_arc_to(list, *center, radius, a_min, a_max, (unsigned int)segments); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1rect_1to(JNIEnv *__env, jclass clazz, jlong listAddress, jlong aAddress, jlong bAddress, jfloat rounding) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *a = (struct nk_vec2 *)(intptr_t)aAddress; - struct nk_vec2 *b = (struct nk_vec2 *)(intptr_t)bAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *a = (struct nk_vec2 *)(uintptr_t)aAddress; + struct nk_vec2 *b = (struct nk_vec2 *)(uintptr_t)bAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_rect_to(list, *a, *b, rounding); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1curve_1to(JNIEnv *__env, jclass clazz, jlong listAddress, jlong p2Address, jlong p3Address, jlong p4Address, jint num_segments) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *p2 = (struct nk_vec2 *)(intptr_t)p2Address; - struct nk_vec2 *p3 = (struct nk_vec2 *)(intptr_t)p3Address; - struct nk_vec2 *p4 = (struct nk_vec2 *)(intptr_t)p4Address; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *p2 = (struct nk_vec2 *)(uintptr_t)p2Address; + struct nk_vec2 *p3 = (struct nk_vec2 *)(uintptr_t)p3Address; + struct nk_vec2 *p4 = (struct nk_vec2 *)(uintptr_t)p4Address; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_curve_to(list, *p2, *p3, *p4, (unsigned int)num_segments); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1fill(JNIEnv *__env, jclass clazz, jlong listAddress, jlong colorAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_fill(list, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1path_1stroke(JNIEnv *__env, jclass clazz, jlong listAddress, jlong colorAddress, jint closed, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_path_stroke(list, *color, (enum nk_draw_list_stroke)closed, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1line(JNIEnv *__env, jclass clazz, jlong listAddress, jlong aAddress, jlong bAddress, jlong colorAddress, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *a = (struct nk_vec2 *)(intptr_t)aAddress; - struct nk_vec2 *b = (struct nk_vec2 *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *a = (struct nk_vec2 *)(uintptr_t)aAddress; + struct nk_vec2 *b = (struct nk_vec2 *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_line(list, *a, *b, *color, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1rect(JNIEnv *__env, jclass clazz, jlong listAddress, jlong rectAddress, jlong colorAddress, jfloat rounding, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_rect(list, *rect, *color, rounding, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1triangle(JNIEnv *__env, jclass clazz, jlong listAddress, jlong aAddress, jlong bAddress, jlong cAddress, jlong colorAddress, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *a = (struct nk_vec2 *)(intptr_t)aAddress; - struct nk_vec2 *b = (struct nk_vec2 *)(intptr_t)bAddress; - struct nk_vec2 *c = (struct nk_vec2 *)(intptr_t)cAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *a = (struct nk_vec2 *)(uintptr_t)aAddress; + struct nk_vec2 *b = (struct nk_vec2 *)(uintptr_t)bAddress; + struct nk_vec2 *c = (struct nk_vec2 *)(uintptr_t)cAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_triangle(list, *a, *b, *c, *color, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1circle(JNIEnv *__env, jclass clazz, jlong listAddress, jlong centerAddress, jfloat radius, jlong colorAddress, jint segs, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *center = (struct nk_vec2 *)(intptr_t)centerAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *center = (struct nk_vec2 *)(uintptr_t)centerAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_circle(list, *center, radius, *color, (unsigned int)segs, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1curve(JNIEnv *__env, jclass clazz, jlong listAddress, jlong p0Address, jlong cp0Address, jlong cp1Address, jlong p1Address, jlong colorAddress, jint segments, jfloat thickness) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *p0 = (struct nk_vec2 *)(intptr_t)p0Address; - struct nk_vec2 *cp0 = (struct nk_vec2 *)(intptr_t)cp0Address; - struct nk_vec2 *cp1 = (struct nk_vec2 *)(intptr_t)cp1Address; - struct nk_vec2 *p1 = (struct nk_vec2 *)(intptr_t)p1Address; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *p0 = (struct nk_vec2 *)(uintptr_t)p0Address; + struct nk_vec2 *cp0 = (struct nk_vec2 *)(uintptr_t)cp0Address; + struct nk_vec2 *cp1 = (struct nk_vec2 *)(uintptr_t)cp1Address; + struct nk_vec2 *p1 = (struct nk_vec2 *)(uintptr_t)p1Address; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_curve(list, *p0, *cp0, *cp1, *p1, *color, (unsigned int)segments, thickness); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1stroke_1poly_1line(JNIEnv *__env, jclass clazz, jlong listAddress, jlong pntsAddress, jint cnt, jlong colorAddress, jint closed, jfloat thickness, jint aliasing) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 const *pnts = (struct nk_vec2 const *)(intptr_t)pntsAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 const *pnts = (struct nk_vec2 const *)(uintptr_t)pntsAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_stroke_poly_line(list, pnts, (unsigned int)cnt, *color, (enum nk_draw_list_stroke)closed, thickness, (enum nk_anti_aliasing)aliasing); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1fill_1rect(JNIEnv *__env, jclass clazz, jlong listAddress, jlong rectAddress, jlong colorAddress, jfloat rounding) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_fill_rect(list, *rect, *color, rounding); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1fill_1rect_1multi_1color(JNIEnv *__env, jclass clazz, jlong listAddress, jlong rectAddress, jlong leftAddress, jlong topAddress, jlong rightAddress, jlong bottomAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *left = (struct nk_color *)(intptr_t)leftAddress; - struct nk_color *top = (struct nk_color *)(intptr_t)topAddress; - struct nk_color *right = (struct nk_color *)(intptr_t)rightAddress; - struct nk_color *bottom = (struct nk_color *)(intptr_t)bottomAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *left = (struct nk_color *)(uintptr_t)leftAddress; + struct nk_color *top = (struct nk_color *)(uintptr_t)topAddress; + struct nk_color *right = (struct nk_color *)(uintptr_t)rightAddress; + struct nk_color *bottom = (struct nk_color *)(uintptr_t)bottomAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_fill_rect_multi_color(list, *rect, *left, *top, *right, *bottom); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1fill_1triangle(JNIEnv *__env, jclass clazz, jlong listAddress, jlong aAddress, jlong bAddress, jlong cAddress, jlong colorAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *a = (struct nk_vec2 *)(intptr_t)aAddress; - struct nk_vec2 *b = (struct nk_vec2 *)(intptr_t)bAddress; - struct nk_vec2 *c = (struct nk_vec2 *)(intptr_t)cAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *a = (struct nk_vec2 *)(uintptr_t)aAddress; + struct nk_vec2 *b = (struct nk_vec2 *)(uintptr_t)bAddress; + struct nk_vec2 *c = (struct nk_vec2 *)(uintptr_t)cAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_fill_triangle(list, *a, *b, *c, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1fill_1circle(JNIEnv *__env, jclass clazz, jlong listAddress, jlong centerAddress, jfloat radius, jlong colAddress, jint segs) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 *center = (struct nk_vec2 *)(intptr_t)centerAddress; - struct nk_color *col = (struct nk_color *)(intptr_t)colAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 *center = (struct nk_vec2 *)(uintptr_t)centerAddress; + struct nk_color *col = (struct nk_color *)(uintptr_t)colAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_fill_circle(list, *center, radius, *col, (unsigned int)segs); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1fill_1poly_1convex(JNIEnv *__env, jclass clazz, jlong listAddress, jlong pointsAddress, jint count, jlong colorAddress, jint aliasing) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_vec2 const *points = (struct nk_vec2 const *)(intptr_t)pointsAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_vec2 const *points = (struct nk_vec2 const *)(uintptr_t)pointsAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_fill_poly_convex(list, points, (unsigned int)count, *color, (enum nk_anti_aliasing)aliasing); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1add_1image(JNIEnv *__env, jclass clazz, jlong listAddress, jlong textureAddress, jlong rectAddress, jlong colorAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_image *texture = (struct nk_image *)(intptr_t)textureAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_image *texture = (struct nk_image *)(uintptr_t)textureAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_add_image(list, *texture, *rect, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1add_1text(JNIEnv *__env, jclass clazz, jlong listAddress, jlong fontAddress, jlong rectAddress, jlong textAddress, jint len, jfloat font_height, jlong colorAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - struct nk_user_font const *font = (struct nk_user_font const *)(intptr_t)fontAddress; - struct nk_rect *rect = (struct nk_rect *)(intptr_t)rectAddress; - char const *text = (char const *)(intptr_t)textAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + struct nk_user_font const *font = (struct nk_user_font const *)(uintptr_t)fontAddress; + struct nk_rect *rect = (struct nk_rect *)(uintptr_t)rectAddress; + char const *text = (char const *)(uintptr_t)textAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_add_text(list, font, *rect, text, len, font_height, *color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1draw_1list_1push_1userdata(JNIEnv *__env, jclass clazz, jlong listAddress, jlong userdataAddress) { - struct nk_draw_list *list = (struct nk_draw_list *)(intptr_t)listAddress; - nk_handle *userdata = (nk_handle *)(intptr_t)userdataAddress; + struct nk_draw_list *list = (struct nk_draw_list *)(uintptr_t)listAddress; + nk_handle *userdata = (nk_handle *)(uintptr_t)userdataAddress; UNUSED_PARAMS(__env, clazz) nk_draw_list_push_userdata(list, *userdata); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1item_1color(JNIEnv *__env, jclass clazz, jlong colorAddress, jlong __result) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_style_item*)(intptr_t)__result) = nk_style_item_color(*color); + *((struct nk_style_item*)(uintptr_t)__result) = nk_style_item_color(*color); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1item_1image(JNIEnv *__env, jclass clazz, jlong imgAddress, jlong __result) { - struct nk_image *img = (struct nk_image *)(intptr_t)imgAddress; + struct nk_image *img = (struct nk_image *)(uintptr_t)imgAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_style_item*)(intptr_t)__result) = nk_style_item_image(*img); + *((struct nk_style_item*)(uintptr_t)__result) = nk_style_item_image(*img); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1item_1nine_1slice(JNIEnv *__env, jclass clazz, jlong sliceAddress, jlong __result) { - struct nk_nine_slice *slice = (struct nk_nine_slice *)(intptr_t)sliceAddress; + struct nk_nine_slice *slice = (struct nk_nine_slice *)(uintptr_t)sliceAddress; UNUSED_PARAMS(__env, clazz) - *((struct nk_style_item*)(intptr_t)__result) = nk_style_item_nine_slice(*slice); + *((struct nk_style_item*)(uintptr_t)__result) = nk_style_item_nine_slice(*slice); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1item_1hide(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((struct nk_style_item*)(intptr_t)__result) = nk_style_item_hide(); + *((struct nk_style_item*)(uintptr_t)__result) = nk_style_item_hide(); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1scroll__J_3I_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jintArray offset_xAddress, jintArray offset_yAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jint *offset_x = offset_xAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, offset_xAddress, NULL); jint *offset_y = offset_yAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, offset_yAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3444,7 +3444,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1window_1get_1scroll__ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row__JIFI_3F(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint fmt, jfloat height, jint cols, jfloatArray ratioAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jfloat *ratio = (*__env)->GetFloatArrayElements(__env, ratioAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_layout_row(ctx, (enum nk_layout_format)fmt, height, (nk_int)cols, (float const *)ratio); @@ -3452,8 +3452,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1layout_1row__JIFI_3F( } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1scrolled_1offset_1begin__J_3I_3IJI(JNIEnv *__env, jclass clazz, jlong ctxAddress, jintArray x_offsetAddress, jintArray y_offsetAddress, jlong titleAddress, jint flags) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; jboolean __result; jint *x_offset = (*__env)->GetIntArrayElements(__env, x_offsetAddress, NULL); jint *y_offset = (*__env)->GetIntArrayElements(__env, y_offsetAddress, NULL); @@ -3465,8 +3465,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1scrolled_1 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1get_1scroll__JJ_3I_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong idAddress, jintArray x_offsetAddress, jintArray y_offsetAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *id = (char const *)(intptr_t)idAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *id = (char const *)(uintptr_t)idAddress; jint *x_offset = x_offsetAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, x_offsetAddress, NULL); jint *y_offset = y_offsetAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, y_offsetAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3476,8 +3476,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1group_1get_1scroll__J } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1push__JIJ_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong titleAddress, jintArray stateAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *title = (char const *)(uintptr_t)titleAddress; jboolean __result; jint *state = (*__env)->GetIntArrayElements(__env, stateAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3487,9 +3487,9 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1push } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1image_1push__JIJJ_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jlong imageAddress, jlong titleAddress, jintArray stateAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - struct nk_image *image = (struct nk_image *)(intptr_t)imageAddress; - char const *title = (char const *)(intptr_t)titleAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + struct nk_image *image = (struct nk_image *)(uintptr_t)imageAddress; + char const *title = (char const *)(uintptr_t)titleAddress; jboolean __result; jint *state = (*__env)->GetIntArrayElements(__env, stateAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3499,8 +3499,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1tree_1state_1imag } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1label__JJ_3II(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jintArray flagsAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; jboolean __result; jint *flags = (*__env)->GetIntArrayElements(__env, flagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3510,8 +3510,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1 } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1text__JJI_3II(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong strAddress, jint len, jintArray flagsAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *str = (char const *)(intptr_t)strAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *str = (char const *)(uintptr_t)strAddress; jboolean __result; jint *flags = (*__env)->GetIntArrayElements(__env, flagsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3521,7 +3521,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1checkbox_1flags_1 } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1float__JF_3FFF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloat min, jfloatArray valAddress, jfloat max, jfloat step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jboolean __result; jfloat *val = (*__env)->GetFloatArrayElements(__env, valAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3531,7 +3531,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1float__JF } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1int__JI_3III(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint min, jintArray valAddress, jint max, jint step) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jboolean __result; jint *val = (*__env)->GetIntArrayElements(__env, valAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3541,8 +3541,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1slider_1int__JI_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1int__JJI_3IIIF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jint min, jintArray valAddress, jint max, jint step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; jint *val = (*__env)->GetIntArrayElements(__env, valAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_property_int(ctx, name, min, (int *)val, max, step, inc_per_pixel); @@ -3550,8 +3550,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1int__JJI_3I } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1float__JJF_3FFFF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jfloat min, jfloatArray valAddress, jfloat max, jfloat step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; jfloat *val = (*__env)->GetFloatArrayElements(__env, valAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_property_float(ctx, name, min, (float *)val, max, step, inc_per_pixel); @@ -3559,8 +3559,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1float__JJF_ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1double__JJD_3DDDF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong nameAddress, jdouble min, jdoubleArray valAddress, jdouble max, jdouble step, jfloat inc_per_pixel) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *name = (char const *)(intptr_t)nameAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *name = (char const *)(uintptr_t)nameAddress; jdouble *val = (*__env)->GetDoubleArrayElements(__env, valAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_property_double(ctx, name, min, (double *)val, max, step, inc_per_pixel); @@ -3568,9 +3568,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1property_1double__JJD } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1string__JIJ_3IIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint flags, jlong memoryAddress, jintArray lenAddress, jint max, jlong filterAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char *memory = (char *)(intptr_t)memoryAddress; - nk_plugin_filter filter = (nk_plugin_filter)(intptr_t)filterAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char *memory = (char *)(uintptr_t)memoryAddress; + nk_plugin_filter filter = (nk_plugin_filter)(uintptr_t)filterAddress; jint __result; jint *len = (*__env)->GetIntArrayElements(__env, lenAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3580,7 +3580,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1edit_1string__JIJ_3II } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1plot__JI_3FII(JNIEnv *__env, jclass clazz, jlong ctxAddress, jint type, jfloatArray valuesAddress, jint count, jint offset) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jfloat *values = (*__env)->GetFloatArrayElements(__env, valuesAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_plot(ctx, (enum nk_chart_type)type, (float const *)values, count, offset); @@ -3588,7 +3588,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1plot__JI_3FII(JNIEnv } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1get_1scroll__J_3I_3I(JNIEnv *__env, jclass clazz, jlong ctxAddress, jintArray offset_xAddress, jintArray offset_yAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jint *offset_x = offset_xAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, offset_xAddress, NULL); jint *offset_y = offset_yAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, offset_yAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3598,9 +3598,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1popup_1get_1scroll__J } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox__JJI_3IIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong itemsAddress, jint count, jintArray selectedAddress, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const **items = (char const **)(intptr_t)itemsAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const **items = (char const **)(uintptr_t)itemsAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; jint *selected = (*__env)->GetIntArrayElements(__env, selectedAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_combobox(ctx, items, count, (int *)selected, item_height, *size); @@ -3608,9 +3608,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox__JJI_3IIJ(JN } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1string__JJ_3IIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_zerosAddress, jintArray selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_zeros = (char const *)(intptr_t)items_separated_by_zerosAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_zeros = (char const *)(uintptr_t)items_separated_by_zerosAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; jint *selected = (*__env)->GetIntArrayElements(__env, selectedAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_combobox_string(ctx, items_separated_by_zeros, (int *)selected, count, item_height, *size); @@ -3618,9 +3618,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1string__JJ_ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1separator__JJI_3IIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong items_separated_by_separatorAddress, jint separator, jintArray selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - char const *items_separated_by_separator = (char const *)(intptr_t)items_separated_by_separatorAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + char const *items_separated_by_separator = (char const *)(uintptr_t)items_separated_by_separatorAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; jint *selected = (*__env)->GetIntArrayElements(__env, selectedAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_combobox_separator(ctx, items_separated_by_separator, separator, (int *)selected, count, item_height, *size); @@ -3628,10 +3628,10 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1separator__ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1callback__JJJ_3IIIJ(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong item_getterAddress, jlong userdataAddress, jintArray selectedAddress, jint count, jint item_height, jlong sizeAddress) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; - nk_item_getter item_getter = (nk_item_getter)(intptr_t)item_getterAddress; - void *userdata = (void *)(intptr_t)userdataAddress; - struct nk_vec2 *size = (struct nk_vec2 *)(intptr_t)sizeAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; + nk_item_getter item_getter = (nk_item_getter)(uintptr_t)item_getterAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; + struct nk_vec2 *size = (struct nk_vec2 *)(uintptr_t)sizeAddress; jint *selected = (*__env)->GetIntArrayElements(__env, selectedAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_combobox_callback(ctx, item_getter, userdata, (int *)selected, count, item_height, *size); @@ -3639,7 +3639,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1combobox_1callback__J } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1float__J_3FF(JNIEnv *__env, jclass clazz, jlong ctxAddress, jfloatArray addressAddress, jfloat value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jboolean __result; jfloat *address = (*__env)->GetFloatArrayElements(__env, addressAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3649,7 +3649,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1floa } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1flags__J_3II(JNIEnv *__env, jclass clazz, jlong ctxAddress, jintArray addressAddress, jint value) { - struct nk_context *ctx = (struct nk_context *)(intptr_t)ctxAddress; + struct nk_context *ctx = (struct nk_context *)(uintptr_t)ctxAddress; jboolean __result; jint *address = (*__env)->GetIntArrayElements(__env, addressAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3661,40 +3661,40 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1style_1push_1flag JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray rgbAddress, jlong __result) { jint *rgb = (*__env)->GetIntArrayElements(__env, rgbAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_iv((int const *)rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_iv((int const *)rgb); (*__env)->ReleaseIntArrayElements(__env, rgbAddress, rgb, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgb_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray rgbAddress, jlong __result) { jfloat *rgb = (*__env)->GetFloatArrayElements(__env, rgbAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgb_fv((float const *)rgb); + *((struct nk_color*)(uintptr_t)__result) = nk_rgb_fv((float const *)rgb); (*__env)->ReleaseFloatArrayElements(__env, rgbAddress, rgb, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray rgbaAddress, jlong __result) { jint *rgba = (*__env)->GetIntArrayElements(__env, rgbaAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_iv((int const *)rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_iv((int const *)rgba); (*__env)->ReleaseIntArrayElements(__env, rgbaAddress, rgba, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rgba_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray rgbaAddress, jlong __result) { jfloat *rgba = (*__env)->GetFloatArrayElements(__env, rgbaAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_rgba_fv((float const *)rgba); + *((struct nk_color*)(uintptr_t)__result) = nk_rgba_fv((float const *)rgba); (*__env)->ReleaseFloatArrayElements(__env, rgbaAddress, rgba, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1colorfv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray cAddress, jlong __result) { jfloat *c = (*__env)->GetFloatArrayElements(__env, cAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_colorf*)(intptr_t)__result) = nk_hsva_colorfv((float *)c); + *((struct nk_colorf*)(uintptr_t)__result) = nk_hsva_colorfv((float *)c); (*__env)->ReleaseFloatArrayElements(__env, cAddress, c, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1f___3F_3F_3F_3FJ(JNIEnv *__env, jclass clazz, jfloatArray out_hAddress, jfloatArray out_sAddress, jfloatArray out_vAddress, jfloatArray out_aAddress, jlong inAddress) { - struct nk_colorf *in = (struct nk_colorf *)(intptr_t)inAddress; + struct nk_colorf *in = (struct nk_colorf *)(uintptr_t)inAddress; jfloat *out_h = (*__env)->GetFloatArrayElements(__env, out_hAddress, NULL); jfloat *out_s = (*__env)->GetFloatArrayElements(__env, out_sAddress, NULL); jfloat *out_v = (*__env)->GetFloatArrayElements(__env, out_vAddress, NULL); @@ -3708,7 +3708,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1f___3F_ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray hsvaAddress, jlong inAddress) { - struct nk_colorf *in = (struct nk_colorf *)(intptr_t)inAddress; + struct nk_colorf *in = (struct nk_colorf *)(uintptr_t)inAddress; jfloat *hsva = (*__env)->GetFloatArrayElements(__env, hsvaAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_colorf_hsva_fv((float *)hsva, *in); @@ -3718,33 +3718,33 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1colorf_1hsva_1fv___3F JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray hsvAddress, jlong __result) { jint *hsv = (*__env)->GetIntArrayElements(__env, hsvAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_iv((int const *)hsv); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_iv((int const *)hsv); (*__env)->ReleaseIntArrayElements(__env, hsvAddress, hsv, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsv_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray hsvAddress, jlong __result) { jfloat *hsv = (*__env)->GetFloatArrayElements(__env, hsvAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsv_fv((float const *)hsv); + *((struct nk_color*)(uintptr_t)__result) = nk_hsv_fv((float const *)hsv); (*__env)->ReleaseFloatArrayElements(__env, hsvAddress, hsv, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray hsvaAddress, jlong __result) { jint *hsva = (*__env)->GetIntArrayElements(__env, hsvaAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_iv((int const *)hsva); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_iv((int const *)hsva); (*__env)->ReleaseIntArrayElements(__env, hsvaAddress, hsva, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1hsva_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray hsvaAddress, jlong __result) { jfloat *hsva = (*__env)->GetFloatArrayElements(__env, hsvaAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_color*)(intptr_t)__result) = nk_hsva_fv((float const *)hsva); + *((struct nk_color*)(uintptr_t)__result) = nk_hsva_fv((float const *)hsva); (*__env)->ReleaseFloatArrayElements(__env, hsvaAddress, hsva, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1f___3F_3F_3F_3FJ(JNIEnv *__env, jclass clazz, jfloatArray rAddress, jfloatArray gAddress, jfloatArray bAddress, jfloatArray aAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *r = (*__env)->GetFloatArrayElements(__env, rAddress, NULL); jfloat *g = (*__env)->GetFloatArrayElements(__env, gAddress, NULL); jfloat *b = (*__env)->GetFloatArrayElements(__env, bAddress, NULL); @@ -3758,7 +3758,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1f___3F_3F_3F_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray rgba_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *rgba_out = (*__env)->GetFloatArrayElements(__env, rgba_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_fv((float *)rgba_out, *color); @@ -3766,7 +3766,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1fv___3FJ(JNIEn } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1d___3D_3D_3D_3DJ(JNIEnv *__env, jclass clazz, jdoubleArray rAddress, jdoubleArray gAddress, jdoubleArray bAddress, jdoubleArray aAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jdouble *r = (*__env)->GetDoubleArrayElements(__env, rAddress, NULL); jdouble *g = (*__env)->GetDoubleArrayElements(__env, gAddress, NULL); jdouble *b = (*__env)->GetDoubleArrayElements(__env, bAddress, NULL); @@ -3780,7 +3780,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1d___3D_3D_3D_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1dv___3DJ(JNIEnv *__env, jclass clazz, jdoubleArray rgba_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jdouble *rgba_out = (*__env)->GetDoubleArrayElements(__env, rgba_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_dv((double *)rgba_out, *color); @@ -3788,7 +3788,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1dv___3DJ(JNIEn } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1i___3I_3I_3IJ(JNIEnv *__env, jclass clazz, jintArray out_hAddress, jintArray out_sAddress, jintArray out_vAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jint *out_h = (*__env)->GetIntArrayElements(__env, out_hAddress, NULL); jint *out_s = (*__env)->GetIntArrayElements(__env, out_sAddress, NULL); jint *out_v = (*__env)->GetIntArrayElements(__env, out_vAddress, NULL); @@ -3800,7 +3800,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1i___3I_3I } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray hsv_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jint *hsv_out = (*__env)->GetIntArrayElements(__env, hsv_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_hsv_iv((int *)hsv_out, *color); @@ -3808,7 +3808,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1iv___3IJ( } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1f___3F_3F_3FJ(JNIEnv *__env, jclass clazz, jfloatArray out_hAddress, jfloatArray out_sAddress, jfloatArray out_vAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *out_h = (*__env)->GetFloatArrayElements(__env, out_hAddress, NULL); jfloat *out_s = (*__env)->GetFloatArrayElements(__env, out_sAddress, NULL); jfloat *out_v = (*__env)->GetFloatArrayElements(__env, out_vAddress, NULL); @@ -3820,7 +3820,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1f___3F_3F } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray hsv_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *hsv_out = (*__env)->GetFloatArrayElements(__env, hsv_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_hsv_fv((float *)hsv_out, *color); @@ -3828,7 +3828,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsv_1fv___3FJ( } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1i___3I_3I_3I_3IJ(JNIEnv *__env, jclass clazz, jintArray hAddress, jintArray sAddress, jintArray vAddress, jintArray aAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jint *h = (*__env)->GetIntArrayElements(__env, hAddress, NULL); jint *s = (*__env)->GetIntArrayElements(__env, sAddress, NULL); jint *v = (*__env)->GetIntArrayElements(__env, vAddress, NULL); @@ -3842,7 +3842,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1i___3I_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1iv___3IJ(JNIEnv *__env, jclass clazz, jintArray hsva_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jint *hsva_out = (*__env)->GetIntArrayElements(__env, hsva_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_hsva_iv((int *)hsva_out, *color); @@ -3850,7 +3850,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1iv___3IJ } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1f___3F_3F_3F_3FJ(JNIEnv *__env, jclass clazz, jfloatArray out_hAddress, jfloatArray out_sAddress, jfloatArray out_vAddress, jfloatArray out_aAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *out_h = (*__env)->GetFloatArrayElements(__env, out_hAddress, NULL); jfloat *out_s = (*__env)->GetFloatArrayElements(__env, out_sAddress, NULL); jfloat *out_v = (*__env)->GetFloatArrayElements(__env, out_vAddress, NULL); @@ -3864,7 +3864,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1f___3F_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1fv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray hsva_outAddress, jlong colorAddress) { - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *hsva_out = (*__env)->GetFloatArrayElements(__env, hsva_outAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_color_hsva_fv((float *)hsva_out, *color); @@ -3874,34 +3874,34 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1color_1hsva_1fv___3FJ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2v___3FJ(JNIEnv *__env, jclass clazz, jfloatArray xyAddress, jlong __result) { jfloat *xy = (*__env)->GetFloatArrayElements(__env, xyAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2v((float const *)xy); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2v((float const *)xy); (*__env)->ReleaseFloatArrayElements(__env, xyAddress, xy, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1vec2iv___3IJ(JNIEnv *__env, jclass clazz, jintArray xyAddress, jlong __result) { jint *xy = (*__env)->GetIntArrayElements(__env, xyAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_vec2*)(intptr_t)__result) = nk_vec2iv((int const *)xy); + *((struct nk_vec2*)(uintptr_t)__result) = nk_vec2iv((int const *)xy); (*__env)->ReleaseIntArrayElements(__env, xyAddress, xy, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rectv___3FJ(JNIEnv *__env, jclass clazz, jfloatArray xywhAddress, jlong __result) { jfloat *xywh = (*__env)->GetFloatArrayElements(__env, xywhAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_rectv((float const *)xywh); + *((struct nk_rect*)(uintptr_t)__result) = nk_rectv((float const *)xywh); (*__env)->ReleaseFloatArrayElements(__env, xywhAddress, xywh, 0); } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1rectiv___3IJ(JNIEnv *__env, jclass clazz, jintArray xywhAddress, jlong __result) { jint *xywh = (*__env)->GetIntArrayElements(__env, xywhAddress, NULL); UNUSED_PARAMS(__env, clazz) - *((struct nk_rect*)(intptr_t)__result) = nk_rectiv((int const *)xywh); + *((struct nk_rect*)(uintptr_t)__result) = nk_rectiv((int const *)xywh); (*__env)->ReleaseIntArrayElements(__env, xywhAddress, xywh, 0); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1string__JJ_3I(JNIEnv *__env, jclass clazz, jlong strAddress, jlong patternAddress, jintArray out_scoreAddress) { - char const *str = (char const *)(intptr_t)strAddress; - char const *pattern = (char const *)(intptr_t)patternAddress; + char const *str = (char const *)(uintptr_t)strAddress; + char const *pattern = (char const *)(uintptr_t)patternAddress; jboolean __result; jint *out_score = (*__env)->GetIntArrayElements(__env, out_scoreAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3911,8 +3911,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1 } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1text__JIJ_3I(JNIEnv *__env, jclass clazz, jlong txtAddress, jint txt_len, jlong patternAddress, jintArray out_scoreAddress) { - char const *txt = (char const *)(intptr_t)txtAddress; - char const *pattern = (char const *)(intptr_t)patternAddress; + char const *txt = (char const *)(uintptr_t)txtAddress; + char const *pattern = (char const *)(uintptr_t)patternAddress; jint __result; jint *out_score = (*__env)->GetIntArrayElements(__env, out_scoreAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3922,7 +3922,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1strmatch_1fuzzy_1text } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1decode__J_3II(JNIEnv *__env, jclass clazz, jlong cAddress, jintArray uAddress, jint clen) { - char const *c = (char const *)(intptr_t)cAddress; + char const *c = (char const *)(uintptr_t)cAddress; jint __result; jint *u = (*__env)->GetIntArrayElements(__env, uAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3932,18 +3932,18 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1decode__J_3II(JN } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1utf_1at__JII_3IJ(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint length, jint index, jintArray unicodeAddress, jlong lenAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - int *len = (int *)(intptr_t)lenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + int *len = (int *)(uintptr_t)lenAddress; jlong __result; jint *unicode = (*__env)->GetIntArrayElements(__env, unicodeAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)nk_utf_at(buffer, length, index, (nk_rune *)unicode, len); + __result = (jlong)(uintptr_t)nk_utf_at(buffer, length, index, (nk_rune *)unicode, len); (*__env)->ReleaseIntArrayElements(__env, unicodeAddress, unicode, 0); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1text_1runes__J_3II(JNIEnv *__env, jclass clazz, jlong sAddress, jintArray runesAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; jint __result; jint *runes = (*__env)->GetIntArrayElements(__env, runesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3953,7 +3953,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1text_1ru } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1str_1runes__J_3I(JNIEnv *__env, jclass clazz, jlong sAddress, jintArray runesAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; jint __result; jint *runes = (*__env)->GetIntArrayElements(__env, runesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3963,7 +3963,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1append_1str_1run } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1text_1runes__JI_3II(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jintArray runesAddress, jint len) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; jint __result; jint *runes = (*__env)->GetIntArrayElements(__env, runesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3973,7 +3973,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1text_1ru } JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1str_1runes__JI_3I(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jintArray runesAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; jint __result; jint *runes = (*__env)->GetIntArrayElements(__env, runesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -3983,30 +3983,30 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1insert_1str_1run } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1rune__JI_3IJ(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jintArray unicodeAddress, jlong lenAddress) { - struct nk_str *s = (struct nk_str *)(intptr_t)sAddress; - int *len = (int *)(intptr_t)lenAddress; + struct nk_str *s = (struct nk_str *)(uintptr_t)sAddress; + int *len = (int *)(uintptr_t)lenAddress; jlong __result; jint *unicode = (*__env)->GetIntArrayElements(__env, unicodeAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)nk_str_at_rune(s, pos, (nk_rune *)unicode, len); + __result = (jlong)(uintptr_t)nk_str_at_rune(s, pos, (nk_rune *)unicode, len); (*__env)->ReleaseIntArrayElements(__env, unicodeAddress, unicode, 0); return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1str_1at_1const__JI_3IJ(JNIEnv *__env, jclass clazz, jlong sAddress, jint pos, jintArray unicodeAddress, jlong lenAddress) { - struct nk_str const *s = (struct nk_str const *)(intptr_t)sAddress; - int *len = (int *)(intptr_t)lenAddress; + struct nk_str const *s = (struct nk_str const *)(uintptr_t)sAddress; + int *len = (int *)(uintptr_t)lenAddress; jlong __result; jint *unicode = (*__env)->GetIntArrayElements(__env, unicodeAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)nk_str_at_const(s, pos, (nk_rune *)unicode, len); + __result = (jlong)(uintptr_t)nk_str_at_const(s, pos, (nk_rune *)unicode, len); (*__env)->ReleaseIntArrayElements(__env, unicodeAddress, unicode, 0); return __result; } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polyline__J_3FIFJ(JNIEnv *__env, jclass clazz, jlong bAddress, jfloatArray pointsAddress, jint point_count, jfloat line_thickness, jlong colAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *col = (struct nk_color *)(intptr_t)colAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *col = (struct nk_color *)(uintptr_t)colAddress; jfloat *points = (*__env)->GetFloatArrayElements(__env, pointsAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_stroke_polyline(b, (float *)points, point_count, line_thickness, *col); @@ -4014,8 +4014,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polyline__J_3 } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polygon__J_3FIFJ(JNIEnv *__env, jclass clazz, jlong bAddress, jfloatArray pointsAddress, jint point_count, jfloat line_thickness, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *points = (*__env)->GetFloatArrayElements(__env, pointsAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_stroke_polygon(b, (float *)points, point_count, line_thickness, *color); @@ -4023,8 +4023,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1stroke_1polygon__J_3F } JNIEXPORT void JNICALL Java_org_lwjgl_nuklear_Nuklear_nnk_1fill_1polygon__J_3FIJ(JNIEnv *__env, jclass clazz, jlong bAddress, jfloatArray pointsAddress, jint point_count, jlong colorAddress) { - struct nk_command_buffer *b = (struct nk_command_buffer *)(intptr_t)bAddress; - struct nk_color *color = (struct nk_color *)(intptr_t)colorAddress; + struct nk_command_buffer *b = (struct nk_command_buffer *)(uintptr_t)bAddress; + struct nk_color *color = (struct nk_color *)(uintptr_t)colorAddress; jfloat *points = (*__env)->GetFloatArrayElements(__env, pointsAddress, NULL); UNUSED_PARAMS(__env, clazz) nk_fill_polygon(b, (float *)points, point_count, *color); diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDDebugOutput.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDDebugOutput.c index 58c7a297f2..63d0a7c611 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDDebugOutput.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDDebugOutput.c @@ -6,42 +6,42 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glDebugMessageEnableAMDPROC) (jint, jint, jint, intptr_t, jboolean); -typedef void (APIENTRY *glDebugMessageInsertAMDPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glDebugMessageCallbackAMDPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *glGetDebugMessageLogAMDPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glDebugMessageEnableAMDPROC) (jint, jint, jint, uintptr_t, jboolean); +typedef void (APIENTRY *glDebugMessageInsertAMDPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glDebugMessageCallbackAMDPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetDebugMessageLogAMDPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDDebugOutput_nglDebugMessageEnableAMD__IIIJZ(JNIEnv *__env, jclass clazz, jint category, jint severity, jint count, jlong idsAddress, jboolean enabled) { glDebugMessageEnableAMDPROC glDebugMessageEnableAMD = (glDebugMessageEnableAMDPROC)tlsGetFunction(1048); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDebugMessageEnableAMD(category, severity, count, ids, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDDebugOutput_nglDebugMessageInsertAMD(JNIEnv *__env, jclass clazz, jint category, jint severity, jint id, jint length, jlong bufAddress) { glDebugMessageInsertAMDPROC glDebugMessageInsertAMD = (glDebugMessageInsertAMDPROC)tlsGetFunction(1049); - intptr_t buf = (intptr_t)bufAddress; + uintptr_t buf = (uintptr_t)bufAddress; UNUSED_PARAM(clazz) glDebugMessageInsertAMD(category, severity, id, length, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDDebugOutput_nglDebugMessageCallbackAMD(JNIEnv *__env, jclass clazz, jlong callbackAddress, jlong userParamAddress) { glDebugMessageCallbackAMDPROC glDebugMessageCallbackAMD = (glDebugMessageCallbackAMDPROC)tlsGetFunction(1050); - intptr_t callback = (intptr_t)callbackAddress; - intptr_t userParam = (intptr_t)userParamAddress; + uintptr_t callback = (uintptr_t)callbackAddress; + uintptr_t userParam = (uintptr_t)userParamAddress; UNUSED_PARAM(clazz) glDebugMessageCallbackAMD(callback, userParam); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_AMDDebugOutput_nglGetDebugMessageLogAMD__IIJJJJJ(JNIEnv *__env, jclass clazz, jint count, jint bufsize, jlong categoriesAddress, jlong severitiesAddress, jlong idsAddress, jlong lengthsAddress, jlong messageLogAddress) { glGetDebugMessageLogAMDPROC glGetDebugMessageLogAMD = (glGetDebugMessageLogAMDPROC)tlsGetFunction(1051); - intptr_t categories = (intptr_t)categoriesAddress; - intptr_t severities = (intptr_t)severitiesAddress; - intptr_t ids = (intptr_t)idsAddress; - intptr_t lengths = (intptr_t)lengthsAddress; - intptr_t messageLog = (intptr_t)messageLogAddress; + uintptr_t categories = (uintptr_t)categoriesAddress; + uintptr_t severities = (uintptr_t)severitiesAddress; + uintptr_t ids = (uintptr_t)idsAddress; + uintptr_t lengths = (uintptr_t)lengthsAddress; + uintptr_t messageLog = (uintptr_t)messageLogAddress; UNUSED_PARAM(clazz) return (jint)glGetDebugMessageLogAMD(count, bufsize, categories, severities, ids, lengths, messageLog); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDPerformanceMonitor.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDPerformanceMonitor.c index b4d5437b9e..e828d54549 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDPerformanceMonitor.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDPerformanceMonitor.c @@ -6,77 +6,77 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetPerfMonitorGroupsAMDPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCountersAMDPROC) (jint, intptr_t, intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorGroupStringAMDPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCounterStringAMDPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCounterInfoAMDPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGenPerfMonitorsAMDPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeletePerfMonitorsAMDPROC) (jint, intptr_t); -typedef void (APIENTRY *glSelectPerfMonitorCountersAMDPROC) (jint, jboolean, jint, jint, intptr_t); +typedef void (APIENTRY *glGetPerfMonitorGroupsAMDPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCountersAMDPROC) (jint, uintptr_t, uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorGroupStringAMDPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterStringAMDPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterInfoAMDPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGenPerfMonitorsAMDPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeletePerfMonitorsAMDPROC) (jint, uintptr_t); +typedef void (APIENTRY *glSelectPerfMonitorCountersAMDPROC) (jint, jboolean, jint, jint, uintptr_t); typedef void (APIENTRY *glBeginPerfMonitorAMDPROC) (jint); typedef void (APIENTRY *glEndPerfMonitorAMDPROC) (jint); -typedef void (APIENTRY *glGetPerfMonitorCounterDataAMDPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterDataAMDPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorGroupsAMD__JIJ(JNIEnv *__env, jclass clazz, jlong numGroupsAddress, jint groupsSize, jlong groupsAddress) { glGetPerfMonitorGroupsAMDPROC glGetPerfMonitorGroupsAMD = (glGetPerfMonitorGroupsAMDPROC)tlsGetFunction(1094); - intptr_t numGroups = (intptr_t)numGroupsAddress; - intptr_t groups = (intptr_t)groupsAddress; + uintptr_t numGroups = (uintptr_t)numGroupsAddress; + uintptr_t groups = (uintptr_t)groupsAddress; UNUSED_PARAM(clazz) glGetPerfMonitorGroupsAMD(numGroups, groupsSize, groups); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorCountersAMD__IJJIJ(JNIEnv *__env, jclass clazz, jint group, jlong numCountersAddress, jlong maxActiveCountersAddress, jint counterSize, jlong countersAddress) { glGetPerfMonitorCountersAMDPROC glGetPerfMonitorCountersAMD = (glGetPerfMonitorCountersAMDPROC)tlsGetFunction(1095); - intptr_t numCounters = (intptr_t)numCountersAddress; - intptr_t maxActiveCounters = (intptr_t)maxActiveCountersAddress; - intptr_t counters = (intptr_t)countersAddress; + uintptr_t numCounters = (uintptr_t)numCountersAddress; + uintptr_t maxActiveCounters = (uintptr_t)maxActiveCountersAddress; + uintptr_t counters = (uintptr_t)countersAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, counters); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorGroupStringAMD__IIJJ(JNIEnv *__env, jclass clazz, jint group, jint bufSize, jlong lengthAddress, jlong groupStringAddress) { glGetPerfMonitorGroupStringAMDPROC glGetPerfMonitorGroupStringAMD = (glGetPerfMonitorGroupStringAMDPROC)tlsGetFunction(1096); - intptr_t length = (intptr_t)lengthAddress; - intptr_t groupString = (intptr_t)groupStringAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t groupString = (uintptr_t)groupStringAddress; UNUSED_PARAM(clazz) glGetPerfMonitorGroupStringAMD(group, bufSize, length, groupString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorCounterStringAMD__IIIJJ(JNIEnv *__env, jclass clazz, jint group, jint counter, jint bufSize, jlong lengthAddress, jlong counterStringAddress) { glGetPerfMonitorCounterStringAMDPROC glGetPerfMonitorCounterStringAMD = (glGetPerfMonitorCounterStringAMDPROC)tlsGetFunction(1097); - intptr_t length = (intptr_t)lengthAddress; - intptr_t counterString = (intptr_t)counterStringAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t counterString = (uintptr_t)counterStringAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorCounterInfoAMD__IIIJ(JNIEnv *__env, jclass clazz, jint group, jint counter, jint pname, jlong dataAddress) { glGetPerfMonitorCounterInfoAMDPROC glGetPerfMonitorCounterInfoAMD = (glGetPerfMonitorCounterInfoAMDPROC)tlsGetFunction(1098); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterInfoAMD(group, counter, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGenPerfMonitorsAMD__IJ(JNIEnv *__env, jclass clazz, jint n, jlong monitorsAddress) { glGenPerfMonitorsAMDPROC glGenPerfMonitorsAMD = (glGenPerfMonitorsAMDPROC)tlsGetFunction(1099); - intptr_t monitors = (intptr_t)monitorsAddress; + uintptr_t monitors = (uintptr_t)monitorsAddress; UNUSED_PARAM(clazz) glGenPerfMonitorsAMD(n, monitors); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglDeletePerfMonitorsAMD__IJ(JNIEnv *__env, jclass clazz, jint n, jlong monitorsAddress) { glDeletePerfMonitorsAMDPROC glDeletePerfMonitorsAMD = (glDeletePerfMonitorsAMDPROC)tlsGetFunction(1100); - intptr_t monitors = (intptr_t)monitorsAddress; + uintptr_t monitors = (uintptr_t)monitorsAddress; UNUSED_PARAM(clazz) glDeletePerfMonitorsAMD(n, monitors); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglSelectPerfMonitorCountersAMD__IZIIJ(JNIEnv *__env, jclass clazz, jint monitor, jboolean enable, jint group, jint numCounters, jlong counterListAddress) { glSelectPerfMonitorCountersAMDPROC glSelectPerfMonitorCountersAMD = (glSelectPerfMonitorCountersAMDPROC)tlsGetFunction(1101); - intptr_t counterList = (intptr_t)counterListAddress; + uintptr_t counterList = (uintptr_t)counterListAddress; UNUSED_PARAM(clazz) glSelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, counterList); } @@ -95,8 +95,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_glEndPerfMoni JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDPerformanceMonitor_nglGetPerfMonitorCounterDataAMD__IIIJJ(JNIEnv *__env, jclass clazz, jint monitor, jint pname, jint dataSize, jlong dataAddress, jlong bytesWrittenAddress) { glGetPerfMonitorCounterDataAMDPROC glGetPerfMonitorCounterDataAMD = (glGetPerfMonitorCounterDataAMDPROC)tlsGetFunction(1104); - intptr_t data = (intptr_t)dataAddress; - intptr_t bytesWritten = (intptr_t)bytesWrittenAddress; + uintptr_t data = (uintptr_t)dataAddress; + uintptr_t bytesWritten = (uintptr_t)bytesWrittenAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterDataAMD(monitor, pname, dataSize, data, bytesWritten); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDSamplePositions.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDSamplePositions.c index 4b80de6754..a07cc9b262 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDSamplePositions.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_AMDSamplePositions.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glSetMultisamplefvAMDPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glSetMultisamplefvAMDPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_AMDSamplePositions_nglSetMultisamplefvAMD__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong valAddress) { glSetMultisamplefvAMDPROC glSetMultisamplefvAMD = (glSetMultisamplefvAMDPROC)tlsGetFunction(1105); - intptr_t val = (intptr_t)valAddress; + uintptr_t val = (uintptr_t)valAddress; UNUSED_PARAM(clazz) glSetMultisamplefvAMD(pname, index, val); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBindlessTexture.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBindlessTexture.c index 7f9d0f2b03..d57fb0cec1 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBindlessTexture.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBindlessTexture.c @@ -14,14 +14,14 @@ typedef jlong (APIENTRY *glGetImageHandleARBPROC) (jint, jint, jboolean, jint, j typedef void (APIENTRY *glMakeImageHandleResidentARBPROC) (jlong, jint); typedef void (APIENTRY *glMakeImageHandleNonResidentARBPROC) (jlong); typedef void (APIENTRY *glUniformHandleui64ARBPROC) (jint, jlong); -typedef void (APIENTRY *glUniformHandleui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniformHandleui64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniformHandleui64ARBPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniformHandleui64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniformHandleui64vARBPROC) (jint, jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsTextureHandleResidentARBPROC) (jlong); typedef jboolean (APIENTRY *glIsImageHandleResidentARBPROC) (jlong); typedef void (APIENTRY *glVertexAttribL1ui64ARBPROC) (jint, jlong); -typedef void (APIENTRY *glVertexAttribL1ui64vARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribLui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttribL1ui64vARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribLui64vARBPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -75,7 +75,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_glUniformHandleu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_nglUniformHandleui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valuesAddress) { glUniformHandleui64vARBPROC glUniformHandleui64vARB = (glUniformHandleui64vARBPROC)tlsGetFunction(1119); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glUniformHandleui64vARB(location, count, values); } @@ -88,7 +88,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_glProgramUniform JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_nglProgramUniformHandleui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valuesAddress) { glProgramUniformHandleui64vARBPROC glProgramUniformHandleui64vARB = (glProgramUniformHandleui64vARBPROC)tlsGetFunction(1121); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glProgramUniformHandleui64vARB(program, location, count, values); } @@ -113,14 +113,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_glVertexAttribL1 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_nglVertexAttribL1ui64vARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL1ui64vARBPROC glVertexAttribL1ui64vARB = (glVertexAttribL1ui64vARBPROC)tlsGetFunction(1125); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL1ui64vARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBindlessTexture_nglGetVertexAttribLui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribLui64vARBPROC glGetVertexAttribLui64vARB = (glGetVertexAttribLui64vARBPROC)tlsGetFunction(1126); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribLui64vARB(index, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBufferStorage.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBufferStorage.c index e0cf5da047..025bdcef6d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBufferStorage.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBBufferStorage.c @@ -6,15 +6,15 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glNamedBufferStorageEXTPROC) (jint, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glNamedBufferStorageEXTPROC) (jint, uintptr_t, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBBufferStorage_nglNamedBufferStorageEXT__IJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jlong dataAddress, jint flags) { glNamedBufferStorageEXTPROC glNamedBufferStorageEXT = (glNamedBufferStorageEXTPROC)tlsGetFunction(1127); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferStorageEXT(buffer, (intptr_t)size, data, flags); + glNamedBufferStorageEXT(buffer, (uintptr_t)size, data, flags); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBCLEvent.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBCLEvent.c index 842a53964d..7e853f67d4 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBCLEvent.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBCLEvent.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef intptr_t (APIENTRY *glCreateSyncFromCLeventARBPROC) (intptr_t, intptr_t, jint); +typedef uintptr_t (APIENTRY *glCreateSyncFromCLeventARBPROC) (uintptr_t, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_ARBCLEvent_nglCreateSyncFromCLeventARB(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong eventAddress, jint flags) { glCreateSyncFromCLeventARBPROC glCreateSyncFromCLeventARB = (glCreateSyncFromCLeventARBPROC)tlsGetFunction(1128); - intptr_t context = (intptr_t)contextAddress; - intptr_t event = (intptr_t)eventAddress; + uintptr_t context = (uintptr_t)contextAddress; + uintptr_t event = (uintptr_t)eventAddress; UNUSED_PARAM(clazz) return (jlong)glCreateSyncFromCLeventARB(context, event, flags); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBClearBufferObject.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBClearBufferObject.c index 2a21f1c538..f15fbe7ae2 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBClearBufferObject.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBClearBufferObject.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glClearNamedBufferDataEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearNamedBufferSubDataEXTPROC) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t); +typedef void (APIENTRY *glClearNamedBufferDataEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearNamedBufferSubDataEXTPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBClearBufferObject_nglClearNamedBufferDataEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint buffer, jint internalformat, jint format, jint type, jlong dataAddress) { glClearNamedBufferDataEXTPROC glClearNamedBufferDataEXT = (glClearNamedBufferDataEXTPROC)tlsGetFunction(1129); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearNamedBufferDataEXT(buffer, internalformat, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBClearBufferObject_nglClearNamedBufferSubDataEXT__IIJJIIJ(JNIEnv *__env, jclass clazz, jint buffer, jint internalformat, jlong offset, jlong size, jint format, jint type, jlong dataAddress) { glClearNamedBufferSubDataEXTPROC glClearNamedBufferSubDataEXT = (glClearNamedBufferSubDataEXTPROC)tlsGetFunction(1130); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glClearNamedBufferSubDataEXT(buffer, internalformat, (intptr_t)offset, (intptr_t)size, format, type, data); + glClearNamedBufferSubDataEXT(buffer, internalformat, (uintptr_t)offset, (uintptr_t)size, format, type, data); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDebugOutput.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDebugOutput.c index 160b12a610..4278267bb7 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDebugOutput.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDebugOutput.c @@ -6,43 +6,43 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glDebugMessageControlARBPROC) (jint, jint, jint, jint, intptr_t, jboolean); -typedef void (APIENTRY *glDebugMessageInsertARBPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glDebugMessageCallbackARBPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *glGetDebugMessageLogARBPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glDebugMessageControlARBPROC) (jint, jint, jint, jint, uintptr_t, jboolean); +typedef void (APIENTRY *glDebugMessageInsertARBPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glDebugMessageCallbackARBPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetDebugMessageLogARBPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDebugOutput_nglDebugMessageControlARB__IIIIJZ(JNIEnv *__env, jclass clazz, jint source, jint type, jint severity, jint count, jlong idsAddress, jboolean enabled) { glDebugMessageControlARBPROC glDebugMessageControlARB = (glDebugMessageControlARBPROC)tlsGetFunction(1133); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDebugMessageControlARB(source, type, severity, count, ids, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDebugOutput_nglDebugMessageInsertARB(JNIEnv *__env, jclass clazz, jint source, jint type, jint id, jint severity, jint length, jlong bufAddress) { glDebugMessageInsertARBPROC glDebugMessageInsertARB = (glDebugMessageInsertARBPROC)tlsGetFunction(1134); - intptr_t buf = (intptr_t)bufAddress; + uintptr_t buf = (uintptr_t)bufAddress; UNUSED_PARAM(clazz) glDebugMessageInsertARB(source, type, id, severity, length, buf); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDebugOutput_nglDebugMessageCallbackARB(JNIEnv *__env, jclass clazz, jlong callbackAddress, jlong userParamAddress) { glDebugMessageCallbackARBPROC glDebugMessageCallbackARB = (glDebugMessageCallbackARBPROC)tlsGetFunction(1135); - intptr_t callback = (intptr_t)callbackAddress; - intptr_t userParam = (intptr_t)userParamAddress; + uintptr_t callback = (uintptr_t)callbackAddress; + uintptr_t userParam = (uintptr_t)userParamAddress; UNUSED_PARAM(clazz) glDebugMessageCallbackARB(callback, userParam); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_ARBDebugOutput_nglGetDebugMessageLogARB__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint count, jint bufSize, jlong sourcesAddress, jlong typesAddress, jlong idsAddress, jlong severitiesAddress, jlong lengthsAddress, jlong messageLogAddress) { glGetDebugMessageLogARBPROC glGetDebugMessageLogARB = (glGetDebugMessageLogARBPROC)tlsGetFunction(1136); - intptr_t sources = (intptr_t)sourcesAddress; - intptr_t types = (intptr_t)typesAddress; - intptr_t ids = (intptr_t)idsAddress; - intptr_t severities = (intptr_t)severitiesAddress; - intptr_t lengths = (intptr_t)lengthsAddress; - intptr_t messageLog = (intptr_t)messageLogAddress; + uintptr_t sources = (uintptr_t)sourcesAddress; + uintptr_t types = (uintptr_t)typesAddress; + uintptr_t ids = (uintptr_t)idsAddress; + uintptr_t severities = (uintptr_t)severitiesAddress; + uintptr_t lengths = (uintptr_t)lengthsAddress; + uintptr_t messageLog = (uintptr_t)messageLogAddress; UNUSED_PARAM(clazz) return (jint)glGetDebugMessageLogARB(count, bufSize, sources, types, ids, severities, lengths, messageLog); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawBuffers.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawBuffers.c index c9f144ea7e..9867bdae8e 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawBuffers.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawBuffers.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glDrawBuffersARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glDrawBuffersARBPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDrawBuffers_nglDrawBuffersARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong bufsAddress) { glDrawBuffersARBPROC glDrawBuffersARB = (glDrawBuffersARBPROC)tlsGetFunction(1137); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glDrawBuffersARB(n, bufs); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawInstanced.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawInstanced.c index c2ff50354c..00452eac1e 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawInstanced.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBDrawInstanced.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glDrawArraysInstancedARBPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedARBPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedARBPROC) (jint, jint, jint, uintptr_t, jint); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDrawInstanced_glDrawArraysInstan JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBDrawInstanced_nglDrawElementsInstancedARB(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedARBPROC glDrawElementsInstancedARB = (glDrawElementsInstancedARBPROC)tlsGetFunction(1143); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedARB(mode, count, type, indices, primcount); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBFramebufferNoAttachments.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBFramebufferNoAttachments.c index 3b634e565e..7f4644ad53 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBFramebufferNoAttachments.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBFramebufferNoAttachments.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glNamedFramebufferParameteriEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetNamedFramebufferParameterivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetNamedFramebufferParameterivEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBFramebufferNoAttachments_glNamed JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBFramebufferNoAttachments_nglGetNamedFramebufferParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint pname, jlong paramsAddress) { glGetNamedFramebufferParameterivEXTPROC glGetNamedFramebufferParameterivEXT = (glGetNamedFramebufferParameterivEXTPROC)tlsGetFunction(1146); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedFramebufferParameterivEXT(framebuffer, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGLSPIRV.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGLSPIRV.c index 1cd325719c..7de0762db6 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGLSPIRV.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGLSPIRV.c @@ -6,15 +6,15 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glSpecializeShaderARBPROC) (jint, intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glSpecializeShaderARBPROC) (jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGLSPIRV_nglSpecializeShaderARB__IJIJJ(JNIEnv *__env, jclass clazz, jint shader, jlong pEntryPointAddress, jint numSpecializationConstants, jlong pConstantIndexAddress, jlong pConstantValueAddress) { glSpecializeShaderARBPROC glSpecializeShaderARB = (glSpecializeShaderARBPROC)tlsGetFunction(1151); - intptr_t pEntryPoint = (intptr_t)pEntryPointAddress; - intptr_t pConstantIndex = (intptr_t)pConstantIndexAddress; - intptr_t pConstantValue = (intptr_t)pConstantValueAddress; + uintptr_t pEntryPoint = (uintptr_t)pEntryPointAddress; + uintptr_t pConstantIndex = (uintptr_t)pConstantIndexAddress; + uintptr_t pConstantValue = (uintptr_t)pConstantValueAddress; UNUSED_PARAM(clazz) glSpecializeShaderARB(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderFP64.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderFP64.c index 48103c4639..ce509db530 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderFP64.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderFP64.c @@ -10,19 +10,19 @@ typedef void (APIENTRY *glProgramUniform1dEXTPROC) (jint, jint, jdouble); typedef void (APIENTRY *glProgramUniform2dEXTPROC) (jint, jint, jdouble, jdouble); typedef void (APIENTRY *glProgramUniform3dEXTPROC) (jint, jint, jdouble, jdouble, jdouble); typedef void (APIENTRY *glProgramUniform4dEXTPROC) (jint, jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glProgramUniform1dvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2dvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3dvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4dvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3dvEXTPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform1dvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2dvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3dvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4dvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3dvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); EXTERN_C_ENTER @@ -52,91 +52,91 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_glProgramUniform4d JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniform1dvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1dvEXTPROC glProgramUniform1dvEXT = (glProgramUniform1dvEXTPROC)tlsGetFunction(1156); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1dvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniform2dvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2dvEXTPROC glProgramUniform2dvEXT = (glProgramUniform2dvEXTPROC)tlsGetFunction(1157); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2dvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniform3dvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3dvEXTPROC glProgramUniform3dvEXT = (glProgramUniform3dvEXTPROC)tlsGetFunction(1158); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3dvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniform4dvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4dvEXTPROC glProgramUniform4dvEXT = (glProgramUniform4dvEXTPROC)tlsGetFunction(1159); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4dvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix2dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2dvEXTPROC glProgramUniformMatrix2dvEXT = (glProgramUniformMatrix2dvEXTPROC)tlsGetFunction(1160); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix3dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3dvEXTPROC glProgramUniformMatrix3dvEXT = (glProgramUniformMatrix3dvEXTPROC)tlsGetFunction(1161); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix4dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4dvEXTPROC glProgramUniformMatrix4dvEXT = (glProgramUniformMatrix4dvEXTPROC)tlsGetFunction(1162); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix2x3dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3dvEXTPROC glProgramUniformMatrix2x3dvEXT = (glProgramUniformMatrix2x3dvEXTPROC)tlsGetFunction(1163); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix2x4dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4dvEXTPROC glProgramUniformMatrix2x4dvEXT = (glProgramUniformMatrix2x4dvEXTPROC)tlsGetFunction(1164); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix3x2dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2dvEXTPROC glProgramUniformMatrix3x2dvEXT = (glProgramUniformMatrix3x2dvEXTPROC)tlsGetFunction(1165); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix3x4dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4dvEXTPROC glProgramUniformMatrix3x4dvEXT = (glProgramUniformMatrix3x4dvEXTPROC)tlsGetFunction(1166); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix4x2dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2dvEXTPROC glProgramUniformMatrix4x2dvEXT = (glProgramUniformMatrix4x2dvEXTPROC)tlsGetFunction(1167); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2dvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderFP64_nglProgramUniformMatrix4x3dvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3dvEXTPROC glProgramUniformMatrix4x3dvEXT = (glProgramUniformMatrix4x3dvEXTPROC)tlsGetFunction(1168); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3dvEXT(program, location, count, transpose, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderInt64.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderInt64.c index a84c0a79cd..f914beb7be 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderInt64.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBGPUShaderInt64.c @@ -7,41 +7,41 @@ #include "opengl.h" typedef void (APIENTRY *glUniform1i64ARBPROC) (jint, jlong); -typedef void (APIENTRY *glUniform1i64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1i64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1i64ARBPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniform1i64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1i64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform2i64ARBPROC) (jint, jlong, jlong); -typedef void (APIENTRY *glUniform2i64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform2i64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform2i64ARBPROC) (jint, jint, jlong, jlong); -typedef void (APIENTRY *glProgramUniform2i64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform2i64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform3i64ARBPROC) (jint, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform3i64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform3i64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform3i64ARBPROC) (jint, jint, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform3i64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform3i64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform4i64ARBPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform4i64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform4i64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform4i64ARBPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform4i64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform4i64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1ui64ARBPROC) (jint, jlong); -typedef void (APIENTRY *glUniform1ui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1ui64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1ui64ARBPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniform1ui64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1ui64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform2ui64ARBPROC) (jint, jlong, jlong); -typedef void (APIENTRY *glUniform2ui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform2ui64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform2ui64ARBPROC) (jint, jint, jlong, jlong); -typedef void (APIENTRY *glProgramUniform2ui64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform2ui64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform3ui64ARBPROC) (jint, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform3ui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform3ui64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform3ui64ARBPROC) (jint, jint, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform3ui64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform3ui64vARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform4ui64ARBPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform4ui64vARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform4ui64vARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform4ui64ARBPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform4ui64vARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformi64vARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformui64vARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformi64vARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformui64vARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform4ui64vARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformi64vARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformui64vARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformi64vARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformui64vARBPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -53,7 +53,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform1i64ARB( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform1i64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1i64vARBPROC glUniform1i64vARB = (glUniform1i64vARBPROC)tlsGetFunction(1170); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1i64vARB(location, count, value); } @@ -66,7 +66,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform1 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform1i64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1i64vARBPROC glProgramUniform1i64vARB = (glProgramUniform1i64vARBPROC)tlsGetFunction(1172); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1i64vARB(program, location, count, value); } @@ -79,7 +79,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform2i64ARB( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform2i64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2i64vARBPROC glUniform2i64vARB = (glUniform2i64vARBPROC)tlsGetFunction(1174); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2i64vARB(location, count, value); } @@ -92,7 +92,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform2 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform2i64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2i64vARBPROC glProgramUniform2i64vARB = (glProgramUniform2i64vARBPROC)tlsGetFunction(1176); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2i64vARB(program, location, count, value); } @@ -105,7 +105,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform3i64ARB( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform3i64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3i64vARBPROC glUniform3i64vARB = (glUniform3i64vARBPROC)tlsGetFunction(1178); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3i64vARB(location, count, value); } @@ -118,7 +118,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform3 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform3i64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3i64vARBPROC glProgramUniform3i64vARB = (glProgramUniform3i64vARBPROC)tlsGetFunction(1180); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3i64vARB(program, location, count, value); } @@ -131,7 +131,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform4i64ARB( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform4i64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4i64vARBPROC glUniform4i64vARB = (glUniform4i64vARBPROC)tlsGetFunction(1182); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4i64vARB(location, count, value); } @@ -144,7 +144,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform4 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform4i64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4i64vARBPROC glProgramUniform4i64vARB = (glProgramUniform4i64vARBPROC)tlsGetFunction(1184); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4i64vARB(program, location, count, value); } @@ -157,7 +157,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform1ui64ARB JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform1ui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ui64vARBPROC glUniform1ui64vARB = (glUniform1ui64vARBPROC)tlsGetFunction(1186); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1ui64vARB(location, count, value); } @@ -170,7 +170,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform1 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform1ui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ui64vARBPROC glProgramUniform1ui64vARB = (glProgramUniform1ui64vARBPROC)tlsGetFunction(1188); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1ui64vARB(program, location, count, value); } @@ -183,7 +183,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform2ui64ARB JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform2ui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ui64vARBPROC glUniform2ui64vARB = (glUniform2ui64vARBPROC)tlsGetFunction(1190); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2ui64vARB(location, count, value); } @@ -196,7 +196,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform2 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform2ui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ui64vARBPROC glProgramUniform2ui64vARB = (glProgramUniform2ui64vARBPROC)tlsGetFunction(1192); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2ui64vARB(program, location, count, value); } @@ -209,7 +209,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform3ui64ARB JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform3ui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ui64vARBPROC glUniform3ui64vARB = (glUniform3ui64vARBPROC)tlsGetFunction(1194); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3ui64vARB(location, count, value); } @@ -222,7 +222,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform3 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform3ui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ui64vARBPROC glProgramUniform3ui64vARB = (glProgramUniform3ui64vARBPROC)tlsGetFunction(1196); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3ui64vARB(program, location, count, value); } @@ -235,7 +235,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glUniform4ui64ARB JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglUniform4ui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ui64vARBPROC glUniform4ui64vARB = (glUniform4ui64vARBPROC)tlsGetFunction(1198); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4ui64vARB(location, count, value); } @@ -248,35 +248,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_glProgramUniform4 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglProgramUniform4ui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ui64vARBPROC glProgramUniform4ui64vARB = (glProgramUniform4ui64vARBPROC)tlsGetFunction(1200); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4ui64vARB(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglGetUniformi64vARB__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformi64vARBPROC glGetUniformi64vARB = (glGetUniformi64vARBPROC)tlsGetFunction(1201); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformi64vARB(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglGetUniformui64vARB__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformui64vARBPROC glGetUniformui64vARB = (glGetUniformui64vARBPROC)tlsGetFunction(1202); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformui64vARB(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglGetnUniformi64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformi64vARBPROC glGetnUniformi64vARB = (glGetnUniformi64vARBPROC)tlsGetFunction(1203); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformi64vARB(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBGPUShaderInt64_nglGetnUniformui64vARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformui64vARBPROC glGetnUniformui64vARB = (glGetnUniformui64vARBPROC)tlsGetFunction(1204); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformui64vARB(program, location, bufSize, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBImaging.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBImaging.c index 8f7e8efa89..dbe0a29169 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBImaging.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBImaging.c @@ -6,44 +6,44 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glColorTablePROC) (jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glColorTablePROC) (jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyColorTablePROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glColorTableParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glColorTableParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetColorTablePROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetColorTableParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetColorTableParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glColorSubTablePROC) (jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glColorTableParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glColorTableParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetColorTablePROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetColorTableParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetColorTableParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glColorSubTablePROC) (jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyColorSubTablePROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glConvolutionFilter1DPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glConvolutionFilter2DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glConvolutionFilter1DPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glConvolutionFilter2DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyConvolutionFilter1DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyConvolutionFilter2DPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetConvolutionFilterPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glSeparableFilter2DPROC) (jint, jint, jint, jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetSeparableFilterPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glGetConvolutionFilterPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glSeparableFilter2DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetSeparableFilterPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glConvolutionParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glConvolutionParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glConvolutionParameterivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glConvolutionParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glConvolutionParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetConvolutionParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetConvolutionParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glConvolutionParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetConvolutionParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetConvolutionParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glHistogramPROC) (jint, jint, jint, jboolean); typedef void (APIENTRY *glResetHistogramPROC) (jint); -typedef void (APIENTRY *glGetHistogramPROC) (jint, jboolean, jint, jint, intptr_t); -typedef void (APIENTRY *glGetHistogramParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetHistogramParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetHistogramPROC) (jint, jboolean, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetHistogramParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetHistogramParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glMinmaxPROC) (jint, jint, jboolean); typedef void (APIENTRY *glResetMinmaxPROC) (jint); -typedef void (APIENTRY *glGetMinmaxPROC) (jint, jboolean, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMinmaxParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMinmaxParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetMinmaxPROC) (jint, jboolean, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMinmaxParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMinmaxParameterfvPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTable__IIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jlong tableAddress) { glColorTablePROC glColorTable = (glColorTablePROC)tlsGetFunction(1205); - intptr_t table = (intptr_t)tableAddress; + uintptr_t table = (uintptr_t)tableAddress; UNUSED_PARAM(clazz) glColorTable(target, internalformat, width, format, type, table); } @@ -56,42 +56,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glCopyColorTable(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glColorTableParameterivPROC glColorTableParameteriv = (glColorTableParameterivPROC)tlsGetFunction(1207); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glColorTableParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glColorTableParameterfvPROC glColorTableParameterfv = (glColorTableParameterfvPROC)tlsGetFunction(1208); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glColorTableParameterfv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetColorTable__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jlong tableAddress) { glGetColorTablePROC glGetColorTable = (glGetColorTablePROC)tlsGetFunction(1209); - intptr_t table = (intptr_t)tableAddress; + uintptr_t table = (uintptr_t)tableAddress; UNUSED_PARAM(clazz) glGetColorTable(target, format, type, table); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetColorTableParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetColorTableParameterivPROC glGetColorTableParameteriv = (glGetColorTableParameterivPROC)tlsGetFunction(1210); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetColorTableParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetColorTableParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetColorTableParameterfvPROC glGetColorTableParameterfv = (glGetColorTableParameterfvPROC)tlsGetFunction(1211); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetColorTableParameterfv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorSubTable(JNIEnv *__env, jclass clazz, jint target, jint start, jint count, jint format, jint type, jlong dataAddress) { glColorSubTablePROC glColorSubTable = (glColorSubTablePROC)tlsGetFunction(1212); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glColorSubTable(target, start, count, format, type, data); } @@ -104,14 +104,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glCopyColorSubTable(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter1D(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jlong dataAddress) { glConvolutionFilter1DPROC glConvolutionFilter1D = (glConvolutionFilter1DPROC)tlsGetFunction(1214); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glConvolutionFilter1D(target, internalformat, width, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter2D(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jlong dataAddress) { glConvolutionFilter2DPROC glConvolutionFilter2D = (glConvolutionFilter2DPROC)tlsGetFunction(1215); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glConvolutionFilter2D(target, internalformat, width, height, format, type, data); } @@ -130,24 +130,24 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glCopyConvolutionFilter2 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetConvolutionFilter(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jlong imageAddress) { glGetConvolutionFilterPROC glGetConvolutionFilter = (glGetConvolutionFilterPROC)tlsGetFunction(1218); - intptr_t image = (intptr_t)imageAddress; + uintptr_t image = (uintptr_t)imageAddress; UNUSED_PARAM(clazz) glGetConvolutionFilter(target, format, type, image); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglSeparableFilter2D(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jlong rowAddress, jlong columnAddress) { glSeparableFilter2DPROC glSeparableFilter2D = (glSeparableFilter2DPROC)tlsGetFunction(1219); - intptr_t row = (intptr_t)rowAddress; - intptr_t column = (intptr_t)columnAddress; + uintptr_t row = (uintptr_t)rowAddress; + uintptr_t column = (uintptr_t)columnAddress; UNUSED_PARAM(clazz) glSeparableFilter2D(target, internalformat, width, height, format, type, row, column); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetSeparableFilter(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jlong rowAddress, jlong columnAddress, jlong spanAddress) { glGetSeparableFilterPROC glGetSeparableFilter = (glGetSeparableFilterPROC)tlsGetFunction(1220); - intptr_t row = (intptr_t)rowAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t span = (intptr_t)spanAddress; + uintptr_t row = (uintptr_t)rowAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t span = (uintptr_t)spanAddress; UNUSED_PARAM(clazz) glGetSeparableFilter(target, format, type, row, column, span); } @@ -160,7 +160,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glConvolutionParameteri( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glConvolutionParameterivPROC glConvolutionParameteriv = (glConvolutionParameterivPROC)tlsGetFunction(1222); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glConvolutionParameteriv(target, pname, params); } @@ -173,21 +173,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glConvolutionParameterf( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glConvolutionParameterfvPROC glConvolutionParameterfv = (glConvolutionParameterfvPROC)tlsGetFunction(1224); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glConvolutionParameterfv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetConvolutionParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetConvolutionParameterivPROC glGetConvolutionParameteriv = (glGetConvolutionParameterivPROC)tlsGetFunction(1225); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetConvolutionParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetConvolutionParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetConvolutionParameterfvPROC glGetConvolutionParameterfv = (glGetConvolutionParameterfvPROC)tlsGetFunction(1226); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetConvolutionParameterfv(target, pname, params); } @@ -206,21 +206,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glResetHistogram(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetHistogram(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jlong valuesAddress) { glGetHistogramPROC glGetHistogram = (glGetHistogramPROC)tlsGetFunction(1229); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetHistogram(target, reset, format, type, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetHistogramParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetHistogramParameterivPROC glGetHistogramParameteriv = (glGetHistogramParameterivPROC)tlsGetFunction(1230); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetHistogramParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetHistogramParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetHistogramParameterfvPROC glGetHistogramParameterfv = (glGetHistogramParameterfvPROC)tlsGetFunction(1231); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetHistogramParameterfv(target, pname, params); } @@ -239,21 +239,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_glResetMinmax(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetMinmax(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jlong valuesAddress) { glGetMinmaxPROC glGetMinmax = (glGetMinmaxPROC)tlsGetFunction(1234); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetMinmax(target, reset, format, type, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetMinmaxParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetMinmaxParameterivPROC glGetMinmaxParameteriv = (glGetMinmaxParameterivPROC)tlsGetFunction(1235); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMinmaxParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglGetMinmaxParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetMinmaxParameterfvPROC glGetMinmaxParameterfv = (glGetMinmaxParameterfvPROC)tlsGetFunction(1236); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMinmaxParameterfv(target, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBIndirectParameters.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBIndirectParameters.c index f15cba282b..f1b44d997d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBIndirectParameters.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBIndirectParameters.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glMultiDrawArraysIndirectCountARBPROC) (jint, intptr_t, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectCountARBPROC) (jint, jint, intptr_t, intptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectCountARBPROC) (jint, uintptr_t, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectCountARBPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBIndirectParameters_nglMultiDrawArraysIndirectCountARB__IJJII(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jlong drawcount, jint maxdrawcount, jint stride) { glMultiDrawArraysIndirectCountARBPROC glMultiDrawArraysIndirectCountARB = (glMultiDrawArraysIndirectCountARBPROC)tlsGetFunction(1237); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawArraysIndirectCountARB(mode, indirect, (intptr_t)drawcount, maxdrawcount, stride); + glMultiDrawArraysIndirectCountARB(mode, indirect, (uintptr_t)drawcount, maxdrawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBIndirectParameters_nglMultiDrawElementsIndirectCountARB__IIJJII(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jlong drawcount, jint maxdrawcount, jint stride) { glMultiDrawElementsIndirectCountARBPROC glMultiDrawElementsIndirectCountARB = (glMultiDrawElementsIndirectCountARBPROC)tlsGetFunction(1238); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawElementsIndirectCountARB(mode, type, indirect, (intptr_t)drawcount, maxdrawcount, stride); + glMultiDrawElementsIndirectCountARB(mode, type, indirect, (uintptr_t)drawcount, maxdrawcount, stride); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMatrixPalette.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMatrixPalette.c index 064253c370..fcd64d2d48 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMatrixPalette.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMatrixPalette.c @@ -7,10 +7,10 @@ #include "opengl.h" typedef void (APIENTRY *glCurrentPaletteMatrixARBPROC) (jint); -typedef void (APIENTRY *glMatrixIndexuivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixIndexubvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixIndexusvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMatrixIndexuivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixIndexubvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixIndexusvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -22,28 +22,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_glCurrentPaletteMa JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexuivARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong indicesAddress) { glMatrixIndexuivARBPROC glMatrixIndexuivARB = (glMatrixIndexuivARBPROC)tlsGetFunction(1242); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glMatrixIndexuivARB(size, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexubvARB(JNIEnv *__env, jclass clazz, jint size, jlong indicesAddress) { glMatrixIndexubvARBPROC glMatrixIndexubvARB = (glMatrixIndexubvARBPROC)tlsGetFunction(1243); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glMatrixIndexubvARB(size, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexusvARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong indicesAddress) { glMatrixIndexusvARBPROC glMatrixIndexusvARB = (glMatrixIndexusvARBPROC)tlsGetFunction(1244); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glMatrixIndexusvARB(size, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexPointerARB(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)tlsGetFunction(1245); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glMatrixIndexPointerARB(size, type, stride, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMultitexture.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMultitexture.c index 80a13a659a..279f67500d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMultitexture.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBMultitexture.c @@ -12,34 +12,34 @@ typedef void (APIENTRY *glMultiTexCoord1fARBPROC) (jint, jfloat); typedef void (APIENTRY *glMultiTexCoord1sARBPROC) (jint, jshort); typedef void (APIENTRY *glMultiTexCoord1iARBPROC) (jint, jint); typedef void (APIENTRY *glMultiTexCoord1dARBPROC) (jint, jdouble); -typedef void (APIENTRY *glMultiTexCoord1fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1ivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1dvARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord1fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1ivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1dvARBPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord2fARBPROC) (jint, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord2sARBPROC) (jint, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord2iARBPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord2dARBPROC) (jint, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord2fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2ivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2dvARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord2fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2ivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2dvARBPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord3fARBPROC) (jint, jfloat, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord3sARBPROC) (jint, jshort, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord3iARBPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord3dARBPROC) (jint, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord3fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3ivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3dvARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord3fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3ivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3dvARBPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord4fARBPROC) (jint, jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord4sARBPROC) (jint, jshort, jshort, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord4iARBPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord4dARBPROC) (jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord4fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4ivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4dvARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord4fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4ivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4dvARBPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -81,28 +81,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_glMultiTexCoord1dAR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord1fvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1fvARBPROC glMultiTexCoord1fvARB = (glMultiTexCoord1fvARBPROC)tlsGetFunction(1253); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1fvARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord1svARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1svARBPROC glMultiTexCoord1svARB = (glMultiTexCoord1svARBPROC)tlsGetFunction(1254); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1svARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord1ivARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1ivARBPROC glMultiTexCoord1ivARB = (glMultiTexCoord1ivARBPROC)tlsGetFunction(1255); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1ivARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord1dvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1dvARBPROC glMultiTexCoord1dvARB = (glMultiTexCoord1dvARBPROC)tlsGetFunction(1256); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1dvARB(texture, v); } @@ -133,28 +133,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_glMultiTexCoord2dAR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord2fvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2fvARBPROC glMultiTexCoord2fvARB = (glMultiTexCoord2fvARBPROC)tlsGetFunction(1261); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2fvARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord2svARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2svARBPROC glMultiTexCoord2svARB = (glMultiTexCoord2svARBPROC)tlsGetFunction(1262); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2svARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord2ivARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2ivARBPROC glMultiTexCoord2ivARB = (glMultiTexCoord2ivARBPROC)tlsGetFunction(1263); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2ivARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord2dvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2dvARBPROC glMultiTexCoord2dvARB = (glMultiTexCoord2dvARBPROC)tlsGetFunction(1264); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2dvARB(texture, v); } @@ -185,28 +185,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_glMultiTexCoord3dAR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord3fvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3fvARBPROC glMultiTexCoord3fvARB = (glMultiTexCoord3fvARBPROC)tlsGetFunction(1269); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3fvARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord3svARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3svARBPROC glMultiTexCoord3svARB = (glMultiTexCoord3svARBPROC)tlsGetFunction(1270); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3svARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord3ivARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3ivARBPROC glMultiTexCoord3ivARB = (glMultiTexCoord3ivARBPROC)tlsGetFunction(1271); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3ivARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord3dvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3dvARBPROC glMultiTexCoord3dvARB = (glMultiTexCoord3dvARBPROC)tlsGetFunction(1272); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3dvARB(texture, v); } @@ -237,28 +237,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_glMultiTexCoord4dAR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord4fvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4fvARBPROC glMultiTexCoord4fvARB = (glMultiTexCoord4fvARBPROC)tlsGetFunction(1277); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4fvARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord4svARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4svARBPROC glMultiTexCoord4svARB = (glMultiTexCoord4svARBPROC)tlsGetFunction(1278); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4svARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord4ivARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4ivARBPROC glMultiTexCoord4ivARB = (glMultiTexCoord4ivARBPROC)tlsGetFunction(1279); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4ivARB(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMultitexture_nglMultiTexCoord4dvARB__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4dvARBPROC glMultiTexCoord4dvARB = (glMultiTexCoord4dvARBPROC)tlsGetFunction(1280); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4dvARB(texture, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBOcclusionQuery.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBOcclusionQuery.c index f6448702ab..188c0679f8 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBOcclusionQuery.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBOcclusionQuery.c @@ -6,27 +6,27 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGenQueriesARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteQueriesARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenQueriesARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteQueriesARBPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsQueryARBPROC) (jint); typedef void (APIENTRY *glBeginQueryARBPROC) (jint, jint); typedef void (APIENTRY *glEndQueryARBPROC) (jint); -typedef void (APIENTRY *glGetQueryivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectuivARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectuivARBPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_nglGenQueriesARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenQueriesARBPROC glGenQueriesARB = (glGenQueriesARBPROC)tlsGetFunction(1281); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenQueriesARB(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_nglDeleteQueriesARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteQueriesARBPROC glDeleteQueriesARB = (glDeleteQueriesARBPROC)tlsGetFunction(1282); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteQueriesARB(n, ids); } @@ -51,21 +51,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_glEndQueryARB(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_nglGetQueryivARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetQueryivARBPROC glGetQueryivARB = (glGetQueryivARBPROC)tlsGetFunction(1286); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryivARB(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_nglGetQueryObjectivARB__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectivARBPROC glGetQueryObjectivARB = (glGetQueryObjectivARBPROC)tlsGetFunction(1287); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectivARB(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBOcclusionQuery_nglGetQueryObjectuivARB__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectuivARBPROC glGetQueryObjectuivARB = (glGetQueryObjectuivARBPROC)tlsGetFunction(1288); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectuivARB(id, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBPointParameters.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBPointParameters.c index 7b9d40f7cc..3ffd230e72 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBPointParameters.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBPointParameters.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glPointParameterfARBPROC) (jint, jfloat); -typedef void (APIENTRY *glPointParameterfvARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glPointParameterfvARBPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_glPointParameter JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_nglPointParameterfvARB__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glPointParameterfvARBPROC glPointParameterfvARB = (glPointParameterfvARBPROC)tlsGetFunction(1291); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glPointParameterfvARB(pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBRobustness.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBRobustness.c index 1d26030b71..8aa90e55b0 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBRobustness.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBRobustness.c @@ -7,25 +7,25 @@ #include "opengl.h" typedef jint (APIENTRY *glGetGraphicsResetStatusARBPROC) (void); -typedef void (APIENTRY *glGetnMapdvARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMapfvARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMapivARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapuivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapusvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPolygonStippleARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetnTexImageARBPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glReadnPixelsARBPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnColorTableARBPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnConvolutionFilterARBPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnSeparableFilterARBPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetnHistogramARBPROC) (jint, jboolean, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMinmaxARBPROC) (jint, jboolean, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnCompressedTexImageARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformfvARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformivARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformuivARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformdvARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetnMapdvARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMapfvARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMapivARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapuivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapusvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPolygonStippleARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetnTexImageARBPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glReadnPixelsARBPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnColorTableARBPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnConvolutionFilterARBPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnSeparableFilterARBPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetnHistogramARBPROC) (jint, jboolean, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMinmaxARBPROC) (jint, jboolean, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnCompressedTexImageARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformfvARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformivARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformuivARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformdvARBPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -37,135 +37,135 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_ARBRobustness_glGetGraphicsResetSta JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnMapdvARB__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapdvARBPROC glGetnMapdvARB = (glGetnMapdvARBPROC)tlsGetFunction(1293); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapdvARB(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnMapfvARB__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapfvARBPROC glGetnMapfvARB = (glGetnMapfvARBPROC)tlsGetFunction(1294); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapfvARB(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnMapivARB__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapivARBPROC glGetnMapivARB = (glGetnMapivARBPROC)tlsGetFunction(1295); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapivARB(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnPixelMapfvARB__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapfvARBPROC glGetnPixelMapfvARB = (glGetnPixelMapfvARBPROC)tlsGetFunction(1296); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapfvARB(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnPixelMapuivARB__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapuivARBPROC glGetnPixelMapuivARB = (glGetnPixelMapuivARBPROC)tlsGetFunction(1297); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapuivARB(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnPixelMapusvARB__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapusvARBPROC glGetnPixelMapusvARB = (glGetnPixelMapusvARBPROC)tlsGetFunction(1298); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapusvARB(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnPolygonStippleARB(JNIEnv *__env, jclass clazz, jint bufSize, jlong patternAddress) { glGetnPolygonStippleARBPROC glGetnPolygonStippleARB = (glGetnPolygonStippleARBPROC)tlsGetFunction(1299); - intptr_t pattern = (intptr_t)patternAddress; + uintptr_t pattern = (uintptr_t)patternAddress; UNUSED_PARAM(clazz) glGetnPolygonStippleARB(bufSize, pattern); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnTexImageARB__IIIIIJ(JNIEnv *__env, jclass clazz, jint tex, jint level, jint format, jint type, jint bufSize, jlong imgAddress) { glGetnTexImageARBPROC glGetnTexImageARB = (glGetnTexImageARBPROC)tlsGetFunction(1300); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetnTexImageARB(tex, level, format, type, bufSize, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglReadnPixelsARB__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jlong dataAddress) { glReadnPixelsARBPROC glReadnPixelsARB = (glReadnPixelsARBPROC)tlsGetFunction(1301); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glReadnPixelsARB(x, y, width, height, format, type, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnColorTableARB__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint bufSize, jlong tableAddress) { glGetnColorTableARBPROC glGetnColorTableARB = (glGetnColorTableARBPROC)tlsGetFunction(1302); - intptr_t table = (intptr_t)tableAddress; + uintptr_t table = (uintptr_t)tableAddress; UNUSED_PARAM(clazz) glGetnColorTableARB(target, format, type, bufSize, table); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnConvolutionFilterARB(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint bufSize, jlong imageAddress) { glGetnConvolutionFilterARBPROC glGetnConvolutionFilterARB = (glGetnConvolutionFilterARBPROC)tlsGetFunction(1303); - intptr_t image = (intptr_t)imageAddress; + uintptr_t image = (uintptr_t)imageAddress; UNUSED_PARAM(clazz) glGetnConvolutionFilterARB(target, format, type, bufSize, image); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnSeparableFilterARB(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint rowBufSize, jlong rowAddress, jint columnBufSize, jlong columnAddress, jlong spanAddress) { glGetnSeparableFilterARBPROC glGetnSeparableFilterARB = (glGetnSeparableFilterARBPROC)tlsGetFunction(1304); - intptr_t row = (intptr_t)rowAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t span = (intptr_t)spanAddress; + uintptr_t row = (uintptr_t)rowAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t span = (uintptr_t)spanAddress; UNUSED_PARAM(clazz) glGetnSeparableFilterARB(target, format, type, rowBufSize, row, columnBufSize, column, span); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnHistogramARB(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jint bufSize, jlong valuesAddress) { glGetnHistogramARBPROC glGetnHistogramARB = (glGetnHistogramARBPROC)tlsGetFunction(1305); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetnHistogramARB(target, reset, format, type, bufSize, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnMinmaxARB(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jint bufSize, jlong valuesAddress) { glGetnMinmaxARBPROC glGetnMinmaxARB = (glGetnMinmaxARBPROC)tlsGetFunction(1306); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetnMinmaxARB(target, reset, format, type, bufSize, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnCompressedTexImageARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint bufSize, jlong imgAddress) { glGetnCompressedTexImageARBPROC glGetnCompressedTexImageARB = (glGetnCompressedTexImageARBPROC)tlsGetFunction(1307); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetnCompressedTexImageARB(target, level, bufSize, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnUniformfvARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformfvARBPROC glGetnUniformfvARB = (glGetnUniformfvARBPROC)tlsGetFunction(1308); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformfvARB(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnUniformivARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformivARBPROC glGetnUniformivARB = (glGetnUniformivARBPROC)tlsGetFunction(1309); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformivARB(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnUniformuivARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformuivARBPROC glGetnUniformuivARB = (glGetnUniformuivARBPROC)tlsGetFunction(1310); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformuivARB(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBRobustness_nglGetnUniformdvARB__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformdvARBPROC glGetnUniformdvARB = (glGetnUniformdvARBPROC)tlsGetFunction(1311); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformdvARB(program, location, bufSize, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSampleLocations.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSampleLocations.c index 469c6f0107..e49ec33eb3 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSampleLocations.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSampleLocations.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glFramebufferSampleLocationsfvARBPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glFramebufferSampleLocationsfvARBPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glEvaluateDepthValuesARBPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBSampleLocations_nglFramebufferSampleLocationsfvARB__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint start, jint count, jlong vAddress) { glFramebufferSampleLocationsfvARBPROC glFramebufferSampleLocationsfvARB = (glFramebufferSampleLocationsfvARBPROC)tlsGetFunction(1312); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glFramebufferSampleLocationsfvARB(target, start, count, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBSampleLocations_nglNamedFramebufferSampleLocationsfvARB__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint start, jint count, jlong vAddress) { glNamedFramebufferSampleLocationsfvARBPROC glNamedFramebufferSampleLocationsfvARB = (glNamedFramebufferSampleLocationsfvARBPROC)tlsGetFunction(1313); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNamedFramebufferSampleLocationsfvARB(framebuffer, start, count, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShaderObjects.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShaderObjects.c index f2c8d677f0..bc94e4a640 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShaderObjects.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShaderObjects.c @@ -10,7 +10,7 @@ typedef void (APIENTRY *glDeleteObjectARBPROC) (jint); typedef jint (APIENTRY *glGetHandleARBPROC) (jint); typedef void (APIENTRY *glDetachObjectARBPROC) (jint, jint); typedef jint (APIENTRY *glCreateShaderObjectARBPROC) (jint); -typedef void (APIENTRY *glShaderSourceARBPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glShaderSourceARBPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glCompileShaderARBPROC) (jint); typedef jint (APIENTRY *glCreateProgramObjectARBPROC) (void); typedef void (APIENTRY *glAttachObjectARBPROC) (jint, jint); @@ -25,26 +25,26 @@ typedef void (APIENTRY *glUniform1iARBPROC) (jint, jint); typedef void (APIENTRY *glUniform2iARBPROC) (jint, jint, jint); typedef void (APIENTRY *glUniform3iARBPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glUniform4iARBPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform1fvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2fvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3fvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4fvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform1ivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2ivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3ivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4ivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniformMatrix2fvARBPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3fvARBPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4fvARBPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glGetObjectParameterfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectParameterivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetInfoLogARBPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetAttachedObjectsARBPROC) (jint, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetUniformLocationARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformARBPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetUniformfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShaderSourceARBPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glUniform1fvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2fvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3fvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4fvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform1ivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2ivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3ivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4ivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2fvARBPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3fvARBPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4fvARBPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glGetObjectParameterfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectParameterivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetInfoLogARBPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetAttachedObjectsARBPROC) (jint, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetUniformLocationARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformARBPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetUniformfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShaderSourceARBPROC) (jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -74,8 +74,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_glCreateShaderObje JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglShaderSourceARB__IIJJ(JNIEnv *__env, jclass clazz, jint shaderObj, jint count, jlong stringAddress, jlong lengthAddress) { glShaderSourceARBPROC glShaderSourceARB = (glShaderSourceARBPROC)tlsGetFunction(1320); - intptr_t string = (intptr_t)stringAddress; - intptr_t length = (intptr_t)lengthAddress; + uintptr_t string = (uintptr_t)stringAddress; + uintptr_t length = (uintptr_t)lengthAddress; UNUSED_PARAM(clazz) glShaderSourceARB(shaderObj, count, string, length); } @@ -166,146 +166,146 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_glUniform4iARB(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform1fvARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1fvARBPROC glUniform1fvARB = (glUniform1fvARBPROC)tlsGetFunction(1335); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1fvARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform2fvARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2fvARBPROC glUniform2fvARB = (glUniform2fvARBPROC)tlsGetFunction(1336); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2fvARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform3fvARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3fvARBPROC glUniform3fvARB = (glUniform3fvARBPROC)tlsGetFunction(1337); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3fvARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform4fvARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4fvARBPROC glUniform4fvARB = (glUniform4fvARBPROC)tlsGetFunction(1338); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4fvARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform1ivARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ivARBPROC glUniform1ivARB = (glUniform1ivARBPROC)tlsGetFunction(1339); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1ivARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform2ivARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ivARBPROC glUniform2ivARB = (glUniform2ivARBPROC)tlsGetFunction(1340); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2ivARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform3ivARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ivARBPROC glUniform3ivARB = (glUniform3ivARBPROC)tlsGetFunction(1341); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3ivARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniform4ivARB__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ivARBPROC glUniform4ivARB = (glUniform4ivARBPROC)tlsGetFunction(1342); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4ivARB(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniformMatrix2fvARB__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2fvARBPROC glUniformMatrix2fvARB = (glUniformMatrix2fvARBPROC)tlsGetFunction(1343); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2fvARB(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniformMatrix3fvARB__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3fvARBPROC glUniformMatrix3fvARB = (glUniformMatrix3fvARBPROC)tlsGetFunction(1344); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3fvARB(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglUniformMatrix4fvARB__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4fvARBPROC glUniformMatrix4fvARB = (glUniformMatrix4fvARBPROC)tlsGetFunction(1345); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4fvARB(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetObjectParameterfvARB__IIJ(JNIEnv *__env, jclass clazz, jint obj, jint pname, jlong paramsAddress) { glGetObjectParameterfvARBPROC glGetObjectParameterfvARB = (glGetObjectParameterfvARBPROC)tlsGetFunction(1346); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetObjectParameterfvARB(obj, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetObjectParameterivARB__IIJ(JNIEnv *__env, jclass clazz, jint obj, jint pname, jlong paramsAddress) { glGetObjectParameterivARBPROC glGetObjectParameterivARB = (glGetObjectParameterivARBPROC)tlsGetFunction(1347); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetObjectParameterivARB(obj, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetInfoLogARB__IIJJ(JNIEnv *__env, jclass clazz, jint obj, jint maxLength, jlong lengthAddress, jlong infoLogAddress) { glGetInfoLogARBPROC glGetInfoLogARB = (glGetInfoLogARBPROC)tlsGetFunction(1348); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetInfoLogARB(obj, maxLength, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetAttachedObjectsARB__IIJJ(JNIEnv *__env, jclass clazz, jint containerObj, jint maxCount, jlong countAddress, jlong objAddress) { glGetAttachedObjectsARBPROC glGetAttachedObjectsARB = (glGetAttachedObjectsARBPROC)tlsGetFunction(1349); - intptr_t count = (intptr_t)countAddress; - intptr_t obj = (intptr_t)objAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t obj = (uintptr_t)objAddress; UNUSED_PARAM(clazz) glGetAttachedObjectsARB(containerObj, maxCount, count, obj); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetUniformLocationARB(JNIEnv *__env, jclass clazz, jint programObj, jlong nameAddress) { glGetUniformLocationARBPROC glGetUniformLocationARB = (glGetUniformLocationARBPROC)tlsGetFunction(1350); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetUniformLocationARB(programObj, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetActiveUniformARB__IIIJJJJ(JNIEnv *__env, jclass clazz, jint programObj, jint index, jint maxLength, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveUniformARBPROC glGetActiveUniformARB = (glGetActiveUniformARBPROC)tlsGetFunction(1351); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveUniformARB(programObj, index, maxLength, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetUniformfvARB__IIJ(JNIEnv *__env, jclass clazz, jint programObj, jint location, jlong paramsAddress) { glGetUniformfvARBPROC glGetUniformfvARB = (glGetUniformfvARBPROC)tlsGetFunction(1352); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformfvARB(programObj, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetUniformivARB__IIJ(JNIEnv *__env, jclass clazz, jint programObj, jint location, jlong paramsAddress) { glGetUniformivARBPROC glGetUniformivARB = (glGetUniformivARBPROC)tlsGetFunction(1353); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformivARB(programObj, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShaderObjects_nglGetShaderSourceARB__IIJJ(JNIEnv *__env, jclass clazz, jint obj, jint maxLength, jlong lengthAddress, jlong sourceAddress) { glGetShaderSourceARBPROC glGetShaderSourceARB = (glGetShaderSourceARBPROC)tlsGetFunction(1354); - intptr_t length = (intptr_t)lengthAddress; - intptr_t source = (intptr_t)sourceAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t source = (uintptr_t)sourceAddress; UNUSED_PARAM(clazz) glGetShaderSourceARB(obj, maxLength, length, source); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShadingLanguageInclude.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShadingLanguageInclude.c index fd312fc194..2196796480 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShadingLanguageInclude.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBShadingLanguageInclude.c @@ -6,58 +6,58 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glNamedStringARBPROC) (jint, jint, intptr_t, jint, intptr_t); -typedef void (APIENTRY *glDeleteNamedStringARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glCompileShaderIncludeARBPROC) (jint, jint, intptr_t, intptr_t); -typedef jboolean (APIENTRY *glIsNamedStringARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetNamedStringARBPROC) (jint, intptr_t, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetNamedStringivARBPROC) (jint, intptr_t, jint, intptr_t); +typedef void (APIENTRY *glNamedStringARBPROC) (jint, jint, uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glDeleteNamedStringARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glCompileShaderIncludeARBPROC) (jint, jint, uintptr_t, uintptr_t); +typedef jboolean (APIENTRY *glIsNamedStringARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetNamedStringARBPROC) (jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetNamedStringivARBPROC) (jint, uintptr_t, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglNamedStringARB(JNIEnv *__env, jclass clazz, jint type, jint namelen, jlong nameAddress, jint stringlen, jlong stringAddress) { glNamedStringARBPROC glNamedStringARB = (glNamedStringARBPROC)tlsGetFunction(1355); - intptr_t name = (intptr_t)nameAddress; - intptr_t string = (intptr_t)stringAddress; + uintptr_t name = (uintptr_t)nameAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glNamedStringARB(type, namelen, name, stringlen, string); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglDeleteNamedStringARB(JNIEnv *__env, jclass clazz, jint namelen, jlong nameAddress) { glDeleteNamedStringARBPROC glDeleteNamedStringARB = (glDeleteNamedStringARBPROC)tlsGetFunction(1356); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glDeleteNamedStringARB(namelen, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglCompileShaderIncludeARB__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint count, jlong pathAddress, jlong lengthAddress) { glCompileShaderIncludeARBPROC glCompileShaderIncludeARB = (glCompileShaderIncludeARBPROC)tlsGetFunction(1357); - intptr_t path = (intptr_t)pathAddress; - intptr_t length = (intptr_t)lengthAddress; + uintptr_t path = (uintptr_t)pathAddress; + uintptr_t length = (uintptr_t)lengthAddress; UNUSED_PARAM(clazz) glCompileShaderIncludeARB(shader, count, path, length); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglIsNamedStringARB(JNIEnv *__env, jclass clazz, jint namelen, jlong nameAddress) { glIsNamedStringARBPROC glIsNamedStringARB = (glIsNamedStringARBPROC)tlsGetFunction(1358); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jboolean)glIsNamedStringARB(namelen, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglGetNamedStringARB__IJIJJ(JNIEnv *__env, jclass clazz, jint namelen, jlong nameAddress, jint bufSize, jlong stringlenAddress, jlong stringAddress) { glGetNamedStringARBPROC glGetNamedStringARB = (glGetNamedStringARBPROC)tlsGetFunction(1359); - intptr_t name = (intptr_t)nameAddress; - intptr_t stringlen = (intptr_t)stringlenAddress; - intptr_t string = (intptr_t)stringAddress; + uintptr_t name = (uintptr_t)nameAddress; + uintptr_t stringlen = (uintptr_t)stringlenAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glGetNamedStringARB(namelen, name, bufSize, stringlen, string); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBShadingLanguageInclude_nglGetNamedStringivARB__IJIJ(JNIEnv *__env, jclass clazz, jint namelen, jlong nameAddress, jint pname, jlong paramsAddress) { glGetNamedStringivARBPROC glGetNamedStringivARB = (glGetNamedStringivARBPROC)tlsGetFunction(1360); - intptr_t name = (intptr_t)nameAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t name = (uintptr_t)nameAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedStringivARB(namelen, name, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSparseBuffer.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSparseBuffer.c index bfd1df3a99..bee4a53aa9 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSparseBuffer.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBSparseBuffer.c @@ -6,28 +6,28 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBufferPageCommitmentARBPROC) (jint, intptr_t, intptr_t, jboolean); -typedef void (APIENTRY *glNamedBufferPageCommitmentEXTPROC) (jint, intptr_t, intptr_t, jboolean); -typedef void (APIENTRY *glNamedBufferPageCommitmentARBPROC) (jint, intptr_t, intptr_t, jboolean); +typedef void (APIENTRY *glBufferPageCommitmentARBPROC) (jint, uintptr_t, uintptr_t, jboolean); +typedef void (APIENTRY *glNamedBufferPageCommitmentEXTPROC) (jint, uintptr_t, uintptr_t, jboolean); +typedef void (APIENTRY *glNamedBufferPageCommitmentARBPROC) (jint, uintptr_t, uintptr_t, jboolean); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBSparseBuffer_glBufferPageCommitmentARB(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jboolean commit) { glBufferPageCommitmentARBPROC glBufferPageCommitmentARB = (glBufferPageCommitmentARBPROC)tlsGetFunction(1361); UNUSED_PARAM(clazz) - glBufferPageCommitmentARB(target, (intptr_t)offset, (intptr_t)size, commit); + glBufferPageCommitmentARB(target, (uintptr_t)offset, (uintptr_t)size, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBSparseBuffer_glNamedBufferPageCommitmentEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jboolean commit) { glNamedBufferPageCommitmentEXTPROC glNamedBufferPageCommitmentEXT = (glNamedBufferPageCommitmentEXTPROC)tlsGetFunction(1362); UNUSED_PARAM(clazz) - glNamedBufferPageCommitmentEXT(buffer, (intptr_t)offset, (intptr_t)size, commit); + glNamedBufferPageCommitmentEXT(buffer, (uintptr_t)offset, (uintptr_t)size, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBSparseBuffer_glNamedBufferPageCommitmentARB(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jboolean commit) { glNamedBufferPageCommitmentARBPROC glNamedBufferPageCommitmentARB = (glNamedBufferPageCommitmentARBPROC)tlsGetFunction(1363); UNUSED_PARAM(clazz) - glNamedBufferPageCommitmentARB(buffer, (intptr_t)offset, (intptr_t)size, commit); + glNamedBufferPageCommitmentARB(buffer, (uintptr_t)offset, (uintptr_t)size, commit); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureBufferRange.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureBufferRange.c index 8ee489b2af..f244730c36 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureBufferRange.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureBufferRange.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glTextureBufferRangeEXTPROC) (jint, jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTextureBufferRangeEXTPROC) (jint, jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureBufferRange_glTextureBufferRangeEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint internalformat, jint buffer, jlong offset, jlong size) { glTextureBufferRangeEXTPROC glTextureBufferRangeEXT = (glTextureBufferRangeEXTPROC)tlsGetFunction(1367); UNUSED_PARAM(clazz) - glTextureBufferRangeEXT(texture, target, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTextureBufferRangeEXT(texture, target, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureCompression.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureCompression.c index 736cfe1769..9dacea3511 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureCompression.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTextureCompression.c @@ -6,61 +6,61 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glCompressedTexImage3DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexImage2DARBPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexImage1DARBPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage3DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage2DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage1DARBPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedTexImageARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage3DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexImage2DARBPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexImage1DARBPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage3DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage2DARBPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage1DARBPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedTexImageARBPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexImage3DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage3DARBPROC glCompressedTexImage3DARB = (glCompressedTexImage3DARBPROC)tlsGetFunction(1368); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexImage2DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage2DARBPROC glCompressedTexImage2DARB = (glCompressedTexImage2DARBPROC)tlsGetFunction(1369); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexImage1DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage1DARBPROC glCompressedTexImage1DARB = (glCompressedTexImage1DARBPROC)tlsGetFunction(1370); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexSubImage3DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage3DARBPROC glCompressedTexSubImage3DARB = (glCompressedTexSubImage3DARBPROC)tlsGetFunction(1371); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexSubImage2DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage2DARBPROC glCompressedTexSubImage2DARB = (glCompressedTexSubImage2DARBPROC)tlsGetFunction(1372); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglCompressedTexSubImage1DARB(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint width, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage1DARBPROC glCompressedTexSubImage1DARB = (glCompressedTexSubImage1DARBPROC)tlsGetFunction(1373); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTextureCompression_nglGetCompressedTexImageARB(JNIEnv *__env, jclass clazz, jint target, jint level, jlong pixelsAddress) { glGetCompressedTexImageARBPROC glGetCompressedTexImageARB = (glGetCompressedTexImageARBPROC)tlsGetFunction(1374); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetCompressedTexImageARB(target, level, pixels); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTransposeMatrix.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTransposeMatrix.c index 6efd75102a..698e58fe59 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTransposeMatrix.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBTransposeMatrix.c @@ -6,37 +6,37 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (intptr_t); -typedef void (APIENTRY *glLoadTransposeMatrixdARBPROC) (intptr_t); -typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (intptr_t); -typedef void (APIENTRY *glMultTransposeMatrixdARBPROC) (intptr_t); +typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (uintptr_t); +typedef void (APIENTRY *glLoadTransposeMatrixdARBPROC) (uintptr_t); +typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (uintptr_t); +typedef void (APIENTRY *glMultTransposeMatrixdARBPROC) (uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglLoadTransposeMatrixfARB__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadTransposeMatrixfARBPROC glLoadTransposeMatrixfARB = (glLoadTransposeMatrixfARBPROC)tlsGetFunction(1380); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadTransposeMatrixfARB(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglLoadTransposeMatrixdARB__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadTransposeMatrixdARBPROC glLoadTransposeMatrixdARB = (glLoadTransposeMatrixdARBPROC)tlsGetFunction(1381); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadTransposeMatrixdARB(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglMultTransposeMatrixfARB__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultTransposeMatrixfARBPROC glMultTransposeMatrixfARB = (glMultTransposeMatrixfARBPROC)tlsGetFunction(1382); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultTransposeMatrixfARB(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglMultTransposeMatrixdARB__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultTransposeMatrixdARBPROC glMultTransposeMatrixdARB = (glMultTransposeMatrixdARBPROC)tlsGetFunction(1383); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultTransposeMatrixdARB(m); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttrib64Bit.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttrib64Bit.c index 37a24213d8..db8f4229b5 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttrib64Bit.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttrib64Bit.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glVertexArrayVertexAttribLOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glVertexArrayVertexAttribLOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexAttrib64Bit_glVertexArrayVertexAttribLOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint index, jint size, jint type, jint stride, jlong offset) { glVertexArrayVertexAttribLOffsetEXTPROC glVertexArrayVertexAttribLOffsetEXT = (glVertexArrayVertexAttribLOffsetEXTPROC)tlsGetFunction(1384); UNUSED_PARAM(clazz) - glVertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, type, stride, (intptr_t)offset); + glVertexArrayVertexAttribLOffsetEXT(vaobj, buffer, index, size, type, stride, (uintptr_t)offset); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttribBinding.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttribBinding.c index f28bc4c5ef..e974396b02 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttribBinding.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexAttribBinding.c @@ -6,7 +6,7 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glVertexArrayBindVertexBufferEXTPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glVertexArrayBindVertexBufferEXTPROC) (jint, jint, jint, uintptr_t, jint); typedef void (APIENTRY *glVertexArrayVertexAttribFormatEXTPROC) (jint, jint, jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexArrayVertexAttribIFormatEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glVertexArrayVertexAttribLFormatEXTPROC) (jint, jint, jint, jint, jint); @@ -18,7 +18,7 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexAttribBinding_glVertexArrayBindVertexBufferEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint bindingindex, jint buffer, jlong offset, jint stride) { glVertexArrayBindVertexBufferEXTPROC glVertexArrayBindVertexBufferEXT = (glVertexArrayBindVertexBufferEXTPROC)tlsGetFunction(1385); UNUSED_PARAM(clazz) - glVertexArrayBindVertexBufferEXT(vaobj, bindingindex, buffer, (intptr_t)offset, stride); + glVertexArrayBindVertexBufferEXT(vaobj, bindingindex, buffer, (uintptr_t)offset, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexAttribBinding_glVertexArrayVertexAttribFormatEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint attribindex, jint size, jint type, jboolean normalized, jint relativeoffset) { diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBlend.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBlend.c index 0972b56705..1dc7304897 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBlend.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBlend.c @@ -6,78 +6,78 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glWeightfvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightbvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightubvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightsvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightusvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightuivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightdvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glWeightPointerARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glWeightfvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightbvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightubvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightsvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightusvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightuivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightdvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glWeightPointerARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glVertexBlendARBPROC) (jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightfvARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightfvARBPROC glWeightfvARB = (glWeightfvARBPROC)tlsGetFunction(1391); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightfvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightbvARB(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightbvARBPROC glWeightbvARB = (glWeightbvARBPROC)tlsGetFunction(1392); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightbvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightubvARB(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightubvARBPROC glWeightubvARB = (glWeightubvARBPROC)tlsGetFunction(1393); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightubvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightsvARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightsvARBPROC glWeightsvARB = (glWeightsvARBPROC)tlsGetFunction(1394); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightsvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightusvARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightusvARBPROC glWeightusvARB = (glWeightusvARBPROC)tlsGetFunction(1395); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightusvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightivARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightivARBPROC glWeightivARB = (glWeightivARBPROC)tlsGetFunction(1396); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightivARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightuivARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightuivARBPROC glWeightuivARB = (glWeightuivARBPROC)tlsGetFunction(1397); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightuivARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightdvARB__IJ(JNIEnv *__env, jclass clazz, jint size, jlong weightsAddress) { glWeightdvARBPROC glWeightdvARB = (glWeightdvARBPROC)tlsGetFunction(1398); - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightdvARB(size, weights); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBlend_nglWeightPointerARB__IIIJ(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glWeightPointerARBPROC glWeightPointerARB = (glWeightPointerARBPROC)tlsGetFunction(1399); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glWeightPointerARB(size, type, stride, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBufferObject.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBufferObject.c index f72c58cf1d..75b684ade3 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBufferObject.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexBufferObject.c @@ -7,16 +7,16 @@ #include "opengl.h" typedef void (APIENTRY *glBindBufferARBPROC) (jint, jint); -typedef void (APIENTRY *glDeleteBuffersARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenBuffersARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteBuffersARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenBuffersARBPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsBufferARBPROC) (jint); -typedef void (APIENTRY *glBufferDataARBPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glBufferSubDataARBPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetBufferSubDataARBPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef intptr_t (APIENTRY *glMapBufferARBPROC) (jint, jint); +typedef void (APIENTRY *glBufferDataARBPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glBufferSubDataARBPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetBufferSubDataARBPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *glMapBufferARBPROC) (jint, jint); typedef jboolean (APIENTRY *glUnmapBufferARBPROC) (jint); -typedef void (APIENTRY *glGetBufferParameterivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetBufferPointervARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetBufferParameterivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetBufferPointervARBPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -28,14 +28,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_glBindBufferA JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglDeleteBuffersARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glDeleteBuffersARBPROC glDeleteBuffersARB = (glDeleteBuffersARBPROC)tlsGetFunction(1402); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glDeleteBuffersARB(n, buffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglGenBuffersARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glGenBuffersARBPROC glGenBuffersARB = (glGenBuffersARBPROC)tlsGetFunction(1403); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glGenBuffersARB(n, buffers); } @@ -48,23 +48,23 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_glIsBuffe JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglBufferDataARB__IJJI(JNIEnv *__env, jclass clazz, jint target, jlong size, jlong dataAddress, jint usage) { glBufferDataARBPROC glBufferDataARB = (glBufferDataARBPROC)tlsGetFunction(1405); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferDataARB(target, (intptr_t)size, data, usage); + glBufferDataARB(target, (uintptr_t)size, data, usage); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglBufferSubDataARB__IJJJ(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong dataAddress) { glBufferSubDataARBPROC glBufferSubDataARB = (glBufferSubDataARBPROC)tlsGetFunction(1406); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferSubDataARB(target, (intptr_t)offset, (intptr_t)size, data); + glBufferSubDataARB(target, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglGetBufferSubDataARB__IJJJ(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong dataAddress) { glGetBufferSubDataARBPROC glGetBufferSubDataARB = (glGetBufferSubDataARBPROC)tlsGetFunction(1407); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glGetBufferSubDataARB(target, (intptr_t)offset, (intptr_t)size, data); + glGetBufferSubDataARB(target, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglMapBufferARB(JNIEnv *__env, jclass clazz, jint target, jint access) { @@ -81,14 +81,14 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_glUnmapBu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglGetBufferParameterivARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameterivARBPROC glGetBufferParameterivARB = (glGetBufferParameterivARBPROC)tlsGetFunction(1410); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameterivARB(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexBufferObject_nglGetBufferPointervARB(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferPointervARBPROC glGetBufferPointervARB = (glGetBufferPointervARBPROC)tlsGetFunction(1411); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferPointervARB(target, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexProgram.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexProgram.c index 8a0e8a1327..b246f614a7 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexProgram.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexProgram.c @@ -6,31 +6,31 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glProgramStringARBPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramStringARBPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glBindProgramARBPROC) (jint, jint); -typedef void (APIENTRY *glDeleteProgramsARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenProgramsARBPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteProgramsARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenProgramsARBPROC) (jint, uintptr_t); typedef void (APIENTRY *glProgramEnvParameter4dARBPROC) (jint, jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glProgramEnvParameter4dvARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glProgramEnvParameter4dvARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramEnvParameter4fARBPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glProgramEnvParameter4fvARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glProgramEnvParameter4fvARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramLocalParameter4dARBPROC) (jint, jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glProgramLocalParameter4dvARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glProgramLocalParameter4dvARBPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramLocalParameter4fARBPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glProgramLocalParameter4fvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramEnvParameterfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramEnvParameterdvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramLocalParameterfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramLocalParameterdvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramStringARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glProgramLocalParameter4fvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramEnvParameterfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramEnvParameterdvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramLocalParameterfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramLocalParameterdvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramStringARBPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsProgramARBPROC) (jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglProgramStringARB(JNIEnv *__env, jclass clazz, jint target, jint format, jint len, jlong stringAddress) { glProgramStringARBPROC glProgramStringARB = (glProgramStringARBPROC)tlsGetFunction(1451); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glProgramStringARB(target, format, len, string); } @@ -43,14 +43,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_glBindProgramARB(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglDeleteProgramsARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong programsAddress) { glDeleteProgramsARBPROC glDeleteProgramsARB = (glDeleteProgramsARBPROC)tlsGetFunction(1453); - intptr_t programs = (intptr_t)programsAddress; + uintptr_t programs = (uintptr_t)programsAddress; UNUSED_PARAM(clazz) glDeleteProgramsARB(n, programs); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGenProgramsARB__IJ(JNIEnv *__env, jclass clazz, jint n, jlong programsAddress) { glGenProgramsARBPROC glGenProgramsARB = (glGenProgramsARBPROC)tlsGetFunction(1454); - intptr_t programs = (intptr_t)programsAddress; + uintptr_t programs = (uintptr_t)programsAddress; UNUSED_PARAM(clazz) glGenProgramsARB(n, programs); } @@ -63,7 +63,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_glProgramEnvParame JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglProgramEnvParameter4dvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glProgramEnvParameter4dvARBPROC glProgramEnvParameter4dvARB = (glProgramEnvParameter4dvARBPROC)tlsGetFunction(1456); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramEnvParameter4dvARB(target, index, params); } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_glProgramEnvParame JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglProgramEnvParameter4fvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glProgramEnvParameter4fvARBPROC glProgramEnvParameter4fvARB = (glProgramEnvParameter4fvARBPROC)tlsGetFunction(1458); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramEnvParameter4fvARB(target, index, params); } @@ -89,7 +89,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_glProgramLocalPara JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglProgramLocalParameter4dvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glProgramLocalParameter4dvARBPROC glProgramLocalParameter4dvARB = (glProgramLocalParameter4dvARBPROC)tlsGetFunction(1460); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramLocalParameter4dvARB(target, index, params); } @@ -102,49 +102,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_glProgramLocalPara JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglProgramLocalParameter4fvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glProgramLocalParameter4fvARBPROC glProgramLocalParameter4fvARB = (glProgramLocalParameter4fvARBPROC)tlsGetFunction(1462); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramLocalParameter4fvARB(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramEnvParameterfvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetProgramEnvParameterfvARBPROC glGetProgramEnvParameterfvARB = (glGetProgramEnvParameterfvARBPROC)tlsGetFunction(1463); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramEnvParameterfvARB(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramEnvParameterdvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetProgramEnvParameterdvARBPROC glGetProgramEnvParameterdvARB = (glGetProgramEnvParameterdvARBPROC)tlsGetFunction(1464); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramEnvParameterdvARB(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramLocalParameterfvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetProgramLocalParameterfvARBPROC glGetProgramLocalParameterfvARB = (glGetProgramLocalParameterfvARBPROC)tlsGetFunction(1465); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramLocalParameterfvARB(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramLocalParameterdvARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetProgramLocalParameterdvARBPROC glGetProgramLocalParameterdvARB = (glGetProgramLocalParameterdvARBPROC)tlsGetFunction(1466); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramLocalParameterdvARB(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramivARB__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetProgramivARBPROC glGetProgramivARB = (glGetProgramivARBPROC)tlsGetFunction(1467); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramivARB(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexProgram_nglGetProgramStringARB(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong stringAddress) { glGetProgramStringARBPROC glGetProgramStringARB = (glGetProgramStringARBPROC)tlsGetFunction(1468); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glGetProgramStringARB(target, pname, string); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexShader.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexShader.c index 43424df8c1..23599ed3d8 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexShader.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBVertexShader.c @@ -19,39 +19,39 @@ typedef void (APIENTRY *glVertexAttrib4fARBPROC) (jint, jfloat, jfloat, jfloat, typedef void (APIENTRY *glVertexAttrib4sARBPROC) (jint, jshort, jshort, jshort, jshort); typedef void (APIENTRY *glVertexAttrib4dARBPROC) (jint, jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glVertexAttrib4NubARBPROC) (jint, jbyte, jbyte, jbyte, jbyte); -typedef void (APIENTRY *glVertexAttrib1fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib1svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib1dvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2dvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3dvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4fvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4svARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4dvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4ivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4bvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4ubvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4usvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4uivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NbvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NsvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NubvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NusvARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NuivARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribPointerARBPROC) (jint, jint, jint, jboolean, jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib1fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib1svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib1dvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2dvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3dvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4fvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4svARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4dvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4ivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4bvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4ubvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4usvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4uivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NbvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NsvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NubvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NusvARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NuivARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribPointerARBPROC) (jint, jint, jint, jboolean, jint, uintptr_t); typedef void (APIENTRY *glEnableVertexAttribArrayARBPROC) (jint); typedef void (APIENTRY *glDisableVertexAttribArrayARBPROC) (jint); -typedef void (APIENTRY *glBindAttribLocationARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveAttribARBPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetAttribLocationARBPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribivARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribfvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribdvARBPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribPointervARBPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glBindAttribLocationARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveAttribARBPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetAttribLocationARBPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribivARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribfvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribdvARBPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribPointervARBPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -135,168 +135,168 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_glVertexAttrib4NubA JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib1fvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1fvARBPROC glVertexAttrib1fvARB = (glVertexAttrib1fvARBPROC)tlsGetFunction(1426); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1fvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib1svARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1svARBPROC glVertexAttrib1svARB = (glVertexAttrib1svARBPROC)tlsGetFunction(1425); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1svARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib1dvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1dvARBPROC glVertexAttrib1dvARB = (glVertexAttrib1dvARBPROC)tlsGetFunction(1427); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1dvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib2fvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2fvARBPROC glVertexAttrib2fvARB = (glVertexAttrib2fvARBPROC)tlsGetFunction(1429); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2fvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib2svARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2svARBPROC glVertexAttrib2svARB = (glVertexAttrib2svARBPROC)tlsGetFunction(1428); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2svARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib2dvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2dvARBPROC glVertexAttrib2dvARB = (glVertexAttrib2dvARBPROC)tlsGetFunction(1430); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2dvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib3fvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3fvARBPROC glVertexAttrib3fvARB = (glVertexAttrib3fvARBPROC)tlsGetFunction(1432); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3fvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib3svARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3svARBPROC glVertexAttrib3svARB = (glVertexAttrib3svARBPROC)tlsGetFunction(1431); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3svARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib3dvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3dvARBPROC glVertexAttrib3dvARB = (glVertexAttrib3dvARBPROC)tlsGetFunction(1433); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3dvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4fvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4fvARBPROC glVertexAttrib4fvARB = (glVertexAttrib4fvARBPROC)tlsGetFunction(1434); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4fvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4svARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4svARBPROC glVertexAttrib4svARB = (glVertexAttrib4svARBPROC)tlsGetFunction(1436); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4svARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4dvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4dvARBPROC glVertexAttrib4dvARB = (glVertexAttrib4dvARBPROC)tlsGetFunction(1441); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4dvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4ivARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4ivARBPROC glVertexAttrib4ivARB = (glVertexAttrib4ivARBPROC)tlsGetFunction(1437); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4ivARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4bvARB(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4bvARBPROC glVertexAttrib4bvARB = (glVertexAttrib4bvARBPROC)tlsGetFunction(1435); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4bvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4ubvARB(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4ubvARBPROC glVertexAttrib4ubvARB = (glVertexAttrib4ubvARBPROC)tlsGetFunction(1438); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4ubvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4usvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4usvARBPROC glVertexAttrib4usvARB = (glVertexAttrib4usvARBPROC)tlsGetFunction(1439); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4usvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4uivARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4uivARBPROC glVertexAttrib4uivARB = (glVertexAttrib4uivARBPROC)tlsGetFunction(1440); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4uivARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NbvARB(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NbvARBPROC glVertexAttrib4NbvARB = (glVertexAttrib4NbvARBPROC)tlsGetFunction(1442); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NbvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NsvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NsvARBPROC glVertexAttrib4NsvARB = (glVertexAttrib4NsvARBPROC)tlsGetFunction(1443); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NsvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NivARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NivARBPROC glVertexAttrib4NivARB = (glVertexAttrib4NivARBPROC)tlsGetFunction(1444); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NivARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NubvARB(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NubvARBPROC glVertexAttrib4NubvARB = (glVertexAttrib4NubvARBPROC)tlsGetFunction(1445); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NubvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NusvARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NusvARBPROC glVertexAttrib4NusvARB = (glVertexAttrib4NusvARBPROC)tlsGetFunction(1446); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NusvARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttrib4NuivARB__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NuivARBPROC glVertexAttrib4NuivARB = (glVertexAttrib4NuivARBPROC)tlsGetFunction(1447); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4NuivARB(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglVertexAttribPointerARB__IIIZIJ(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jboolean normalized, jint stride, jlong pointerAddress) { glVertexAttribPointerARBPROC glVertexAttribPointerARB = (glVertexAttribPointerARBPROC)tlsGetFunction(1448); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribPointerARB(index, size, type, normalized, stride, pointer); } @@ -315,52 +315,52 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_glDisableVertexAttr JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglBindAttribLocationARB(JNIEnv *__env, jclass clazz, jint programObj, jint index, jlong nameAddress) { glBindAttribLocationARBPROC glBindAttribLocationARB = (glBindAttribLocationARBPROC)tlsGetFunction(1474); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindAttribLocationARB(programObj, index, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetActiveAttribARB__IIIJJJJ(JNIEnv *__env, jclass clazz, jint programObj, jint index, jint maxLength, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveAttribARBPROC glGetActiveAttribARB = (glGetActiveAttribARBPROC)tlsGetFunction(1475); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveAttribARB(programObj, index, maxLength, length, size, type, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetAttribLocationARB(JNIEnv *__env, jclass clazz, jint programObj, jlong nameAddress) { glGetAttribLocationARBPROC glGetAttribLocationARB = (glGetAttribLocationARBPROC)tlsGetFunction(1476); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetAttribLocationARB(programObj, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetVertexAttribivARB__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribivARBPROC glGetVertexAttribivARB = (glGetVertexAttribivARBPROC)tlsGetFunction(1471); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribivARB(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetVertexAttribfvARB__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribfvARBPROC glGetVertexAttribfvARB = (glGetVertexAttribfvARBPROC)tlsGetFunction(1469); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribfvARB(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetVertexAttribdvARB__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribdvARBPROC glGetVertexAttribdvARB = (glGetVertexAttribdvARBPROC)tlsGetFunction(1470); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribdvARB(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBVertexShader_nglGetVertexAttribPointervARB(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong pointerAddress) { glGetVertexAttribPointervARBPROC glGetVertexAttribPointervARB = (glGetVertexAttribPointervARBPROC)tlsGetFunction(1472); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glGetVertexAttribPointervARB(index, pname, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBWindowPos.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBWindowPos.c index 23c8a8f3a4..1653f9e868 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBWindowPos.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_ARBWindowPos.c @@ -10,18 +10,18 @@ typedef void (APIENTRY *glWindowPos2iARBPROC) (jint, jint); typedef void (APIENTRY *glWindowPos2sARBPROC) (jshort, jshort); typedef void (APIENTRY *glWindowPos2fARBPROC) (jfloat, jfloat); typedef void (APIENTRY *glWindowPos2dARBPROC) (jdouble, jdouble); -typedef void (APIENTRY *glWindowPos2ivARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2svARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2fvARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2dvARBPROC) (intptr_t); +typedef void (APIENTRY *glWindowPos2ivARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2svARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2fvARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2dvARBPROC) (uintptr_t); typedef void (APIENTRY *glWindowPos3iARBPROC) (jint, jint, jint); typedef void (APIENTRY *glWindowPos3sARBPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glWindowPos3fARBPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glWindowPos3dARBPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glWindowPos3ivARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3svARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3fvARBPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3dvARBPROC) (intptr_t); +typedef void (APIENTRY *glWindowPos3ivARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3svARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3fvARBPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3dvARBPROC) (uintptr_t); EXTERN_C_ENTER @@ -51,28 +51,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_glWindowPos2dARB(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos2ivARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2ivARBPROC glWindowPos2ivARB = (glWindowPos2ivARBPROC)tlsGetFunction(1481); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2ivARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos2svARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2svARBPROC glWindowPos2svARB = (glWindowPos2svARBPROC)tlsGetFunction(1482); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2svARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos2fvARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2fvARBPROC glWindowPos2fvARB = (glWindowPos2fvARBPROC)tlsGetFunction(1483); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2fvARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos2dvARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2dvARBPROC glWindowPos2dvARB = (glWindowPos2dvARBPROC)tlsGetFunction(1484); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2dvARB(p); } @@ -103,28 +103,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_glWindowPos3dARB(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos3ivARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3ivARBPROC glWindowPos3ivARB = (glWindowPos3ivARBPROC)tlsGetFunction(1489); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3ivARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos3svARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3svARBPROC glWindowPos3svARB = (glWindowPos3svARBPROC)tlsGetFunction(1490); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3svARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos3fvARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3fvARBPROC glWindowPos3fvARB = (glWindowPos3fvARBPROC)tlsGetFunction(1491); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3fvARB(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBWindowPos_nglWindowPos3dvARB__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3dvARBPROC glWindowPos3dvARB = (glWindowPos3dvARBPROC)tlsGetFunction(1492); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3dvARB(p); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTBindableUniform.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTBindableUniform.c index 2543793357..b799ab8a4a 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTBindableUniform.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTBindableUniform.c @@ -8,7 +8,7 @@ typedef void (APIENTRY *glUniformBufferEXTPROC) (jint, jint, jint); typedef jint (APIENTRY *glGetUniformBufferSizeEXTPROC) (jint, jint); -typedef intptr_t (APIENTRY *glGetUniformOffsetEXTPROC) (jint, jint); +typedef uintptr_t (APIENTRY *glGetUniformOffsetEXTPROC) (jint, jint); EXTERN_C_ENTER diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugLabel.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugLabel.c index c716e5bc15..fd2fd95c0c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugLabel.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugLabel.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glLabelObjectEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectLabelEXTPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glLabelObjectEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectLabelEXTPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDebugLabel_nglLabelObjectEXT(JNIEnv *__env, jclass clazz, jint type, jint object, jint length, jlong labelAddress) { glLabelObjectEXTPROC glLabelObjectEXT = (glLabelObjectEXTPROC)tlsGetFunction(1502); - intptr_t label = (intptr_t)labelAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glLabelObjectEXT(type, object, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDebugLabel_nglGetObjectLabelEXT__IIIJJ(JNIEnv *__env, jclass clazz, jint type, jint object, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectLabelEXTPROC glGetObjectLabelEXT = (glGetObjectLabelEXTPROC)tlsGetFunction(1503); - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectLabelEXT(type, object, bufSize, length, label); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugMarker.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugMarker.c index 6b158df9d0..9f97718445 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugMarker.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDebugMarker.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glInsertEventMarkerEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glPushGroupMarkerEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glInsertEventMarkerEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glPushGroupMarkerEXTPROC) (jint, uintptr_t); typedef void (APIENTRY *glPopGroupMarkerEXTPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDebugMarker_nglInsertEventMarkerEXT(JNIEnv *__env, jclass clazz, jint length, jlong markerAddress) { glInsertEventMarkerEXTPROC glInsertEventMarkerEXT = (glInsertEventMarkerEXTPROC)tlsGetFunction(1504); - intptr_t marker = (intptr_t)markerAddress; + uintptr_t marker = (uintptr_t)markerAddress; UNUSED_PARAM(clazz) glInsertEventMarkerEXT(length, marker); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDebugMarker_nglPushGroupMarkerEXT(JNIEnv *__env, jclass clazz, jint length, jlong markerAddress) { glPushGroupMarkerEXTPROC glPushGroupMarkerEXT = (glPushGroupMarkerEXTPROC)tlsGetFunction(1505); - intptr_t marker = (intptr_t)markerAddress; + uintptr_t marker = (uintptr_t)markerAddress; UNUSED_PARAM(clazz) glPushGroupMarkerEXT(length, marker); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDirectStateAccess.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDirectStateAccess.c index e52191a6a2..993687f61c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDirectStateAccess.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDirectStateAccess.c @@ -8,10 +8,10 @@ typedef void (APIENTRY *glClientAttribDefaultEXTPROC) (jint); typedef void (APIENTRY *glPushClientAttribDefaultEXTPROC) (jint); -typedef void (APIENTRY *glMatrixLoadfEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoaddEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultfEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultdEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glMatrixLoadfEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoaddEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultfEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultdEXTPROC) (jint, uintptr_t); typedef void (APIENTRY *glMatrixLoadIdentityEXTPROC) (jint); typedef void (APIENTRY *glMatrixRotatefEXTPROC) (jint, jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glMatrixRotatedEXTPROC) (jint, jdouble, jdouble, jdouble, jdouble); @@ -24,105 +24,105 @@ typedef void (APIENTRY *glMatrixFrustumEXTPROC) (jint, jdouble, jdouble, jdouble typedef void (APIENTRY *glMatrixPushEXTPROC) (jint); typedef void (APIENTRY *glMatrixPopEXTPROC) (jint); typedef void (APIENTRY *glTextureParameteriEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glTextureParameterivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTextureParameterivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glTextureParameterfEXTPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glTextureParameterfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTextureParameterfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTextureImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTextureImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTextureSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTextureSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetTextureImageEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureLevelParameterfvEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureLevelParameterivEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetTextureImageEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureLevelParameterfvEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureLevelParameterivEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTextureSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glBindMultiTextureEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glMultiTexCoordPointerEXTPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoordPointerEXTPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexEnvfEXTPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glMultiTexEnvfvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexEnvfvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexEnviEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glMultiTexEnvivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexEnvivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexGendEXTPROC) (jint, jint, jint, jdouble); -typedef void (APIENTRY *glMultiTexGendvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexGendvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexGenfEXTPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glMultiTexGenfvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexGenfvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexGeniEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glMultiTexGenivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexEnvfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexEnvivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexGendvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexGenfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexGenivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexGenivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexEnvfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexEnvivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexGendvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexGenfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexGenivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexParameteriEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glMultiTexParameterivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexParameterivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMultiTexParameterfEXTPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glMultiTexParameterfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexParameterfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyMultiTexImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyMultiTexImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyMultiTexSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyMultiTexSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetMultiTexImageEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexParameterfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexParameterivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexLevelParameterfvEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexLevelParameterivEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetMultiTexImageEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexParameterfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexParameterivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexLevelParameterfvEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexLevelParameterivEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyMultiTexSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glEnableClientStateIndexedEXTPROC) (jint, jint); typedef void (APIENTRY *glDisableClientStateIndexedEXTPROC) (jint, jint); typedef void (APIENTRY *glEnableClientStateiEXTPROC) (jint, jint); typedef void (APIENTRY *glDisableClientStateiEXTPROC) (jint, jint); -typedef void (APIENTRY *glGetFloatIndexedvEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetDoubleIndexedvEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPointerIndexedvEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetFloati_vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetDoublei_vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPointeri_vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glNamedProgramStringEXTPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetFloatIndexedvEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetDoubleIndexedvEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPointerIndexedvEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetFloati_vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetDoublei_vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPointeri_vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedProgramStringEXTPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glNamedProgramLocalParameter4dEXTPROC) (jint, jint, jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glNamedProgramLocalParameter4dvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glNamedProgramLocalParameter4dvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glNamedProgramLocalParameter4fEXTPROC) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glNamedProgramLocalParameter4fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramLocalParameterdvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramLocalParameterfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramStringEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedTextureImageEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedMultiTexSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedMultiTexImageEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMatrixLoadTransposefEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoadTransposedEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultTransposefEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultTransposedEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glNamedBufferDataEXTPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferSubDataEXTPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef intptr_t (APIENTRY *glMapNamedBufferEXTPROC) (jint, jint); +typedef void (APIENTRY *glNamedProgramLocalParameter4fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramLocalParameterdvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramLocalParameterfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramStringEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedTextureImageEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexSubImage3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexSubImage2DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedMultiTexSubImage1DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedMultiTexImageEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoadTransposefEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoadTransposedEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultTransposefEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultTransposedEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glNamedBufferDataEXTPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferSubDataEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *glMapNamedBufferEXTPROC) (jint, jint); typedef jboolean (APIENTRY *glUnmapNamedBufferEXTPROC) (jint); -typedef void (APIENTRY *glGetNamedBufferParameterivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedBufferSubDataEXTPROC) (jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glGetNamedBufferParameterivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferSubDataEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glProgramUniform1fEXTPROC) (jint, jint, jfloat); typedef void (APIENTRY *glProgramUniform2fEXTPROC) (jint, jint, jfloat, jfloat); typedef void (APIENTRY *glProgramUniform3fEXTPROC) (jint, jint, jfloat, jfloat, jfloat); @@ -131,52 +131,52 @@ typedef void (APIENTRY *glProgramUniform1iEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform2iEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform3iEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform4iEXTPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform1fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform1fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glTextureBufferEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glMultiTexBufferEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glTextureParameterIivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureParameterIuivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterIivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterIuivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexParameterIivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexParameterIuivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexParameterIivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetMultiTexParameterIuivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTextureParameterIivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureParameterIuivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterIivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterIuivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexParameterIivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexParameterIuivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexParameterIivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMultiTexParameterIuivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1uiEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform2uiEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform3uiEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform4uiEXTPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform1uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedProgramLocalParameters4fvEXTPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedProgramLocalParameters4fvEXTPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glNamedProgramLocalParameterI4iEXTPROC) (jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glNamedProgramLocalParameterI4ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedProgramLocalParametersI4ivEXTPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glNamedProgramLocalParameterI4ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedProgramLocalParametersI4ivEXTPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glNamedProgramLocalParameterI4uiEXTPROC) (jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glNamedProgramLocalParameterI4uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedProgramLocalParametersI4uivEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramLocalParameterIivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedProgramLocalParameterIuivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glNamedProgramLocalParameterI4uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedProgramLocalParametersI4uivEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramLocalParameterIivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedProgramLocalParameterIuivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glNamedRenderbufferStorageEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetNamedRenderbufferParameterivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetNamedRenderbufferParameterivEXTPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glNamedRenderbufferStorageMultisampleEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glNamedRenderbufferStorageMultisampleCoverageEXTPROC) (jint, jint, jint, jint, jint, jint); typedef jint (APIENTRY *glCheckNamedFramebufferStatusEXTPROC) (jint, jint); @@ -184,40 +184,40 @@ typedef void (APIENTRY *glNamedFramebufferTexture1DEXTPROC) (jint, jint, jint, j typedef void (APIENTRY *glNamedFramebufferTexture2DEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferTexture3DEXTPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferRenderbufferEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetNamedFramebufferAttachmentParameterivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetNamedFramebufferAttachmentParameterivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glGenerateTextureMipmapEXTPROC) (jint, jint); typedef void (APIENTRY *glGenerateMultiTexMipmapEXTPROC) (jint, jint); typedef void (APIENTRY *glFramebufferDrawBufferEXTPROC) (jint, jint); -typedef void (APIENTRY *glFramebufferDrawBuffersEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glFramebufferDrawBuffersEXTPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFramebufferReadBufferEXTPROC) (jint, jint); -typedef void (APIENTRY *glGetFramebufferParameterivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glNamedCopyBufferSubDataEXTPROC) (jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glGetFramebufferParameterivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedCopyBufferSubDataEXTPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glNamedFramebufferTextureEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferTextureLayerEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferTextureFaceEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glTextureRenderbufferEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexRenderbufferEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glVertexArrayVertexOffsetEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayColorOffsetEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayEdgeFlagOffsetEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayIndexOffsetEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayNormalOffsetEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayTexCoordOffsetEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayMultiTexCoordOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayFogCoordOffsetEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArraySecondaryColorOffsetEXTPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayVertexAttribOffsetEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, intptr_t); -typedef void (APIENTRY *glVertexArrayVertexAttribIOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glVertexArrayVertexOffsetEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayColorOffsetEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayEdgeFlagOffsetEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayIndexOffsetEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayNormalOffsetEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayTexCoordOffsetEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayMultiTexCoordOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayFogCoordOffsetEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArraySecondaryColorOffsetEXTPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayVertexAttribOffsetEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, uintptr_t); +typedef void (APIENTRY *glVertexArrayVertexAttribIOffsetEXTPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glEnableVertexArrayEXTPROC) (jint, jint); typedef void (APIENTRY *glDisableVertexArrayEXTPROC) (jint, jint); typedef void (APIENTRY *glEnableVertexArrayAttribEXTPROC) (jint, jint); typedef void (APIENTRY *glDisableVertexArrayAttribEXTPROC) (jint, jint); -typedef void (APIENTRY *glGetVertexArrayIntegervEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexArrayPointervEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexArrayIntegeri_vEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexArrayPointeri_vEXTPROC) (jint, jint, jint, intptr_t); -typedef intptr_t (APIENTRY *glMapNamedBufferRangeEXTPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glFlushMappedNamedBufferRangeEXTPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetVertexArrayIntegervEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexArrayPointervEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexArrayIntegeri_vEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexArrayPointeri_vEXTPROC) (jint, jint, jint, uintptr_t); +typedef uintptr_t (APIENTRY *glMapNamedBufferRangeEXTPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glFlushMappedNamedBufferRangeEXTPROC) (jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -235,28 +235,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glPushClientAt JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixLoadfEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoadfEXTPROC glMatrixLoadfEXT = (glMatrixLoadfEXTPROC)tlsGetFunction(1510); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoadfEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixLoaddEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoaddEXTPROC glMatrixLoaddEXT = (glMatrixLoaddEXTPROC)tlsGetFunction(1511); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoaddEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixMultfEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultfEXTPROC glMatrixMultfEXT = (glMatrixMultfEXTPROC)tlsGetFunction(1512); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultfEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixMultdEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultdEXTPROC glMatrixMultdEXT = (glMatrixMultdEXTPROC)tlsGetFunction(1513); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultdEXT(matrixMode, m); } @@ -335,7 +335,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glTextureParam JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramAddress) { glTextureParameterivEXTPROC glTextureParameterivEXT = (glTextureParameterivEXTPROC)tlsGetFunction(1526); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glTextureParameterivEXT(texture, target, pname, param); } @@ -348,35 +348,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glTextureParam JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureParameterfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramAddress) { glTextureParameterfvEXTPROC glTextureParameterfvEXT = (glTextureParameterfvEXTPROC)tlsGetFunction(1528); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glTextureParameterfvEXT(texture, target, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureImage1DEXT__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint border, jint format, jint type, jlong pixelsAddress) { glTextureImage1DEXTPROC glTextureImage1DEXT = (glTextureImage1DEXTPROC)tlsGetFunction(1529); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureImage1DEXT(texture, target, level, internalformat, width, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureImage2DEXT__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jlong pixelsAddress) { glTextureImage2DEXTPROC glTextureImage2DEXT = (glTextureImage2DEXTPROC)tlsGetFunction(1530); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureImage2DEXT(texture, target, level, internalformat, width, height, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureSubImage1DEXT__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint width, jint format, jint type, jlong pixelsAddress) { glTextureSubImage1DEXTPROC glTextureSubImage1DEXT = (glTextureSubImage1DEXTPROC)tlsGetFunction(1531); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage1DEXT(texture, target, level, xoffset, width, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureSubImage2DEXT__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glTextureSubImage2DEXTPROC glTextureSubImage2DEXT = (glTextureSubImage2DEXTPROC)tlsGetFunction(1532); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, type, pixels); } @@ -407,49 +407,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glCopyTextureS JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureImageEXT__IIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint format, jint type, jlong pixelsAddress) { glGetTextureImageEXTPROC glGetTextureImageEXT = (glGetTextureImageEXTPROC)tlsGetFunction(1537); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetTextureImageEXT(texture, target, level, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureParameterfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glGetTextureParameterfvEXTPROC glGetTextureParameterfvEXT = (glGetTextureParameterfvEXTPROC)tlsGetFunction(1538); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterfvEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glGetTextureParameterivEXTPROC glGetTextureParameterivEXT = (glGetTextureParameterivEXTPROC)tlsGetFunction(1539); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterivEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureLevelParameterfvEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint pname, jlong paramsAddress) { glGetTextureLevelParameterfvEXTPROC glGetTextureLevelParameterfvEXT = (glGetTextureLevelParameterfvEXTPROC)tlsGetFunction(1540); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureLevelParameterfvEXT(texture, target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureLevelParameterivEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint pname, jlong paramsAddress) { glGetTextureLevelParameterivEXTPROC glGetTextureLevelParameterivEXT = (glGetTextureLevelParameterivEXTPROC)tlsGetFunction(1541); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureLevelParameterivEXT(texture, target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureImage3DEXT__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glTextureImage3DEXTPROC glTextureImage3DEXT = (glTextureImage3DEXTPROC)tlsGetFunction(1542); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureSubImage3DEXT__IIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTextureSubImage3DEXTPROC glTextureSubImage3DEXT = (glTextureSubImage3DEXTPROC)tlsGetFunction(1543); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -468,7 +468,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glBindMultiTex JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexCoordPointerEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint size, jint type, jint stride, jlong pointerAddress) { glMultiTexCoordPointerEXTPROC glMultiTexCoordPointerEXT = (glMultiTexCoordPointerEXTPROC)tlsGetFunction(1546); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glMultiTexCoordPointerEXT(texunit, size, type, stride, pointer); } @@ -481,7 +481,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexEnvf JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexEnvfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glMultiTexEnvfvEXTPROC glMultiTexEnvfvEXT = (glMultiTexEnvfvEXTPROC)tlsGetFunction(1548); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexEnvfvEXT(texunit, target, pname, params); } @@ -494,7 +494,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexEnvi JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexEnvivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glMultiTexEnvivEXTPROC glMultiTexEnvivEXT = (glMultiTexEnvivEXTPROC)tlsGetFunction(1550); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexEnvivEXT(texunit, target, pname, params); } @@ -507,7 +507,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexGend JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexGendvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glMultiTexGendvEXTPROC glMultiTexGendvEXT = (glMultiTexGendvEXTPROC)tlsGetFunction(1552); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexGendvEXT(texunit, coord, pname, params); } @@ -520,7 +520,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexGenf JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexGenfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glMultiTexGenfvEXTPROC glMultiTexGenfvEXT = (glMultiTexGenfvEXTPROC)tlsGetFunction(1554); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexGenfvEXT(texunit, coord, pname, params); } @@ -533,42 +533,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexGeni JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexGenivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glMultiTexGenivEXTPROC glMultiTexGenivEXT = (glMultiTexGenivEXTPROC)tlsGetFunction(1556); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexGenivEXT(texunit, coord, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexEnvfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexEnvfvEXTPROC glGetMultiTexEnvfvEXT = (glGetMultiTexEnvfvEXTPROC)tlsGetFunction(1557); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexEnvfvEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexEnvivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexEnvivEXTPROC glGetMultiTexEnvivEXT = (glGetMultiTexEnvivEXTPROC)tlsGetFunction(1558); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexEnvivEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexGendvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glGetMultiTexGendvEXTPROC glGetMultiTexGendvEXT = (glGetMultiTexGendvEXTPROC)tlsGetFunction(1559); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexGendvEXT(texunit, coord, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexGenfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glGetMultiTexGenfvEXTPROC glGetMultiTexGenfvEXT = (glGetMultiTexGenfvEXTPROC)tlsGetFunction(1560); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexGenfvEXT(texunit, coord, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexGenivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint coord, jint pname, jlong paramsAddress) { glGetMultiTexGenivEXTPROC glGetMultiTexGenivEXT = (glGetMultiTexGenivEXTPROC)tlsGetFunction(1561); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexGenivEXT(texunit, coord, pname, params); } @@ -581,7 +581,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexPara JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramAddress) { glMultiTexParameterivEXTPROC glMultiTexParameterivEXT = (glMultiTexParameterivEXTPROC)tlsGetFunction(1563); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glMultiTexParameterivEXT(texunit, target, pname, param); } @@ -594,35 +594,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexPara JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexParameterfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramAddress) { glMultiTexParameterfvEXTPROC glMultiTexParameterfvEXT = (glMultiTexParameterfvEXTPROC)tlsGetFunction(1565); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glMultiTexParameterfvEXT(texunit, target, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexImage1DEXT__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint border, jint format, jint type, jlong pixelsAddress) { glMultiTexImage1DEXTPROC glMultiTexImage1DEXT = (glMultiTexImage1DEXTPROC)tlsGetFunction(1566); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexImage1DEXT(texunit, target, level, internalformat, width, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexImage2DEXT__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jlong pixelsAddress) { glMultiTexImage2DEXTPROC glMultiTexImage2DEXT = (glMultiTexImage2DEXTPROC)tlsGetFunction(1567); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexSubImage1DEXT__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint width, jint format, jint type, jlong pixelsAddress) { glMultiTexSubImage1DEXTPROC glMultiTexSubImage1DEXT = (glMultiTexSubImage1DEXTPROC)tlsGetFunction(1568); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexSubImage2DEXT__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glMultiTexSubImage2DEXTPROC glMultiTexSubImage2DEXT = (glMultiTexSubImage2DEXTPROC)tlsGetFunction(1569); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, type, pixels); } @@ -653,49 +653,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glCopyMultiTex JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexImageEXT__IIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint format, jint type, jlong pixelsAddress) { glGetMultiTexImageEXTPROC glGetMultiTexImageEXT = (glGetMultiTexImageEXTPROC)tlsGetFunction(1574); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetMultiTexImageEXT(texunit, target, level, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexParameterfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexParameterfvEXTPROC glGetMultiTexParameterfvEXT = (glGetMultiTexParameterfvEXTPROC)tlsGetFunction(1575); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexParameterfvEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexParameterivEXTPROC glGetMultiTexParameterivEXT = (glGetMultiTexParameterivEXTPROC)tlsGetFunction(1576); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexParameterivEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexLevelParameterfvEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint pname, jlong paramsAddress) { glGetMultiTexLevelParameterfvEXTPROC glGetMultiTexLevelParameterfvEXT = (glGetMultiTexLevelParameterfvEXTPROC)tlsGetFunction(1577); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexLevelParameterfvEXT(texunit, target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexLevelParameterivEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint pname, jlong paramsAddress) { glGetMultiTexLevelParameterivEXTPROC glGetMultiTexLevelParameterivEXT = (glGetMultiTexLevelParameterivEXTPROC)tlsGetFunction(1578); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexLevelParameterivEXT(texunit, target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexImage3DEXT__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glMultiTexImage3DEXTPROC glMultiTexImage3DEXT = (glMultiTexImage3DEXTPROC)tlsGetFunction(1579); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexSubImage3DEXT__IIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glMultiTexSubImage3DEXTPROC glMultiTexSubImage3DEXT = (glMultiTexSubImage3DEXTPROC)tlsGetFunction(1580); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -732,49 +732,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glDisableClien JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetFloatIndexedvEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetFloatIndexedvEXTPROC glGetFloatIndexedvEXT = (glGetFloatIndexedvEXTPROC)tlsGetFunction(1586); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFloatIndexedvEXT(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetDoubleIndexedvEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetDoubleIndexedvEXTPROC glGetDoubleIndexedvEXT = (glGetDoubleIndexedvEXTPROC)tlsGetFunction(1587); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetDoubleIndexedvEXT(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetPointerIndexedvEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jlong paramsAddress) { glGetPointerIndexedvEXTPROC glGetPointerIndexedvEXT = (glGetPointerIndexedvEXTPROC)tlsGetFunction(1588); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetPointerIndexedvEXT(target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetFloati_1vEXT__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong paramsAddress) { glGetFloati_vEXTPROC glGetFloati_vEXT = (glGetFloati_vEXTPROC)tlsGetFunction(1589); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFloati_vEXT(pname, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetDoublei_1vEXT__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong paramsAddress) { glGetDoublei_vEXTPROC glGetDoublei_vEXT = (glGetDoublei_vEXTPROC)tlsGetFunction(1590); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetDoublei_vEXT(pname, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetPointeri_1vEXT(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong paramsAddress) { glGetPointeri_vEXTPROC glGetPointeri_vEXT = (glGetPointeri_vEXTPROC)tlsGetFunction(1591); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetPointeri_vEXT(pname, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramStringEXT(JNIEnv *__env, jclass clazz, jint program, jint target, jint format, jint len, jlong stringAddress) { glNamedProgramStringEXTPROC glNamedProgramStringEXT = (glNamedProgramStringEXTPROC)tlsGetFunction(1597); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glNamedProgramStringEXT(program, target, format, len, string); } @@ -787,7 +787,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedProgram JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParameter4dvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glNamedProgramLocalParameter4dvEXTPROC glNamedProgramLocalParameter4dvEXT = (glNamedProgramLocalParameter4dvEXTPROC)tlsGetFunction(1599); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParameter4dvEXT(program, target, index, params); } @@ -800,177 +800,177 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedProgram JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParameter4fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glNamedProgramLocalParameter4fvEXTPROC glNamedProgramLocalParameter4fvEXT = (glNamedProgramLocalParameter4fvEXTPROC)tlsGetFunction(1601); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParameter4fvEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramLocalParameterdvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glGetNamedProgramLocalParameterdvEXTPROC glGetNamedProgramLocalParameterdvEXT = (glGetNamedProgramLocalParameterdvEXTPROC)tlsGetFunction(1602); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedProgramLocalParameterdvEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramLocalParameterfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glGetNamedProgramLocalParameterfvEXTPROC glGetNamedProgramLocalParameterfvEXT = (glGetNamedProgramLocalParameterfvEXTPROC)tlsGetFunction(1603); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedProgramLocalParameterfvEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint pname, jlong paramsAddress) { glGetNamedProgramivEXTPROC glGetNamedProgramivEXT = (glGetNamedProgramivEXTPROC)tlsGetFunction(1604); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedProgramivEXT(program, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramStringEXT(JNIEnv *__env, jclass clazz, jint program, jint target, jint pname, jlong stringAddress) { glGetNamedProgramStringEXTPROC glGetNamedProgramStringEXT = (glGetNamedProgramStringEXTPROC)tlsGetFunction(1605); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glGetNamedProgramStringEXT(program, target, pname, string); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureImage3DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTextureImage3DEXTPROC glCompressedTextureImage3DEXT = (glCompressedTextureImage3DEXTPROC)tlsGetFunction(1606); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureImage3DEXT(texture, target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureImage2DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jlong dataAddress) { glCompressedTextureImage2DEXTPROC glCompressedTextureImage2DEXT = (glCompressedTextureImage2DEXTPROC)tlsGetFunction(1607); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureImage2DEXT(texture, target, level, internalformat, width, height, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureImage1DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint internalformat, jint width, jint border, jint imageSize, jlong dataAddress) { glCompressedTextureImage1DEXTPROC glCompressedTextureImage1DEXT = (glCompressedTextureImage1DEXTPROC)tlsGetFunction(1608); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureImage1DEXT(texture, target, level, internalformat, width, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureSubImage3DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage3DEXTPROC glCompressedTextureSubImage3DEXT = (glCompressedTextureSubImage3DEXTPROC)tlsGetFunction(1609); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage3DEXT(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureSubImage2DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage2DEXTPROC glCompressedTextureSubImage2DEXT = (glCompressedTextureSubImage2DEXTPROC)tlsGetFunction(1610); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage2DEXT(texture, target, level, xoffset, yoffset, width, height, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedTextureSubImage1DEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jint xoffset, jint width, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage1DEXTPROC glCompressedTextureSubImage1DEXT = (glCompressedTextureSubImage1DEXTPROC)tlsGetFunction(1611); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage1DEXT(texture, target, level, xoffset, width, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetCompressedTextureImageEXT(JNIEnv *__env, jclass clazz, jint texture, jint target, jint level, jlong imgAddress) { glGetCompressedTextureImageEXTPROC glGetCompressedTextureImageEXT = (glGetCompressedTextureImageEXTPROC)tlsGetFunction(1612); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetCompressedTextureImageEXT(texture, target, level, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexImage3DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedMultiTexImage3DEXTPROC glCompressedMultiTexImage3DEXT = (glCompressedMultiTexImage3DEXTPROC)tlsGetFunction(1613); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexImage3DEXT(texunit, target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexImage2DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jlong dataAddress) { glCompressedMultiTexImage2DEXTPROC glCompressedMultiTexImage2DEXT = (glCompressedMultiTexImage2DEXTPROC)tlsGetFunction(1614); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexImage2DEXT(texunit, target, level, internalformat, width, height, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexImage1DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint internalformat, jint width, jint border, jint imageSize, jlong dataAddress) { glCompressedMultiTexImage1DEXTPROC glCompressedMultiTexImage1DEXT = (glCompressedMultiTexImage1DEXTPROC)tlsGetFunction(1615); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexImage1DEXT(texunit, target, level, internalformat, width, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexSubImage3DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedMultiTexSubImage3DEXTPROC glCompressedMultiTexSubImage3DEXT = (glCompressedMultiTexSubImage3DEXTPROC)tlsGetFunction(1616); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexSubImage3DEXT(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexSubImage2DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedMultiTexSubImage2DEXTPROC glCompressedMultiTexSubImage2DEXT = (glCompressedMultiTexSubImage2DEXTPROC)tlsGetFunction(1617); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexSubImage2DEXT(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglCompressedMultiTexSubImage1DEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jint xoffset, jint width, jint format, jint imageSize, jlong dataAddress) { glCompressedMultiTexSubImage1DEXTPROC glCompressedMultiTexSubImage1DEXT = (glCompressedMultiTexSubImage1DEXTPROC)tlsGetFunction(1618); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedMultiTexSubImage1DEXT(texunit, target, level, xoffset, width, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetCompressedMultiTexImageEXT(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint level, jlong imgAddress) { glGetCompressedMultiTexImageEXTPROC glGetCompressedMultiTexImageEXT = (glGetCompressedMultiTexImageEXTPROC)tlsGetFunction(1619); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetCompressedMultiTexImageEXT(texunit, target, level, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixLoadTransposefEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoadTransposefEXTPROC glMatrixLoadTransposefEXT = (glMatrixLoadTransposefEXTPROC)tlsGetFunction(1620); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoadTransposefEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixLoadTransposedEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoadTransposedEXTPROC glMatrixLoadTransposedEXT = (glMatrixLoadTransposedEXTPROC)tlsGetFunction(1621); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoadTransposedEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixMultTransposefEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultTransposefEXTPROC glMatrixMultTransposefEXT = (glMatrixMultTransposefEXTPROC)tlsGetFunction(1622); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultTransposefEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMatrixMultTransposedEXT__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultTransposedEXTPROC glMatrixMultTransposedEXT = (glMatrixMultTransposedEXTPROC)tlsGetFunction(1623); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultTransposedEXT(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedBufferDataEXT__IJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jlong dataAddress, jint usage) { glNamedBufferDataEXTPROC glNamedBufferDataEXT = (glNamedBufferDataEXTPROC)tlsGetFunction(1624); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferDataEXT(buffer, (intptr_t)size, data, usage); + glNamedBufferDataEXT(buffer, (uintptr_t)size, data, usage); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedBufferSubDataEXT__IJJJ(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong dataAddress) { glNamedBufferSubDataEXTPROC glNamedBufferSubDataEXT = (glNamedBufferSubDataEXTPROC)tlsGetFunction(1625); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferSubDataEXT(buffer, (intptr_t)offset, (intptr_t)size, data); + glNamedBufferSubDataEXT(buffer, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMapNamedBufferEXT(JNIEnv *__env, jclass clazz, jint buffer, jint access) { @@ -987,16 +987,16 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glUnmapNam JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedBufferParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint pname, jlong paramsAddress) { glGetNamedBufferParameterivEXTPROC glGetNamedBufferParameterivEXT = (glGetNamedBufferParameterivEXTPROC)tlsGetFunction(1628); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedBufferParameterivEXT(buffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedBufferSubDataEXT__IJJJ(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong dataAddress) { glGetNamedBufferSubDataEXTPROC glGetNamedBufferSubDataEXT = (glGetNamedBufferSubDataEXTPROC)tlsGetFunction(1629); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glGetNamedBufferSubDataEXT(buffer, (intptr_t)offset, (intptr_t)size, data); + glGetNamedBufferSubDataEXT(buffer, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glProgramUniform1fEXT(JNIEnv *__env, jclass clazz, jint program, jint location, jfloat v0) { @@ -1049,119 +1049,119 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glProgramUnifo JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform1fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1fvEXTPROC glProgramUniform1fvEXT = (glProgramUniform1fvEXTPROC)tlsGetFunction(1638); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1fvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform2fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2fvEXTPROC glProgramUniform2fvEXT = (glProgramUniform2fvEXTPROC)tlsGetFunction(1639); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2fvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform3fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3fvEXTPROC glProgramUniform3fvEXT = (glProgramUniform3fvEXTPROC)tlsGetFunction(1640); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3fvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform4fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4fvEXTPROC glProgramUniform4fvEXT = (glProgramUniform4fvEXTPROC)tlsGetFunction(1641); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4fvEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform1ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ivEXTPROC glProgramUniform1ivEXT = (glProgramUniform1ivEXTPROC)tlsGetFunction(1642); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1ivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform2ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ivEXTPROC glProgramUniform2ivEXT = (glProgramUniform2ivEXTPROC)tlsGetFunction(1643); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2ivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform3ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ivEXTPROC glProgramUniform3ivEXT = (glProgramUniform3ivEXTPROC)tlsGetFunction(1644); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3ivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform4ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ivEXTPROC glProgramUniform4ivEXT = (glProgramUniform4ivEXTPROC)tlsGetFunction(1645); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4ivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2fvEXTPROC glProgramUniformMatrix2fvEXT = (glProgramUniformMatrix2fvEXTPROC)tlsGetFunction(1646); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3fvEXTPROC glProgramUniformMatrix3fvEXT = (glProgramUniformMatrix3fvEXTPROC)tlsGetFunction(1647); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4fvEXTPROC glProgramUniformMatrix4fvEXT = (glProgramUniformMatrix4fvEXTPROC)tlsGetFunction(1648); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix2x3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3fvEXTPROC glProgramUniformMatrix2x3fvEXT = (glProgramUniformMatrix2x3fvEXTPROC)tlsGetFunction(1649); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix3x2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2fvEXTPROC glProgramUniformMatrix3x2fvEXT = (glProgramUniformMatrix3x2fvEXTPROC)tlsGetFunction(1650); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix2x4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4fvEXTPROC glProgramUniformMatrix2x4fvEXT = (glProgramUniformMatrix2x4fvEXTPROC)tlsGetFunction(1651); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix4x2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2fvEXTPROC glProgramUniformMatrix4x2fvEXT = (glProgramUniformMatrix4x2fvEXTPROC)tlsGetFunction(1652); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix3x4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4fvEXTPROC glProgramUniformMatrix3x4fvEXT = (glProgramUniformMatrix3x4fvEXTPROC)tlsGetFunction(1653); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniformMatrix4x3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3fvEXTPROC glProgramUniformMatrix4x3fvEXT = (glProgramUniformMatrix4x3fvEXTPROC)tlsGetFunction(1654); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3fvEXT(program, location, count, transpose, value); } @@ -1180,56 +1180,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexBuff JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureParameterIivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glTextureParameterIivEXTPROC glTextureParameterIivEXT = (glTextureParameterIivEXTPROC)tlsGetFunction(1657); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameterIivEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglTextureParameterIuivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glTextureParameterIuivEXTPROC glTextureParameterIuivEXT = (glTextureParameterIuivEXTPROC)tlsGetFunction(1658); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameterIuivEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureParameterIivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glGetTextureParameterIivEXTPROC glGetTextureParameterIivEXT = (glGetTextureParameterIivEXTPROC)tlsGetFunction(1659); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterIivEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetTextureParameterIuivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint target, jint pname, jlong paramsAddress) { glGetTextureParameterIuivEXTPROC glGetTextureParameterIuivEXT = (glGetTextureParameterIuivEXTPROC)tlsGetFunction(1660); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterIuivEXT(texture, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexParameterIivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glMultiTexParameterIivEXTPROC glMultiTexParameterIivEXT = (glMultiTexParameterIivEXTPROC)tlsGetFunction(1661); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexParameterIivEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMultiTexParameterIuivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glMultiTexParameterIuivEXTPROC glMultiTexParameterIuivEXT = (glMultiTexParameterIuivEXTPROC)tlsGetFunction(1662); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMultiTexParameterIuivEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexParameterIivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexParameterIivEXTPROC glGetMultiTexParameterIivEXT = (glGetMultiTexParameterIivEXTPROC)tlsGetFunction(1663); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexParameterIivEXT(texunit, target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetMultiTexParameterIuivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint texunit, jint target, jint pname, jlong paramsAddress) { glGetMultiTexParameterIuivEXTPROC glGetMultiTexParameterIuivEXT = (glGetMultiTexParameterIuivEXTPROC)tlsGetFunction(1664); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMultiTexParameterIuivEXT(texunit, target, pname, params); } @@ -1260,35 +1260,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glProgramUnifo JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform1uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1uivEXTPROC glProgramUniform1uivEXT = (glProgramUniform1uivEXTPROC)tlsGetFunction(1669); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform2uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2uivEXTPROC glProgramUniform2uivEXT = (glProgramUniform2uivEXTPROC)tlsGetFunction(1670); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform3uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3uivEXTPROC glProgramUniform3uivEXT = (glProgramUniform3uivEXTPROC)tlsGetFunction(1671); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglProgramUniform4uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4uivEXTPROC glProgramUniform4uivEXT = (glProgramUniform4uivEXTPROC)tlsGetFunction(1672); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParameters4fvEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jint count, jlong paramsAddress) { glNamedProgramLocalParameters4fvEXTPROC glNamedProgramLocalParameters4fvEXT = (glNamedProgramLocalParameters4fvEXTPROC)tlsGetFunction(1673); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParameters4fvEXT(program, target, index, count, params); } @@ -1301,14 +1301,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedProgram JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParameterI4ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glNamedProgramLocalParameterI4ivEXTPROC glNamedProgramLocalParameterI4ivEXT = (glNamedProgramLocalParameterI4ivEXTPROC)tlsGetFunction(1675); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParameterI4ivEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParametersI4ivEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jint count, jlong paramsAddress) { glNamedProgramLocalParametersI4ivEXTPROC glNamedProgramLocalParametersI4ivEXT = (glNamedProgramLocalParametersI4ivEXTPROC)tlsGetFunction(1676); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParametersI4ivEXT(program, target, index, count, params); } @@ -1321,28 +1321,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedProgram JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParameterI4uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glNamedProgramLocalParameterI4uivEXTPROC glNamedProgramLocalParameterI4uivEXT = (glNamedProgramLocalParameterI4uivEXTPROC)tlsGetFunction(1678); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParameterI4uivEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglNamedProgramLocalParametersI4uivEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jint count, jlong paramsAddress) { glNamedProgramLocalParametersI4uivEXTPROC glNamedProgramLocalParametersI4uivEXT = (glNamedProgramLocalParametersI4uivEXTPROC)tlsGetFunction(1679); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glNamedProgramLocalParametersI4uivEXT(program, target, index, count, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramLocalParameterIivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glGetNamedProgramLocalParameterIivEXTPROC glGetNamedProgramLocalParameterIivEXT = (glGetNamedProgramLocalParameterIivEXTPROC)tlsGetFunction(1680); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedProgramLocalParameterIivEXT(program, target, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedProgramLocalParameterIuivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint target, jint index, jlong paramsAddress) { glGetNamedProgramLocalParameterIuivEXTPROC glGetNamedProgramLocalParameterIuivEXT = (glGetNamedProgramLocalParameterIuivEXTPROC)tlsGetFunction(1681); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedProgramLocalParameterIuivEXT(program, target, index, params); } @@ -1355,7 +1355,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedRenderb JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedRenderbufferParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint renderbuffer, jint pname, jlong paramsAddress) { glGetNamedRenderbufferParameterivEXTPROC glGetNamedRenderbufferParameterivEXT = (glGetNamedRenderbufferParameterivEXTPROC)tlsGetFunction(1683); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedRenderbufferParameterivEXT(renderbuffer, pname, params); } @@ -1404,7 +1404,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedFramebu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetNamedFramebufferAttachmentParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint attachment, jint pname, jlong paramsAddress) { glGetNamedFramebufferAttachmentParameterivEXTPROC glGetNamedFramebufferAttachmentParameterivEXT = (glGetNamedFramebufferAttachmentParameterivEXTPROC)tlsGetFunction(1691); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedFramebufferAttachmentParameterivEXT(framebuffer, attachment, pname, params); } @@ -1429,7 +1429,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glFramebufferD JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglFramebufferDrawBuffersEXT__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint n, jlong bufsAddress) { glFramebufferDrawBuffersEXTPROC glFramebufferDrawBuffersEXT = (glFramebufferDrawBuffersEXTPROC)tlsGetFunction(1695); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glFramebufferDrawBuffersEXT(framebuffer, n, bufs); } @@ -1442,7 +1442,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glFramebufferR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetFramebufferParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint pname, jlong paramAddress) { glGetFramebufferParameterivEXTPROC glGetFramebufferParameterivEXT = (glGetFramebufferParameterivEXTPROC)tlsGetFunction(1697); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetFramebufferParameterivEXT(framebuffer, pname, param); } @@ -1450,7 +1450,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetFramebuf JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedCopyBufferSubDataEXT(JNIEnv *__env, jclass clazz, jint readBuffer, jint writeBuffer, jlong readOffset, jlong writeOffset, jlong size) { glNamedCopyBufferSubDataEXTPROC glNamedCopyBufferSubDataEXT = (glNamedCopyBufferSubDataEXTPROC)tlsGetFunction(1698); UNUSED_PARAM(clazz) - glNamedCopyBufferSubDataEXT(readBuffer, writeBuffer, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glNamedCopyBufferSubDataEXT(readBuffer, writeBuffer, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glNamedFramebufferTextureEXT(JNIEnv *__env, jclass clazz, jint framebuffer, jint attachment, jint texture, jint level) { @@ -1486,67 +1486,67 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glMultiTexRend JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayVertexOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint size, jint type, jint stride, jlong offset) { glVertexArrayVertexOffsetEXTPROC glVertexArrayVertexOffsetEXT = (glVertexArrayVertexOffsetEXTPROC)tlsGetFunction(1704); UNUSED_PARAM(clazz) - glVertexArrayVertexOffsetEXT(vaobj, buffer, size, type, stride, (intptr_t)offset); + glVertexArrayVertexOffsetEXT(vaobj, buffer, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayColorOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint size, jint type, jint stride, jlong offset) { glVertexArrayColorOffsetEXTPROC glVertexArrayColorOffsetEXT = (glVertexArrayColorOffsetEXTPROC)tlsGetFunction(1705); UNUSED_PARAM(clazz) - glVertexArrayColorOffsetEXT(vaobj, buffer, size, type, stride, (intptr_t)offset); + glVertexArrayColorOffsetEXT(vaobj, buffer, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayEdgeFlagOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint stride, jlong offset) { glVertexArrayEdgeFlagOffsetEXTPROC glVertexArrayEdgeFlagOffsetEXT = (glVertexArrayEdgeFlagOffsetEXTPROC)tlsGetFunction(1706); UNUSED_PARAM(clazz) - glVertexArrayEdgeFlagOffsetEXT(vaobj, buffer, stride, (intptr_t)offset); + glVertexArrayEdgeFlagOffsetEXT(vaobj, buffer, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayIndexOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint type, jint stride, jlong offset) { glVertexArrayIndexOffsetEXTPROC glVertexArrayIndexOffsetEXT = (glVertexArrayIndexOffsetEXTPROC)tlsGetFunction(1707); UNUSED_PARAM(clazz) - glVertexArrayIndexOffsetEXT(vaobj, buffer, type, stride, (intptr_t)offset); + glVertexArrayIndexOffsetEXT(vaobj, buffer, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayNormalOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint type, jint stride, jlong offset) { glVertexArrayNormalOffsetEXTPROC glVertexArrayNormalOffsetEXT = (glVertexArrayNormalOffsetEXTPROC)tlsGetFunction(1708); UNUSED_PARAM(clazz) - glVertexArrayNormalOffsetEXT(vaobj, buffer, type, stride, (intptr_t)offset); + glVertexArrayNormalOffsetEXT(vaobj, buffer, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayTexCoordOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint size, jint type, jint stride, jlong offset) { glVertexArrayTexCoordOffsetEXTPROC glVertexArrayTexCoordOffsetEXT = (glVertexArrayTexCoordOffsetEXTPROC)tlsGetFunction(1709); UNUSED_PARAM(clazz) - glVertexArrayTexCoordOffsetEXT(vaobj, buffer, size, type, stride, (intptr_t)offset); + glVertexArrayTexCoordOffsetEXT(vaobj, buffer, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayMultiTexCoordOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint texunit, jint size, jint type, jint stride, jlong offset) { glVertexArrayMultiTexCoordOffsetEXTPROC glVertexArrayMultiTexCoordOffsetEXT = (glVertexArrayMultiTexCoordOffsetEXTPROC)tlsGetFunction(1710); UNUSED_PARAM(clazz) - glVertexArrayMultiTexCoordOffsetEXT(vaobj, buffer, texunit, size, type, stride, (intptr_t)offset); + glVertexArrayMultiTexCoordOffsetEXT(vaobj, buffer, texunit, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayFogCoordOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint type, jint stride, jlong offset) { glVertexArrayFogCoordOffsetEXTPROC glVertexArrayFogCoordOffsetEXT = (glVertexArrayFogCoordOffsetEXTPROC)tlsGetFunction(1711); UNUSED_PARAM(clazz) - glVertexArrayFogCoordOffsetEXT(vaobj, buffer, type, stride, (intptr_t)offset); + glVertexArrayFogCoordOffsetEXT(vaobj, buffer, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArraySecondaryColorOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint size, jint type, jint stride, jlong offset) { glVertexArraySecondaryColorOffsetEXTPROC glVertexArraySecondaryColorOffsetEXT = (glVertexArraySecondaryColorOffsetEXTPROC)tlsGetFunction(1712); UNUSED_PARAM(clazz) - glVertexArraySecondaryColorOffsetEXT(vaobj, buffer, size, type, stride, (intptr_t)offset); + glVertexArraySecondaryColorOffsetEXT(vaobj, buffer, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayVertexAttribOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint index, jint size, jint type, jboolean normalized, jint stride, jlong offset) { glVertexArrayVertexAttribOffsetEXTPROC glVertexArrayVertexAttribOffsetEXT = (glVertexArrayVertexAttribOffsetEXTPROC)tlsGetFunction(1713); UNUSED_PARAM(clazz) - glVertexArrayVertexAttribOffsetEXT(vaobj, buffer, index, size, type, normalized, stride, (intptr_t)offset); + glVertexArrayVertexAttribOffsetEXT(vaobj, buffer, index, size, type, normalized, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glVertexArrayVertexAttribIOffsetEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint buffer, jint index, jint size, jint type, jint stride, jlong offset) { glVertexArrayVertexAttribIOffsetEXTPROC glVertexArrayVertexAttribIOffsetEXT = (glVertexArrayVertexAttribIOffsetEXTPROC)tlsGetFunction(1714); UNUSED_PARAM(clazz) - glVertexArrayVertexAttribIOffsetEXT(vaobj, buffer, index, size, type, stride, (intptr_t)offset); + glVertexArrayVertexAttribIOffsetEXT(vaobj, buffer, index, size, type, stride, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glEnableVertexArrayEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint array) { @@ -1575,28 +1575,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glDisableVerte JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetVertexArrayIntegervEXT__IIJ(JNIEnv *__env, jclass clazz, jint vaobj, jint pname, jlong paramAddress) { glGetVertexArrayIntegervEXTPROC glGetVertexArrayIntegervEXT = (glGetVertexArrayIntegervEXTPROC)tlsGetFunction(1719); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayIntegervEXT(vaobj, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetVertexArrayPointervEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint pname, jlong paramAddress) { glGetVertexArrayPointervEXTPROC glGetVertexArrayPointervEXT = (glGetVertexArrayPointervEXTPROC)tlsGetFunction(1720); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayPointervEXT(vaobj, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetVertexArrayIntegeri_1vEXT__IIIJ(JNIEnv *__env, jclass clazz, jint vaobj, jint index, jint pname, jlong paramAddress) { glGetVertexArrayIntegeri_vEXTPROC glGetVertexArrayIntegeri_vEXT = (glGetVertexArrayIntegeri_vEXTPROC)tlsGetFunction(1721); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayIntegeri_vEXT(vaobj, index, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetVertexArrayPointeri_1vEXT(JNIEnv *__env, jclass clazz, jint vaobj, jint index, jint pname, jlong paramAddress) { glGetVertexArrayPointeri_vEXTPROC glGetVertexArrayPointeri_vEXT = (glGetVertexArrayPointeri_vEXTPROC)tlsGetFunction(1722); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayPointeri_vEXT(vaobj, index, pname, param); } @@ -1604,13 +1604,13 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglGetVertexAr JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_nglMapNamedBufferRangeEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong length, jint access) { glMapNamedBufferRangeEXTPROC glMapNamedBufferRangeEXT = (glMapNamedBufferRangeEXTPROC)tlsGetFunction(1723); UNUSED_PARAM(clazz) - return (jlong)glMapNamedBufferRangeEXT(buffer, (intptr_t)offset, (intptr_t)length, access); + return (jlong)glMapNamedBufferRangeEXT(buffer, (uintptr_t)offset, (uintptr_t)length, access); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDirectStateAccess_glFlushMappedNamedBufferRangeEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong length) { glFlushMappedNamedBufferRangeEXTPROC glFlushMappedNamedBufferRangeEXT = (glFlushMappedNamedBufferRangeEXTPROC)tlsGetFunction(1724); UNUSED_PARAM(clazz) - glFlushMappedNamedBufferRangeEXT(buffer, (intptr_t)offset, (intptr_t)length); + glFlushMappedNamedBufferRangeEXT(buffer, (uintptr_t)offset, (uintptr_t)length); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawBuffers2.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawBuffers2.c index 47758031dd..b7c515e12b 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawBuffers2.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawBuffers2.c @@ -7,8 +7,8 @@ #include "opengl.h" typedef void (APIENTRY *glColorMaskIndexedEXTPROC) (jint, jboolean, jboolean, jboolean, jboolean); -typedef void (APIENTRY *glGetBooleanIndexedvEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetIntegerIndexedvEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetBooleanIndexedvEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetIntegerIndexedvEXTPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glEnableIndexedEXTPROC) (jint, jint); typedef void (APIENTRY *glDisableIndexedEXTPROC) (jint, jint); typedef jboolean (APIENTRY *glIsEnabledIndexedEXTPROC) (jint, jint); @@ -23,14 +23,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDrawBuffers2_glColorMaskIndexedE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDrawBuffers2_nglGetBooleanIndexedvEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetBooleanIndexedvEXTPROC glGetBooleanIndexedvEXT = (glGetBooleanIndexedvEXTPROC)tlsGetFunction(1596); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetBooleanIndexedvEXT(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDrawBuffers2_nglGetIntegerIndexedvEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetIntegerIndexedvEXTPROC glGetIntegerIndexedvEXT = (glGetIntegerIndexedvEXTPROC)tlsGetFunction(1595); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetIntegerIndexedvEXT(target, index, data); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawInstanced.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawInstanced.c index 2e5bf088aa..eb0f46f856 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawInstanced.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTDrawInstanced.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glDrawArraysInstancedEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedEXTPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedEXTPROC) (jint, jint, jint, uintptr_t, jint); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDrawInstanced_glDrawArraysInstan JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTDrawInstanced_nglDrawElementsInstancedEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedEXTPROC glDrawElementsInstancedEXT = (glDrawElementsInstancedEXTPROC)tlsGetFunction(1727); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedEXT(mode, count, type, indices, primcount); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTEGLImageStorage.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTEGLImageStorage.c index d003b6fdf6..bab77e57c5 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTEGLImageStorage.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTEGLImageStorage.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glEGLImageTargetTexStorageEXTPROC) (jint, intptr_t, intptr_t); -typedef void (APIENTRY *glEGLImageTargetTextureStorageEXTPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glEGLImageTargetTexStorageEXTPROC) (jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glEGLImageTargetTextureStorageEXTPROC) (jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTEGLImageStorage_nglEGLImageTargetTexStorageEXT__IJJ(JNIEnv *__env, jclass clazz, jint target, jlong imageAddress, jlong attrib_listAddress) { glEGLImageTargetTexStorageEXTPROC glEGLImageTargetTexStorageEXT = (glEGLImageTargetTexStorageEXTPROC)tlsGetFunction(1728); - intptr_t image = (intptr_t)imageAddress; - intptr_t attrib_list = (intptr_t)attrib_listAddress; + uintptr_t image = (uintptr_t)imageAddress; + uintptr_t attrib_list = (uintptr_t)attrib_listAddress; UNUSED_PARAM(clazz) glEGLImageTargetTexStorageEXT(target, image, attrib_list); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTEGLImageStorage_nglEGLImageTargetTextureStorageEXT__IJJ(JNIEnv *__env, jclass clazz, jint texture, jlong imageAddress, jlong attrib_listAddress) { glEGLImageTargetTextureStorageEXTPROC glEGLImageTargetTextureStorageEXT = (glEGLImageTargetTextureStorageEXTPROC)tlsGetFunction(1729); - intptr_t image = (intptr_t)imageAddress; - intptr_t attrib_list = (intptr_t)attrib_listAddress; + uintptr_t image = (uintptr_t)imageAddress; + uintptr_t attrib_list = (uintptr_t)attrib_listAddress; UNUSED_PARAM(clazz) glEGLImageTargetTextureStorageEXT(texture, image, attrib_list); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTExternalBuffer.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTExternalBuffer.c index 43ee23c3d4..e936c4bf09 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTExternalBuffer.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTExternalBuffer.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBufferStorageExternalEXTPROC) (jint, intptr_t, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferStorageExternalEXTPROC) (jint, intptr_t, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glBufferStorageExternalEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferStorageExternalEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTExternalBuffer_nglBufferStorageExternalEXT(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong clientBufferAddress, jint flags) { glBufferStorageExternalEXTPROC glBufferStorageExternalEXT = (glBufferStorageExternalEXTPROC)tlsGetFunction(1730); - intptr_t clientBuffer = (intptr_t)clientBufferAddress; + uintptr_t clientBuffer = (uintptr_t)clientBufferAddress; UNUSED_PARAM(clazz) - glBufferStorageExternalEXT(target, (intptr_t)offset, (intptr_t)size, clientBuffer, flags); + glBufferStorageExternalEXT(target, (uintptr_t)offset, (uintptr_t)size, clientBuffer, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTExternalBuffer_nglNamedBufferStorageExternalEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong clientBufferAddress, jint flags) { glNamedBufferStorageExternalEXTPROC glNamedBufferStorageExternalEXT = (glNamedBufferStorageExternalEXTPROC)tlsGetFunction(1731); - intptr_t clientBuffer = (intptr_t)clientBufferAddress; + uintptr_t clientBuffer = (uintptr_t)clientBufferAddress; UNUSED_PARAM(clazz) - glNamedBufferStorageExternalEXT(buffer, (intptr_t)offset, (intptr_t)size, clientBuffer, flags); + glNamedBufferStorageExternalEXT(buffer, (uintptr_t)offset, (uintptr_t)size, clientBuffer, flags); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTFramebufferObject.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTFramebufferObject.c index 2d08eb3e38..1ebe386391 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTFramebufferObject.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTFramebufferObject.c @@ -8,20 +8,20 @@ typedef jboolean (APIENTRY *glIsRenderbufferEXTPROC) (jint); typedef void (APIENTRY *glBindRenderbufferEXTPROC) (jint, jint); -typedef void (APIENTRY *glDeleteRenderbuffersEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenRenderbuffersEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteRenderbuffersEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenRenderbuffersEXTPROC) (jint, uintptr_t); typedef void (APIENTRY *glRenderbufferStorageEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetRenderbufferParameterivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetRenderbufferParameterivEXTPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsFramebufferEXTPROC) (jint); typedef void (APIENTRY *glBindFramebufferEXTPROC) (jint, jint); -typedef void (APIENTRY *glDeleteFramebuffersEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenFramebuffersEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteFramebuffersEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenFramebuffersEXTPROC) (jint, uintptr_t); typedef jint (APIENTRY *glCheckFramebufferStatusEXTPROC) (jint); typedef void (APIENTRY *glFramebufferTexture1DEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTexture2DEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTexture3DEXTPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferRenderbufferEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferAttachmentParameterivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferAttachmentParameterivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glGenerateMipmapEXTPROC) (jint); EXTERN_C_ENTER @@ -40,14 +40,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_glBindRenderbu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglDeleteRenderbuffersEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glDeleteRenderbuffersEXTPROC glDeleteRenderbuffersEXT = (glDeleteRenderbuffersEXTPROC)tlsGetFunction(1736); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glDeleteRenderbuffersEXT(n, renderbuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglGenRenderbuffersEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glGenRenderbuffersEXTPROC glGenRenderbuffersEXT = (glGenRenderbuffersEXTPROC)tlsGetFunction(1737); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glGenRenderbuffersEXT(n, renderbuffers); } @@ -60,7 +60,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_glRenderbuffer JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglGetRenderbufferParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetRenderbufferParameterivEXTPROC glGetRenderbufferParameterivEXT = (glGetRenderbufferParameterivEXTPROC)tlsGetFunction(1739); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetRenderbufferParameterivEXT(target, pname, params); } @@ -79,14 +79,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_glBindFramebuf JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglDeleteFramebuffersEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glDeleteFramebuffersEXTPROC glDeleteFramebuffersEXT = (glDeleteFramebuffersEXTPROC)tlsGetFunction(1742); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glDeleteFramebuffersEXT(n, framebuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglGenFramebuffersEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glGenFramebuffersEXTPROC glGenFramebuffersEXT = (glGenFramebuffersEXTPROC)tlsGetFunction(1743); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glGenFramebuffersEXT(n, framebuffers); } @@ -123,7 +123,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_glFramebufferR JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferObject_nglGetFramebufferAttachmentParameterivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint attachment, jint pname, jlong paramsAddress) { glGetFramebufferAttachmentParameterivEXTPROC glGetFramebufferAttachmentParameterivEXT = (glGetFramebufferAttachmentParameterivEXTPROC)tlsGetFunction(1749); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUProgramParameters.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUProgramParameters.c index 54db24444a..9050f6dc9b 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUProgramParameters.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUProgramParameters.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glProgramEnvParameters4fvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramLocalParameters4fvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramEnvParameters4fvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramLocalParameters4fvEXTPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUProgramParameters_nglProgramEnvParameters4fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jint count, jlong paramsAddress) { glProgramEnvParameters4fvEXTPROC glProgramEnvParameters4fvEXT = (glProgramEnvParameters4fvEXTPROC)tlsGetFunction(1755); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramEnvParameters4fvEXT(target, index, count, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUProgramParameters_nglProgramLocalParameters4fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jint count, jlong paramsAddress) { glProgramLocalParameters4fvEXTPROC glProgramLocalParameters4fvEXT = (glProgramLocalParameters4fvEXTPROC)tlsGetFunction(1756); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glProgramLocalParameters4fvEXT(target, index, count, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUShader4.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUShader4.c index 39ff108600..164c31226c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUShader4.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTGPUShader4.c @@ -14,32 +14,32 @@ typedef void (APIENTRY *glVertexAttribI1uiEXTPROC) (jint, jint); typedef void (APIENTRY *glVertexAttribI2uiEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glVertexAttribI3uiEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glVertexAttribI4uiEXTPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glVertexAttribI1ivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI2ivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI3ivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4ivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI1uivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI2uivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI3uivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4uivEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4bvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4svEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4ubvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4usvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribIPointerEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glBindFragDataLocationEXTPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetFragDataLocationEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttribI1ivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI2ivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI3ivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4ivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI1uivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI2uivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI3uivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4uivEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4bvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4svEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4ubvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4usvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribIPointerEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glBindFragDataLocationEXTPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetFragDataLocationEXTPROC) (jint, uintptr_t); typedef void (APIENTRY *glUniform1uiEXTPROC) (jint, jint); typedef void (APIENTRY *glUniform2uiEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glUniform3uiEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glUniform4uiEXTPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform1uivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2uivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3uivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4uivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1uivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2uivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3uivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4uivEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -93,126 +93,126 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_glVertexAttribI4uiEXT JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI1ivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI1ivEXTPROC glVertexAttribI1ivEXT = (glVertexAttribI1ivEXTPROC)tlsGetFunction(1765); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI1ivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI2ivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI2ivEXTPROC glVertexAttribI2ivEXT = (glVertexAttribI2ivEXTPROC)tlsGetFunction(1766); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI2ivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI3ivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI3ivEXTPROC glVertexAttribI3ivEXT = (glVertexAttribI3ivEXTPROC)tlsGetFunction(1767); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI3ivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4ivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4ivEXTPROC glVertexAttribI4ivEXT = (glVertexAttribI4ivEXTPROC)tlsGetFunction(1768); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4ivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI1uivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI1uivEXTPROC glVertexAttribI1uivEXT = (glVertexAttribI1uivEXTPROC)tlsGetFunction(1769); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI1uivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI2uivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI2uivEXTPROC glVertexAttribI2uivEXT = (glVertexAttribI2uivEXTPROC)tlsGetFunction(1770); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI2uivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI3uivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI3uivEXTPROC glVertexAttribI3uivEXT = (glVertexAttribI3uivEXTPROC)tlsGetFunction(1771); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI3uivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4uivEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4uivEXTPROC glVertexAttribI4uivEXT = (glVertexAttribI4uivEXTPROC)tlsGetFunction(1772); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4uivEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4bvEXT(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4bvEXTPROC glVertexAttribI4bvEXT = (glVertexAttribI4bvEXTPROC)tlsGetFunction(1773); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4bvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4svEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4svEXTPROC glVertexAttribI4svEXT = (glVertexAttribI4svEXTPROC)tlsGetFunction(1774); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4svEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4ubvEXT(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4ubvEXTPROC glVertexAttribI4ubvEXT = (glVertexAttribI4ubvEXTPROC)tlsGetFunction(1775); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4ubvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribI4usvEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4usvEXTPROC glVertexAttribI4usvEXT = (glVertexAttribI4usvEXTPROC)tlsGetFunction(1776); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4usvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglVertexAttribIPointerEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jint stride, jlong pointerAddress) { glVertexAttribIPointerEXTPROC glVertexAttribIPointerEXT = (glVertexAttribIPointerEXTPROC)tlsGetFunction(1777); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribIPointerEXT(index, size, type, stride, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglGetVertexAttribIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIivEXTPROC glGetVertexAttribIivEXT = (glGetVertexAttribIivEXTPROC)tlsGetFunction(1778); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIivEXT(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglGetVertexAttribIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIuivEXTPROC glGetVertexAttribIuivEXT = (glGetVertexAttribIuivEXTPROC)tlsGetFunction(1779); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIuivEXT(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglGetUniformuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformuivEXTPROC glGetUniformuivEXT = (glGetUniformuivEXTPROC)tlsGetFunction(1780); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformuivEXT(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglBindFragDataLocationEXT(JNIEnv *__env, jclass clazz, jint program, jint color, jlong nameAddress) { glBindFragDataLocationEXTPROC glBindFragDataLocationEXT = (glBindFragDataLocationEXTPROC)tlsGetFunction(1781); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindFragDataLocationEXT(program, color, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglGetFragDataLocationEXT(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetFragDataLocationEXTPROC glGetFragDataLocationEXT = (glGetFragDataLocationEXTPROC)tlsGetFunction(1782); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetFragDataLocationEXT(program, name); } @@ -243,28 +243,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_glUniform4uiEXT(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglUniform1uivEXT__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1uivEXTPROC glUniform1uivEXT = (glUniform1uivEXTPROC)tlsGetFunction(1787); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1uivEXT(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglUniform2uivEXT__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2uivEXTPROC glUniform2uivEXT = (glUniform2uivEXTPROC)tlsGetFunction(1788); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2uivEXT(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglUniform3uivEXT__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3uivEXTPROC glUniform3uivEXT = (glUniform3uivEXTPROC)tlsGetFunction(1789); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3uivEXT(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglUniform4uivEXT__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4uivEXTPROC glUniform4uivEXT = (glUniform4uivEXTPROC)tlsGetFunction(1790); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4uivEXT(location, count, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObject.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObject.c index 1c7de2ed52..57225bcdf1 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObject.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObject.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetUnsignedBytevEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetUnsignedBytei_vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDeleteMemoryObjectsEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetUnsignedBytevEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetUnsignedBytei_vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDeleteMemoryObjectsEXTPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsMemoryObjectEXTPROC) (jint); -typedef void (APIENTRY *glCreateMemoryObjectsEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMemoryObjectParameterivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMemoryObjectParameterivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCreateMemoryObjectsEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMemoryObjectParameterivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMemoryObjectParameterivEXTPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexStorageMem2DEXTPROC) (jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTexStorageMem2DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, jlong); typedef void (APIENTRY *glTexStorageMem3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTexStorageMem3DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong); -typedef void (APIENTRY *glBufferStorageMemEXTPROC) (jint, intptr_t, jint, jlong); +typedef void (APIENTRY *glBufferStorageMemEXTPROC) (jint, uintptr_t, jint, jlong); typedef void (APIENTRY *glTextureStorageMem2DEXTPROC) (jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTextureStorageMem2DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, jlong); typedef void (APIENTRY *glTextureStorageMem3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTextureStorageMem3DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong); -typedef void (APIENTRY *glNamedBufferStorageMemEXTPROC) (jint, intptr_t, jint, jlong); +typedef void (APIENTRY *glNamedBufferStorageMemEXTPROC) (jint, uintptr_t, jint, jlong); typedef void (APIENTRY *glTexStorageMem1DEXTPROC) (jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTextureStorageMem1DEXTPROC) (jint, jint, jint, jint, jint, jlong); @@ -30,21 +30,21 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglGetUnsignedBytevEXT(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetUnsignedBytevEXTPROC glGetUnsignedBytevEXT = (glGetUnsignedBytevEXTPROC)tlsGetFunction(1791); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetUnsignedBytevEXT(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglGetUnsignedBytei_1vEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetUnsignedBytei_vEXTPROC glGetUnsignedBytei_vEXT = (glGetUnsignedBytei_vEXTPROC)tlsGetFunction(1792); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetUnsignedBytei_vEXT(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglDeleteMemoryObjectsEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong memoryObjectsAddress) { glDeleteMemoryObjectsEXTPROC glDeleteMemoryObjectsEXT = (glDeleteMemoryObjectsEXTPROC)tlsGetFunction(1793); - intptr_t memoryObjects = (intptr_t)memoryObjectsAddress; + uintptr_t memoryObjects = (uintptr_t)memoryObjectsAddress; UNUSED_PARAM(clazz) glDeleteMemoryObjectsEXT(n, memoryObjects); } @@ -57,21 +57,21 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glIsMemoryObjec JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglCreateMemoryObjectsEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong memoryObjectsAddress) { glCreateMemoryObjectsEXTPROC glCreateMemoryObjectsEXT = (glCreateMemoryObjectsEXTPROC)tlsGetFunction(1795); - intptr_t memoryObjects = (intptr_t)memoryObjectsAddress; + uintptr_t memoryObjects = (uintptr_t)memoryObjectsAddress; UNUSED_PARAM(clazz) glCreateMemoryObjectsEXT(n, memoryObjects); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglMemoryObjectParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint memoryObject, jint pname, jlong paramsAddress) { glMemoryObjectParameterivEXTPROC glMemoryObjectParameterivEXT = (glMemoryObjectParameterivEXTPROC)tlsGetFunction(1796); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMemoryObjectParameterivEXT(memoryObject, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_nglGetMemoryObjectParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint memoryObject, jint pname, jlong paramsAddress) { glGetMemoryObjectParameterivEXTPROC glGetMemoryObjectParameterivEXT = (glGetMemoryObjectParameterivEXTPROC)tlsGetFunction(1797); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMemoryObjectParameterivEXT(memoryObject, pname, params); } @@ -103,7 +103,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glTexStorageMem3DMu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glBufferStorageMemEXT(JNIEnv *__env, jclass clazz, jint target, jlong size, jint memory, jlong offset) { glBufferStorageMemEXTPROC glBufferStorageMemEXT = (glBufferStorageMemEXTPROC)tlsGetFunction(1802); UNUSED_PARAM(clazz) - glBufferStorageMemEXT(target, (intptr_t)size, memory, offset); + glBufferStorageMemEXT(target, (uintptr_t)size, memory, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glTextureStorageMem2DEXT(JNIEnv *__env, jclass clazz, jint texture, jint levels, jint internalFormat, jint width, jint height, jint memory, jlong offset) { @@ -133,7 +133,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glTextureStorageMem JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glNamedBufferStorageMemEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jint memory, jlong offset) { glNamedBufferStorageMemEXTPROC glNamedBufferStorageMemEXT = (glNamedBufferStorageMemEXTPROC)tlsGetFunction(1807); UNUSED_PARAM(clazz) - glNamedBufferStorageMemEXT(buffer, (intptr_t)size, memory, offset); + glNamedBufferStorageMemEXT(buffer, (uintptr_t)size, memory, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObject_glTexStorageMem1DEXT(JNIEnv *__env, jclass clazz, jint target, jint levels, jint internalFormat, jint width, jint memory, jlong offset) { diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObjectWin32.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObjectWin32.c index 783ef86343..aac3810896 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObjectWin32.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTMemoryObjectWin32.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glImportMemoryWin32HandleEXTPROC) (jint, jlong, jint, intptr_t); -typedef void (APIENTRY *glImportMemoryWin32NameEXTPROC) (jint, jlong, jint, intptr_t); +typedef void (APIENTRY *glImportMemoryWin32HandleEXTPROC) (jint, jlong, jint, uintptr_t); +typedef void (APIENTRY *glImportMemoryWin32NameEXTPROC) (jint, jlong, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObjectWin32_nglImportMemoryWin32HandleEXT(JNIEnv *__env, jclass clazz, jint memory, jlong size, jint handleType, jlong handleAddress) { glImportMemoryWin32HandleEXTPROC glImportMemoryWin32HandleEXT = (glImportMemoryWin32HandleEXTPROC)tlsGetFunction(1811); - intptr_t handle = (intptr_t)handleAddress; + uintptr_t handle = (uintptr_t)handleAddress; UNUSED_PARAM(clazz) glImportMemoryWin32HandleEXT(memory, size, handleType, handle); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTMemoryObjectWin32_nglImportMemoryWin32NameEXT(JNIEnv *__env, jclass clazz, jint memory, jlong size, jint handleType, jlong nameAddress) { glImportMemoryWin32NameEXTPROC glImportMemoryWin32NameEXT = (glImportMemoryWin32NameEXTPROC)tlsGetFunction(1812); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glImportMemoryWin32NameEXT(memory, size, handleType, name); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTPointParameters.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTPointParameters.c index 67be3797c0..2bdf3bdcfe 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTPointParameters.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTPointParameters.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glPointParameterfEXTPROC) (jint, jfloat); -typedef void (APIENTRY *glPointParameterfvEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glPointParameterfvEXTPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTPointParameters_glPointParameter JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTPointParameters_nglPointParameterfvEXT__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glPointParameterfvEXTPROC glPointParameterfvEXT = (glPointParameterfvEXTPROC)tlsGetFunction(1814); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glPointParameterfvEXT(pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSecondaryColor.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSecondaryColor.c index 4cc7b2eb5f..5199a53d40 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSecondaryColor.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSecondaryColor.c @@ -14,15 +14,15 @@ typedef void (APIENTRY *glSecondaryColor3dEXTPROC) (jdouble, jdouble, jdouble); typedef void (APIENTRY *glSecondaryColor3ubEXTPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glSecondaryColor3usEXTPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glSecondaryColor3uiEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glSecondaryColor3bvEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3svEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3ivEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3fvEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3dvEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3ubvEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3usvEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3uivEXTPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glSecondaryColor3bvEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3svEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3ivEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3fvEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3dvEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3ubvEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3usvEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3uivEXTPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -76,63 +76,63 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_glSecondaryColor3 JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3bvEXT(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3bvEXTPROC glSecondaryColor3bvEXT = (glSecondaryColor3bvEXTPROC)tlsGetFunction(1826); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3bvEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3svEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3svEXTPROC glSecondaryColor3svEXT = (glSecondaryColor3svEXTPROC)tlsGetFunction(1827); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3svEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3ivEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3ivEXTPROC glSecondaryColor3ivEXT = (glSecondaryColor3ivEXTPROC)tlsGetFunction(1828); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3ivEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3fvEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3fvEXTPROC glSecondaryColor3fvEXT = (glSecondaryColor3fvEXTPROC)tlsGetFunction(1829); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3fvEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3dvEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3dvEXTPROC glSecondaryColor3dvEXT = (glSecondaryColor3dvEXTPROC)tlsGetFunction(1830); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3dvEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3ubvEXT(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3ubvEXTPROC glSecondaryColor3ubvEXT = (glSecondaryColor3ubvEXTPROC)tlsGetFunction(1831); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3ubvEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3usvEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3usvEXTPROC glSecondaryColor3usvEXT = (glSecondaryColor3usvEXTPROC)tlsGetFunction(1832); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3usvEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3uivEXT__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3uivEXTPROC glSecondaryColor3uivEXT = (glSecondaryColor3uivEXTPROC)tlsGetFunction(1833); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3uivEXT(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColorPointerEXT__IIIJ(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)tlsGetFunction(1834); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glSecondaryColorPointerEXT(size, type, stride, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphore.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphore.c index 923bdd1659..b2ebbafbf1 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphore.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphore.c @@ -6,26 +6,26 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGenSemaphoresEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteSemaphoresEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenSemaphoresEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteSemaphoresEXTPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsSemaphoreEXTPROC) (jint); -typedef void (APIENTRY *glSemaphoreParameterui64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSemaphoreParameterui64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glWaitSemaphoreEXTPROC) (jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glSignalSemaphoreEXTPROC) (jint, jint, intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glSemaphoreParameterui64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSemaphoreParameterui64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glWaitSemaphoreEXTPROC) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glSignalSemaphoreEXTPROC) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglGenSemaphoresEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glGenSemaphoresEXTPROC glGenSemaphoresEXT = (glGenSemaphoresEXTPROC)tlsGetFunction(1835); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glGenSemaphoresEXT(n, semaphores); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglDeleteSemaphoresEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glDeleteSemaphoresEXTPROC glDeleteSemaphoresEXT = (glDeleteSemaphoresEXTPROC)tlsGetFunction(1836); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glDeleteSemaphoresEXT(n, semaphores); } @@ -38,32 +38,32 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_EXTSemaphore_glIsSemaphoreEXT(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglSemaphoreParameterui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glSemaphoreParameterui64vEXTPROC glSemaphoreParameterui64vEXT = (glSemaphoreParameterui64vEXTPROC)tlsGetFunction(1838); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSemaphoreParameterui64vEXT(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglGetSemaphoreParameterui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glGetSemaphoreParameterui64vEXTPROC glGetSemaphoreParameterui64vEXT = (glGetSemaphoreParameterui64vEXTPROC)tlsGetFunction(1839); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSemaphoreParameterui64vEXT(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglWaitSemaphoreEXT__IIJIJJ(JNIEnv *__env, jclass clazz, jint semaphore, jint numBufferBarriers, jlong buffersAddress, jint numTextureBarriers, jlong texturesAddress, jlong srcLayoutsAddress) { glWaitSemaphoreEXTPROC glWaitSemaphoreEXT = (glWaitSemaphoreEXTPROC)tlsGetFunction(1840); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t textures = (intptr_t)texturesAddress; - intptr_t srcLayouts = (intptr_t)srcLayoutsAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t srcLayouts = (uintptr_t)srcLayoutsAddress; UNUSED_PARAM(clazz) glWaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphore_nglSignalSemaphoreEXT__IIJIJJ(JNIEnv *__env, jclass clazz, jint semaphore, jint numBufferBarriers, jlong buffersAddress, jint numTextureBarriers, jlong texturesAddress, jlong dstLayoutsAddress) { glSignalSemaphoreEXTPROC glSignalSemaphoreEXT = (glSignalSemaphoreEXTPROC)tlsGetFunction(1841); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t textures = (intptr_t)texturesAddress; - intptr_t dstLayouts = (intptr_t)dstLayoutsAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t dstLayouts = (uintptr_t)dstLayoutsAddress; UNUSED_PARAM(clazz) glSignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphoreWin32.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphoreWin32.c index b35f992091..9d8a4443f8 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphoreWin32.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSemaphoreWin32.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glImportSemaphoreWin32HandleEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glImportSemaphoreWin32NameEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glImportSemaphoreWin32HandleEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glImportSemaphoreWin32NameEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphoreWin32_nglImportSemaphoreWin32HandleEXT(JNIEnv *__env, jclass clazz, jint semaphore, jint handleType, jlong handleAddress) { glImportSemaphoreWin32HandleEXTPROC glImportSemaphoreWin32HandleEXT = (glImportSemaphoreWin32HandleEXTPROC)tlsGetFunction(1843); - intptr_t handle = (intptr_t)handleAddress; + uintptr_t handle = (uintptr_t)handleAddress; UNUSED_PARAM(clazz) glImportSemaphoreWin32HandleEXT(semaphore, handleType, handle); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSemaphoreWin32_nglImportSemaphoreWin32NameEXT(JNIEnv *__env, jclass clazz, jint semaphore, jint handleType, jlong nameAddress) { glImportSemaphoreWin32NameEXTPROC glImportSemaphoreWin32NameEXT = (glImportSemaphoreWin32NameEXTPROC)tlsGetFunction(1844); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glImportSemaphoreWin32NameEXT(semaphore, handleType, name); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSeparateShaderObjects.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSeparateShaderObjects.c index 9297a21f99..5dd8e3204d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSeparateShaderObjects.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTSeparateShaderObjects.c @@ -8,7 +8,7 @@ typedef void (APIENTRY *glUseShaderProgramEXTPROC) (jint, jint); typedef void (APIENTRY *glActiveProgramEXTPROC) (jint); -typedef jint (APIENTRY *glCreateShaderProgramEXTPROC) (jint, intptr_t); +typedef jint (APIENTRY *glCreateShaderProgramEXTPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -26,7 +26,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSeparateShaderObjects_glActivePr JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_EXTSeparateShaderObjects_nglCreateShaderProgramEXT(JNIEnv *__env, jclass clazz, jint type, jlong stringAddress) { glCreateShaderProgramEXTPROC glCreateShaderProgramEXT = (glCreateShaderProgramEXTPROC)tlsGetFunction(1847); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) return (jint)glCreateShaderProgramEXT(type, string); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTextureInteger.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTextureInteger.c index 1667143036..882d67fed4 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTextureInteger.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTextureInteger.c @@ -8,10 +8,10 @@ typedef void (APIENTRY *glClearColorIiEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glClearColorIuiEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glTexParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexParameterIuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIuivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexParameterIuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIuivEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -29,28 +29,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTextureInteger_glClearColorIuiEX JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTextureInteger_nglTexParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIivEXTPROC glTexParameterIivEXT = (glTexParameterIivEXTPROC)tlsGetFunction(1856); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTextureInteger_nglTexParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIuivEXTPROC glTexParameterIuivEXT = (glTexParameterIuivEXTPROC)tlsGetFunction(1857); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIuivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTextureInteger_nglGetTexParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIivEXTPROC glGetTexParameterIivEXT = (glGetTexParameterIivEXTPROC)tlsGetFunction(1858); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTextureInteger_nglGetTexParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIuivEXTPROC glGetTexParameterIuivEXT = (glGetTexParameterIuivEXTPROC)tlsGetFunction(1859); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIuivEXT(target, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTimerQuery.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTimerQuery.c index 0d84d54f33..fbeb4c94b5 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTimerQuery.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTimerQuery.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetQueryObjecti64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectui64vEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryObjecti64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectui64vEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTimerQuery_nglGetQueryObjecti64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjecti64vEXTPROC glGetQueryObjecti64vEXT = (glGetQueryObjecti64vEXTPROC)tlsGetFunction(1863); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjecti64vEXT(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTimerQuery_nglGetQueryObjectui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectui64vEXTPROC glGetQueryObjectui64vEXT = (glGetQueryObjectui64vEXTPROC)tlsGetFunction(1864); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectui64vEXT(id, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTransformFeedback.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTransformFeedback.c index e8a65817fe..59af54e78f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTransformFeedback.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTTransformFeedback.c @@ -6,26 +6,26 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBindBufferRangeEXTPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glBindBufferOffsetEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glBindBufferRangeEXTPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glBindBufferOffsetEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glBindBufferBaseEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glBeginTransformFeedbackEXTPROC) (jint); typedef void (APIENTRY *glEndTransformFeedbackEXTPROC) (void); -typedef void (APIENTRY *glTransformFeedbackVaryingsEXTPROC) (jint, jint, intptr_t, jint); -typedef void (APIENTRY *glGetTransformFeedbackVaryingEXTPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glTransformFeedbackVaryingsEXTPROC) (jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glGetTransformFeedbackVaryingEXTPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_glBindBufferRangeEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset, jlong size) { glBindBufferRangeEXTPROC glBindBufferRangeEXT = (glBindBufferRangeEXTPROC)tlsGetFunction(1865); UNUSED_PARAM(clazz) - glBindBufferRangeEXT(target, index, buffer, (intptr_t)offset, (intptr_t)size); + glBindBufferRangeEXT(target, index, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_glBindBufferOffsetEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset) { glBindBufferOffsetEXTPROC glBindBufferOffsetEXT = (glBindBufferOffsetEXTPROC)tlsGetFunction(1866); UNUSED_PARAM(clazz) - glBindBufferOffsetEXT(target, index, buffer, (intptr_t)offset); + glBindBufferOffsetEXT(target, index, buffer, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_glBindBufferBaseEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer) { @@ -48,17 +48,17 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_glEndTransform JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_nglTransformFeedbackVaryingsEXT(JNIEnv *__env, jclass clazz, jint program, jint count, jlong varyingsAddress, jint bufferMode) { glTransformFeedbackVaryingsEXTPROC glTransformFeedbackVaryingsEXT = (glTransformFeedbackVaryingsEXTPROC)tlsGetFunction(1870); - intptr_t varyings = (intptr_t)varyingsAddress; + uintptr_t varyings = (uintptr_t)varyingsAddress; UNUSED_PARAM(clazz) glTransformFeedbackVaryingsEXT(program, count, varyings, bufferMode); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_nglGetTransformFeedbackVaryingEXT__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetTransformFeedbackVaryingEXTPROC glGetTransformFeedbackVaryingEXT = (glGetTransformFeedbackVaryingEXTPROC)tlsGetFunction(1871); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetTransformFeedbackVaryingEXT(program, index, bufSize, length, size, type, name); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTVertexAttrib64bit.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTVertexAttrib64bit.c index cad9cc06f0..94755ab89a 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTVertexAttrib64bit.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTVertexAttrib64bit.c @@ -10,12 +10,12 @@ typedef void (APIENTRY *glVertexAttribL1dEXTPROC) (jint, jdouble); typedef void (APIENTRY *glVertexAttribL2dEXTPROC) (jint, jdouble, jdouble); typedef void (APIENTRY *glVertexAttribL3dEXTPROC) (jint, jdouble, jdouble, jdouble); typedef void (APIENTRY *glVertexAttribL4dEXTPROC) (jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glVertexAttribL1dvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL2dvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL3dvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL4dvEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribLPointerEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribLdvEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttribL1dvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL2dvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL3dvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL4dvEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribLPointerEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribLdvEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -45,42 +45,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_glVertexAttrib JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglVertexAttribL1dvEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL1dvEXTPROC glVertexAttribL1dvEXT = (glVertexAttribL1dvEXTPROC)tlsGetFunction(1876); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL1dvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglVertexAttribL2dvEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL2dvEXTPROC glVertexAttribL2dvEXT = (glVertexAttribL2dvEXTPROC)tlsGetFunction(1877); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL2dvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglVertexAttribL3dvEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL3dvEXTPROC glVertexAttribL3dvEXT = (glVertexAttribL3dvEXTPROC)tlsGetFunction(1878); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL3dvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglVertexAttribL4dvEXT__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL4dvEXTPROC glVertexAttribL4dvEXT = (glVertexAttribL4dvEXTPROC)tlsGetFunction(1879); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL4dvEXT(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglVertexAttribLPointerEXT(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jint stride, jlong pointerAddress) { glVertexAttribLPointerEXTPROC glVertexAttribLPointerEXT = (glVertexAttribLPointerEXTPROC)tlsGetFunction(1880); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribLPointerEXT(index, size, type, stride, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexAttrib64bit_nglGetVertexAttribLdvEXT__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribLdvEXTPROC glGetVertexAttribLdvEXT = (glGetVertexAttribLdvEXTPROC)tlsGetFunction(1881); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribLdvEXT(index, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTWindowRectangles.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTWindowRectangles.c index 6534945bc3..3d9ecb3a2b 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTWindowRectangles.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTWindowRectangles.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glWindowRectanglesEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glWindowRectanglesEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTWindowRectangles_nglWindowRectanglesEXT__IIJ(JNIEnv *__env, jclass clazz, jint mode, jint count, jlong boxAddress) { glWindowRectanglesEXTPROC glWindowRectanglesEXT = (glWindowRectanglesEXTPROC)tlsGetFunction(1884); - intptr_t box = (intptr_t)boxAddress; + uintptr_t box = (uintptr_t)boxAddress; UNUSED_PARAM(clazz) glWindowRectanglesEXT(mode, count, box); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTX11SyncObject.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTX11SyncObject.c index f11c060ba7..2187368328 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTX11SyncObject.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_EXTX11SyncObject.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef intptr_t (APIENTRY *glImportSyncEXTPROC) (jint, intptr_t, jint); +typedef uintptr_t (APIENTRY *glImportSyncEXTPROC) (jint, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_EXTX11SyncObject_glImportSyncEXT(JNIEnv *__env, jclass clazz, jint external_sync_type, jlong external_sync, jint flags) { glImportSyncEXTPROC glImportSyncEXT = (glImportSyncEXTPROC)tlsGetFunction(1885); UNUSED_PARAM(clazz) - return (jlong)glImportSyncEXT(external_sync_type, (intptr_t)external_sync, flags); + return (jlong)glImportSyncEXT(external_sync_type, (uintptr_t)external_sync, flags); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11.c index c0f34f2691..39147881a5 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11.c @@ -8,15 +8,15 @@ typedef void (APIENTRY *glAccumPROC) (jint, jfloat); typedef void (APIENTRY *glAlphaFuncPROC) (jint, jfloat); -typedef jboolean (APIENTRY *glAreTexturesResidentPROC) (jint, intptr_t, intptr_t); +typedef jboolean (APIENTRY *glAreTexturesResidentPROC) (jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glArrayElementPROC) (jint); typedef void (APIENTRY *glBeginPROC) (jint); -typedef void (APIENTRY *glBitmapPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat, intptr_t); +typedef void (APIENTRY *glBitmapPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat, uintptr_t); typedef void (APIENTRY *glCallListPROC) (jint); -typedef void (APIENTRY *glCallListsPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCallListsPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glClearAccumPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glClearIndexPROC) (jfloat); -typedef void (APIENTRY *glClipPlanePROC) (jint, intptr_t); +typedef void (APIENTRY *glClipPlanePROC) (jint, uintptr_t); typedef void (APIENTRY *glColor3bPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glColor3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glColor3iPROC) (jint, jint, jint); @@ -25,14 +25,14 @@ typedef void (APIENTRY *glColor3dPROC) (jdouble, jdouble, jdouble); typedef void (APIENTRY *glColor3ubPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glColor3usPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glColor3uiPROC) (jint, jint, jint); -typedef void (APIENTRY *glColor3bvPROC) (intptr_t); -typedef void (APIENTRY *glColor3svPROC) (intptr_t); -typedef void (APIENTRY *glColor3ivPROC) (intptr_t); -typedef void (APIENTRY *glColor3fvPROC) (intptr_t); -typedef void (APIENTRY *glColor3dvPROC) (intptr_t); -typedef void (APIENTRY *glColor3ubvPROC) (intptr_t); -typedef void (APIENTRY *glColor3usvPROC) (intptr_t); -typedef void (APIENTRY *glColor3uivPROC) (intptr_t); +typedef void (APIENTRY *glColor3bvPROC) (uintptr_t); +typedef void (APIENTRY *glColor3svPROC) (uintptr_t); +typedef void (APIENTRY *glColor3ivPROC) (uintptr_t); +typedef void (APIENTRY *glColor3fvPROC) (uintptr_t); +typedef void (APIENTRY *glColor3dvPROC) (uintptr_t); +typedef void (APIENTRY *glColor3ubvPROC) (uintptr_t); +typedef void (APIENTRY *glColor3usvPROC) (uintptr_t); +typedef void (APIENTRY *glColor3uivPROC) (uintptr_t); typedef void (APIENTRY *glColor4bPROC) (jbyte, jbyte, jbyte, jbyte); typedef void (APIENTRY *glColor4sPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glColor4iPROC) (jint, jint, jint, jint); @@ -41,104 +41,104 @@ typedef void (APIENTRY *glColor4dPROC) (jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glColor4ubPROC) (jbyte, jbyte, jbyte, jbyte); typedef void (APIENTRY *glColor4usPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glColor4uiPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glColor4bvPROC) (intptr_t); -typedef void (APIENTRY *glColor4svPROC) (intptr_t); -typedef void (APIENTRY *glColor4ivPROC) (intptr_t); -typedef void (APIENTRY *glColor4fvPROC) (intptr_t); -typedef void (APIENTRY *glColor4dvPROC) (intptr_t); -typedef void (APIENTRY *glColor4ubvPROC) (intptr_t); -typedef void (APIENTRY *glColor4usvPROC) (intptr_t); -typedef void (APIENTRY *glColor4uivPROC) (intptr_t); +typedef void (APIENTRY *glColor4bvPROC) (uintptr_t); +typedef void (APIENTRY *glColor4svPROC) (uintptr_t); +typedef void (APIENTRY *glColor4ivPROC) (uintptr_t); +typedef void (APIENTRY *glColor4fvPROC) (uintptr_t); +typedef void (APIENTRY *glColor4dvPROC) (uintptr_t); +typedef void (APIENTRY *glColor4ubvPROC) (uintptr_t); +typedef void (APIENTRY *glColor4usvPROC) (uintptr_t); +typedef void (APIENTRY *glColor4uivPROC) (uintptr_t); typedef void (APIENTRY *glColorMaterialPROC) (jint, jint); -typedef void (APIENTRY *glColorPointerPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glColorPointerPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyPixelsPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glDeleteListsPROC) (jint, jint); typedef void (APIENTRY *glDisableClientStatePROC) (jint); -typedef void (APIENTRY *glDrawPixelsPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDrawPixelsPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glEdgeFlagPROC) (jboolean); -typedef void (APIENTRY *glEdgeFlagvPROC) (intptr_t); -typedef void (APIENTRY *glEdgeFlagPointerPROC) (jint, intptr_t); +typedef void (APIENTRY *glEdgeFlagvPROC) (uintptr_t); +typedef void (APIENTRY *glEdgeFlagPointerPROC) (jint, uintptr_t); typedef void (APIENTRY *glEnableClientStatePROC) (jint); typedef void (APIENTRY *glEndPROC) (void); typedef void (APIENTRY *glEvalCoord1fPROC) (jfloat); -typedef void (APIENTRY *glEvalCoord1fvPROC) (intptr_t); +typedef void (APIENTRY *glEvalCoord1fvPROC) (uintptr_t); typedef void (APIENTRY *glEvalCoord1dPROC) (jdouble); -typedef void (APIENTRY *glEvalCoord1dvPROC) (intptr_t); +typedef void (APIENTRY *glEvalCoord1dvPROC) (uintptr_t); typedef void (APIENTRY *glEvalCoord2fPROC) (jfloat, jfloat); -typedef void (APIENTRY *glEvalCoord2fvPROC) (intptr_t); +typedef void (APIENTRY *glEvalCoord2fvPROC) (uintptr_t); typedef void (APIENTRY *glEvalCoord2dPROC) (jdouble, jdouble); -typedef void (APIENTRY *glEvalCoord2dvPROC) (intptr_t); +typedef void (APIENTRY *glEvalCoord2dvPROC) (uintptr_t); typedef void (APIENTRY *glEvalMesh1PROC) (jint, jint, jint); typedef void (APIENTRY *glEvalMesh2PROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glEvalPoint1PROC) (jint); typedef void (APIENTRY *glEvalPoint2PROC) (jint, jint); -typedef void (APIENTRY *glFeedbackBufferPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glFeedbackBufferPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFogiPROC) (jint, jint); -typedef void (APIENTRY *glFogivPROC) (jint, intptr_t); +typedef void (APIENTRY *glFogivPROC) (jint, uintptr_t); typedef void (APIENTRY *glFogfPROC) (jint, jfloat); -typedef void (APIENTRY *glFogfvPROC) (jint, intptr_t); +typedef void (APIENTRY *glFogfvPROC) (jint, uintptr_t); typedef jint (APIENTRY *glGenListsPROC) (jint); -typedef void (APIENTRY *glGetClipPlanePROC) (jint, intptr_t); -typedef void (APIENTRY *glGetLightivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetLightfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMapivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMapfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMapdvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMaterialivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMaterialfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPixelMapfvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPixelMapusvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPixelMapuivPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPolygonStipplePROC) (intptr_t); -typedef void (APIENTRY *glGetTexEnvivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexEnvfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexGenivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexGenfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexGendvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetClipPlanePROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetLightivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetLightfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMapivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMapfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMapdvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMaterialivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMaterialfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPixelMapfvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPixelMapusvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPixelMapuivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPolygonStipplePROC) (uintptr_t); +typedef void (APIENTRY *glGetTexEnvivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexEnvfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexGenivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexGenfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexGendvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glIndexiPROC) (jint); typedef void (APIENTRY *glIndexubPROC) (jbyte); typedef void (APIENTRY *glIndexsPROC) (jshort); typedef void (APIENTRY *glIndexfPROC) (jfloat); typedef void (APIENTRY *glIndexdPROC) (jdouble); -typedef void (APIENTRY *glIndexivPROC) (intptr_t); -typedef void (APIENTRY *glIndexubvPROC) (intptr_t); -typedef void (APIENTRY *glIndexsvPROC) (intptr_t); -typedef void (APIENTRY *glIndexfvPROC) (intptr_t); -typedef void (APIENTRY *glIndexdvPROC) (intptr_t); +typedef void (APIENTRY *glIndexivPROC) (uintptr_t); +typedef void (APIENTRY *glIndexubvPROC) (uintptr_t); +typedef void (APIENTRY *glIndexsvPROC) (uintptr_t); +typedef void (APIENTRY *glIndexfvPROC) (uintptr_t); +typedef void (APIENTRY *glIndexdvPROC) (uintptr_t); typedef void (APIENTRY *glIndexMaskPROC) (jint); -typedef void (APIENTRY *glIndexPointerPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glIndexPointerPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glInitNamesPROC) (void); -typedef void (APIENTRY *glInterleavedArraysPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glInterleavedArraysPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsListPROC) (jint); typedef void (APIENTRY *glLightModeliPROC) (jint, jint); typedef void (APIENTRY *glLightModelfPROC) (jint, jfloat); -typedef void (APIENTRY *glLightModelivPROC) (jint, intptr_t); -typedef void (APIENTRY *glLightModelfvPROC) (jint, intptr_t); +typedef void (APIENTRY *glLightModelivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glLightModelfvPROC) (jint, uintptr_t); typedef void (APIENTRY *glLightiPROC) (jint, jint, jint); typedef void (APIENTRY *glLightfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glLightivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glLightfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glLightivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glLightfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glLineStipplePROC) (jint, jshort); typedef void (APIENTRY *glListBasePROC) (jint); -typedef void (APIENTRY *glLoadMatrixfPROC) (intptr_t); -typedef void (APIENTRY *glLoadMatrixdPROC) (intptr_t); +typedef void (APIENTRY *glLoadMatrixfPROC) (uintptr_t); +typedef void (APIENTRY *glLoadMatrixdPROC) (uintptr_t); typedef void (APIENTRY *glLoadIdentityPROC) (void); typedef void (APIENTRY *glLoadNamePROC) (jint); -typedef void (APIENTRY *glMap1fPROC) (jint, jfloat, jfloat, jint, jint, intptr_t); -typedef void (APIENTRY *glMap1dPROC) (jint, jdouble, jdouble, jint, jint, intptr_t); -typedef void (APIENTRY *glMap2fPROC) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, intptr_t); -typedef void (APIENTRY *glMap2dPROC) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, intptr_t); +typedef void (APIENTRY *glMap1fPROC) (jint, jfloat, jfloat, jint, jint, uintptr_t); +typedef void (APIENTRY *glMap1dPROC) (jint, jdouble, jdouble, jint, jint, uintptr_t); +typedef void (APIENTRY *glMap2fPROC) (jint, jfloat, jfloat, jint, jint, jfloat, jfloat, jint, jint, uintptr_t); +typedef void (APIENTRY *glMap2dPROC) (jint, jdouble, jdouble, jint, jint, jdouble, jdouble, jint, jint, uintptr_t); typedef void (APIENTRY *glMapGrid1fPROC) (jint, jfloat, jfloat); typedef void (APIENTRY *glMapGrid1dPROC) (jint, jdouble, jdouble); typedef void (APIENTRY *glMapGrid2fPROC) (jint, jfloat, jfloat, jint, jfloat, jfloat); typedef void (APIENTRY *glMapGrid2dPROC) (jint, jdouble, jdouble, jint, jdouble, jdouble); typedef void (APIENTRY *glMaterialiPROC) (jint, jint, jint); typedef void (APIENTRY *glMaterialfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glMaterialivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glMaterialfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glMaterialivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glMaterialfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glMatrixModePROC) (jint); -typedef void (APIENTRY *glMultMatrixfPROC) (intptr_t); -typedef void (APIENTRY *glMultMatrixdPROC) (intptr_t); +typedef void (APIENTRY *glMultMatrixfPROC) (uintptr_t); +typedef void (APIENTRY *glMultMatrixdPROC) (uintptr_t); typedef void (APIENTRY *glFrustumPROC) (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glNewListPROC) (jint, jint); typedef void (APIENTRY *glEndListPROC) (void); @@ -147,139 +147,139 @@ typedef void (APIENTRY *glNormal3bPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glNormal3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glNormal3iPROC) (jint, jint, jint); typedef void (APIENTRY *glNormal3dPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glNormal3fvPROC) (intptr_t); -typedef void (APIENTRY *glNormal3bvPROC) (intptr_t); -typedef void (APIENTRY *glNormal3svPROC) (intptr_t); -typedef void (APIENTRY *glNormal3ivPROC) (intptr_t); -typedef void (APIENTRY *glNormal3dvPROC) (intptr_t); -typedef void (APIENTRY *glNormalPointerPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glNormal3fvPROC) (uintptr_t); +typedef void (APIENTRY *glNormal3bvPROC) (uintptr_t); +typedef void (APIENTRY *glNormal3svPROC) (uintptr_t); +typedef void (APIENTRY *glNormal3ivPROC) (uintptr_t); +typedef void (APIENTRY *glNormal3dvPROC) (uintptr_t); +typedef void (APIENTRY *glNormalPointerPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glOrthoPROC) (jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glPassThroughPROC) (jfloat); -typedef void (APIENTRY *glPixelMapfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glPixelMapusvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glPixelMapuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPixelMapfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glPixelMapusvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glPixelMapuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glPixelTransferiPROC) (jint, jint); typedef void (APIENTRY *glPixelTransferfPROC) (jint, jfloat); typedef void (APIENTRY *glPixelZoomPROC) (jfloat, jfloat); -typedef void (APIENTRY *glPolygonStipplePROC) (intptr_t); +typedef void (APIENTRY *glPolygonStipplePROC) (uintptr_t); typedef void (APIENTRY *glPushAttribPROC) (jint); typedef void (APIENTRY *glPushClientAttribPROC) (jint); typedef void (APIENTRY *glPopAttribPROC) (void); typedef void (APIENTRY *glPopClientAttribPROC) (void); typedef void (APIENTRY *glPopMatrixPROC) (void); typedef void (APIENTRY *glPopNamePROC) (void); -typedef void (APIENTRY *glPrioritizeTexturesPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glPrioritizeTexturesPROC) (jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glPushMatrixPROC) (void); typedef void (APIENTRY *glPushNamePROC) (jint); typedef void (APIENTRY *glRasterPos2iPROC) (jint, jint); typedef void (APIENTRY *glRasterPos2sPROC) (jshort, jshort); typedef void (APIENTRY *glRasterPos2fPROC) (jfloat, jfloat); typedef void (APIENTRY *glRasterPos2dPROC) (jdouble, jdouble); -typedef void (APIENTRY *glRasterPos2ivPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos2svPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos2fvPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos2dvPROC) (intptr_t); +typedef void (APIENTRY *glRasterPos2ivPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos2svPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos2fvPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos2dvPROC) (uintptr_t); typedef void (APIENTRY *glRasterPos3iPROC) (jint, jint, jint); typedef void (APIENTRY *glRasterPos3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glRasterPos3fPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glRasterPos3dPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glRasterPos3ivPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos3svPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos3fvPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos3dvPROC) (intptr_t); +typedef void (APIENTRY *glRasterPos3ivPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos3svPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos3fvPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos3dvPROC) (uintptr_t); typedef void (APIENTRY *glRasterPos4iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glRasterPos4sPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glRasterPos4fPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glRasterPos4dPROC) (jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glRasterPos4ivPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos4svPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos4fvPROC) (intptr_t); -typedef void (APIENTRY *glRasterPos4dvPROC) (intptr_t); +typedef void (APIENTRY *glRasterPos4ivPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos4svPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos4fvPROC) (uintptr_t); +typedef void (APIENTRY *glRasterPos4dvPROC) (uintptr_t); typedef void (APIENTRY *glRectiPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glRectsPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glRectfPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glRectdPROC) (jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glRectivPROC) (intptr_t, intptr_t); -typedef void (APIENTRY *glRectsvPROC) (intptr_t, intptr_t); -typedef void (APIENTRY *glRectfvPROC) (intptr_t, intptr_t); -typedef void (APIENTRY *glRectdvPROC) (intptr_t, intptr_t); +typedef void (APIENTRY *glRectivPROC) (uintptr_t, uintptr_t); +typedef void (APIENTRY *glRectsvPROC) (uintptr_t, uintptr_t); +typedef void (APIENTRY *glRectfvPROC) (uintptr_t, uintptr_t); +typedef void (APIENTRY *glRectdvPROC) (uintptr_t, uintptr_t); typedef jint (APIENTRY *glRenderModePROC) (jint); typedef void (APIENTRY *glRotatefPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glRotatedPROC) (jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glScalefPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glScaledPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glSelectBufferPROC) (jint, intptr_t); +typedef void (APIENTRY *glSelectBufferPROC) (jint, uintptr_t); typedef void (APIENTRY *glShadeModelPROC) (jint); typedef void (APIENTRY *glTexCoord1fPROC) (jfloat); typedef void (APIENTRY *glTexCoord1sPROC) (jshort); typedef void (APIENTRY *glTexCoord1iPROC) (jint); typedef void (APIENTRY *glTexCoord1dPROC) (jdouble); -typedef void (APIENTRY *glTexCoord1fvPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord1svPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord1ivPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord1dvPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord1fvPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord1svPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord1ivPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord1dvPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord2fPROC) (jfloat, jfloat); typedef void (APIENTRY *glTexCoord2sPROC) (jshort, jshort); typedef void (APIENTRY *glTexCoord2iPROC) (jint, jint); typedef void (APIENTRY *glTexCoord2dPROC) (jdouble, jdouble); -typedef void (APIENTRY *glTexCoord2fvPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord2svPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord2ivPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord2dvPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord2fvPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord2svPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord2ivPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord2dvPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord3fPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glTexCoord3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glTexCoord3iPROC) (jint, jint, jint); typedef void (APIENTRY *glTexCoord3dPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glTexCoord3fvPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord3svPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord3ivPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord3dvPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord3fvPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord3svPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord3ivPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord3dvPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord4fPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glTexCoord4sPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glTexCoord4iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glTexCoord4dPROC) (jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glTexCoord4fvPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord4svPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord4ivPROC) (intptr_t); -typedef void (APIENTRY *glTexCoord4dvPROC) (intptr_t); -typedef void (APIENTRY *glTexCoordPointerPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexCoord4fvPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord4svPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord4ivPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoord4dvPROC) (uintptr_t); +typedef void (APIENTRY *glTexCoordPointerPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glTexEnviPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexEnvivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexEnvivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexEnvfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glTexEnvfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexEnvfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexGeniPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexGenivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexGenivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexGenfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glTexGenfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexGenfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexGendPROC) (jint, jint, jdouble); -typedef void (APIENTRY *glTexGendvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexGendvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTranslatefPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glTranslatedPROC) (jdouble, jdouble, jdouble); typedef void (APIENTRY *glVertex2fPROC) (jfloat, jfloat); typedef void (APIENTRY *glVertex2sPROC) (jshort, jshort); typedef void (APIENTRY *glVertex2iPROC) (jint, jint); typedef void (APIENTRY *glVertex2dPROC) (jdouble, jdouble); -typedef void (APIENTRY *glVertex2fvPROC) (intptr_t); -typedef void (APIENTRY *glVertex2svPROC) (intptr_t); -typedef void (APIENTRY *glVertex2ivPROC) (intptr_t); -typedef void (APIENTRY *glVertex2dvPROC) (intptr_t); +typedef void (APIENTRY *glVertex2fvPROC) (uintptr_t); +typedef void (APIENTRY *glVertex2svPROC) (uintptr_t); +typedef void (APIENTRY *glVertex2ivPROC) (uintptr_t); +typedef void (APIENTRY *glVertex2dvPROC) (uintptr_t); typedef void (APIENTRY *glVertex3fPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glVertex3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glVertex3iPROC) (jint, jint, jint); typedef void (APIENTRY *glVertex3dPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glVertex3fvPROC) (intptr_t); -typedef void (APIENTRY *glVertex3svPROC) (intptr_t); -typedef void (APIENTRY *glVertex3ivPROC) (intptr_t); -typedef void (APIENTRY *glVertex3dvPROC) (intptr_t); +typedef void (APIENTRY *glVertex3fvPROC) (uintptr_t); +typedef void (APIENTRY *glVertex3svPROC) (uintptr_t); +typedef void (APIENTRY *glVertex3ivPROC) (uintptr_t); +typedef void (APIENTRY *glVertex3dvPROC) (uintptr_t); typedef void (APIENTRY *glVertex4fPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glVertex4sPROC) (jshort, jshort, jshort, jshort); typedef void (APIENTRY *glVertex4iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glVertex4dPROC) (jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glVertex4fvPROC) (intptr_t); -typedef void (APIENTRY *glVertex4svPROC) (intptr_t); -typedef void (APIENTRY *glVertex4ivPROC) (intptr_t); -typedef void (APIENTRY *glVertex4dvPROC) (intptr_t); -typedef void (APIENTRY *glVertexPointerPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glVertex4fvPROC) (uintptr_t); +typedef void (APIENTRY *glVertex4svPROC) (uintptr_t); +typedef void (APIENTRY *glVertex4ivPROC) (uintptr_t); +typedef void (APIENTRY *glVertex4dvPROC) (uintptr_t); +typedef void (APIENTRY *glVertexPointerPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -297,8 +297,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glAlphaFunc(JNIEnv *__env, jcl JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL11_nglAreTexturesResident__IJJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress, jlong residencesAddress) { glAreTexturesResidentPROC glAreTexturesResident = (glAreTexturesResidentPROC)tlsGetFunction(4); - intptr_t textures = (intptr_t)texturesAddress; - intptr_t residences = (intptr_t)residencesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t residences = (uintptr_t)residencesAddress; UNUSED_PARAM(clazz) return (jboolean)glAreTexturesResident(n, textures, residences); } @@ -317,7 +317,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glBegin(JNIEnv *__env, jclass JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglBitmap(JNIEnv *__env, jclass clazz, jint w, jint h, jfloat xOrig, jfloat yOrig, jfloat xInc, jfloat yInc, jlong dataAddress) { glBitmapPROC glBitmap = (glBitmapPROC)tlsGetFunction(8); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glBitmap(w, h, xOrig, yOrig, xInc, yInc, data); } @@ -330,7 +330,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glCallList(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglCallLists(JNIEnv *__env, jclass clazz, jint n, jint type, jlong listsAddress) { glCallListsPROC glCallLists = (glCallListsPROC)tlsGetFunction(11); - intptr_t lists = (intptr_t)listsAddress; + uintptr_t lists = (uintptr_t)listsAddress; UNUSED_PARAM(clazz) glCallLists(n, type, lists); } @@ -349,7 +349,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glClearIndex(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglClipPlane__IJ(JNIEnv *__env, jclass clazz, jint plane, jlong equationAddress) { glClipPlanePROC glClipPlane = (glClipPlanePROC)tlsGetFunction(18); - intptr_t equation = (intptr_t)equationAddress; + uintptr_t equation = (uintptr_t)equationAddress; UNUSED_PARAM(clazz) glClipPlane(plane, equation); } @@ -404,56 +404,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glColor3ui(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3bv(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3bvPROC glColor3bv = (glColor3bvPROC)tlsGetFunction(27); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3bv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3svPROC glColor3sv = (glColor3svPROC)tlsGetFunction(28); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3ivPROC glColor3iv = (glColor3ivPROC)tlsGetFunction(29); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3fvPROC glColor3fv = (glColor3fvPROC)tlsGetFunction(30); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3dvPROC glColor3dv = (glColor3dvPROC)tlsGetFunction(31); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3dv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3ubv(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3ubvPROC glColor3ubv = (glColor3ubvPROC)tlsGetFunction(32); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3ubv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3usv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3usvPROC glColor3usv = (glColor3usvPROC)tlsGetFunction(33); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3usv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor3uiv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3uivPROC glColor3uiv = (glColor3uivPROC)tlsGetFunction(34); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3uiv(v); } @@ -508,56 +508,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glColor4ui(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4bv(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4bvPROC glColor4bv = (glColor4bvPROC)tlsGetFunction(43); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4bv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4svPROC glColor4sv = (glColor4svPROC)tlsGetFunction(44); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4ivPROC glColor4iv = (glColor4ivPROC)tlsGetFunction(45); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4fvPROC glColor4fv = (glColor4fvPROC)tlsGetFunction(46); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4dvPROC glColor4dv = (glColor4dvPROC)tlsGetFunction(47); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4dv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4ubv(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4ubvPROC glColor4ubv = (glColor4ubvPROC)tlsGetFunction(48); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4ubv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4usv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4usvPROC glColor4usv = (glColor4usvPROC)tlsGetFunction(49); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4usv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColor4uiv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4uivPROC glColor4uiv = (glColor4uivPROC)tlsGetFunction(50); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4uiv(v); } @@ -570,7 +570,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glColorMaterial(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglColorPointer(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glColorPointerPROC glColorPointer = (glColorPointerPROC)tlsGetFunction(53); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glColorPointer(size, type, stride, pointer); } @@ -595,7 +595,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glDisableClientState(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglDrawPixels__IIIIJ(JNIEnv *__env, jclass clazz, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glDrawPixelsPROC glDrawPixels = (glDrawPixelsPROC)tlsGetFunction(64); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glDrawPixels(width, height, format, type, pixels); } @@ -608,14 +608,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEdgeFlag(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEdgeFlagv(JNIEnv *__env, jclass clazz, jlong flagAddress) { glEdgeFlagvPROC glEdgeFlagv = (glEdgeFlagvPROC)tlsGetFunction(66); - intptr_t flag = (intptr_t)flagAddress; + uintptr_t flag = (uintptr_t)flagAddress; UNUSED_PARAM(clazz) glEdgeFlagv(flag); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEdgeFlagPointer(JNIEnv *__env, jclass clazz, jint stride, jlong pointerAddress) { glEdgeFlagPointerPROC glEdgeFlagPointer = (glEdgeFlagPointerPROC)tlsGetFunction(67); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glEdgeFlagPointer(stride, pointer); } @@ -640,7 +640,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEvalCoord1f(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEvalCoord1fv__J(JNIEnv *__env, jclass clazz, jlong uAddress) { glEvalCoord1fvPROC glEvalCoord1fv = (glEvalCoord1fvPROC)tlsGetFunction(71); - intptr_t u = (intptr_t)uAddress; + uintptr_t u = (uintptr_t)uAddress; UNUSED_PARAM(clazz) glEvalCoord1fv(u); } @@ -653,7 +653,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEvalCoord1d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEvalCoord1dv__J(JNIEnv *__env, jclass clazz, jlong uAddress) { glEvalCoord1dvPROC glEvalCoord1dv = (glEvalCoord1dvPROC)tlsGetFunction(73); - intptr_t u = (intptr_t)uAddress; + uintptr_t u = (uintptr_t)uAddress; UNUSED_PARAM(clazz) glEvalCoord1dv(u); } @@ -666,7 +666,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEvalCoord2f(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEvalCoord2fv__J(JNIEnv *__env, jclass clazz, jlong uAddress) { glEvalCoord2fvPROC glEvalCoord2fv = (glEvalCoord2fvPROC)tlsGetFunction(75); - intptr_t u = (intptr_t)uAddress; + uintptr_t u = (uintptr_t)uAddress; UNUSED_PARAM(clazz) glEvalCoord2fv(u); } @@ -679,7 +679,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEvalCoord2d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglEvalCoord2dv__J(JNIEnv *__env, jclass clazz, jlong uAddress) { glEvalCoord2dvPROC glEvalCoord2dv = (glEvalCoord2dvPROC)tlsGetFunction(77); - intptr_t u = (intptr_t)uAddress; + uintptr_t u = (uintptr_t)uAddress; UNUSED_PARAM(clazz) glEvalCoord2dv(u); } @@ -710,7 +710,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glEvalPoint2(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglFeedbackBuffer__IIJ(JNIEnv *__env, jclass clazz, jint size, jint type, jlong bufferAddress) { glFeedbackBufferPROC glFeedbackBuffer = (glFeedbackBufferPROC)tlsGetFunction(82); - intptr_t buffer = (intptr_t)bufferAddress; + uintptr_t buffer = (uintptr_t)bufferAddress; UNUSED_PARAM(clazz) glFeedbackBuffer(size, type, buffer); } @@ -723,7 +723,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glFogi(JNIEnv *__env, jclass c JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglFogiv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glFogivPROC glFogiv = (glFogivPROC)tlsGetFunction(86); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glFogiv(pname, params); } @@ -736,7 +736,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glFogf(JNIEnv *__env, jclass c JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglFogfv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glFogfvPROC glFogfv = (glFogfvPROC)tlsGetFunction(88); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glFogfv(pname, params); } @@ -749,119 +749,119 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL11_glGenLists(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetClipPlane__IJ(JNIEnv *__env, jclass clazz, jint plane, jlong equationAddress) { glGetClipPlanePROC glGetClipPlane = (glGetClipPlanePROC)tlsGetFunction(93); - intptr_t equation = (intptr_t)equationAddress; + uintptr_t equation = (uintptr_t)equationAddress; UNUSED_PARAM(clazz) glGetClipPlane(plane, equation); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetLightiv__IIJ(JNIEnv *__env, jclass clazz, jint light, jint pname, jlong dataAddress) { glGetLightivPROC glGetLightiv = (glGetLightivPROC)tlsGetFunction(99); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetLightiv(light, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetLightfv__IIJ(JNIEnv *__env, jclass clazz, jint light, jint pname, jlong dataAddress) { glGetLightfvPROC glGetLightfv = (glGetLightfvPROC)tlsGetFunction(100); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetLightfv(light, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetMapiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jlong dataAddress) { glGetMapivPROC glGetMapiv = (glGetMapivPROC)tlsGetFunction(101); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetMapiv(target, query, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetMapfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jlong dataAddress) { glGetMapfvPROC glGetMapfv = (glGetMapfvPROC)tlsGetFunction(102); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetMapfv(target, query, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetMapdv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jlong dataAddress) { glGetMapdvPROC glGetMapdv = (glGetMapdvPROC)tlsGetFunction(103); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetMapdv(target, query, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetMaterialiv__IIJ(JNIEnv *__env, jclass clazz, jint face, jint pname, jlong dataAddress) { glGetMaterialivPROC glGetMaterialiv = (glGetMaterialivPROC)tlsGetFunction(104); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetMaterialiv(face, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetMaterialfv__IIJ(JNIEnv *__env, jclass clazz, jint face, jint pname, jlong dataAddress) { glGetMaterialfvPROC glGetMaterialfv = (glGetMaterialfvPROC)tlsGetFunction(105); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetMaterialfv(face, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetPixelMapfv__IJ(JNIEnv *__env, jclass clazz, jint map, jlong dataAddress) { glGetPixelMapfvPROC glGetPixelMapfv = (glGetPixelMapfvPROC)tlsGetFunction(106); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetPixelMapfv(map, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetPixelMapusv__IJ(JNIEnv *__env, jclass clazz, jint map, jlong dataAddress) { glGetPixelMapusvPROC glGetPixelMapusv = (glGetPixelMapusvPROC)tlsGetFunction(107); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetPixelMapusv(map, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetPixelMapuiv__IJ(JNIEnv *__env, jclass clazz, jint map, jlong dataAddress) { glGetPixelMapuivPROC glGetPixelMapuiv = (glGetPixelMapuivPROC)tlsGetFunction(108); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetPixelMapuiv(map, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetPolygonStipple(JNIEnv *__env, jclass clazz, jlong patternAddress) { glGetPolygonStipplePROC glGetPolygonStipple = (glGetPolygonStipplePROC)tlsGetFunction(110); - intptr_t pattern = (intptr_t)patternAddress; + uintptr_t pattern = (uintptr_t)patternAddress; UNUSED_PARAM(clazz) glGetPolygonStipple(pattern); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetTexEnviv__IIJ(JNIEnv *__env, jclass clazz, jint env, jint pname, jlong dataAddress) { glGetTexEnvivPROC glGetTexEnviv = (glGetTexEnvivPROC)tlsGetFunction(112); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetTexEnviv(env, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetTexEnvfv__IIJ(JNIEnv *__env, jclass clazz, jint env, jint pname, jlong dataAddress) { glGetTexEnvfvPROC glGetTexEnvfv = (glGetTexEnvfvPROC)tlsGetFunction(113); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetTexEnvfv(env, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetTexGeniv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong dataAddress) { glGetTexGenivPROC glGetTexGeniv = (glGetTexGenivPROC)tlsGetFunction(114); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetTexGeniv(coord, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetTexGenfv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong dataAddress) { glGetTexGenfvPROC glGetTexGenfv = (glGetTexGenfvPROC)tlsGetFunction(115); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetTexGenfv(coord, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglGetTexGendv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong dataAddress) { glGetTexGendvPROC glGetTexGendv = (glGetTexGendvPROC)tlsGetFunction(116); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetTexGendv(coord, pname, data); } @@ -898,35 +898,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glIndexd(JNIEnv *__env, jclass JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexiv__J(JNIEnv *__env, jclass clazz, jlong indexAddress) { glIndexivPROC glIndexiv = (glIndexivPROC)tlsGetFunction(128); - intptr_t index = (intptr_t)indexAddress; + uintptr_t index = (uintptr_t)indexAddress; UNUSED_PARAM(clazz) glIndexiv(index); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexubv(JNIEnv *__env, jclass clazz, jlong indexAddress) { glIndexubvPROC glIndexubv = (glIndexubvPROC)tlsGetFunction(129); - intptr_t index = (intptr_t)indexAddress; + uintptr_t index = (uintptr_t)indexAddress; UNUSED_PARAM(clazz) glIndexubv(index); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexsv__J(JNIEnv *__env, jclass clazz, jlong indexAddress) { glIndexsvPROC glIndexsv = (glIndexsvPROC)tlsGetFunction(130); - intptr_t index = (intptr_t)indexAddress; + uintptr_t index = (uintptr_t)indexAddress; UNUSED_PARAM(clazz) glIndexsv(index); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexfv__J(JNIEnv *__env, jclass clazz, jlong indexAddress) { glIndexfvPROC glIndexfv = (glIndexfvPROC)tlsGetFunction(131); - intptr_t index = (intptr_t)indexAddress; + uintptr_t index = (uintptr_t)indexAddress; UNUSED_PARAM(clazz) glIndexfv(index); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexdv__J(JNIEnv *__env, jclass clazz, jlong indexAddress) { glIndexdvPROC glIndexdv = (glIndexdvPROC)tlsGetFunction(132); - intptr_t index = (intptr_t)indexAddress; + uintptr_t index = (uintptr_t)indexAddress; UNUSED_PARAM(clazz) glIndexdv(index); } @@ -939,7 +939,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glIndexMask(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglIndexPointer(JNIEnv *__env, jclass clazz, jint type, jint stride, jlong pointerAddress) { glIndexPointerPROC glIndexPointer = (glIndexPointerPROC)tlsGetFunction(134); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glIndexPointer(type, stride, pointer); } @@ -952,7 +952,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glInitNames(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglInterleavedArrays__IIJ(JNIEnv *__env, jclass clazz, jint format, jint stride, jlong pointerAddress) { glInterleavedArraysPROC glInterleavedArrays = (glInterleavedArraysPROC)tlsGetFunction(136); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glInterleavedArrays(format, stride, pointer); } @@ -977,14 +977,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glLightModelf(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLightModeliv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glLightModelivPROC glLightModeliv = (glLightModelivPROC)tlsGetFunction(142); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glLightModeliv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLightModelfv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glLightModelfvPROC glLightModelfv = (glLightModelfvPROC)tlsGetFunction(143); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glLightModelfv(pname, params); } @@ -1003,14 +1003,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glLightf(JNIEnv *__env, jclass JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLightiv__IIJ(JNIEnv *__env, jclass clazz, jint light, jint pname, jlong paramsAddress) { glLightivPROC glLightiv = (glLightivPROC)tlsGetFunction(146); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glLightiv(light, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLightfv__IIJ(JNIEnv *__env, jclass clazz, jint light, jint pname, jlong paramsAddress) { glLightfvPROC glLightfv = (glLightfvPROC)tlsGetFunction(147); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glLightfv(light, pname, params); } @@ -1029,14 +1029,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glListBase(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLoadMatrixf__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadMatrixfPROC glLoadMatrixf = (glLoadMatrixfPROC)tlsGetFunction(151); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadMatrixf(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglLoadMatrixd__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadMatrixdPROC glLoadMatrixd = (glLoadMatrixdPROC)tlsGetFunction(152); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadMatrixd(m); } @@ -1055,28 +1055,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glLoadName(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMap1f__IFFIIJ(JNIEnv *__env, jclass clazz, jint target, jfloat u1, jfloat u2, jint stride, jint order, jlong pointsAddress) { glMap1fPROC glMap1f = (glMap1fPROC)tlsGetFunction(156); - intptr_t points = (intptr_t)pointsAddress; + uintptr_t points = (uintptr_t)pointsAddress; UNUSED_PARAM(clazz) glMap1f(target, u1, u2, stride, order, points); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMap1d__IDDIIJ(JNIEnv *__env, jclass clazz, jint target, jdouble u1, jdouble u2, jint stride, jint order, jlong pointsAddress) { glMap1dPROC glMap1d = (glMap1dPROC)tlsGetFunction(157); - intptr_t points = (intptr_t)pointsAddress; + uintptr_t points = (uintptr_t)pointsAddress; UNUSED_PARAM(clazz) glMap1d(target, u1, u2, stride, order, points); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMap2f__IFFIIFFIIJ(JNIEnv *__env, jclass clazz, jint target, jfloat u1, jfloat u2, jint ustride, jint uorder, jfloat v1, jfloat v2, jint vstride, jint vorder, jlong pointsAddress) { glMap2fPROC glMap2f = (glMap2fPROC)tlsGetFunction(158); - intptr_t points = (intptr_t)pointsAddress; + uintptr_t points = (uintptr_t)pointsAddress; UNUSED_PARAM(clazz) glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMap2d__IDDIIDDIIJ(JNIEnv *__env, jclass clazz, jint target, jdouble u1, jdouble u2, jint ustride, jint uorder, jdouble v1, jdouble v2, jint vstride, jint vorder, jlong pointsAddress) { glMap2dPROC glMap2d = (glMap2dPROC)tlsGetFunction(159); - intptr_t points = (intptr_t)pointsAddress; + uintptr_t points = (uintptr_t)pointsAddress; UNUSED_PARAM(clazz) glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); } @@ -1119,14 +1119,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glMaterialf(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMaterialiv__IIJ(JNIEnv *__env, jclass clazz, jint face, jint pname, jlong paramsAddress) { glMaterialivPROC glMaterialiv = (glMaterialivPROC)tlsGetFunction(166); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMaterialiv(face, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMaterialfv__IIJ(JNIEnv *__env, jclass clazz, jint face, jint pname, jlong paramsAddress) { glMaterialfvPROC glMaterialfv = (glMaterialfvPROC)tlsGetFunction(167); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMaterialfv(face, pname, params); } @@ -1139,14 +1139,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glMatrixMode(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMultMatrixf__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultMatrixfPROC glMultMatrixf = (glMultMatrixfPROC)tlsGetFunction(169); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultMatrixf(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglMultMatrixd__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultMatrixdPROC glMultMatrixd = (glMultMatrixdPROC)tlsGetFunction(170); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultMatrixd(m); } @@ -1201,42 +1201,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glNormal3d(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormal3fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3fvPROC glNormal3fv = (glNormal3fvPROC)tlsGetFunction(179); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormal3bv(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3bvPROC glNormal3bv = (glNormal3bvPROC)tlsGetFunction(180); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3bv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormal3sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3svPROC glNormal3sv = (glNormal3svPROC)tlsGetFunction(181); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormal3iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3ivPROC glNormal3iv = (glNormal3ivPROC)tlsGetFunction(182); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormal3dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3dvPROC glNormal3dv = (glNormal3dvPROC)tlsGetFunction(183); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3dv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglNormalPointer(JNIEnv *__env, jclass clazz, jint type, jint stride, jlong pointerAddress) { glNormalPointerPROC glNormalPointer = (glNormalPointerPROC)tlsGetFunction(184); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glNormalPointer(type, stride, pointer); } @@ -1255,21 +1255,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glPassThrough(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglPixelMapfv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint size, jlong valuesAddress) { glPixelMapfvPROC glPixelMapfv = (glPixelMapfvPROC)tlsGetFunction(187); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glPixelMapfv(map, size, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglPixelMapusv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint size, jlong valuesAddress) { glPixelMapusvPROC glPixelMapusv = (glPixelMapusvPROC)tlsGetFunction(188); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glPixelMapusv(map, size, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglPixelMapuiv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint size, jlong valuesAddress) { glPixelMapuivPROC glPixelMapuiv = (glPixelMapuivPROC)tlsGetFunction(189); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glPixelMapuiv(map, size, values); } @@ -1294,7 +1294,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glPixelZoom(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglPolygonStipple(JNIEnv *__env, jclass clazz, jlong patternAddress) { glPolygonStipplePROC glPolygonStipple = (glPolygonStipplePROC)tlsGetFunction(198); - intptr_t pattern = (intptr_t)patternAddress; + uintptr_t pattern = (uintptr_t)patternAddress; UNUSED_PARAM(clazz) glPolygonStipple(pattern); } @@ -1337,8 +1337,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glPopName(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglPrioritizeTextures__IJJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress, jlong prioritiesAddress) { glPrioritizeTexturesPROC glPrioritizeTextures = (glPrioritizeTexturesPROC)tlsGetFunction(205); - intptr_t textures = (intptr_t)texturesAddress; - intptr_t priorities = (intptr_t)prioritiesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t priorities = (uintptr_t)prioritiesAddress; UNUSED_PARAM(clazz) glPrioritizeTextures(n, textures, priorities); } @@ -1381,28 +1381,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glRasterPos2d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos2iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos2ivPROC glRasterPos2iv = (glRasterPos2ivPROC)tlsGetFunction(212); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos2iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos2sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos2svPROC glRasterPos2sv = (glRasterPos2svPROC)tlsGetFunction(213); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos2sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos2fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos2fvPROC glRasterPos2fv = (glRasterPos2fvPROC)tlsGetFunction(214); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos2fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos2dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos2dvPROC glRasterPos2dv = (glRasterPos2dvPROC)tlsGetFunction(215); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos2dv(coords); } @@ -1433,28 +1433,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glRasterPos3d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos3iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos3ivPROC glRasterPos3iv = (glRasterPos3ivPROC)tlsGetFunction(220); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos3iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos3sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos3svPROC glRasterPos3sv = (glRasterPos3svPROC)tlsGetFunction(221); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos3sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos3fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos3fvPROC glRasterPos3fv = (glRasterPos3fvPROC)tlsGetFunction(222); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos3fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos3dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos3dvPROC glRasterPos3dv = (glRasterPos3dvPROC)tlsGetFunction(223); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos3dv(coords); } @@ -1485,28 +1485,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glRasterPos4d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos4iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos4ivPROC glRasterPos4iv = (glRasterPos4ivPROC)tlsGetFunction(228); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos4iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos4sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos4svPROC glRasterPos4sv = (glRasterPos4svPROC)tlsGetFunction(229); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos4sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos4fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos4fvPROC glRasterPos4fv = (glRasterPos4fvPROC)tlsGetFunction(230); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos4fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRasterPos4dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glRasterPos4dvPROC glRasterPos4dv = (glRasterPos4dvPROC)tlsGetFunction(231); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glRasterPos4dv(coords); } @@ -1537,32 +1537,32 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glRectd(JNIEnv *__env, jclass JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRectiv__JJ(JNIEnv *__env, jclass clazz, jlong v1Address, jlong v2Address) { glRectivPROC glRectiv = (glRectivPROC)tlsGetFunction(238); - intptr_t v1 = (intptr_t)v1Address; - intptr_t v2 = (intptr_t)v2Address; + uintptr_t v1 = (uintptr_t)v1Address; + uintptr_t v2 = (uintptr_t)v2Address; UNUSED_PARAM(clazz) glRectiv(v1, v2); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRectsv__JJ(JNIEnv *__env, jclass clazz, jlong v1Address, jlong v2Address) { glRectsvPROC glRectsv = (glRectsvPROC)tlsGetFunction(239); - intptr_t v1 = (intptr_t)v1Address; - intptr_t v2 = (intptr_t)v2Address; + uintptr_t v1 = (uintptr_t)v1Address; + uintptr_t v2 = (uintptr_t)v2Address; UNUSED_PARAM(clazz) glRectsv(v1, v2); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRectfv__JJ(JNIEnv *__env, jclass clazz, jlong v1Address, jlong v2Address) { glRectfvPROC glRectfv = (glRectfvPROC)tlsGetFunction(240); - intptr_t v1 = (intptr_t)v1Address; - intptr_t v2 = (intptr_t)v2Address; + uintptr_t v1 = (uintptr_t)v1Address; + uintptr_t v2 = (uintptr_t)v2Address; UNUSED_PARAM(clazz) glRectfv(v1, v2); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglRectdv__JJ(JNIEnv *__env, jclass clazz, jlong v1Address, jlong v2Address) { glRectdvPROC glRectdv = (glRectdvPROC)tlsGetFunction(241); - intptr_t v1 = (intptr_t)v1Address; - intptr_t v2 = (intptr_t)v2Address; + uintptr_t v1 = (uintptr_t)v1Address; + uintptr_t v2 = (uintptr_t)v2Address; UNUSED_PARAM(clazz) glRectdv(v1, v2); } @@ -1599,7 +1599,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glScaled(JNIEnv *__env, jclass JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglSelectBuffer__IJ(JNIEnv *__env, jclass clazz, jint size, jlong bufferAddress) { glSelectBufferPROC glSelectBuffer = (glSelectBufferPROC)tlsGetFunction(248); - intptr_t buffer = (intptr_t)bufferAddress; + uintptr_t buffer = (uintptr_t)bufferAddress; UNUSED_PARAM(clazz) glSelectBuffer(size, buffer); } @@ -1636,28 +1636,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexCoord1d(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord1fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord1fvPROC glTexCoord1fv = (glTexCoord1fvPROC)tlsGetFunction(257); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord1fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord1sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord1svPROC glTexCoord1sv = (glTexCoord1svPROC)tlsGetFunction(258); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord1sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord1iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord1ivPROC glTexCoord1iv = (glTexCoord1ivPROC)tlsGetFunction(259); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord1iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord1dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord1dvPROC glTexCoord1dv = (glTexCoord1dvPROC)tlsGetFunction(260); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord1dv(v); } @@ -1688,28 +1688,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexCoord2d(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord2fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord2fvPROC glTexCoord2fv = (glTexCoord2fvPROC)tlsGetFunction(265); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord2fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord2sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord2svPROC glTexCoord2sv = (glTexCoord2svPROC)tlsGetFunction(266); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord2sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord2iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord2ivPROC glTexCoord2iv = (glTexCoord2ivPROC)tlsGetFunction(267); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord2iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord2dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord2dvPROC glTexCoord2dv = (glTexCoord2dvPROC)tlsGetFunction(268); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord2dv(v); } @@ -1740,28 +1740,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexCoord3d(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord3fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord3fvPROC glTexCoord3fv = (glTexCoord3fvPROC)tlsGetFunction(273); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord3fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord3sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord3svPROC glTexCoord3sv = (glTexCoord3svPROC)tlsGetFunction(274); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord3sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord3iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord3ivPROC glTexCoord3iv = (glTexCoord3ivPROC)tlsGetFunction(275); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord3iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord3dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord3dvPROC glTexCoord3dv = (glTexCoord3dvPROC)tlsGetFunction(276); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord3dv(v); } @@ -1792,35 +1792,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexCoord4d(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord4fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord4fvPROC glTexCoord4fv = (glTexCoord4fvPROC)tlsGetFunction(281); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord4fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord4sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord4svPROC glTexCoord4sv = (glTexCoord4svPROC)tlsGetFunction(282); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord4sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord4iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord4ivPROC glTexCoord4iv = (glTexCoord4ivPROC)tlsGetFunction(283); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord4iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoord4dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord4dvPROC glTexCoord4dv = (glTexCoord4dvPROC)tlsGetFunction(284); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord4dv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexCoordPointer(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glTexCoordPointerPROC glTexCoordPointer = (glTexCoordPointerPROC)tlsGetFunction(285); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glTexCoordPointer(size, type, stride, pointer); } @@ -1833,7 +1833,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexEnvi(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexEnviv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexEnvivPROC glTexEnviv = (glTexEnvivPROC)tlsGetFunction(287); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexEnviv(target, pname, params); } @@ -1846,7 +1846,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexEnvf(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexEnvfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexEnvfvPROC glTexEnvfv = (glTexEnvfvPROC)tlsGetFunction(289); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexEnvfv(target, pname, params); } @@ -1859,7 +1859,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexGeni(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexGeniv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong paramsAddress) { glTexGenivPROC glTexGeniv = (glTexGenivPROC)tlsGetFunction(291); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexGeniv(coord, pname, params); } @@ -1872,7 +1872,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexGenf(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexGenfv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong paramsAddress) { glTexGenfvPROC glTexGenfv = (glTexGenfvPROC)tlsGetFunction(293); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexGenfv(coord, pname, params); } @@ -1885,7 +1885,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glTexGend(JNIEnv *__env, jclas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglTexGendv__IIJ(JNIEnv *__env, jclass clazz, jint coord, jint pname, jlong paramsAddress) { glTexGendvPROC glTexGendv = (glTexGendvPROC)tlsGetFunction(295); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexGendv(coord, pname, params); } @@ -1928,28 +1928,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glVertex2d(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex2fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex2fvPROC glVertex2fv = (glVertex2fvPROC)tlsGetFunction(314); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex2fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex2sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex2svPROC glVertex2sv = (glVertex2svPROC)tlsGetFunction(315); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex2sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex2iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex2ivPROC glVertex2iv = (glVertex2ivPROC)tlsGetFunction(316); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex2iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex2dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex2dvPROC glVertex2dv = (glVertex2dvPROC)tlsGetFunction(317); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex2dv(coords); } @@ -1980,28 +1980,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glVertex3d(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex3fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex3fvPROC glVertex3fv = (glVertex3fvPROC)tlsGetFunction(322); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex3fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex3sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex3svPROC glVertex3sv = (glVertex3svPROC)tlsGetFunction(323); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex3sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex3iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex3ivPROC glVertex3iv = (glVertex3ivPROC)tlsGetFunction(324); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex3iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex3dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex3dvPROC glVertex3dv = (glVertex3dvPROC)tlsGetFunction(325); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex3dv(coords); } @@ -2032,35 +2032,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_glVertex4d(JNIEnv *__env, jcla JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex4fv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex4fvPROC glVertex4fv = (glVertex4fvPROC)tlsGetFunction(330); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex4fv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex4sv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex4svPROC glVertex4sv = (glVertex4svPROC)tlsGetFunction(331); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex4sv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex4iv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex4ivPROC glVertex4iv = (glVertex4ivPROC)tlsGetFunction(332); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex4iv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertex4dv__J(JNIEnv *__env, jclass clazz, jlong coordsAddress) { glVertex4dvPROC glVertex4dv = (glVertex4dvPROC)tlsGetFunction(333); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glVertex4dv(coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglVertexPointer(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glVertexPointerPROC glVertexPointer = (glVertexPointerPROC)tlsGetFunction(334); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexPointer(size, type, stride, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11C.c index b41cbd3eb8..882af566b9 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL11C.c @@ -21,24 +21,24 @@ typedef void (APIENTRY *glDepthMaskPROC) (jboolean); typedef void (APIENTRY *glDepthRangePROC) (jdouble, jdouble); typedef void (APIENTRY *glDrawArraysPROC) (jint, jint, jint); typedef void (APIENTRY *glDrawBufferPROC) (jint); -typedef void (APIENTRY *glDrawElementsPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDrawElementsPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glFinishPROC) (void); typedef void (APIENTRY *glFlushPROC) (void); typedef void (APIENTRY *glFrontFacePROC) (jint); -typedef void (APIENTRY *glGenTexturesPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteTexturesPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetBooleanvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetFloatvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetIntegervPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetDoublevPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenTexturesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteTexturesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetBooleanvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetFloatvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetIntegervPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetDoublevPROC) (jint, uintptr_t); typedef jint (APIENTRY *glGetErrorPROC) (void); -typedef void (APIENTRY *glGetPointervPROC) (jint, intptr_t); -typedef intptr_t (APIENTRY *glGetStringPROC) (jint); -typedef void (APIENTRY *glGetTexImagePROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexLevelParameterivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexLevelParameterfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetPointervPROC) (jint, uintptr_t); +typedef uintptr_t (APIENTRY *glGetStringPROC) (jint); +typedef void (APIENTRY *glGetTexImagePROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexLevelParameterivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexLevelParameterfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glHintPROC) (jint, jint); typedef jboolean (APIENTRY *glIsEnabledPROC) (jint); typedef jboolean (APIENTRY *glIsTexturePROC) (jint); @@ -50,23 +50,23 @@ typedef void (APIENTRY *glPointSizePROC) (jfloat); typedef void (APIENTRY *glPolygonModePROC) (jint, jint); typedef void (APIENTRY *glPolygonOffsetPROC) (jfloat, jfloat); typedef void (APIENTRY *glReadBufferPROC) (jint); -typedef void (APIENTRY *glReadPixelsPROC) (jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glReadPixelsPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glScissorPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glStencilFuncPROC) (jint, jint, jint); typedef void (APIENTRY *glStencilMaskPROC) (jint); typedef void (APIENTRY *glStencilOpPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexImage1DPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexImage1DPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexImage1DPROC) (jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTexSubImage1DPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glTexParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glTexParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage1DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage1DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glViewportPROC) (jint, jint, jint, jint); EXTERN_C_ENTER @@ -163,7 +163,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glDrawBuffer(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglDrawElements(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress) { glDrawElementsPROC glDrawElements = (glDrawElementsPROC)tlsGetFunction(63); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElements(mode, count, type, indices); } @@ -188,42 +188,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glFrontFace(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGenTextures__IJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress) { glGenTexturesPROC glGenTextures = (glGenTexturesPROC)tlsGetFunction(91); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glGenTextures(n, textures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglDeleteTextures__IJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress) { glDeleteTexturesPROC glDeleteTextures = (glDeleteTexturesPROC)tlsGetFunction(92); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glDeleteTextures(n, textures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetBooleanv(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetBooleanvPROC glGetBooleanv = (glGetBooleanvPROC)tlsGetFunction(94); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBooleanv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetFloatv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetFloatvPROC glGetFloatv = (glGetFloatvPROC)tlsGetFunction(95); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFloatv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetIntegerv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetIntegervPROC glGetIntegerv = (glGetIntegervPROC)tlsGetFunction(96); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetIntegerv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetDoublev__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetDoublevPROC glGetDoublev = (glGetDoublevPROC)tlsGetFunction(97); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetDoublev(pname, params); } @@ -236,7 +236,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL11C_glGetError(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetPointerv(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetPointervPROC glGetPointerv = (glGetPointervPROC)tlsGetFunction(109); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetPointerv(pname, params); } @@ -249,35 +249,35 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL11C_nglGetString(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetTexImage__IIIIJ(JNIEnv *__env, jclass clazz, jint tex, jint level, jint format, jint type, jlong pixelsAddress) { glGetTexImagePROC glGetTexImage = (glGetTexImagePROC)tlsGetFunction(117); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetTexImage(tex, level, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetTexLevelParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint pname, jlong paramsAddress) { glGetTexLevelParameterivPROC glGetTexLevelParameteriv = (glGetTexLevelParameterivPROC)tlsGetFunction(118); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexLevelParameteriv(target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetTexLevelParameterfv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint pname, jlong paramsAddress) { glGetTexLevelParameterfvPROC glGetTexLevelParameterfv = (glGetTexLevelParameterfvPROC)tlsGetFunction(119); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexLevelParameterfv(target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetTexParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterivPROC glGetTexParameteriv = (glGetTexParameterivPROC)tlsGetFunction(120); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglGetTexParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterfvPROC glGetTexParameterfv = (glGetTexParameterfvPROC)tlsGetFunction(121); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterfv(target, pname, params); } @@ -350,7 +350,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glReadBuffer(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglReadPixels__IIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glReadPixelsPROC glReadPixels = (glReadPixelsPROC)tlsGetFunction(233); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glReadPixels(x, y, width, height, format, type, pixels); } @@ -381,14 +381,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glStencilOp(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexImage1D__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage1DPROC glTexImage1D = (glTexImage1DPROC)tlsGetFunction(296); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage1D(target, level, internalformat, width, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexImage2D__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage2DPROC glTexImage2D = (glTexImage2DPROC)tlsGetFunction(297); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); } @@ -425,7 +425,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glTexParameteri(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterivPROC glTexParameteriv = (glTexParameterivPROC)tlsGetFunction(303); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameteriv(target, pname, params); } @@ -438,21 +438,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_glTexParameterf(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterfvPROC glTexParameterfv = (glTexParameterfvPROC)tlsGetFunction(305); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterfv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexSubImage1D__IIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint width, jint format, jint type, jlong pixelsAddress) { glTexSubImage1DPROC glTexSubImage1D = (glTexSubImage1DPROC)tlsGetFunction(306); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage1D(target, level, xoffset, width, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11C_nglTexSubImage2D__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glTexSubImage2DPROC glTexSubImage2D = (glTexSubImage2DPROC)tlsGetFunction(307); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL12C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL12C.c index 4052897d73..6bf807ea31 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL12C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL12C.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDrawRangeElementsPROC) (jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDrawRangeElementsPROC) (jint, jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL12C_nglTexImage3D__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage3DPROC glTexImage3D = (glTexImage3DPROC)tlsGetFunction(336); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL12C_nglTexSubImage3D__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTexSubImage3DPROC glTexSubImage3D = (glTexSubImage3DPROC)tlsGetFunction(337); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -35,7 +35,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL12C_glCopyTexSubImage3D(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL12C_nglDrawRangeElements(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress) { glDrawRangeElementsPROC glDrawRangeElements = (glDrawRangeElementsPROC)tlsGetFunction(339); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElements(mode, start, end, count, type, indices); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13.c index b73de8a565..2b67dde8a6 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13.c @@ -11,38 +11,38 @@ typedef void (APIENTRY *glMultiTexCoord1fPROC) (jint, jfloat); typedef void (APIENTRY *glMultiTexCoord1sPROC) (jint, jshort); typedef void (APIENTRY *glMultiTexCoord1iPROC) (jint, jint); typedef void (APIENTRY *glMultiTexCoord1dPROC) (jint, jdouble); -typedef void (APIENTRY *glMultiTexCoord1fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1svPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord1dvPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord1fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord1dvPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord2fPROC) (jint, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord2sPROC) (jint, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord2iPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord2dPROC) (jint, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord2fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2svPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord2dvPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord2fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord2dvPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord3fPROC) (jint, jfloat, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord3sPROC) (jint, jshort, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord3iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord3dPROC) (jint, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord3fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3svPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord3dvPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord3fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord3dvPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord4fPROC) (jint, jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glMultiTexCoord4sPROC) (jint, jshort, jshort, jshort, jshort); typedef void (APIENTRY *glMultiTexCoord4iPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glMultiTexCoord4dPROC) (jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glMultiTexCoord4fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4svPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoord4dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glLoadTransposeMatrixfPROC) (intptr_t); -typedef void (APIENTRY *glLoadTransposeMatrixdPROC) (intptr_t); -typedef void (APIENTRY *glMultTransposeMatrixfPROC) (intptr_t); -typedef void (APIENTRY *glMultTransposeMatrixdPROC) (intptr_t); +typedef void (APIENTRY *glMultiTexCoord4fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoord4dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glLoadTransposeMatrixfPROC) (uintptr_t); +typedef void (APIENTRY *glLoadTransposeMatrixdPROC) (uintptr_t); +typedef void (APIENTRY *glMultTransposeMatrixfPROC) (uintptr_t); +typedef void (APIENTRY *glMultTransposeMatrixdPROC) (uintptr_t); EXTERN_C_ENTER @@ -78,28 +78,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_glMultiTexCoord1d(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord1fv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1fvPROC glMultiTexCoord1fv = (glMultiTexCoord1fvPROC)tlsGetFunction(354); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1fv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord1sv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1svPROC glMultiTexCoord1sv = (glMultiTexCoord1svPROC)tlsGetFunction(355); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1sv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord1iv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1ivPROC glMultiTexCoord1iv = (glMultiTexCoord1ivPROC)tlsGetFunction(356); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1iv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord1dv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord1dvPROC glMultiTexCoord1dv = (glMultiTexCoord1dvPROC)tlsGetFunction(357); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1dv(texture, v); } @@ -130,28 +130,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_glMultiTexCoord2d(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord2fv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2fvPROC glMultiTexCoord2fv = (glMultiTexCoord2fvPROC)tlsGetFunction(362); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2fv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord2sv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2svPROC glMultiTexCoord2sv = (glMultiTexCoord2svPROC)tlsGetFunction(363); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2sv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord2iv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2ivPROC glMultiTexCoord2iv = (glMultiTexCoord2ivPROC)tlsGetFunction(364); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2iv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord2dv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord2dvPROC glMultiTexCoord2dv = (glMultiTexCoord2dvPROC)tlsGetFunction(365); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2dv(texture, v); } @@ -182,28 +182,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_glMultiTexCoord3d(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord3fv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3fvPROC glMultiTexCoord3fv = (glMultiTexCoord3fvPROC)tlsGetFunction(370); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3fv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord3sv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3svPROC glMultiTexCoord3sv = (glMultiTexCoord3svPROC)tlsGetFunction(371); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3sv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord3iv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3ivPROC glMultiTexCoord3iv = (glMultiTexCoord3ivPROC)tlsGetFunction(372); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3iv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord3dv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord3dvPROC glMultiTexCoord3dv = (glMultiTexCoord3dvPROC)tlsGetFunction(373); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3dv(texture, v); } @@ -234,56 +234,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_glMultiTexCoord4d(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord4fv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4fvPROC glMultiTexCoord4fv = (glMultiTexCoord4fvPROC)tlsGetFunction(378); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4fv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord4sv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4svPROC glMultiTexCoord4sv = (glMultiTexCoord4svPROC)tlsGetFunction(379); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4sv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord4iv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4ivPROC glMultiTexCoord4iv = (glMultiTexCoord4ivPROC)tlsGetFunction(380); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4iv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultiTexCoord4dv__IJ(JNIEnv *__env, jclass clazz, jint texture, jlong vAddress) { glMultiTexCoord4dvPROC glMultiTexCoord4dv = (glMultiTexCoord4dvPROC)tlsGetFunction(381); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4dv(texture, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglLoadTransposeMatrixf__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadTransposeMatrixfPROC glLoadTransposeMatrixf = (glLoadTransposeMatrixfPROC)tlsGetFunction(382); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadTransposeMatrixf(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglLoadTransposeMatrixd__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glLoadTransposeMatrixdPROC glLoadTransposeMatrixd = (glLoadTransposeMatrixdPROC)tlsGetFunction(383); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glLoadTransposeMatrixd(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultTransposeMatrixf__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultTransposeMatrixfPROC glMultTransposeMatrixf = (glMultTransposeMatrixfPROC)tlsGetFunction(384); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultTransposeMatrixf(m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13_nglMultTransposeMatrixd__J(JNIEnv *__env, jclass clazz, jlong mAddress) { glMultTransposeMatrixdPROC glMultTransposeMatrixd = (glMultTransposeMatrixdPROC)tlsGetFunction(385); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMultTransposeMatrixd(m); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13C.c index ad89bd864f..78ab145b76 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL13C.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glCompressedTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexImage1DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage1DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedTexImagePROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexImage1DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage1DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedTexImagePROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSampleCoveragePROC) (jfloat, jboolean); typedef void (APIENTRY *glActiveTexturePROC) (jint); @@ -20,49 +20,49 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexImage3D(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage3DPROC glCompressedTexImage3D = (glCompressedTexImage3DPROC)tlsGetFunction(340); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexImage2D(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage2DPROC glCompressedTexImage2D = (glCompressedTexImage2DPROC)tlsGetFunction(341); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexImage1D(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage1DPROC glCompressedTexImage1D = (glCompressedTexImage1DPROC)tlsGetFunction(342); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexSubImage3D(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage3DPROC glCompressedTexSubImage3D = (glCompressedTexSubImage3DPROC)tlsGetFunction(343); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexSubImage2D(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage2DPROC glCompressedTexSubImage2D = (glCompressedTexSubImage2DPROC)tlsGetFunction(344); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglCompressedTexSubImage1D(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint width, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage1DPROC glCompressedTexSubImage1D = (glCompressedTexSubImage1DPROC)tlsGetFunction(345); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL13C_nglGetCompressedTexImage(JNIEnv *__env, jclass clazz, jint target, jint level, jlong pixelsAddress) { glGetCompressedTexImagePROC glGetCompressedTexImage = (glGetCompressedTexImagePROC)tlsGetFunction(346); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetCompressedTexImage(target, level, pixels); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14.c index a20d0e8915..282c00d917 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14.c @@ -8,9 +8,9 @@ typedef void (APIENTRY *glFogCoordfPROC) (jfloat); typedef void (APIENTRY *glFogCoorddPROC) (jdouble); -typedef void (APIENTRY *glFogCoordfvPROC) (intptr_t); -typedef void (APIENTRY *glFogCoorddvPROC) (intptr_t); -typedef void (APIENTRY *glFogCoordPointerPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glFogCoordfvPROC) (uintptr_t); +typedef void (APIENTRY *glFogCoorddvPROC) (uintptr_t); +typedef void (APIENTRY *glFogCoordPointerPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSecondaryColor3bPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glSecondaryColor3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glSecondaryColor3iPROC) (jint, jint, jint); @@ -19,31 +19,31 @@ typedef void (APIENTRY *glSecondaryColor3dPROC) (jdouble, jdouble, jdouble); typedef void (APIENTRY *glSecondaryColor3ubPROC) (jbyte, jbyte, jbyte); typedef void (APIENTRY *glSecondaryColor3usPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glSecondaryColor3uiPROC) (jint, jint, jint); -typedef void (APIENTRY *glSecondaryColor3bvPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3svPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3ivPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3fvPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3dvPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3ubvPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3usvPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColor3uivPROC) (intptr_t); -typedef void (APIENTRY *glSecondaryColorPointerPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glSecondaryColor3bvPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3svPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3ivPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3fvPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3dvPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3ubvPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3usvPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColor3uivPROC) (uintptr_t); +typedef void (APIENTRY *glSecondaryColorPointerPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glWindowPos2iPROC) (jint, jint); typedef void (APIENTRY *glWindowPos2sPROC) (jshort, jshort); typedef void (APIENTRY *glWindowPos2fPROC) (jfloat, jfloat); typedef void (APIENTRY *glWindowPos2dPROC) (jdouble, jdouble); -typedef void (APIENTRY *glWindowPos2ivPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2svPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2fvPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos2dvPROC) (intptr_t); +typedef void (APIENTRY *glWindowPos2ivPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2svPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2fvPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos2dvPROC) (uintptr_t); typedef void (APIENTRY *glWindowPos3iPROC) (jint, jint, jint); typedef void (APIENTRY *glWindowPos3sPROC) (jshort, jshort, jshort); typedef void (APIENTRY *glWindowPos3fPROC) (jfloat, jfloat, jfloat); typedef void (APIENTRY *glWindowPos3dPROC) (jdouble, jdouble, jdouble); -typedef void (APIENTRY *glWindowPos3ivPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3svPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3fvPROC) (intptr_t); -typedef void (APIENTRY *glWindowPos3dvPROC) (intptr_t); +typedef void (APIENTRY *glWindowPos3ivPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3svPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3fvPROC) (uintptr_t); +typedef void (APIENTRY *glWindowPos3dvPROC) (uintptr_t); EXTERN_C_ENTER @@ -61,21 +61,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_glFogCoordd(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglFogCoordfv__J(JNIEnv *__env, jclass clazz, jlong coordAddress) { glFogCoordfvPROC glFogCoordfv = (glFogCoordfvPROC)tlsGetFunction(390); - intptr_t coord = (intptr_t)coordAddress; + uintptr_t coord = (uintptr_t)coordAddress; UNUSED_PARAM(clazz) glFogCoordfv(coord); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglFogCoorddv__J(JNIEnv *__env, jclass clazz, jlong coordAddress) { glFogCoorddvPROC glFogCoorddv = (glFogCoorddvPROC)tlsGetFunction(391); - intptr_t coord = (intptr_t)coordAddress; + uintptr_t coord = (uintptr_t)coordAddress; UNUSED_PARAM(clazz) glFogCoorddv(coord); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglFogCoordPointer(JNIEnv *__env, jclass clazz, jint type, jint stride, jlong pointerAddress) { glFogCoordPointerPROC glFogCoordPointer = (glFogCoordPointerPROC)tlsGetFunction(392); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glFogCoordPointer(type, stride, pointer); } @@ -130,63 +130,63 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_glSecondaryColor3ui(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3bv(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3bvPROC glSecondaryColor3bv = (glSecondaryColor3bvPROC)tlsGetFunction(407); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3bv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3sv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3svPROC glSecondaryColor3sv = (glSecondaryColor3svPROC)tlsGetFunction(408); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3sv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3iv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3ivPROC glSecondaryColor3iv = (glSecondaryColor3ivPROC)tlsGetFunction(409); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3iv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3fv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3fvPROC glSecondaryColor3fv = (glSecondaryColor3fvPROC)tlsGetFunction(410); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3fv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3dv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3dvPROC glSecondaryColor3dv = (glSecondaryColor3dvPROC)tlsGetFunction(411); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3dv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3ubv(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3ubvPROC glSecondaryColor3ubv = (glSecondaryColor3ubvPROC)tlsGetFunction(412); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3ubv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3usv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3usvPROC glSecondaryColor3usv = (glSecondaryColor3usvPROC)tlsGetFunction(413); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3usv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColor3uiv__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3uivPROC glSecondaryColor3uiv = (glSecondaryColor3uivPROC)tlsGetFunction(414); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3uiv(v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglSecondaryColorPointer(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride, jlong pointerAddress) { glSecondaryColorPointerPROC glSecondaryColorPointer = (glSecondaryColorPointerPROC)tlsGetFunction(415); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glSecondaryColorPointer(size, type, stride, pointer); } @@ -217,28 +217,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_glWindowPos2d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos2iv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2ivPROC glWindowPos2iv = (glWindowPos2ivPROC)tlsGetFunction(421); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2iv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos2sv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2svPROC glWindowPos2sv = (glWindowPos2svPROC)tlsGetFunction(422); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2sv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos2fv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2fvPROC glWindowPos2fv = (glWindowPos2fvPROC)tlsGetFunction(423); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2fv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos2dv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos2dvPROC glWindowPos2dv = (glWindowPos2dvPROC)tlsGetFunction(424); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos2dv(p); } @@ -269,28 +269,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_glWindowPos3d(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos3iv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3ivPROC glWindowPos3iv = (glWindowPos3ivPROC)tlsGetFunction(429); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3iv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos3sv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3svPROC glWindowPos3sv = (glWindowPos3svPROC)tlsGetFunction(430); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3sv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos3fv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3fvPROC glWindowPos3fv = (glWindowPos3fvPROC)tlsGetFunction(431); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3fv(p); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglWindowPos3dv__J(JNIEnv *__env, jclass clazz, jlong pAddress) { glWindowPos3dvPROC glWindowPos3dv = (glWindowPos3dvPROC)tlsGetFunction(432); - intptr_t p = (intptr_t)pAddress; + uintptr_t p = (uintptr_t)pAddress; UNUSED_PARAM(clazz) glWindowPos3dv(p); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14C.c index 160a677f62..eeeb647c79 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL14C.c @@ -8,12 +8,12 @@ typedef void (APIENTRY *glBlendColorPROC) (jfloat, jfloat, jfloat, jfloat); typedef void (APIENTRY *glBlendEquationPROC) (jint); -typedef void (APIENTRY *glMultiDrawArraysPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glMultiDrawElementsPROC) (jint, intptr_t, jint, intptr_t, jint); +typedef void (APIENTRY *glMultiDrawArraysPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glMultiDrawElementsPROC) (jint, uintptr_t, jint, uintptr_t, jint); typedef void (APIENTRY *glPointParameterfPROC) (jint, jfloat); typedef void (APIENTRY *glPointParameteriPROC) (jint, jint); -typedef void (APIENTRY *glPointParameterfvPROC) (jint, intptr_t); -typedef void (APIENTRY *glPointParameterivPROC) (jint, intptr_t); +typedef void (APIENTRY *glPointParameterfvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glPointParameterivPROC) (jint, uintptr_t); typedef void (APIENTRY *glBlendFuncSeparatePROC) (jint, jint, jint, jint); EXTERN_C_ENTER @@ -32,16 +32,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_glBlendEquation(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_nglMultiDrawArrays__IJJI(JNIEnv *__env, jclass clazz, jint mode, jlong firstAddress, jlong countAddress, jint drawcount) { glMultiDrawArraysPROC glMultiDrawArrays = (glMultiDrawArraysPROC)tlsGetFunction(393); - intptr_t first = (intptr_t)firstAddress; - intptr_t count = (intptr_t)countAddress; + uintptr_t first = (uintptr_t)firstAddress; + uintptr_t count = (uintptr_t)countAddress; UNUSED_PARAM(clazz) glMultiDrawArrays(mode, first, count, drawcount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_nglMultiDrawElements__IJIJI(JNIEnv *__env, jclass clazz, jint mode, jlong countAddress, jint type, jlong indicesAddress, jint drawcount) { glMultiDrawElementsPROC glMultiDrawElements = (glMultiDrawElementsPROC)tlsGetFunction(394); - intptr_t count = (intptr_t)countAddress; - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glMultiDrawElements(mode, count, type, indices, drawcount); } @@ -60,14 +60,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_glPointParameteri(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_nglPointParameterfv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glPointParameterfvPROC glPointParameterfv = (glPointParameterfvPROC)tlsGetFunction(397); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glPointParameterfv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14C_nglPointParameteriv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glPointParameterivPROC glPointParameteriv = (glPointParameterivPROC)tlsGetFunction(398); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glPointParameteriv(pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL15C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL15C.c index 418225f6b2..bfe820ec27 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL15C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL15C.c @@ -7,24 +7,24 @@ #include "opengl.h" typedef void (APIENTRY *glBindBufferPROC) (jint, jint); -typedef void (APIENTRY *glDeleteBuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenBuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteBuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenBuffersPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsBufferPROC) (jint); -typedef void (APIENTRY *glBufferDataPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glBufferSubDataPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetBufferSubDataPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef intptr_t (APIENTRY *glMapBufferPROC) (jint, jint); +typedef void (APIENTRY *glBufferDataPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glBufferSubDataPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetBufferSubDataPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *glMapBufferPROC) (jint, jint); typedef jboolean (APIENTRY *glUnmapBufferPROC) (jint); -typedef void (APIENTRY *glGetBufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetBufferPointervPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGenQueriesPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteQueriesPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetBufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetBufferPointervPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGenQueriesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteQueriesPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsQueryPROC) (jint); typedef void (APIENTRY *glBeginQueryPROC) (jint, jint); typedef void (APIENTRY *glEndQueryPROC) (jint); -typedef void (APIENTRY *glGetQueryivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectuivPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -36,14 +36,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_glBindBuffer(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglDeleteBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glDeleteBuffersPROC glDeleteBuffers = (glDeleteBuffersPROC)tlsGetFunction(434); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glDeleteBuffers(n, buffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGenBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glGenBuffersPROC glGenBuffers = (glGenBuffersPROC)tlsGetFunction(435); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glGenBuffers(n, buffers); } @@ -56,23 +56,23 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL15C_glIsBuffer(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglBufferData__IJJI(JNIEnv *__env, jclass clazz, jint target, jlong size, jlong dataAddress, jint usage) { glBufferDataPROC glBufferData = (glBufferDataPROC)tlsGetFunction(437); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferData(target, (intptr_t)size, data, usage); + glBufferData(target, (uintptr_t)size, data, usage); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglBufferSubData__IJJJ(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong dataAddress) { glBufferSubDataPROC glBufferSubData = (glBufferSubDataPROC)tlsGetFunction(438); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferSubData(target, (intptr_t)offset, (intptr_t)size, data); + glBufferSubData(target, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetBufferSubData__IJJJ(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong dataAddress) { glGetBufferSubDataPROC glGetBufferSubData = (glGetBufferSubDataPROC)tlsGetFunction(439); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glGetBufferSubData(target, (intptr_t)offset, (intptr_t)size, data); + glGetBufferSubData(target, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL15C_nglMapBuffer(JNIEnv *__env, jclass clazz, jint target, jint access) { @@ -89,28 +89,28 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL15C_glUnmapBuffer(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetBufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameterivPROC glGetBufferParameteriv = (glGetBufferParameterivPROC)tlsGetFunction(442); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetBufferPointerv(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferPointervPROC glGetBufferPointerv = (glGetBufferPointervPROC)tlsGetFunction(443); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferPointerv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGenQueries__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenQueriesPROC glGenQueries = (glGenQueriesPROC)tlsGetFunction(444); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenQueries(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglDeleteQueries__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteQueriesPROC glDeleteQueries = (glDeleteQueriesPROC)tlsGetFunction(445); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteQueries(n, ids); } @@ -135,21 +135,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_glEndQuery(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetQueryiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetQueryivPROC glGetQueryiv = (glGetQueryivPROC)tlsGetFunction(449); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetQueryObjectiv__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectivPROC glGetQueryObjectiv = (glGetQueryObjectivPROC)tlsGetFunction(450); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectiv(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL15C_nglGetQueryObjectuiv__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectuivPROC glGetQueryObjectuiv = (glGetQueryObjectuivPROC)tlsGetFunction(451); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectuiv(id, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL20C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL20C.c index bd454555f5..10b3a96657 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL20C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL20C.c @@ -14,7 +14,7 @@ typedef void (APIENTRY *glDeleteShaderPROC) (jint); typedef jboolean (APIENTRY *glIsShaderPROC) (jint); typedef void (APIENTRY *glAttachShaderPROC) (jint, jint); typedef void (APIENTRY *glDetachShaderPROC) (jint, jint); -typedef void (APIENTRY *glShaderSourcePROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glShaderSourcePROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glCompileShaderPROC) (jint); typedef void (APIENTRY *glLinkProgramPROC) (jint); typedef void (APIENTRY *glUseProgramPROC) (jint); @@ -27,27 +27,27 @@ typedef void (APIENTRY *glUniform1iPROC) (jint, jint); typedef void (APIENTRY *glUniform2iPROC) (jint, jint, jint); typedef void (APIENTRY *glUniform3iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glUniform4iPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform1fvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2fvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3fvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4fvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform1ivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2ivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3ivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4ivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniformMatrix2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glGetShaderivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShaderInfoLogPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetProgramInfoLogPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetAttachedShadersPROC) (jint, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetUniformLocationPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetUniformfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShaderSourcePROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glUniform1fvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2fvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3fvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4fvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform1ivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2ivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3ivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4ivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glGetShaderivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShaderInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetProgramInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetAttachedShadersPROC) (jint, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetUniformLocationPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetUniformfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShaderSourcePROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glVertexAttrib1fPROC) (jint, jfloat); typedef void (APIENTRY *glVertexAttrib1sPROC) (jint, jshort); typedef void (APIENTRY *glVertexAttrib1dPROC) (jint, jdouble); @@ -61,40 +61,40 @@ typedef void (APIENTRY *glVertexAttrib4fPROC) (jint, jfloat, jfloat, jfloat, jfl typedef void (APIENTRY *glVertexAttrib4sPROC) (jint, jshort, jshort, jshort, jshort); typedef void (APIENTRY *glVertexAttrib4dPROC) (jint, jdouble, jdouble, jdouble, jdouble); typedef void (APIENTRY *glVertexAttrib4NubPROC) (jint, jbyte, jbyte, jbyte, jbyte); -typedef void (APIENTRY *glVertexAttrib1fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib1svPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib1dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2svPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib2dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3svPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib3dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4svPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4bvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4ubvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4usvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NbvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NsvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NubvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NusvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttrib4NuivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribPointerPROC) (jint, jint, jint, jboolean, jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib1fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib1svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib1dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib2dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib3dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4bvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4ubvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4usvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NbvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NsvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NubvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NusvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttrib4NuivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribPointerPROC) (jint, jint, jint, jboolean, jint, uintptr_t); typedef void (APIENTRY *glEnableVertexAttribArrayPROC) (jint); typedef void (APIENTRY *glDisableVertexAttribArrayPROC) (jint); -typedef void (APIENTRY *glBindAttribLocationPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveAttribPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetAttribLocationPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribdvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribPointervPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDrawBuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glBindAttribLocationPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveAttribPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetAttribLocationPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribdvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribPointervPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDrawBuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glBlendEquationSeparatePROC) (jint, jint); typedef void (APIENTRY *glStencilOpSeparatePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glStencilFuncSeparatePROC) (jint, jint, jint, jint); @@ -152,8 +152,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_glDetachShader(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglShaderSource__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint count, jlong stringsAddress, jlong lengthAddress) { glShaderSourcePROC glShaderSource = (glShaderSourcePROC)tlsGetFunction(460); - intptr_t strings = (intptr_t)stringsAddress; - intptr_t length = (intptr_t)lengthAddress; + uintptr_t strings = (uintptr_t)stringsAddress; + uintptr_t length = (uintptr_t)lengthAddress; UNUSED_PARAM(clazz) glShaderSource(shader, count, strings, length); } @@ -232,154 +232,154 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_glUniform4i(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform1fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1fvPROC glUniform1fv = (glUniform1fvPROC)tlsGetFunction(473); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1fv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform2fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2fvPROC glUniform2fv = (glUniform2fvPROC)tlsGetFunction(474); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2fv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform3fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3fvPROC glUniform3fv = (glUniform3fvPROC)tlsGetFunction(475); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3fv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform4fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4fvPROC glUniform4fv = (glUniform4fvPROC)tlsGetFunction(476); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4fv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform1iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ivPROC glUniform1iv = (glUniform1ivPROC)tlsGetFunction(477); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1iv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform2iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ivPROC glUniform2iv = (glUniform2ivPROC)tlsGetFunction(478); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2iv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform3iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ivPROC glUniform3iv = (glUniform3ivPROC)tlsGetFunction(479); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3iv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniform4iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ivPROC glUniform4iv = (glUniform4ivPROC)tlsGetFunction(480); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4iv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniformMatrix2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2fvPROC glUniformMatrix2fv = (glUniformMatrix2fvPROC)tlsGetFunction(481); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniformMatrix3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3fvPROC glUniformMatrix3fv = (glUniformMatrix3fvPROC)tlsGetFunction(482); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglUniformMatrix4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4fvPROC glUniformMatrix4fv = (glUniformMatrix4fvPROC)tlsGetFunction(483); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetShaderiv__IIJ(JNIEnv *__env, jclass clazz, jint shader, jint pname, jlong paramsAddress) { glGetShaderivPROC glGetShaderiv = (glGetShaderivPROC)tlsGetFunction(484); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetShaderiv(shader, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetProgramiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint pname, jlong paramsAddress) { glGetProgramivPROC glGetProgramiv = (glGetProgramivPROC)tlsGetFunction(485); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramiv(program, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetShaderInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint maxLength, jlong lengthAddress, jlong infoLogAddress) { glGetShaderInfoLogPROC glGetShaderInfoLog = (glGetShaderInfoLogPROC)tlsGetFunction(486); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetShaderInfoLog(shader, maxLength, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetProgramInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint maxLength, jlong lengthAddress, jlong infoLogAddress) { glGetProgramInfoLogPROC glGetProgramInfoLog = (glGetProgramInfoLogPROC)tlsGetFunction(487); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetProgramInfoLog(program, maxLength, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetAttachedShaders__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint maxCount, jlong countAddress, jlong shadersAddress) { glGetAttachedShadersPROC glGetAttachedShaders = (glGetAttachedShadersPROC)tlsGetFunction(488); - intptr_t count = (intptr_t)countAddress; - intptr_t shaders = (intptr_t)shadersAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t shaders = (uintptr_t)shadersAddress; UNUSED_PARAM(clazz) glGetAttachedShaders(program, maxCount, count, shaders); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL20C_nglGetUniformLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetUniformLocationPROC glGetUniformLocation = (glGetUniformLocationPROC)tlsGetFunction(489); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetUniformLocation(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetActiveUniform__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint maxLength, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveUniformPROC glGetActiveUniform = (glGetActiveUniformPROC)tlsGetFunction(490); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveUniform(program, index, maxLength, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetUniformfv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformfvPROC glGetUniformfv = (glGetUniformfvPROC)tlsGetFunction(491); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformfv(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetUniformiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformivPROC glGetUniformiv = (glGetUniformivPROC)tlsGetFunction(492); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformiv(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetShaderSource__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint maxLength, jlong lengthAddress, jlong sourceAddress) { glGetShaderSourcePROC glGetShaderSource = (glGetShaderSourcePROC)tlsGetFunction(493); - intptr_t length = (intptr_t)lengthAddress; - intptr_t source = (intptr_t)sourceAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t source = (uintptr_t)sourceAddress; UNUSED_PARAM(clazz) glGetShaderSource(shader, maxLength, length, source); } @@ -464,168 +464,168 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_glVertexAttrib4Nub(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib1fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1fvPROC glVertexAttrib1fv = (glVertexAttrib1fvPROC)tlsGetFunction(507); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1fv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib1sv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1svPROC glVertexAttrib1sv = (glVertexAttrib1svPROC)tlsGetFunction(508); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1sv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib1dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1dvPROC glVertexAttrib1dv = (glVertexAttrib1dvPROC)tlsGetFunction(509); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib2fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2fvPROC glVertexAttrib2fv = (glVertexAttrib2fvPROC)tlsGetFunction(510); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2fv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib2sv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2svPROC glVertexAttrib2sv = (glVertexAttrib2svPROC)tlsGetFunction(511); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2sv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib2dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2dvPROC glVertexAttrib2dv = (glVertexAttrib2dvPROC)tlsGetFunction(512); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib3fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3fvPROC glVertexAttrib3fv = (glVertexAttrib3fvPROC)tlsGetFunction(513); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3fv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib3sv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3svPROC glVertexAttrib3sv = (glVertexAttrib3svPROC)tlsGetFunction(514); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3sv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib3dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3dvPROC glVertexAttrib3dv = (glVertexAttrib3dvPROC)tlsGetFunction(515); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4fvPROC glVertexAttrib4fv = (glVertexAttrib4fvPROC)tlsGetFunction(516); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4fv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4sv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4svPROC glVertexAttrib4sv = (glVertexAttrib4svPROC)tlsGetFunction(517); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4sv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4dvPROC glVertexAttrib4dv = (glVertexAttrib4dvPROC)tlsGetFunction(518); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4ivPROC glVertexAttrib4iv = (glVertexAttrib4ivPROC)tlsGetFunction(519); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4bv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4bvPROC glVertexAttrib4bv = (glVertexAttrib4bvPROC)tlsGetFunction(520); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4bv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4ubv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4ubvPROC glVertexAttrib4ubv = (glVertexAttrib4ubvPROC)tlsGetFunction(521); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4ubv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4usv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4usvPROC glVertexAttrib4usv = (glVertexAttrib4usvPROC)tlsGetFunction(522); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4usv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4uivPROC glVertexAttrib4uiv = (glVertexAttrib4uivPROC)tlsGetFunction(523); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Nbv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NbvPROC glVertexAttrib4Nbv = (glVertexAttrib4NbvPROC)tlsGetFunction(524); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Nbv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Nsv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NsvPROC glVertexAttrib4Nsv = (glVertexAttrib4NsvPROC)tlsGetFunction(525); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Nsv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Niv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NivPROC glVertexAttrib4Niv = (glVertexAttrib4NivPROC)tlsGetFunction(526); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Niv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Nubv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NubvPROC glVertexAttrib4Nubv = (glVertexAttrib4NubvPROC)tlsGetFunction(527); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Nubv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Nusv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NusvPROC glVertexAttrib4Nusv = (glVertexAttrib4NusvPROC)tlsGetFunction(528); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Nusv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttrib4Nuiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4NuivPROC glVertexAttrib4Nuiv = (glVertexAttrib4NuivPROC)tlsGetFunction(529); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4Nuiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglVertexAttribPointer(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jboolean normalized, jint stride, jlong pointerAddress) { glVertexAttribPointerPROC glVertexAttribPointer = (glVertexAttribPointerPROC)tlsGetFunction(530); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribPointer(index, size, type, normalized, stride, pointer); } @@ -644,59 +644,59 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_glDisableVertexAttribArray(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglBindAttribLocation(JNIEnv *__env, jclass clazz, jint program, jint index, jlong nameAddress) { glBindAttribLocationPROC glBindAttribLocation = (glBindAttribLocationPROC)tlsGetFunction(533); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindAttribLocation(program, index, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetActiveAttrib__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint maxLength, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveAttribPROC glGetActiveAttrib = (glGetActiveAttribPROC)tlsGetFunction(534); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveAttrib(program, index, maxLength, length, size, type, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL20C_nglGetAttribLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetAttribLocationPROC glGetAttribLocation = (glGetAttribLocationPROC)tlsGetFunction(535); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetAttribLocation(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetVertexAttribiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribivPROC glGetVertexAttribiv = (glGetVertexAttribivPROC)tlsGetFunction(536); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribiv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetVertexAttribfv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribfvPROC glGetVertexAttribfv = (glGetVertexAttribfvPROC)tlsGetFunction(537); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribfv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetVertexAttribdv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribdvPROC glGetVertexAttribdv = (glGetVertexAttribdvPROC)tlsGetFunction(538); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribdv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglGetVertexAttribPointerv(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong pointerAddress) { glGetVertexAttribPointervPROC glGetVertexAttribPointerv = (glGetVertexAttribPointervPROC)tlsGetFunction(539); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glGetVertexAttribPointerv(index, pname, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL20C_nglDrawBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong bufsAddress) { glDrawBuffersPROC glDrawBuffers = (glDrawBuffersPROC)tlsGetFunction(540); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glDrawBuffers(n, bufs); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL21C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL21C.c index a9d218a6de..f49e6a951f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL21C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL21C.c @@ -6,53 +6,53 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glUniformMatrix2x3fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x4fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x4fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x3fvPROC) (jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glUniformMatrix2x3fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x4fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x4fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x3fvPROC) (jint, jint, jboolean, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix2x3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x3fvPROC glUniformMatrix2x3fv = (glUniformMatrix2x3fvPROC)tlsGetFunction(545); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x3fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix3x2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x2fvPROC glUniformMatrix3x2fv = (glUniformMatrix3x2fvPROC)tlsGetFunction(546); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix2x4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x4fvPROC glUniformMatrix2x4fv = (glUniformMatrix2x4fvPROC)tlsGetFunction(547); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x4fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix4x2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x2fvPROC glUniformMatrix4x2fv = (glUniformMatrix4x2fvPROC)tlsGetFunction(548); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix3x4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x4fvPROC glUniformMatrix3x4fv = (glUniformMatrix3x4fvPROC)tlsGetFunction(549); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x4fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL21C_nglUniformMatrix4x3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x3fvPROC glUniformMatrix4x3fv = (glUniformMatrix4x3fvPROC)tlsGetFunction(550); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x3fv(location, count, transpose, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL30C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL30C.c index c2bbaa49ea..38131239f9 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL30C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL30C.c @@ -6,10 +6,10 @@ #include "common_tools.h" #include "opengl.h" -typedef intptr_t (APIENTRY *glGetStringiPROC) (jint, jint); -typedef void (APIENTRY *glClearBufferivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferfvPROC) (jint, jint, intptr_t); +typedef uintptr_t (APIENTRY *glGetStringiPROC) (jint, jint); +typedef void (APIENTRY *glClearBufferivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glClearBufferfiPROC) (jint, jint, jfloat, jint); typedef void (APIENTRY *glVertexAttribI1iPROC) (jint, jint); typedef void (APIENTRY *glVertexAttribI2iPROC) (jint, jint, jint); @@ -19,76 +19,76 @@ typedef void (APIENTRY *glVertexAttribI1uiPROC) (jint, jint); typedef void (APIENTRY *glVertexAttribI2uiPROC) (jint, jint, jint); typedef void (APIENTRY *glVertexAttribI3uiPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glVertexAttribI4uiPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glVertexAttribI1ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI2ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI3ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI1uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI2uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI3uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4bvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4svPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4ubvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4usvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribIPointerPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttribI1ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI2ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI3ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI1uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI2uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI3uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4bvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4svPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4ubvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4usvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribIPointerPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1uiPROC) (jint, jint); typedef void (APIENTRY *glUniform2uiPROC) (jint, jint, jint); typedef void (APIENTRY *glUniform3uiPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glUniform4uiPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform1uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glBindFragDataLocationPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetFragDataLocationPROC) (jint, intptr_t); +typedef void (APIENTRY *glUniform1uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glBindFragDataLocationPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetFragDataLocationPROC) (jint, uintptr_t); typedef void (APIENTRY *glBeginConditionalRenderPROC) (jint, jint); typedef void (APIENTRY *glEndConditionalRenderPROC) (void); -typedef intptr_t (APIENTRY *glMapBufferRangePROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glFlushMappedBufferRangePROC) (jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glMapBufferRangePROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glFlushMappedBufferRangePROC) (jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glClampColorPROC) (jint, jint); typedef jboolean (APIENTRY *glIsRenderbufferPROC) (jint); typedef void (APIENTRY *glBindRenderbufferPROC) (jint, jint); -typedef void (APIENTRY *glDeleteRenderbuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenRenderbuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteRenderbuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenRenderbuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glRenderbufferStoragePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glRenderbufferStorageMultisamplePROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetRenderbufferParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetRenderbufferParameterivPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsFramebufferPROC) (jint); typedef void (APIENTRY *glBindFramebufferPROC) (jint, jint); -typedef void (APIENTRY *glDeleteFramebuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenFramebuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteFramebuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenFramebuffersPROC) (jint, uintptr_t); typedef jint (APIENTRY *glCheckFramebufferStatusPROC) (jint); typedef void (APIENTRY *glFramebufferTexture1DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTexture2DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTexture3DPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTextureLayerPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferRenderbufferPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferAttachmentParameterivPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferAttachmentParameterivPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glBlitFramebufferPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glGenerateMipmapPROC) (jint); -typedef void (APIENTRY *glTexParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glColorMaskiPROC) (jint, jboolean, jboolean, jboolean, jboolean); -typedef void (APIENTRY *glGetBooleani_vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetIntegeri_vPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetBooleani_vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetIntegeri_vPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glEnableiPROC) (jint, jint); typedef void (APIENTRY *glDisableiPROC) (jint, jint); typedef jboolean (APIENTRY *glIsEnablediPROC) (jint, jint); -typedef void (APIENTRY *glBindBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glBindBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glBindBufferBasePROC) (jint, jint, jint); typedef void (APIENTRY *glBeginTransformFeedbackPROC) (jint); typedef void (APIENTRY *glEndTransformFeedbackPROC) (void); -typedef void (APIENTRY *glTransformFeedbackVaryingsPROC) (jint, jint, intptr_t, jint); -typedef void (APIENTRY *glGetTransformFeedbackVaryingPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glTransformFeedbackVaryingsPROC) (jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glGetTransformFeedbackVaryingPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glBindVertexArrayPROC) (jint); -typedef void (APIENTRY *glDeleteVertexArraysPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenVertexArraysPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteVertexArraysPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenVertexArraysPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsVertexArrayPROC) (jint); EXTERN_C_ENTER @@ -101,21 +101,21 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL30C_nglGetStringi(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglClearBufferiv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferivPROC glClearBufferiv = (glClearBufferivPROC)tlsGetFunction(552); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferiv(buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglClearBufferuiv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferuivPROC glClearBufferuiv = (glClearBufferuivPROC)tlsGetFunction(553); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferuiv(buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglClearBufferfv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferfvPROC glClearBufferfv = (glClearBufferfvPROC)tlsGetFunction(554); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferfv(buffer, drawbuffer, value); } @@ -176,105 +176,105 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glVertexAttribI4ui(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI1iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI1ivPROC glVertexAttribI1iv = (glVertexAttribI1ivPROC)tlsGetFunction(564); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI1iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI2iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI2ivPROC glVertexAttribI2iv = (glVertexAttribI2ivPROC)tlsGetFunction(565); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI2iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI3iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI3ivPROC glVertexAttribI3iv = (glVertexAttribI3ivPROC)tlsGetFunction(566); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI3iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4ivPROC glVertexAttribI4iv = (glVertexAttribI4ivPROC)tlsGetFunction(567); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI1uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI1uivPROC glVertexAttribI1uiv = (glVertexAttribI1uivPROC)tlsGetFunction(568); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI1uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI2uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI2uivPROC glVertexAttribI2uiv = (glVertexAttribI2uivPROC)tlsGetFunction(569); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI2uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI3uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI3uivPROC glVertexAttribI3uiv = (glVertexAttribI3uivPROC)tlsGetFunction(570); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI3uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4uivPROC glVertexAttribI4uiv = (glVertexAttribI4uivPROC)tlsGetFunction(571); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4bv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4bvPROC glVertexAttribI4bv = (glVertexAttribI4bvPROC)tlsGetFunction(572); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4bv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4sv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4svPROC glVertexAttribI4sv = (glVertexAttribI4svPROC)tlsGetFunction(573); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4sv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4ubv(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4ubvPROC glVertexAttribI4ubv = (glVertexAttribI4ubvPROC)tlsGetFunction(574); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4ubv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribI4usv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4usvPROC glVertexAttribI4usv = (glVertexAttribI4usvPROC)tlsGetFunction(575); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4usv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglVertexAttribIPointer(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jint stride, jlong pointerAddress) { glVertexAttribIPointerPROC glVertexAttribIPointer = (glVertexAttribIPointerPROC)tlsGetFunction(576); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribIPointer(index, size, type, stride, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetVertexAttribIiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIivPROC glGetVertexAttribIiv = (glGetVertexAttribIivPROC)tlsGetFunction(577); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIiv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetVertexAttribIuiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIuivPROC glGetVertexAttribIuiv = (glGetVertexAttribIuivPROC)tlsGetFunction(578); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIuiv(index, pname, params); } @@ -305,49 +305,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glUniform4ui(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglUniform1uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1uivPROC glUniform1uiv = (glUniform1uivPROC)tlsGetFunction(583); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglUniform2uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2uivPROC glUniform2uiv = (glUniform2uivPROC)tlsGetFunction(584); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglUniform3uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3uivPROC glUniform3uiv = (glUniform3uivPROC)tlsGetFunction(585); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglUniform4uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4uivPROC glUniform4uiv = (glUniform4uivPROC)tlsGetFunction(586); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetUniformuiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformuivPROC glGetUniformuiv = (glGetUniformuivPROC)tlsGetFunction(587); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformuiv(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglBindFragDataLocation(JNIEnv *__env, jclass clazz, jint program, jint colorNumber, jlong nameAddress) { glBindFragDataLocationPROC glBindFragDataLocation = (glBindFragDataLocationPROC)tlsGetFunction(588); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindFragDataLocation(program, colorNumber, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL30C_nglGetFragDataLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetFragDataLocationPROC glGetFragDataLocation = (glGetFragDataLocationPROC)tlsGetFunction(589); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetFragDataLocation(program, name); } @@ -367,13 +367,13 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glEndConditionalRender(JNIEnv JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL30C_nglMapBufferRange(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length, jint access) { glMapBufferRangePROC glMapBufferRange = (glMapBufferRangePROC)tlsGetFunction(592); UNUSED_PARAM(clazz) - return (jlong)glMapBufferRange(target, (intptr_t)offset, (intptr_t)length, access); + return (jlong)glMapBufferRange(target, (uintptr_t)offset, (uintptr_t)length, access); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glFlushMappedBufferRange(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length) { glFlushMappedBufferRangePROC glFlushMappedBufferRange = (glFlushMappedBufferRangePROC)tlsGetFunction(593); UNUSED_PARAM(clazz) - glFlushMappedBufferRange(target, (intptr_t)offset, (intptr_t)length); + glFlushMappedBufferRange(target, (uintptr_t)offset, (uintptr_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glClampColor(JNIEnv *__env, jclass clazz, jint target, jint clamp) { @@ -396,14 +396,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glBindRenderbuffer(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglDeleteRenderbuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glDeleteRenderbuffersPROC glDeleteRenderbuffers = (glDeleteRenderbuffersPROC)tlsGetFunction(597); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glDeleteRenderbuffers(n, renderbuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGenRenderbuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glGenRenderbuffersPROC glGenRenderbuffers = (glGenRenderbuffersPROC)tlsGetFunction(598); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glGenRenderbuffers(n, renderbuffers); } @@ -422,7 +422,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glRenderbufferStorageMultisam JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetRenderbufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetRenderbufferParameterivPROC glGetRenderbufferParameteriv = (glGetRenderbufferParameterivPROC)tlsGetFunction(601); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetRenderbufferParameteriv(target, pname, params); } @@ -441,14 +441,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glBindFramebuffer(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglDeleteFramebuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glDeleteFramebuffersPROC glDeleteFramebuffers = (glDeleteFramebuffersPROC)tlsGetFunction(604); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glDeleteFramebuffers(n, framebuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGenFramebuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glGenFramebuffersPROC glGenFramebuffers = (glGenFramebuffersPROC)tlsGetFunction(605); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glGenFramebuffers(n, framebuffers); } @@ -491,7 +491,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glFramebufferRenderbuffer(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetFramebufferAttachmentParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint attachment, jint pname, jlong paramsAddress) { glGetFramebufferAttachmentParameterivPROC glGetFramebufferAttachmentParameteriv = (glGetFramebufferAttachmentParameterivPROC)tlsGetFunction(612); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); } @@ -510,28 +510,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glGenerateMipmap(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglTexParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIivPROC glTexParameterIiv = (glTexParameterIivPROC)tlsGetFunction(615); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglTexParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIuivPROC glTexParameterIuiv = (glTexParameterIuivPROC)tlsGetFunction(616); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIuiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetTexParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIivPROC glGetTexParameterIiv = (glGetTexParameterIivPROC)tlsGetFunction(617); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetTexParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIuivPROC glGetTexParameterIuiv = (glGetTexParameterIuivPROC)tlsGetFunction(618); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIuiv(target, pname, params); } @@ -544,14 +544,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glColorMaski(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetBooleani_1v(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetBooleani_vPROC glGetBooleani_v = (glGetBooleani_vPROC)tlsGetFunction(620); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetBooleani_v(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetIntegeri_1v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetIntegeri_vPROC glGetIntegeri_v = (glGetIntegeri_vPROC)tlsGetFunction(621); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetIntegeri_v(target, index, data); } @@ -577,7 +577,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL30C_glIsEnabledi(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glBindBufferRange(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset, jlong size) { glBindBufferRangePROC glBindBufferRange = (glBindBufferRangePROC)tlsGetFunction(625); UNUSED_PARAM(clazz) - glBindBufferRange(target, index, buffer, (intptr_t)offset, (intptr_t)size); + glBindBufferRange(target, index, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glBindBufferBase(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer) { @@ -600,17 +600,17 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glEndTransformFeedback(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglTransformFeedbackVaryings(JNIEnv *__env, jclass clazz, jint program, jint count, jlong varyingsAddress, jint bufferMode) { glTransformFeedbackVaryingsPROC glTransformFeedbackVaryings = (glTransformFeedbackVaryingsPROC)tlsGetFunction(629); - intptr_t varyings = (intptr_t)varyingsAddress; + uintptr_t varyings = (uintptr_t)varyingsAddress; UNUSED_PARAM(clazz) glTransformFeedbackVaryings(program, count, varyings, bufferMode); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGetTransformFeedbackVarying__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetTransformFeedbackVaryingPROC glGetTransformFeedbackVarying = (glGetTransformFeedbackVaryingPROC)tlsGetFunction(630); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); } @@ -623,14 +623,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_glBindVertexArray(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglDeleteVertexArrays__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glDeleteVertexArraysPROC glDeleteVertexArrays = (glDeleteVertexArraysPROC)tlsGetFunction(632); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glDeleteVertexArrays(n, arrays); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL30C_nglGenVertexArrays__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glGenVertexArraysPROC glGenVertexArrays = (glGenVertexArraysPROC)tlsGetFunction(633); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glGenVertexArrays(n, arrays); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL31C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL31C.c index 7c3ca63ab2..0df0cbb6b2 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL31C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL31C.c @@ -7,16 +7,16 @@ #include "opengl.h" typedef void (APIENTRY *glDrawArraysInstancedPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glCopyBufferSubDataPROC) (jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glDrawElementsInstancedPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glCopyBufferSubDataPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glPrimitiveRestartIndexPROC) (jint); typedef void (APIENTRY *glTexBufferPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetUniformIndicesPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetActiveUniformsivPROC) (jint, jint, intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformNamePROC) (jint, jint, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetUniformBlockIndexPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformBlockivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformBlockNamePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetUniformIndicesPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformsivPROC) (jint, jint, uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformNamePROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetUniformBlockIndexPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformBlockivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformBlockNamePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glUniformBlockBindingPROC) (jint, jint, jint); EXTERN_C_ENTER @@ -29,7 +29,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_glDrawArraysInstanced(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglDrawElementsInstanced(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedPROC glDrawElementsInstanced = (glDrawElementsInstancedPROC)tlsGetFunction(636); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstanced(mode, count, type, indices, primcount); } @@ -37,7 +37,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglDrawElementsInstanced(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_glCopyBufferSubData(JNIEnv *__env, jclass clazz, jint readTarget, jint writeTarget, jlong readOffset, jlong writeOffset, jlong size) { glCopyBufferSubDataPROC glCopyBufferSubData = (glCopyBufferSubDataPROC)tlsGetFunction(637); UNUSED_PARAM(clazz) - glCopyBufferSubData(readTarget, writeTarget, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glCopyBufferSubData(readTarget, writeTarget, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_glPrimitiveRestartIndex(JNIEnv *__env, jclass clazz, jint index) { @@ -54,46 +54,46 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_glTexBuffer(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglGetUniformIndices__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint uniformCount, jlong uniformNamesAddress, jlong uniformIndicesAddress) { glGetUniformIndicesPROC glGetUniformIndices = (glGetUniformIndicesPROC)tlsGetFunction(640); - intptr_t uniformNames = (intptr_t)uniformNamesAddress; - intptr_t uniformIndices = (intptr_t)uniformIndicesAddress; + uintptr_t uniformNames = (uintptr_t)uniformNamesAddress; + uintptr_t uniformIndices = (uintptr_t)uniformIndicesAddress; UNUSED_PARAM(clazz) glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglGetActiveUniformsiv__IIJIJ(JNIEnv *__env, jclass clazz, jint program, jint uniformCount, jlong uniformIndicesAddress, jint pname, jlong paramsAddress) { glGetActiveUniformsivPROC glGetActiveUniformsiv = (glGetActiveUniformsivPROC)tlsGetFunction(641); - intptr_t uniformIndices = (intptr_t)uniformIndicesAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t uniformIndices = (uintptr_t)uniformIndicesAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglGetActiveUniformName__IIIJJ(JNIEnv *__env, jclass clazz, jint program, jint uniformIndex, jint bufSize, jlong lengthAddress, jlong uniformNameAddress) { glGetActiveUniformNamePROC glGetActiveUniformName = (glGetActiveUniformNamePROC)tlsGetFunction(642); - intptr_t length = (intptr_t)lengthAddress; - intptr_t uniformName = (intptr_t)uniformNameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t uniformName = (uintptr_t)uniformNameAddress; UNUSED_PARAM(clazz) glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL31C_nglGetUniformBlockIndex(JNIEnv *__env, jclass clazz, jint program, jlong uniformBlockNameAddress) { glGetUniformBlockIndexPROC glGetUniformBlockIndex = (glGetUniformBlockIndexPROC)tlsGetFunction(643); - intptr_t uniformBlockName = (intptr_t)uniformBlockNameAddress; + uintptr_t uniformBlockName = (uintptr_t)uniformBlockNameAddress; UNUSED_PARAM(clazz) return (jint)glGetUniformBlockIndex(program, uniformBlockName); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglGetActiveUniformBlockiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint uniformBlockIndex, jint pname, jlong paramsAddress) { glGetActiveUniformBlockivPROC glGetActiveUniformBlockiv = (glGetActiveUniformBlockivPROC)tlsGetFunction(644); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL31C_nglGetActiveUniformBlockName__IIIJJ(JNIEnv *__env, jclass clazz, jint program, jint uniformBlockIndex, jint bufSize, jlong lengthAddress, jlong uniformBlockNameAddress) { glGetActiveUniformBlockNamePROC glGetActiveUniformBlockName = (glGetActiveUniformBlockNamePROC)tlsGetFunction(645); - intptr_t length = (intptr_t)lengthAddress; - intptr_t uniformBlockName = (intptr_t)uniformBlockNameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t uniformBlockName = (uintptr_t)uniformBlockNameAddress; UNUSED_PARAM(clazz) glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL32C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL32C.c index 371caefa8f..9725858487 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL32C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL32C.c @@ -6,61 +6,61 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetBufferParameteri64vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDrawElementsBaseVertexPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawRangeElementsBaseVertexPROC) (jint, jint, jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexPROC) (jint, jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsBaseVertexPROC) (jint, intptr_t, jint, intptr_t, jint, intptr_t); +typedef void (APIENTRY *glGetBufferParameteri64vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDrawElementsBaseVertexPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawRangeElementsBaseVertexPROC) (jint, jint, jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexPROC) (jint, jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsBaseVertexPROC) (jint, uintptr_t, jint, uintptr_t, jint, uintptr_t); typedef void (APIENTRY *glProvokingVertexPROC) (jint); typedef void (APIENTRY *glTexImage2DMultisamplePROC) (jint, jint, jint, jint, jint, jboolean); typedef void (APIENTRY *glTexImage3DMultisamplePROC) (jint, jint, jint, jint, jint, jint, jboolean); -typedef void (APIENTRY *glGetMultisamplefvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetMultisamplefvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSampleMaskiPROC) (jint, jint); typedef void (APIENTRY *glFramebufferTexturePROC) (jint, jint, jint, jint); -typedef intptr_t (APIENTRY *glFenceSyncPROC) (jint, jint); -typedef jboolean (APIENTRY *glIsSyncPROC) (intptr_t); -typedef void (APIENTRY *glDeleteSyncPROC) (intptr_t); -typedef jint (APIENTRY *glClientWaitSyncPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glWaitSyncPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glGetInteger64vPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetInteger64i_vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSyncivPROC) (intptr_t, jint, jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glFenceSyncPROC) (jint, jint); +typedef jboolean (APIENTRY *glIsSyncPROC) (uintptr_t); +typedef void (APIENTRY *glDeleteSyncPROC) (uintptr_t); +typedef jint (APIENTRY *glClientWaitSyncPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glWaitSyncPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glGetInteger64vPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetInteger64i_vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSyncivPROC) (uintptr_t, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglGetBufferParameteri64v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameteri64vPROC glGetBufferParameteri64v = (glGetBufferParameteri64vPROC)tlsGetFunction(647); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameteri64v(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglDrawElementsBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawElementsBaseVertexPROC glDrawElementsBaseVertex = (glDrawElementsBaseVertexPROC)tlsGetFunction(648); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsBaseVertex(mode, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglDrawRangeElementsBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawRangeElementsBaseVertexPROC glDrawRangeElementsBaseVertex = (glDrawRangeElementsBaseVertexPROC)tlsGetFunction(649); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglDrawElementsInstancedBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount, jint basevertex) { glDrawElementsInstancedBaseVertexPROC glDrawElementsInstancedBaseVertex = (glDrawElementsInstancedBaseVertexPROC)tlsGetFunction(650); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertex(mode, count, type, indices, primcount, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglMultiDrawElementsBaseVertex__IJIJIJ(JNIEnv *__env, jclass clazz, jint mode, jlong countAddress, jint type, jlong indicesAddress, jint drawcount, jlong basevertexAddress) { glMultiDrawElementsBaseVertexPROC glMultiDrawElementsBaseVertex = (glMultiDrawElementsBaseVertexPROC)tlsGetFunction(651); - intptr_t count = (intptr_t)countAddress; - intptr_t indices = (intptr_t)indicesAddress; - intptr_t basevertex = (intptr_t)basevertexAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t indices = (uintptr_t)indicesAddress; + uintptr_t basevertex = (uintptr_t)basevertexAddress; UNUSED_PARAM(clazz) glMultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); } @@ -85,7 +85,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_glTexImage3DMultisample(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglGetMultisamplefv__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong valAddress) { glGetMultisamplefvPROC glGetMultisamplefv = (glGetMultisamplefvPROC)tlsGetFunction(655); - intptr_t val = (intptr_t)valAddress; + uintptr_t val = (uintptr_t)valAddress; UNUSED_PARAM(clazz) glGetMultisamplefv(pname, index, val); } @@ -110,51 +110,51 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL32C_glFenceSync(JNIEnv *__env, j JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL32C_nglIsSync(JNIEnv *__env, jclass clazz, jlong syncAddress) { glIsSyncPROC glIsSync = (glIsSyncPROC)tlsGetFunction(659); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jboolean)glIsSync(sync); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglDeleteSync(JNIEnv *__env, jclass clazz, jlong syncAddress) { glDeleteSyncPROC glDeleteSync = (glDeleteSyncPROC)tlsGetFunction(660); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glDeleteSync(sync); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL32C_nglClientWaitSync(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glClientWaitSyncPROC glClientWaitSync = (glClientWaitSyncPROC)tlsGetFunction(661); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jint)glClientWaitSync(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglWaitSync(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glWaitSyncPROC glWaitSync = (glWaitSyncPROC)tlsGetFunction(662); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glWaitSync(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglGetInteger64v__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetInteger64vPROC glGetInteger64v = (glGetInteger64vPROC)tlsGetFunction(663); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInteger64v(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglGetInteger64i_1v__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong paramsAddress) { glGetInteger64i_vPROC glGetInteger64i_v = (glGetInteger64i_vPROC)tlsGetFunction(664); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInteger64i_v(pname, index, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL32C_nglGetSynciv__JIIJJ(JNIEnv *__env, jclass clazz, jlong syncAddress, jint pname, jint bufSize, jlong lengthAddress, jlong valuesAddress) { glGetSyncivPROC glGetSynciv = (glGetSyncivPROC)tlsGetFunction(665); - intptr_t sync = (intptr_t)syncAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t values = (intptr_t)valuesAddress; + uintptr_t sync = (uintptr_t)syncAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetSynciv(sync, pname, bufSize, length, values); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33.c index 144aea08c6..0ec0b5d666 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33.c @@ -9,33 +9,33 @@ typedef void (APIENTRY *glVertexP2uiPROC) (jint, jint); typedef void (APIENTRY *glVertexP3uiPROC) (jint, jint); typedef void (APIENTRY *glVertexP4uiPROC) (jint, jint); -typedef void (APIENTRY *glVertexP2uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexP3uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexP4uivPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexP2uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexP3uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexP4uivPROC) (jint, uintptr_t); typedef void (APIENTRY *glTexCoordP1uiPROC) (jint, jint); typedef void (APIENTRY *glTexCoordP2uiPROC) (jint, jint); typedef void (APIENTRY *glTexCoordP3uiPROC) (jint, jint); typedef void (APIENTRY *glTexCoordP4uiPROC) (jint, jint); -typedef void (APIENTRY *glTexCoordP1uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glTexCoordP2uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glTexCoordP3uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glTexCoordP4uivPROC) (jint, intptr_t); +typedef void (APIENTRY *glTexCoordP1uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glTexCoordP2uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glTexCoordP3uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glTexCoordP4uivPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoordP1uiPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexCoordP2uiPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexCoordP3uiPROC) (jint, jint, jint); typedef void (APIENTRY *glMultiTexCoordP4uiPROC) (jint, jint, jint); -typedef void (APIENTRY *glMultiTexCoordP1uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoordP2uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoordP3uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glMultiTexCoordP4uivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoordP1uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoordP2uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoordP3uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glMultiTexCoordP4uivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glNormalP3uiPROC) (jint, jint); -typedef void (APIENTRY *glNormalP3uivPROC) (jint, intptr_t); +typedef void (APIENTRY *glNormalP3uivPROC) (jint, uintptr_t); typedef void (APIENTRY *glColorP3uiPROC) (jint, jint); typedef void (APIENTRY *glColorP4uiPROC) (jint, jint); -typedef void (APIENTRY *glColorP3uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glColorP4uivPROC) (jint, intptr_t); +typedef void (APIENTRY *glColorP3uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glColorP4uivPROC) (jint, uintptr_t); typedef void (APIENTRY *glSecondaryColorP3uiPROC) (jint, jint); -typedef void (APIENTRY *glSecondaryColorP3uivPROC) (jint, intptr_t); +typedef void (APIENTRY *glSecondaryColorP3uivPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -59,21 +59,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glVertexP4ui(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglVertexP2uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong valueAddress) { glVertexP2uivPROC glVertexP2uiv = (glVertexP2uivPROC)tlsGetFunction(689); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexP2uiv(type, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglVertexP3uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong valueAddress) { glVertexP3uivPROC glVertexP3uiv = (glVertexP3uivPROC)tlsGetFunction(690); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexP3uiv(type, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglVertexP4uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong valueAddress) { glVertexP4uivPROC glVertexP4uiv = (glVertexP4uivPROC)tlsGetFunction(691); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexP4uiv(type, value); } @@ -104,28 +104,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glTexCoordP4ui(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglTexCoordP1uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong coordsAddress) { glTexCoordP1uivPROC glTexCoordP1uiv = (glTexCoordP1uivPROC)tlsGetFunction(696); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glTexCoordP1uiv(type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglTexCoordP2uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong coordsAddress) { glTexCoordP2uivPROC glTexCoordP2uiv = (glTexCoordP2uivPROC)tlsGetFunction(697); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glTexCoordP2uiv(type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglTexCoordP3uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong coordsAddress) { glTexCoordP3uivPROC glTexCoordP3uiv = (glTexCoordP3uivPROC)tlsGetFunction(698); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glTexCoordP3uiv(type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglTexCoordP4uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong coordsAddress) { glTexCoordP4uivPROC glTexCoordP4uiv = (glTexCoordP4uivPROC)tlsGetFunction(699); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glTexCoordP4uiv(type, coords); } @@ -156,28 +156,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glMultiTexCoordP4ui(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglMultiTexCoordP1uiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint type, jlong coordsAddress) { glMultiTexCoordP1uivPROC glMultiTexCoordP1uiv = (glMultiTexCoordP1uivPROC)tlsGetFunction(704); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glMultiTexCoordP1uiv(texture, type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglMultiTexCoordP2uiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint type, jlong coordsAddress) { glMultiTexCoordP2uivPROC glMultiTexCoordP2uiv = (glMultiTexCoordP2uivPROC)tlsGetFunction(705); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glMultiTexCoordP2uiv(texture, type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglMultiTexCoordP3uiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint type, jlong coordsAddress) { glMultiTexCoordP3uivPROC glMultiTexCoordP3uiv = (glMultiTexCoordP3uivPROC)tlsGetFunction(706); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glMultiTexCoordP3uiv(texture, type, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglMultiTexCoordP4uiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint type, jlong coordsAddress) { glMultiTexCoordP4uivPROC glMultiTexCoordP4uiv = (glMultiTexCoordP4uivPROC)tlsGetFunction(707); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glMultiTexCoordP4uiv(texture, type, coords); } @@ -190,7 +190,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glNormalP3ui(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglNormalP3uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong coordsAddress) { glNormalP3uivPROC glNormalP3uiv = (glNormalP3uivPROC)tlsGetFunction(709); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glNormalP3uiv(type, coords); } @@ -209,14 +209,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glColorP4ui(JNIEnv *__env, jcl JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglColorP3uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong colorAddress) { glColorP3uivPROC glColorP3uiv = (glColorP3uivPROC)tlsGetFunction(712); - intptr_t color = (intptr_t)colorAddress; + uintptr_t color = (uintptr_t)colorAddress; UNUSED_PARAM(clazz) glColorP3uiv(type, color); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglColorP4uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong colorAddress) { glColorP4uivPROC glColorP4uiv = (glColorP4uivPROC)tlsGetFunction(713); - intptr_t color = (intptr_t)colorAddress; + uintptr_t color = (uintptr_t)colorAddress; UNUSED_PARAM(clazz) glColorP4uiv(type, color); } @@ -229,7 +229,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_glSecondaryColorP3ui(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33_nglSecondaryColorP3uiv__IJ(JNIEnv *__env, jclass clazz, jint type, jlong colorAddress) { glSecondaryColorP3uivPROC glSecondaryColorP3uiv = (glSecondaryColorP3uivPROC)tlsGetFunction(715); - intptr_t color = (intptr_t)colorAddress; + uintptr_t color = (uintptr_t)colorAddress; UNUSED_PARAM(clazz) glSecondaryColorP3uiv(type, color); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33C.c index a4dc77c2b4..e1016dbffd 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL33C.c @@ -6,61 +6,61 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBindFragDataLocationIndexedPROC) (jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glGetFragDataIndexPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenSamplersPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteSamplersPROC) (jint, intptr_t); +typedef void (APIENTRY *glBindFragDataLocationIndexedPROC) (jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetFragDataIndexPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenSamplersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteSamplersPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsSamplerPROC) (jint); typedef void (APIENTRY *glBindSamplerPROC) (jint, jint); typedef void (APIENTRY *glSamplerParameteriPROC) (jint, jint, jint); typedef void (APIENTRY *glSamplerParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glSamplerParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glSamplerParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glQueryCounterPROC) (jint, jint); -typedef void (APIENTRY *glGetQueryObjecti64vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectui64vPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryObjecti64vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectui64vPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glVertexAttribDivisorPROC) (jint, jint); typedef void (APIENTRY *glVertexAttribP1uiPROC) (jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribP2uiPROC) (jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribP3uiPROC) (jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribP4uiPROC) (jint, jint, jboolean, jint); -typedef void (APIENTRY *glVertexAttribP1uivPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glVertexAttribP2uivPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glVertexAttribP3uivPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glVertexAttribP4uivPROC) (jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glVertexAttribP1uivPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glVertexAttribP2uivPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glVertexAttribP3uivPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glVertexAttribP4uivPROC) (jint, jint, jboolean, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglBindFragDataLocationIndexed(JNIEnv *__env, jclass clazz, jint program, jint colorNumber, jint index, jlong nameAddress) { glBindFragDataLocationIndexedPROC glBindFragDataLocationIndexed = (glBindFragDataLocationIndexedPROC)tlsGetFunction(666); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindFragDataLocationIndexed(program, colorNumber, index, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL33C_nglGetFragDataIndex(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetFragDataIndexPROC glGetFragDataIndex = (glGetFragDataIndexPROC)tlsGetFunction(667); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetFragDataIndex(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGenSamplers__IJ(JNIEnv *__env, jclass clazz, jint count, jlong samplersAddress) { glGenSamplersPROC glGenSamplers = (glGenSamplersPROC)tlsGetFunction(668); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glGenSamplers(count, samplers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglDeleteSamplers__IJ(JNIEnv *__env, jclass clazz, jint count, jlong samplersAddress) { glDeleteSamplersPROC glDeleteSamplers = (glDeleteSamplersPROC)tlsGetFunction(669); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glDeleteSamplers(count, samplers); } @@ -91,56 +91,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_glSamplerParameterf(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglSamplerParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterivPROC glSamplerParameteriv = (glSamplerParameterivPROC)tlsGetFunction(674); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameteriv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglSamplerParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterfvPROC glSamplerParameterfv = (glSamplerParameterfvPROC)tlsGetFunction(675); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterfv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglSamplerParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIivPROC glSamplerParameterIiv = (glSamplerParameterIivPROC)tlsGetFunction(676); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglSamplerParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIuivPROC glSamplerParameterIuiv = (glSamplerParameterIuivPROC)tlsGetFunction(677); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIuiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetSamplerParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterivPROC glGetSamplerParameteriv = (glGetSamplerParameterivPROC)tlsGetFunction(678); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameteriv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetSamplerParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterfvPROC glGetSamplerParameterfv = (glGetSamplerParameterfvPROC)tlsGetFunction(679); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterfv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetSamplerParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIivPROC glGetSamplerParameterIiv = (glGetSamplerParameterIivPROC)tlsGetFunction(680); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetSamplerParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIuivPROC glGetSamplerParameterIuiv = (glGetSamplerParameterIuivPROC)tlsGetFunction(681); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIuiv(sampler, pname, params); } @@ -153,14 +153,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_glQueryCounter(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetQueryObjecti64v__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjecti64vPROC glGetQueryObjecti64v = (glGetQueryObjecti64vPROC)tlsGetFunction(683); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjecti64v(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglGetQueryObjectui64v__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectui64vPROC glGetQueryObjectui64v = (glGetQueryObjectui64vPROC)tlsGetFunction(684); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectui64v(id, pname, params); } @@ -197,28 +197,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_glVertexAttribP4ui(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglVertexAttribP1uiv__IIZJ(JNIEnv *__env, jclass clazz, jint index, jint type, jboolean normalized, jlong valueAddress) { glVertexAttribP1uivPROC glVertexAttribP1uiv = (glVertexAttribP1uivPROC)tlsGetFunction(720); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexAttribP1uiv(index, type, normalized, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglVertexAttribP2uiv__IIZJ(JNIEnv *__env, jclass clazz, jint index, jint type, jboolean normalized, jlong valueAddress) { glVertexAttribP2uivPROC glVertexAttribP2uiv = (glVertexAttribP2uivPROC)tlsGetFunction(721); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexAttribP2uiv(index, type, normalized, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglVertexAttribP3uiv__IIZJ(JNIEnv *__env, jclass clazz, jint index, jint type, jboolean normalized, jlong valueAddress) { glVertexAttribP3uivPROC glVertexAttribP3uiv = (glVertexAttribP3uivPROC)tlsGetFunction(722); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexAttribP3uiv(index, type, normalized, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL33C_nglVertexAttribP4uiv__IIZJ(JNIEnv *__env, jclass clazz, jint index, jint type, jboolean normalized, jlong valueAddress) { glVertexAttribP4uivPROC glVertexAttribP4uiv = (glVertexAttribP4uivPROC)tlsGetFunction(723); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glVertexAttribP4uiv(index, type, normalized, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL40C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL40C.c index cf5cd80407..0ec0399148 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL40C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL40C.c @@ -10,40 +10,40 @@ typedef void (APIENTRY *glBlendEquationiPROC) (jint, jint); typedef void (APIENTRY *glBlendEquationSeparateiPROC) (jint, jint, jint); typedef void (APIENTRY *glBlendFunciPROC) (jint, jint, jint); typedef void (APIENTRY *glBlendFuncSeparateiPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDrawArraysIndirectPROC) (jint, intptr_t); -typedef void (APIENTRY *glDrawElementsIndirectPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glDrawArraysIndirectPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDrawElementsIndirectPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1dPROC) (jint, jdouble); typedef void (APIENTRY *glUniform2dPROC) (jint, jdouble, jdouble); typedef void (APIENTRY *glUniform3dPROC) (jint, jdouble, jdouble, jdouble); typedef void (APIENTRY *glUniform4dPROC) (jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glUniform1dvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2dvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3dvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4dvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniformMatrix2dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x3dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x4dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x2dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x4dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x2dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x3dvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glGetUniformdvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1dvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2dvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3dvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4dvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x3dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x4dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x2dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x4dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x2dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x3dvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glGetUniformdvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glMinSampleShadingPROC) (jfloat); -typedef jint (APIENTRY *glGetSubroutineUniformLocationPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetSubroutineIndexPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveSubroutineUniformivPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveSubroutineUniformNamePROC) (jint, jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetActiveSubroutineNamePROC) (jint, jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glUniformSubroutinesuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformSubroutineuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramStageivPROC) (jint, jint, jint, intptr_t); +typedef jint (APIENTRY *glGetSubroutineUniformLocationPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetSubroutineIndexPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveSubroutineUniformivPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveSubroutineUniformNamePROC) (jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetActiveSubroutineNamePROC) (jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glUniformSubroutinesuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformSubroutineuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramStageivPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPatchParameteriPROC) (jint, jint); -typedef void (APIENTRY *glPatchParameterfvPROC) (jint, intptr_t); +typedef void (APIENTRY *glPatchParameterfvPROC) (jint, uintptr_t); typedef void (APIENTRY *glBindTransformFeedbackPROC) (jint, jint); -typedef void (APIENTRY *glDeleteTransformFeedbacksPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenTransformFeedbacksPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteTransformFeedbacksPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenTransformFeedbacksPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsTransformFeedbackPROC) (jint); typedef void (APIENTRY *glPauseTransformFeedbackPROC) (void); typedef void (APIENTRY *glResumeTransformFeedbackPROC) (void); @@ -51,7 +51,7 @@ typedef void (APIENTRY *glDrawTransformFeedbackPROC) (jint, jint); typedef void (APIENTRY *glDrawTransformFeedbackStreamPROC) (jint, jint, jint); typedef void (APIENTRY *glBeginQueryIndexedPROC) (jint, jint, jint); typedef void (APIENTRY *glEndQueryIndexedPROC) (jint, jint); -typedef void (APIENTRY *glGetQueryIndexedivPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryIndexedivPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -81,14 +81,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glBlendFuncSeparatei(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglDrawArraysIndirect__IJ(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress) { glDrawArraysIndirectPROC glDrawArraysIndirect = (glDrawArraysIndirectPROC)tlsGetFunction(728); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glDrawArraysIndirect(mode, indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglDrawElementsIndirect__IIJ(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress) { glDrawElementsIndirectPROC glDrawElementsIndirect = (glDrawElementsIndirectPROC)tlsGetFunction(729); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glDrawElementsIndirect(mode, type, indirect); } @@ -119,98 +119,98 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glUniform4d(JNIEnv *__env, jc JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniform1dv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1dvPROC glUniform1dv = (glUniform1dvPROC)tlsGetFunction(734); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1dv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniform2dv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2dvPROC glUniform2dv = (glUniform2dvPROC)tlsGetFunction(735); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2dv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniform3dv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3dvPROC glUniform3dv = (glUniform3dvPROC)tlsGetFunction(736); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3dv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniform4dv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4dvPROC glUniform4dv = (glUniform4dvPROC)tlsGetFunction(737); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4dv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix2dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2dvPROC glUniformMatrix2dv = (glUniformMatrix2dvPROC)tlsGetFunction(738); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix3dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3dvPROC glUniformMatrix3dv = (glUniformMatrix3dvPROC)tlsGetFunction(739); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix4dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4dvPROC glUniformMatrix4dv = (glUniformMatrix4dvPROC)tlsGetFunction(740); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix2x3dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x3dvPROC glUniformMatrix2x3dv = (glUniformMatrix2x3dvPROC)tlsGetFunction(741); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x3dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix2x4dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x4dvPROC glUniformMatrix2x4dv = (glUniformMatrix2x4dvPROC)tlsGetFunction(742); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x4dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix3x2dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x2dvPROC glUniformMatrix3x2dv = (glUniformMatrix3x2dvPROC)tlsGetFunction(743); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x2dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix3x4dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x4dvPROC glUniformMatrix3x4dv = (glUniformMatrix3x4dvPROC)tlsGetFunction(744); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x4dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix4x2dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x2dvPROC glUniformMatrix4x2dv = (glUniformMatrix4x2dvPROC)tlsGetFunction(745); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x2dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformMatrix4x3dv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x3dvPROC glUniformMatrix4x3dv = (glUniformMatrix4x3dvPROC)tlsGetFunction(746); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x3dv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetUniformdv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformdvPROC glGetUniformdv = (glGetUniformdvPROC)tlsGetFunction(747); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformdv(program, location, params); } @@ -223,58 +223,58 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glMinSampleShading(JNIEnv *__ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL40C_nglGetSubroutineUniformLocation(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jlong nameAddress) { glGetSubroutineUniformLocationPROC glGetSubroutineUniformLocation = (glGetSubroutineUniformLocationPROC)tlsGetFunction(749); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetSubroutineUniformLocation(program, shadertype, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL40C_nglGetSubroutineIndex(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jlong nameAddress) { glGetSubroutineIndexPROC glGetSubroutineIndex = (glGetSubroutineIndexPROC)tlsGetFunction(750); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetSubroutineIndex(program, shadertype, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetActiveSubroutineUniformiv__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jint index, jint pname, jlong valuesAddress) { glGetActiveSubroutineUniformivPROC glGetActiveSubroutineUniformiv = (glGetActiveSubroutineUniformivPROC)tlsGetFunction(751); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetActiveSubroutineUniformiv(program, shadertype, index, pname, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetActiveSubroutineUniformName__IIIIJJ(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jint index, jint bufsize, jlong lengthAddress, jlong nameAddress) { glGetActiveSubroutineUniformNamePROC glGetActiveSubroutineUniformName = (glGetActiveSubroutineUniformNamePROC)tlsGetFunction(752); - intptr_t length = (intptr_t)lengthAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetActiveSubroutineName__IIIIJJ(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jint index, jint bufsize, jlong lengthAddress, jlong nameAddress) { glGetActiveSubroutineNamePROC glGetActiveSubroutineName = (glGetActiveSubroutineNamePROC)tlsGetFunction(753); - intptr_t length = (intptr_t)lengthAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveSubroutineName(program, shadertype, index, bufsize, length, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglUniformSubroutinesuiv__IIJ(JNIEnv *__env, jclass clazz, jint shadertype, jint count, jlong indicesAddress) { glUniformSubroutinesuivPROC glUniformSubroutinesuiv = (glUniformSubroutinesuivPROC)tlsGetFunction(754); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glUniformSubroutinesuiv(shadertype, count, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetUniformSubroutineuiv__IIJ(JNIEnv *__env, jclass clazz, jint shadertype, jint location, jlong paramsAddress) { glGetUniformSubroutineuivPROC glGetUniformSubroutineuiv = (glGetUniformSubroutineuivPROC)tlsGetFunction(755); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformSubroutineuiv(shadertype, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetProgramStageiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jint pname, jlong valuesAddress) { glGetProgramStageivPROC glGetProgramStageiv = (glGetProgramStageivPROC)tlsGetFunction(756); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetProgramStageiv(program, shadertype, pname, values); } @@ -287,7 +287,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glPatchParameteri(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglPatchParameterfv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong valuesAddress) { glPatchParameterfvPROC glPatchParameterfv = (glPatchParameterfvPROC)tlsGetFunction(758); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glPatchParameterfv(pname, values); } @@ -300,14 +300,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glBindTransformFeedback(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglDeleteTransformFeedbacks__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteTransformFeedbacksPROC glDeleteTransformFeedbacks = (glDeleteTransformFeedbacksPROC)tlsGetFunction(760); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteTransformFeedbacks(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGenTransformFeedbacks__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenTransformFeedbacksPROC glGenTransformFeedbacks = (glGenTransformFeedbacksPROC)tlsGetFunction(761); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenTransformFeedbacks(n, ids); } @@ -356,7 +356,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_glEndQueryIndexed(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40C_nglGetQueryIndexediv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jint pname, jlong paramsAddress) { glGetQueryIndexedivPROC glGetQueryIndexediv = (glGetQueryIndexedivPROC)tlsGetFunction(769); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryIndexediv(target, index, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL41C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL41C.c index e321dbaa65..e54e4fa4b9 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL41C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL41C.c @@ -7,21 +7,21 @@ #include "opengl.h" typedef void (APIENTRY *glReleaseShaderCompilerPROC) (void); -typedef void (APIENTRY *glShaderBinaryPROC) (jint, intptr_t, jint, intptr_t, jint); -typedef void (APIENTRY *glGetShaderPrecisionFormatPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glShaderBinaryPROC) (jint, uintptr_t, jint, uintptr_t, jint); +typedef void (APIENTRY *glGetShaderPrecisionFormatPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glDepthRangefPROC) (jfloat, jfloat); typedef void (APIENTRY *glClearDepthfPROC) (jfloat); -typedef void (APIENTRY *glGetProgramBinaryPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glProgramBinaryPROC) (jint, jint, intptr_t, jint); +typedef void (APIENTRY *glGetProgramBinaryPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glProgramBinaryPROC) (jint, jint, uintptr_t, jint); typedef void (APIENTRY *glProgramParameteriPROC) (jint, jint, jint); typedef void (APIENTRY *glUseProgramStagesPROC) (jint, jint, jint); typedef void (APIENTRY *glActiveShaderProgramPROC) (jint, jint); -typedef jint (APIENTRY *glCreateShaderProgramvPROC) (jint, jint, intptr_t); +typedef jint (APIENTRY *glCreateShaderProgramvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glBindProgramPipelinePROC) (jint); -typedef void (APIENTRY *glDeleteProgramPipelinesPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenProgramPipelinesPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteProgramPipelinesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenProgramPipelinesPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsProgramPipelinePROC) (jint); -typedef void (APIENTRY *glGetProgramPipelineivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetProgramPipelineivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1iPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform2iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform3iPROC) (jint, jint, jint, jint, jint); @@ -38,62 +38,62 @@ typedef void (APIENTRY *glProgramUniform1dPROC) (jint, jint, jdouble); typedef void (APIENTRY *glProgramUniform2dPROC) (jint, jint, jdouble, jdouble); typedef void (APIENTRY *glProgramUniform3dPROC) (jint, jint, jdouble, jdouble, jdouble); typedef void (APIENTRY *glProgramUniform4dPROC) (jint, jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glProgramUniform1ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1dvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2dvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3dvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4dvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4dvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3dvPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform1ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1dvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2dvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3dvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4dvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4dvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3dvPROC) (jint, jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glValidateProgramPipelinePROC) (jint); -typedef void (APIENTRY *glGetProgramPipelineInfoLogPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetProgramPipelineInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glVertexAttribL1dPROC) (jint, jdouble); typedef void (APIENTRY *glVertexAttribL2dPROC) (jint, jdouble, jdouble); typedef void (APIENTRY *glVertexAttribL3dPROC) (jint, jdouble, jdouble, jdouble); typedef void (APIENTRY *glVertexAttribL4dPROC) (jint, jdouble, jdouble, jdouble, jdouble); -typedef void (APIENTRY *glVertexAttribL1dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL2dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL3dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL4dvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribLPointerPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribLdvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glViewportArrayvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttribL1dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL2dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL3dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL4dvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribLPointerPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribLdvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glViewportArrayvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glViewportIndexedfPROC) (jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glViewportIndexedfvPROC) (jint, intptr_t); -typedef void (APIENTRY *glScissorArrayvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glViewportIndexedfvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glScissorArrayvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glScissorIndexedPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glScissorIndexedvPROC) (jint, intptr_t); -typedef void (APIENTRY *glDepthRangeArrayvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glScissorIndexedvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDepthRangeArrayvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glDepthRangeIndexedPROC) (jint, jdouble, jdouble); -typedef void (APIENTRY *glGetFloati_vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetDoublei_vPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFloati_vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetDoublei_vPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -105,16 +105,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glReleaseShaderCompiler(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglShaderBinary__IJIJI(JNIEnv *__env, jclass clazz, jint count, jlong shadersAddress, jint binaryformat, jlong binaryAddress, jint length) { glShaderBinaryPROC glShaderBinary = (glShaderBinaryPROC)tlsGetFunction(771); - intptr_t shaders = (intptr_t)shadersAddress; - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t shaders = (uintptr_t)shadersAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glShaderBinary(count, shaders, binaryformat, binary, length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetShaderPrecisionFormat__IIJJ(JNIEnv *__env, jclass clazz, jint shadertype, jint precisiontype, jlong rangeAddress, jlong precisionAddress) { glGetShaderPrecisionFormatPROC glGetShaderPrecisionFormat = (glGetShaderPrecisionFormatPROC)tlsGetFunction(772); - intptr_t range = (intptr_t)rangeAddress; - intptr_t precision = (intptr_t)precisionAddress; + uintptr_t range = (uintptr_t)rangeAddress; + uintptr_t precision = (uintptr_t)precisionAddress; UNUSED_PARAM(clazz) glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision); } @@ -133,16 +133,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glClearDepthf(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetProgramBinary__IIJJJ(JNIEnv *__env, jclass clazz, jint program, jint bufSize, jlong lengthAddress, jlong binaryFormatAddress, jlong binaryAddress) { glGetProgramBinaryPROC glGetProgramBinary = (glGetProgramBinaryPROC)tlsGetFunction(775); - intptr_t length = (intptr_t)lengthAddress; - intptr_t binaryFormat = (intptr_t)binaryFormatAddress; - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t binaryFormat = (uintptr_t)binaryFormatAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glGetProgramBinary(program, bufSize, length, binaryFormat, binary); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramBinary(JNIEnv *__env, jclass clazz, jint program, jint binaryFormat, jlong binaryAddress, jint length) { glProgramBinaryPROC glProgramBinary = (glProgramBinaryPROC)tlsGetFunction(776); - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glProgramBinary(program, binaryFormat, binary, length); } @@ -167,7 +167,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glActiveShaderProgram(JNIEnv JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL41C_nglCreateShaderProgramv(JNIEnv *__env, jclass clazz, jint type, jint count, jlong stringsAddress) { glCreateShaderProgramvPROC glCreateShaderProgramv = (glCreateShaderProgramvPROC)tlsGetFunction(780); - intptr_t strings = (intptr_t)stringsAddress; + uintptr_t strings = (uintptr_t)stringsAddress; UNUSED_PARAM(clazz) return (jint)glCreateShaderProgramv(type, count, strings); } @@ -180,14 +180,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glBindProgramPipeline(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglDeleteProgramPipelines__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glDeleteProgramPipelinesPROC glDeleteProgramPipelines = (glDeleteProgramPipelinesPROC)tlsGetFunction(782); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glDeleteProgramPipelines(n, pipelines); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGenProgramPipelines__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glGenProgramPipelinesPROC glGenProgramPipelines = (glGenProgramPipelinesPROC)tlsGetFunction(783); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glGenProgramPipelines(n, pipelines); } @@ -200,7 +200,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL41C_glIsProgramPipeline(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetProgramPipelineiv__IIJ(JNIEnv *__env, jclass clazz, jint pipeline, jint pname, jlong paramsAddress) { glGetProgramPipelineivPROC glGetProgramPipelineiv = (glGetProgramPipelineivPROC)tlsGetFunction(785); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramPipelineiv(pipeline, pname, params); } @@ -303,238 +303,238 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glProgramUniform4d(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform1iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ivPROC glProgramUniform1iv = (glProgramUniform1ivPROC)tlsGetFunction(802); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform2iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ivPROC glProgramUniform2iv = (glProgramUniform2ivPROC)tlsGetFunction(803); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform3iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ivPROC glProgramUniform3iv = (glProgramUniform3ivPROC)tlsGetFunction(804); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform4iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ivPROC glProgramUniform4iv = (glProgramUniform4ivPROC)tlsGetFunction(805); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform1uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1uivPROC glProgramUniform1uiv = (glProgramUniform1uivPROC)tlsGetFunction(806); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform2uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2uivPROC glProgramUniform2uiv = (glProgramUniform2uivPROC)tlsGetFunction(807); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform3uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3uivPROC glProgramUniform3uiv = (glProgramUniform3uivPROC)tlsGetFunction(808); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform4uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4uivPROC glProgramUniform4uiv = (glProgramUniform4uivPROC)tlsGetFunction(809); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform1fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1fvPROC glProgramUniform1fv = (glProgramUniform1fvPROC)tlsGetFunction(810); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform2fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2fvPROC glProgramUniform2fv = (glProgramUniform2fvPROC)tlsGetFunction(811); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform3fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3fvPROC glProgramUniform3fv = (glProgramUniform3fvPROC)tlsGetFunction(812); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform4fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4fvPROC glProgramUniform4fv = (glProgramUniform4fvPROC)tlsGetFunction(813); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform1dv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1dvPROC glProgramUniform1dv = (glProgramUniform1dvPROC)tlsGetFunction(814); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1dv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform2dv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2dvPROC glProgramUniform2dv = (glProgramUniform2dvPROC)tlsGetFunction(815); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2dv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform3dv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3dvPROC glProgramUniform3dv = (glProgramUniform3dvPROC)tlsGetFunction(816); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3dv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniform4dv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4dvPROC glProgramUniform4dv = (glProgramUniform4dvPROC)tlsGetFunction(817); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4dv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2fvPROC glProgramUniformMatrix2fv = (glProgramUniformMatrix2fvPROC)tlsGetFunction(818); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3fvPROC glProgramUniformMatrix3fv = (glProgramUniformMatrix3fvPROC)tlsGetFunction(819); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4fvPROC glProgramUniformMatrix4fv = (glProgramUniformMatrix4fvPROC)tlsGetFunction(820); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2dvPROC glProgramUniformMatrix2dv = (glProgramUniformMatrix2dvPROC)tlsGetFunction(821); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3dvPROC glProgramUniformMatrix3dv = (glProgramUniformMatrix3dvPROC)tlsGetFunction(822); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4dvPROC glProgramUniformMatrix4dv = (glProgramUniformMatrix4dvPROC)tlsGetFunction(823); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2x3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3fvPROC glProgramUniformMatrix2x3fv = (glProgramUniformMatrix2x3fvPROC)tlsGetFunction(824); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3x2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2fvPROC glProgramUniformMatrix3x2fv = (glProgramUniformMatrix3x2fvPROC)tlsGetFunction(825); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2x4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4fvPROC glProgramUniformMatrix2x4fv = (glProgramUniformMatrix2x4fvPROC)tlsGetFunction(826); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4x2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2fvPROC glProgramUniformMatrix4x2fv = (glProgramUniformMatrix4x2fvPROC)tlsGetFunction(827); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3x4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4fvPROC glProgramUniformMatrix3x4fv = (glProgramUniformMatrix3x4fvPROC)tlsGetFunction(828); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4x3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3fvPROC glProgramUniformMatrix4x3fv = (glProgramUniformMatrix4x3fvPROC)tlsGetFunction(829); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2x3dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3dvPROC glProgramUniformMatrix2x3dv = (glProgramUniformMatrix2x3dvPROC)tlsGetFunction(830); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3x2dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2dvPROC glProgramUniformMatrix3x2dv = (glProgramUniformMatrix3x2dvPROC)tlsGetFunction(831); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix2x4dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4dvPROC glProgramUniformMatrix2x4dv = (glProgramUniformMatrix2x4dvPROC)tlsGetFunction(832); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4x2dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2dvPROC glProgramUniformMatrix4x2dv = (glProgramUniformMatrix4x2dvPROC)tlsGetFunction(833); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix3x4dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4dvPROC glProgramUniformMatrix3x4dv = (glProgramUniformMatrix3x4dvPROC)tlsGetFunction(834); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4dv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglProgramUniformMatrix4x3dv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3dvPROC glProgramUniformMatrix4x3dv = (glProgramUniformMatrix4x3dvPROC)tlsGetFunction(835); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3dv(program, location, count, transpose, value); } @@ -547,8 +547,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glValidateProgramPipeline(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetProgramPipelineInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint pipeline, jint bufSize, jlong lengthAddress, jlong infoLogAddress) { glGetProgramPipelineInfoLogPROC glGetProgramPipelineInfoLog = (glGetProgramPipelineInfoLogPROC)tlsGetFunction(837); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); } @@ -579,49 +579,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glVertexAttribL4d(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglVertexAttribL1dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL1dvPROC glVertexAttribL1dv = (glVertexAttribL1dvPROC)tlsGetFunction(842); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL1dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglVertexAttribL2dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL2dvPROC glVertexAttribL2dv = (glVertexAttribL2dvPROC)tlsGetFunction(843); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL2dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglVertexAttribL3dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL3dvPROC glVertexAttribL3dv = (glVertexAttribL3dvPROC)tlsGetFunction(844); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL3dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglVertexAttribL4dv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL4dvPROC glVertexAttribL4dv = (glVertexAttribL4dvPROC)tlsGetFunction(845); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL4dv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglVertexAttribLPointer(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jint stride, jlong pointerAddress) { glVertexAttribLPointerPROC glVertexAttribLPointer = (glVertexAttribLPointerPROC)tlsGetFunction(846); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribLPointer(index, size, type, stride, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetVertexAttribLdv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribLdvPROC glGetVertexAttribLdv = (glGetVertexAttribLdvPROC)tlsGetFunction(847); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribLdv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglViewportArrayv__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glViewportArrayvPROC glViewportArrayv = (glViewportArrayvPROC)tlsGetFunction(848); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportArrayv(first, count, v); } @@ -634,14 +634,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glViewportIndexedf(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglViewportIndexedfv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glViewportIndexedfvPROC glViewportIndexedfv = (glViewportIndexedfvPROC)tlsGetFunction(850); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportIndexedfv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglScissorArrayv__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glScissorArrayvPROC glScissorArrayv = (glScissorArrayvPROC)tlsGetFunction(851); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorArrayv(first, count, v); } @@ -654,14 +654,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glScissorIndexed(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglScissorIndexedv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glScissorIndexedvPROC glScissorIndexedv = (glScissorIndexedvPROC)tlsGetFunction(853); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorIndexedv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglDepthRangeArrayv__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glDepthRangeArrayvPROC glDepthRangeArrayv = (glDepthRangeArrayvPROC)tlsGetFunction(854); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glDepthRangeArrayv(first, count, v); } @@ -674,14 +674,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_glDepthRangeIndexed(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetFloati_1v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetFloati_vPROC glGetFloati_v = (glGetFloati_vPROC)tlsGetFunction(856); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetFloati_v(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL41C_nglGetDoublei_1v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetDoublei_vPROC glGetDoublei_v = (glGetDoublei_vPROC)tlsGetFunction(857); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetDoublei_v(target, index, data); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL42C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL42C.c index 6b6812a347..8a9ea6e374 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL42C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL42C.c @@ -6,24 +6,24 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetActiveAtomicCounterBufferivPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetActiveAtomicCounterBufferivPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glTexStorage1DPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glTexStorage2DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glTexStorage3DPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glDrawTransformFeedbackInstancedPROC) (jint, jint, jint); typedef void (APIENTRY *glDrawTransformFeedbackStreamInstancedPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glDrawArraysInstancedBaseInstancePROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseInstancePROC) (jint, jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexBaseInstancePROC) (jint, jint, jint, intptr_t, jint, jint, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseInstancePROC) (jint, jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexBaseInstancePROC) (jint, jint, jint, uintptr_t, jint, jint, jint); typedef void (APIENTRY *glBindImageTexturePROC) (jint, jint, jint, jboolean, jint, jint, jint); typedef void (APIENTRY *glMemoryBarrierPROC) (jint); -typedef void (APIENTRY *glGetInternalformativPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetInternalformativPROC) (jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_nglGetActiveAtomicCounterBufferiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint bufferIndex, jint pname, jlong paramsAddress) { glGetActiveAtomicCounterBufferivPROC glGetActiveAtomicCounterBufferiv = (glGetActiveAtomicCounterBufferivPROC)tlsGetFunction(858); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetActiveAtomicCounterBufferiv(program, bufferIndex, pname, params); } @@ -66,14 +66,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_glDrawArraysInstancedBaseInst JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_nglDrawElementsInstancedBaseInstance(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount, jint baseinstance) { glDrawElementsInstancedBaseInstancePROC glDrawElementsInstancedBaseInstance = (glDrawElementsInstancedBaseInstancePROC)tlsGetFunction(865); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseInstance(mode, count, type, indices, primcount, baseinstance); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_nglDrawElementsInstancedBaseVertexBaseInstance(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount, jint basevertex, jint baseinstance) { glDrawElementsInstancedBaseVertexBaseInstancePROC glDrawElementsInstancedBaseVertexBaseInstance = (glDrawElementsInstancedBaseVertexBaseInstancePROC)tlsGetFunction(866); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, primcount, basevertex, baseinstance); } @@ -92,7 +92,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_glMemoryBarrier(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL42C_nglGetInternalformativ__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint pname, jint bufSize, jlong paramsAddress) { glGetInternalformativPROC glGetInternalformativ = (glGetInternalformativPROC)tlsGetFunction(869); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInternalformativ(target, internalformat, pname, bufSize, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL43C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL43C.c index 4598fac98c..3fbc3c830e 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL43C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL43C.c @@ -6,44 +6,44 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glClearBufferDataPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferSubDataPROC) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t); +typedef void (APIENTRY *glClearBufferDataPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferSubDataPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t); typedef void (APIENTRY *glDispatchComputePROC) (jint, jint, jint); -typedef void (APIENTRY *glDispatchComputeIndirectPROC) (intptr_t); +typedef void (APIENTRY *glDispatchComputeIndirectPROC) (uintptr_t); typedef void (APIENTRY *glCopyImageSubDataPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDebugMessageControlPROC) (jint, jint, jint, jint, intptr_t, jboolean); -typedef void (APIENTRY *glDebugMessageInsertPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glDebugMessageCallbackPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *glGetDebugMessageLogPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glPushDebugGroupPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDebugMessageControlPROC) (jint, jint, jint, jint, uintptr_t, jboolean); +typedef void (APIENTRY *glDebugMessageInsertPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glDebugMessageCallbackPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetDebugMessageLogPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glPushDebugGroupPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPopDebugGroupPROC) (void); -typedef void (APIENTRY *glObjectLabelPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectLabelPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glObjectPtrLabelPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetObjectPtrLabelPROC) (intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glObjectLabelPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectLabelPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glObjectPtrLabelPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectPtrLabelPROC) (uintptr_t, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glFramebufferParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetInternalformati64vPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetInternalformati64vPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glInvalidateTexSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glInvalidateTexImagePROC) (jint, jint); -typedef void (APIENTRY *glInvalidateBufferSubDataPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glInvalidateBufferSubDataPROC) (jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glInvalidateBufferDataPROC) (jint); -typedef void (APIENTRY *glInvalidateFramebufferPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glInvalidateSubFramebufferPROC) (jint, jint, intptr_t, jint, jint, jint, jint); -typedef void (APIENTRY *glMultiDrawArraysIndirectPROC) (jint, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectPROC) (jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glGetProgramInterfaceivPROC) (jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceIndexPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramResourceNamePROC) (jint, jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetProgramResourceivPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceLocationPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceLocationIndexPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glInvalidateFramebufferPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glInvalidateSubFramebufferPROC) (jint, jint, uintptr_t, jint, jint, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectPROC) (jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectPROC) (jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glGetProgramInterfaceivPROC) (jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceIndexPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramResourceNamePROC) (jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetProgramResourceivPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceLocationPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceLocationIndexPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glShaderStorageBlockBindingPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTexBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glTexStorage2DMultisamplePROC) (jint, jint, jint, jint, jint, jboolean); typedef void (APIENTRY *glTexStorage3DMultisamplePROC) (jint, jint, jint, jint, jint, jint, jboolean); typedef void (APIENTRY *glTextureViewPROC) (jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glBindVertexBufferPROC) (jint, jint, intptr_t, jint); +typedef void (APIENTRY *glBindVertexBufferPROC) (jint, jint, uintptr_t, jint); typedef void (APIENTRY *glVertexAttribFormatPROC) (jint, jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribIFormatPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glVertexAttribLFormatPROC) (jint, jint, jint, jint); @@ -54,16 +54,16 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglClearBufferData__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint format, jint type, jlong dataAddress) { glClearBufferDataPROC glClearBufferData = (glClearBufferDataPROC)tlsGetFunction(870); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearBufferData(target, internalformat, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglClearBufferSubData__IIJJIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jlong offset, jlong size, jint format, jint type, jlong dataAddress) { glClearBufferSubDataPROC glClearBufferSubData = (glClearBufferSubDataPROC)tlsGetFunction(871); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glClearBufferSubData(target, internalformat, (intptr_t)offset, (intptr_t)size, format, type, data); + glClearBufferSubData(target, internalformat, (uintptr_t)offset, (uintptr_t)size, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glDispatchCompute(JNIEnv *__env, jclass clazz, jint num_groups_x, jint num_groups_y, jint num_groups_z) { @@ -75,7 +75,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glDispatchCompute(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glDispatchComputeIndirect(JNIEnv *__env, jclass clazz, jlong indirect) { glDispatchComputeIndirectPROC glDispatchComputeIndirect = (glDispatchComputeIndirectPROC)tlsGetFunction(873); UNUSED_PARAM(clazz) - glDispatchComputeIndirect((intptr_t)indirect); + glDispatchComputeIndirect((uintptr_t)indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glCopyImageSubData(JNIEnv *__env, jclass clazz, jint srcName, jint srcTarget, jint srcLevel, jint srcX, jint srcY, jint srcZ, jint dstName, jint dstTarget, jint dstLevel, jint dstX, jint dstY, jint dstZ, jint srcWidth, jint srcHeight, jint srcDepth) { @@ -86,41 +86,41 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glCopyImageSubData(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglDebugMessageControl__IIIIJZ(JNIEnv *__env, jclass clazz, jint source, jint type, jint severity, jint count, jlong idsAddress, jboolean enabled) { glDebugMessageControlPROC glDebugMessageControl = (glDebugMessageControlPROC)tlsGetFunction(875); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDebugMessageControl(source, type, severity, count, ids, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglDebugMessageInsert(JNIEnv *__env, jclass clazz, jint source, jint type, jint id, jint severity, jint length, jlong messageAddress) { glDebugMessageInsertPROC glDebugMessageInsert = (glDebugMessageInsertPROC)tlsGetFunction(876); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glDebugMessageInsert(source, type, id, severity, length, message); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglDebugMessageCallback(JNIEnv *__env, jclass clazz, jlong callbackAddress, jlong userParamAddress) { glDebugMessageCallbackPROC glDebugMessageCallback = (glDebugMessageCallbackPROC)tlsGetFunction(877); - intptr_t callback = (intptr_t)callbackAddress; - intptr_t userParam = (intptr_t)userParamAddress; + uintptr_t callback = (uintptr_t)callbackAddress; + uintptr_t userParam = (uintptr_t)userParamAddress; UNUSED_PARAM(clazz) glDebugMessageCallback(callback, userParam); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL43C_nglGetDebugMessageLog__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint count, jint bufsize, jlong sourcesAddress, jlong typesAddress, jlong idsAddress, jlong severitiesAddress, jlong lengthsAddress, jlong messageLogAddress) { glGetDebugMessageLogPROC glGetDebugMessageLog = (glGetDebugMessageLogPROC)tlsGetFunction(878); - intptr_t sources = (intptr_t)sourcesAddress; - intptr_t types = (intptr_t)typesAddress; - intptr_t ids = (intptr_t)idsAddress; - intptr_t severities = (intptr_t)severitiesAddress; - intptr_t lengths = (intptr_t)lengthsAddress; - intptr_t messageLog = (intptr_t)messageLogAddress; + uintptr_t sources = (uintptr_t)sourcesAddress; + uintptr_t types = (uintptr_t)typesAddress; + uintptr_t ids = (uintptr_t)idsAddress; + uintptr_t severities = (uintptr_t)severitiesAddress; + uintptr_t lengths = (uintptr_t)lengthsAddress; + uintptr_t messageLog = (uintptr_t)messageLogAddress; UNUSED_PARAM(clazz) return (jint)glGetDebugMessageLog(count, bufsize, sources, types, ids, severities, lengths, messageLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglPushDebugGroup(JNIEnv *__env, jclass clazz, jint source, jint id, jint length, jlong messageAddress) { glPushDebugGroupPROC glPushDebugGroup = (glPushDebugGroupPROC)tlsGetFunction(879); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glPushDebugGroup(source, id, length, message); } @@ -133,32 +133,32 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glPopDebugGroup(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglObjectLabel(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint length, jlong labelAddress) { glObjectLabelPROC glObjectLabel = (glObjectLabelPROC)tlsGetFunction(881); - intptr_t label = (intptr_t)labelAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectLabel(identifier, name, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetObjectLabel__IIIJJ(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectLabelPROC glGetObjectLabel = (glGetObjectLabelPROC)tlsGetFunction(882); - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectLabel(identifier, name, bufSize, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglObjectPtrLabel(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint length, jlong labelAddress) { glObjectPtrLabelPROC glObjectPtrLabel = (glObjectPtrLabelPROC)tlsGetFunction(883); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectPtrLabel(ptr, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetObjectPtrLabel__JIJJ(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectPtrLabelPROC glGetObjectPtrLabel = (glGetObjectPtrLabelPROC)tlsGetFunction(884); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectPtrLabel(ptr, bufSize, length, label); } @@ -171,14 +171,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glFramebufferParameteri(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetFramebufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetFramebufferParameterivPROC glGetFramebufferParameteriv = (glGetFramebufferParameterivPROC)tlsGetFunction(886); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetInternalformati64v__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint pname, jint bufSize, jlong paramsAddress) { glGetInternalformati64vPROC glGetInternalformati64v = (glGetInternalformati64vPROC)tlsGetFunction(887); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInternalformati64v(target, internalformat, pname, bufSize, params); } @@ -198,7 +198,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glInvalidateTexImage(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glInvalidateBufferSubData(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong length) { glInvalidateBufferSubDataPROC glInvalidateBufferSubData = (glInvalidateBufferSubDataPROC)tlsGetFunction(890); UNUSED_PARAM(clazz) - glInvalidateBufferSubData(buffer, (intptr_t)offset, (intptr_t)length); + glInvalidateBufferSubData(buffer, (uintptr_t)offset, (uintptr_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glInvalidateBufferData(JNIEnv *__env, jclass clazz, jint buffer) { @@ -209,73 +209,73 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glInvalidateBufferData(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglInvalidateFramebuffer__IIJ(JNIEnv *__env, jclass clazz, jint target, jint numAttachments, jlong attachmentsAddress) { glInvalidateFramebufferPROC glInvalidateFramebuffer = (glInvalidateFramebufferPROC)tlsGetFunction(892); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateFramebuffer(target, numAttachments, attachments); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglInvalidateSubFramebuffer__IIJIIII(JNIEnv *__env, jclass clazz, jint target, jint numAttachments, jlong attachmentsAddress, jint x, jint y, jint width, jint height) { glInvalidateSubFramebufferPROC glInvalidateSubFramebuffer = (glInvalidateSubFramebufferPROC)tlsGetFunction(893); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglMultiDrawArraysIndirect__IJII(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jint drawcount, jint stride) { glMultiDrawArraysIndirectPROC glMultiDrawArraysIndirect = (glMultiDrawArraysIndirectPROC)tlsGetFunction(894); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawArraysIndirect(mode, indirect, drawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglMultiDrawElementsIndirect__IIJII(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jint drawcount, jint stride) { glMultiDrawElementsIndirectPROC glMultiDrawElementsIndirect = (glMultiDrawElementsIndirectPROC)tlsGetFunction(895); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawElementsIndirect(mode, type, indirect, drawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramInterfaceiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint pname, jlong paramsAddress) { glGetProgramInterfaceivPROC glGetProgramInterfaceiv = (glGetProgramInterfaceivPROC)tlsGetFunction(896); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramInterfaceiv(program, programInterface, pname, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramResourceIndex(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceIndexPROC glGetProgramResourceIndex = (glGetProgramResourceIndexPROC)tlsGetFunction(897); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceIndex(program, programInterface, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramResourceName__IIIIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint bufSize, jlong lengthAddress, jlong nameAddress) { glGetProgramResourceNamePROC glGetProgramResourceName = (glGetProgramResourceNamePROC)tlsGetFunction(898); - intptr_t length = (intptr_t)lengthAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetProgramResourceName(program, programInterface, index, bufSize, length, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramResourceiv__IIIIJIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint propCount, jlong propsAddress, jint bufSize, jlong lengthAddress, jlong paramsAddress) { glGetProgramResourceivPROC glGetProgramResourceiv = (glGetProgramResourceivPROC)tlsGetFunction(899); - intptr_t props = (intptr_t)propsAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t props = (uintptr_t)propsAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramResourceLocation(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceLocationPROC glGetProgramResourceLocation = (glGetProgramResourceLocationPROC)tlsGetFunction(900); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceLocation(program, programInterface, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL43C_nglGetProgramResourceLocationIndex(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceLocationIndexPROC glGetProgramResourceLocationIndex = (glGetProgramResourceLocationIndexPROC)tlsGetFunction(901); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceLocationIndex(program, programInterface, name); } @@ -289,7 +289,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glShaderStorageBlockBinding(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glTexBufferRange(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint buffer, jlong offset, jlong size) { glTexBufferRangePROC glTexBufferRange = (glTexBufferRangePROC)tlsGetFunction(903); UNUSED_PARAM(clazz) - glTexBufferRange(target, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTexBufferRange(target, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glTexStorage2DMultisample(JNIEnv *__env, jclass clazz, jint target, jint samples, jint internalformat, jint width, jint height, jboolean fixedsamplelocations) { @@ -313,7 +313,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glTextureView(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glBindVertexBuffer(JNIEnv *__env, jclass clazz, jint bindingindex, jint buffer, jlong offset, jint stride) { glBindVertexBufferPROC glBindVertexBuffer = (glBindVertexBufferPROC)tlsGetFunction(907); UNUSED_PARAM(clazz) - glBindVertexBuffer(bindingindex, buffer, (intptr_t)offset, stride); + glBindVertexBuffer(bindingindex, buffer, (uintptr_t)offset, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43C_glVertexAttribFormat(JNIEnv *__env, jclass clazz, jint attribindex, jint size, jint type, jboolean normalized, jint relativeoffset) { diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL44C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL44C.c index 3a456d0406..21b494da8a 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL44C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL44C.c @@ -6,81 +6,81 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBufferStoragePROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glClearTexSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearTexImagePROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glBindBuffersBasePROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glBindBuffersRangePROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glBindTexturesPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glBindSamplersPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glBindImageTexturesPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glBindVertexBuffersPROC) (jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glBufferStoragePROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glClearTexSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearTexImagePROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glBindBuffersBasePROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glBindBuffersRangePROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glBindTexturesPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glBindSamplersPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glBindImageTexturesPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glBindVertexBuffersPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBufferStorage__IJJI(JNIEnv *__env, jclass clazz, jint target, jlong size, jlong dataAddress, jint flags) { glBufferStoragePROC glBufferStorage = (glBufferStoragePROC)tlsGetFunction(913); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferStorage(target, (intptr_t)size, data, flags); + glBufferStorage(target, (uintptr_t)size, data, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglClearTexSubImage__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong dataAddress) { glClearTexSubImagePROC glClearTexSubImage = (glClearTexSubImagePROC)tlsGetFunction(914); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglClearTexImage__IIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint format, jint type, jlong dataAddress) { glClearTexImagePROC glClearTexImage = (glClearTexImagePROC)tlsGetFunction(915); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearTexImage(texture, level, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindBuffersBase__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint first, jint count, jlong buffersAddress) { glBindBuffersBasePROC glBindBuffersBase = (glBindBuffersBasePROC)tlsGetFunction(916); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glBindBuffersBase(target, first, count, buffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindBuffersRange__IIIJJJ(JNIEnv *__env, jclass clazz, jint target, jint first, jint count, jlong buffersAddress, jlong offsetsAddress, jlong sizesAddress) { glBindBuffersRangePROC glBindBuffersRange = (glBindBuffersRangePROC)tlsGetFunction(917); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t offsets = (intptr_t)offsetsAddress; - intptr_t sizes = (intptr_t)sizesAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t offsets = (uintptr_t)offsetsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; UNUSED_PARAM(clazz) glBindBuffersRange(target, first, count, buffers, offsets, sizes); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindTextures__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong texturesAddress) { glBindTexturesPROC glBindTextures = (glBindTexturesPROC)tlsGetFunction(918); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glBindTextures(first, count, textures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindSamplers__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong samplersAddress) { glBindSamplersPROC glBindSamplers = (glBindSamplersPROC)tlsGetFunction(919); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glBindSamplers(first, count, samplers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindImageTextures__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong texturesAddress) { glBindImageTexturesPROC glBindImageTextures = (glBindImageTexturesPROC)tlsGetFunction(920); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glBindImageTextures(first, count, textures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL44C_nglBindVertexBuffers__IIJJJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong buffersAddress, jlong offsetsAddress, jlong stridesAddress) { glBindVertexBuffersPROC glBindVertexBuffers = (glBindVertexBuffersPROC)tlsGetFunction(921); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t offsets = (intptr_t)offsetsAddress; - intptr_t strides = (intptr_t)stridesAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t offsets = (uintptr_t)offsetsAddress; + uintptr_t strides = (uintptr_t)stridesAddress; UNUSED_PARAM(clazz) glBindVertexBuffers(first, count, buffers, offsets, strides); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45.c index 6e6b14c257..b3aa0c13f4 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45.c @@ -6,103 +6,103 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetnMapdvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMapfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMapivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPixelMapusvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetnPolygonStipplePROC) (jint, intptr_t); -typedef void (APIENTRY *glGetnColorTablePROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnConvolutionFilterPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnSeparableFilterPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetnHistogramPROC) (jint, jboolean, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnMinmaxPROC) (jint, jboolean, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetnMapdvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMapfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMapivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPixelMapusvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnPolygonStipplePROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetnColorTablePROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnConvolutionFilterPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnSeparableFilterPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetnHistogramPROC) (jint, jboolean, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnMinmaxPROC) (jint, jboolean, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnMapdv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapdvPROC glGetnMapdv = (glGetnMapdvPROC)tlsGetFunction(1025); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapdv(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnMapfv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapfvPROC glGetnMapfv = (glGetnMapfvPROC)tlsGetFunction(1026); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapfv(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnMapiv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint query, jint bufSize, jlong dataAddress) { glGetnMapivPROC glGetnMapiv = (glGetnMapivPROC)tlsGetFunction(1027); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnMapiv(target, query, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnPixelMapfv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapfvPROC glGetnPixelMapfv = (glGetnPixelMapfvPROC)tlsGetFunction(1028); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapfv(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnPixelMapuiv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapuivPROC glGetnPixelMapuiv = (glGetnPixelMapuivPROC)tlsGetFunction(1029); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapuiv(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnPixelMapusv__IIJ(JNIEnv *__env, jclass clazz, jint map, jint bufSize, jlong dataAddress) { glGetnPixelMapusvPROC glGetnPixelMapusv = (glGetnPixelMapusvPROC)tlsGetFunction(1030); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetnPixelMapusv(map, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnPolygonStipple(JNIEnv *__env, jclass clazz, jint bufSize, jlong patternAddress) { glGetnPolygonStipplePROC glGetnPolygonStipple = (glGetnPolygonStipplePROC)tlsGetFunction(1031); - intptr_t pattern = (intptr_t)patternAddress; + uintptr_t pattern = (uintptr_t)patternAddress; UNUSED_PARAM(clazz) glGetnPolygonStipple(bufSize, pattern); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnColorTable__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint bufSize, jlong tableAddress) { glGetnColorTablePROC glGetnColorTable = (glGetnColorTablePROC)tlsGetFunction(1034); - intptr_t table = (intptr_t)tableAddress; + uintptr_t table = (uintptr_t)tableAddress; UNUSED_PARAM(clazz) glGetnColorTable(target, format, type, bufSize, table); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnConvolutionFilter(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint bufSize, jlong imageAddress) { glGetnConvolutionFilterPROC glGetnConvolutionFilter = (glGetnConvolutionFilterPROC)tlsGetFunction(1035); - intptr_t image = (intptr_t)imageAddress; + uintptr_t image = (uintptr_t)imageAddress; UNUSED_PARAM(clazz) glGetnConvolutionFilter(target, format, type, bufSize, image); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnSeparableFilter(JNIEnv *__env, jclass clazz, jint target, jint format, jint type, jint rowBufSize, jlong rowAddress, jint columnBufSize, jlong columnAddress, jlong spanAddress) { glGetnSeparableFilterPROC glGetnSeparableFilter = (glGetnSeparableFilterPROC)tlsGetFunction(1036); - intptr_t row = (intptr_t)rowAddress; - intptr_t column = (intptr_t)columnAddress; - intptr_t span = (intptr_t)spanAddress; + uintptr_t row = (uintptr_t)rowAddress; + uintptr_t column = (uintptr_t)columnAddress; + uintptr_t span = (uintptr_t)spanAddress; UNUSED_PARAM(clazz) glGetnSeparableFilter(target, format, type, rowBufSize, row, columnBufSize, column, span); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnHistogram(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jint bufSize, jlong valuesAddress) { glGetnHistogramPROC glGetnHistogram = (glGetnHistogramPROC)tlsGetFunction(1037); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetnHistogram(target, reset, format, type, bufSize, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45_nglGetnMinmax(JNIEnv *__env, jclass clazz, jint target, jboolean reset, jint format, jint type, jint bufSize, jlong valuesAddress) { glGetnMinmaxPROC glGetnMinmax = (glGetnMinmaxPROC)tlsGetFunction(1038); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetnMinmax(target, reset, format, type, bufSize, values); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45C.c index 6ede787990..90b8adbf2d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL45C.c @@ -7,115 +7,115 @@ #include "opengl.h" typedef void (APIENTRY *glClipControlPROC) (jint, jint); -typedef void (APIENTRY *glCreateTransformFeedbacksPROC) (jint, intptr_t); +typedef void (APIENTRY *glCreateTransformFeedbacksPROC) (jint, uintptr_t); typedef void (APIENTRY *glTransformFeedbackBufferBasePROC) (jint, jint, jint); -typedef void (APIENTRY *glTransformFeedbackBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetTransformFeedbackivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTransformFeedbacki_vPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTransformFeedbacki64_vPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCreateBuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glNamedBufferStoragePROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferDataPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferSubDataPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glCopyNamedBufferSubDataPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glClearNamedBufferDataPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearNamedBufferSubDataPROC) (jint, jint, intptr_t, intptr_t, jint, jint, intptr_t); -typedef intptr_t (APIENTRY *glMapNamedBufferPROC) (jint, jint); -typedef intptr_t (APIENTRY *glMapNamedBufferRangePROC) (jint, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glTransformFeedbackBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetTransformFeedbackivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTransformFeedbacki_vPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTransformFeedbacki64_vPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCreateBuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glNamedBufferStoragePROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferDataPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferSubDataPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glCopyNamedBufferSubDataPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glClearNamedBufferDataPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearNamedBufferSubDataPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, uintptr_t); +typedef uintptr_t (APIENTRY *glMapNamedBufferPROC) (jint, jint); +typedef uintptr_t (APIENTRY *glMapNamedBufferRangePROC) (jint, uintptr_t, uintptr_t, jint); typedef jboolean (APIENTRY *glUnmapNamedBufferPROC) (jint); -typedef void (APIENTRY *glFlushMappedNamedBufferRangePROC) (jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetNamedBufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedBufferParameteri64vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedBufferPointervPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedBufferSubDataPROC) (jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glCreateFramebuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glFlushMappedNamedBufferRangePROC) (jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferParameteri64vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferPointervPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferSubDataPROC) (jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glCreateFramebuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glNamedFramebufferRenderbufferPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferParameteriPROC) (jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferTexturePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferTextureLayerPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glNamedFramebufferDrawBufferPROC) (jint, jint); -typedef void (APIENTRY *glNamedFramebufferDrawBuffersPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glNamedFramebufferDrawBuffersPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glNamedFramebufferReadBufferPROC) (jint, jint); -typedef void (APIENTRY *glInvalidateNamedFramebufferDataPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glInvalidateNamedFramebufferSubDataPROC) (jint, jint, intptr_t, jint, jint, jint, jint); -typedef void (APIENTRY *glClearNamedFramebufferivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearNamedFramebufferuivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearNamedFramebufferfvPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glInvalidateNamedFramebufferDataPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glInvalidateNamedFramebufferSubDataPROC) (jint, jint, uintptr_t, jint, jint, jint, jint); +typedef void (APIENTRY *glClearNamedFramebufferivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearNamedFramebufferuivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearNamedFramebufferfvPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glClearNamedFramebufferfiPROC) (jint, jint, jint, jfloat, jint); typedef void (APIENTRY *glBlitNamedFramebufferPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef jint (APIENTRY *glCheckNamedFramebufferStatusPROC) (jint, jint); -typedef void (APIENTRY *glGetNamedFramebufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedFramebufferAttachmentParameterivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCreateRenderbuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetNamedFramebufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedFramebufferAttachmentParameterivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCreateRenderbuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glNamedRenderbufferStoragePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glNamedRenderbufferStorageMultisamplePROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetNamedRenderbufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glCreateTexturesPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetNamedRenderbufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glCreateTexturesPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTextureBufferPROC) (jint, jint, jint); -typedef void (APIENTRY *glTextureBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTextureBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glTextureStorage1DPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glTextureStorage2DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glTextureStorage3DPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glTextureStorage2DMultisamplePROC) (jint, jint, jint, jint, jint, jboolean); typedef void (APIENTRY *glTextureStorage3DMultisamplePROC) (jint, jint, jint, jint, jint, jint, jboolean); -typedef void (APIENTRY *glTextureSubImage1DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTextureSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage1DPROC) (jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTextureSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTextureSubImage1DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage1DPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTextureSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTextureSubImage1DPROC) (jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTextureSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTextureSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glTextureParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glTextureParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTextureParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTextureParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glTextureParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTextureParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTextureParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTextureParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTextureParameterivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glGenerateTextureMipmapPROC) (jint); typedef void (APIENTRY *glBindTextureUnitPROC) (jint, jint); -typedef void (APIENTRY *glGetTextureImagePROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedTextureImagePROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureLevelParameterfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureLevelParameterivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTextureParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glCreateVertexArraysPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetTextureImagePROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedTextureImagePROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureLevelParameterfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureLevelParameterivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTextureParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glCreateVertexArraysPROC) (jint, uintptr_t); typedef void (APIENTRY *glDisableVertexArrayAttribPROC) (jint, jint); typedef void (APIENTRY *glEnableVertexArrayAttribPROC) (jint, jint); typedef void (APIENTRY *glVertexArrayElementBufferPROC) (jint, jint); -typedef void (APIENTRY *glVertexArrayVertexBufferPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glVertexArrayVertexBuffersPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glVertexArrayVertexBufferPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glVertexArrayVertexBuffersPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glVertexArrayAttribFormatPROC) (jint, jint, jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexArrayAttribIFormatPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glVertexArrayAttribLFormatPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glVertexArrayAttribBindingPROC) (jint, jint, jint); typedef void (APIENTRY *glVertexArrayBindingDivisorPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetVertexArrayivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexArrayIndexedivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexArrayIndexed64ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCreateSamplersPROC) (jint, intptr_t); -typedef void (APIENTRY *glCreateProgramPipelinesPROC) (jint, intptr_t); -typedef void (APIENTRY *glCreateQueriesPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryBufferObjectivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryBufferObjectuivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryBufferObjecti64vPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryBufferObjectui64vPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetVertexArrayivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexArrayIndexedivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexArrayIndexed64ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCreateSamplersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glCreateProgramPipelinesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glCreateQueriesPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryBufferObjectivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryBufferObjectuivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryBufferObjecti64vPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryBufferObjectui64vPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMemoryBarrierByRegionPROC) (jint); -typedef void (APIENTRY *glGetTextureSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetCompressedTextureSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetTextureSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetCompressedTextureSubImagePROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glTextureBarrierPROC) (void); typedef jint (APIENTRY *glGetGraphicsResetStatusPROC) (void); -typedef void (APIENTRY *glGetnTexImagePROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glReadnPixelsPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnCompressedTexImagePROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformdvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformuivPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetnTexImagePROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glReadnPixelsPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnCompressedTexImagePROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformdvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformuivPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -127,7 +127,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glClipControl(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateTransformFeedbacks__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glCreateTransformFeedbacksPROC glCreateTransformFeedbacks = (glCreateTransformFeedbacksPROC)tlsGetFunction(923); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glCreateTransformFeedbacks(n, ids); } @@ -141,76 +141,76 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTransformFeedbackBufferBase JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTransformFeedbackBufferRange(JNIEnv *__env, jclass clazz, jint xfb, jint index, jint buffer, jlong offset, jlong size) { glTransformFeedbackBufferRangePROC glTransformFeedbackBufferRange = (glTransformFeedbackBufferRangePROC)tlsGetFunction(925); UNUSED_PARAM(clazz) - glTransformFeedbackBufferRange(xfb, index, buffer, (intptr_t)offset, (intptr_t)size); + glTransformFeedbackBufferRange(xfb, index, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTransformFeedbackiv__IIJ(JNIEnv *__env, jclass clazz, jint xfb, jint pname, jlong paramAddress) { glGetTransformFeedbackivPROC glGetTransformFeedbackiv = (glGetTransformFeedbackivPROC)tlsGetFunction(926); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetTransformFeedbackiv(xfb, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTransformFeedbacki_1v__IIIJ(JNIEnv *__env, jclass clazz, jint xfb, jint pname, jint index, jlong paramAddress) { glGetTransformFeedbacki_vPROC glGetTransformFeedbacki_v = (glGetTransformFeedbacki_vPROC)tlsGetFunction(927); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetTransformFeedbacki_v(xfb, pname, index, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTransformFeedbacki64_1v__IIIJ(JNIEnv *__env, jclass clazz, jint xfb, jint pname, jint index, jlong paramAddress) { glGetTransformFeedbacki64_vPROC glGetTransformFeedbacki64_v = (glGetTransformFeedbacki64_vPROC)tlsGetFunction(928); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetTransformFeedbacki64_v(xfb, pname, index, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glCreateBuffersPROC glCreateBuffers = (glCreateBuffersPROC)tlsGetFunction(929); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glCreateBuffers(n, buffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglNamedBufferStorage__IJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jlong dataAddress, jint flags) { glNamedBufferStoragePROC glNamedBufferStorage = (glNamedBufferStoragePROC)tlsGetFunction(930); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferStorage(buffer, (intptr_t)size, data, flags); + glNamedBufferStorage(buffer, (uintptr_t)size, data, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglNamedBufferData__IJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jlong dataAddress, jint usage) { glNamedBufferDataPROC glNamedBufferData = (glNamedBufferDataPROC)tlsGetFunction(931); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferData(buffer, (intptr_t)size, data, usage); + glNamedBufferData(buffer, (uintptr_t)size, data, usage); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglNamedBufferSubData__IJJJ(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong dataAddress) { glNamedBufferSubDataPROC glNamedBufferSubData = (glNamedBufferSubDataPROC)tlsGetFunction(932); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferSubData(buffer, (intptr_t)offset, (intptr_t)size, data); + glNamedBufferSubData(buffer, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glCopyNamedBufferSubData(JNIEnv *__env, jclass clazz, jint readBuffer, jint writeBuffer, jlong readOffset, jlong writeOffset, jlong size) { glCopyNamedBufferSubDataPROC glCopyNamedBufferSubData = (glCopyNamedBufferSubDataPROC)tlsGetFunction(933); UNUSED_PARAM(clazz) - glCopyNamedBufferSubData(readBuffer, writeBuffer, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glCopyNamedBufferSubData(readBuffer, writeBuffer, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglClearNamedBufferData__IIIIJ(JNIEnv *__env, jclass clazz, jint buffer, jint internalformat, jint format, jint type, jlong dataAddress) { glClearNamedBufferDataPROC glClearNamedBufferData = (glClearNamedBufferDataPROC)tlsGetFunction(934); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearNamedBufferData(buffer, internalformat, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglClearNamedBufferSubData__IIJJIIJ(JNIEnv *__env, jclass clazz, jint buffer, jint internalformat, jlong offset, jlong size, jint format, jint type, jlong dataAddress) { glClearNamedBufferSubDataPROC glClearNamedBufferSubData = (glClearNamedBufferSubDataPROC)tlsGetFunction(935); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glClearNamedBufferSubData(buffer, internalformat, (intptr_t)offset, (intptr_t)size, format, type, data); + glClearNamedBufferSubData(buffer, internalformat, (uintptr_t)offset, (uintptr_t)size, format, type, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL45C_nglMapNamedBuffer(JNIEnv *__env, jclass clazz, jint buffer, jint access) { @@ -222,7 +222,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL45C_nglMapNamedBuffer(JNIEnv *__ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_GL45C_nglMapNamedBufferRange(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong length, jint access) { glMapNamedBufferRangePROC glMapNamedBufferRange = (glMapNamedBufferRangePROC)tlsGetFunction(937); UNUSED_PARAM(clazz) - return (jlong)glMapNamedBufferRange(buffer, (intptr_t)offset, (intptr_t)length, access); + return (jlong)glMapNamedBufferRange(buffer, (uintptr_t)offset, (uintptr_t)length, access); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL45C_glUnmapNamedBuffer(JNIEnv *__env, jclass clazz, jint buffer) { @@ -234,40 +234,40 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_GL45C_glUnmapNamedBuffer(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glFlushMappedNamedBufferRange(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong length) { glFlushMappedNamedBufferRangePROC glFlushMappedNamedBufferRange = (glFlushMappedNamedBufferRangePROC)tlsGetFunction(939); UNUSED_PARAM(clazz) - glFlushMappedNamedBufferRange(buffer, (intptr_t)offset, (intptr_t)length); + glFlushMappedNamedBufferRange(buffer, (uintptr_t)offset, (uintptr_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedBufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint pname, jlong paramsAddress) { glGetNamedBufferParameterivPROC glGetNamedBufferParameteriv = (glGetNamedBufferParameterivPROC)tlsGetFunction(940); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedBufferParameteriv(buffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedBufferParameteri64v__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint pname, jlong paramsAddress) { glGetNamedBufferParameteri64vPROC glGetNamedBufferParameteri64v = (glGetNamedBufferParameteri64vPROC)tlsGetFunction(941); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedBufferParameteri64v(buffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedBufferPointerv(JNIEnv *__env, jclass clazz, jint buffer, jint pname, jlong paramsAddress) { glGetNamedBufferPointervPROC glGetNamedBufferPointerv = (glGetNamedBufferPointervPROC)tlsGetFunction(942); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedBufferPointerv(buffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedBufferSubData__IJJJ(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong dataAddress) { glGetNamedBufferSubDataPROC glGetNamedBufferSubData = (glGetNamedBufferSubDataPROC)tlsGetFunction(943); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glGetNamedBufferSubData(buffer, (intptr_t)offset, (intptr_t)size, data); + glGetNamedBufferSubData(buffer, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateFramebuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glCreateFramebuffersPROC glCreateFramebuffers = (glCreateFramebuffersPROC)tlsGetFunction(944); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glCreateFramebuffers(n, framebuffers); } @@ -304,7 +304,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glNamedFramebufferDrawBuffer( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglNamedFramebufferDrawBuffers__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint n, jlong bufsAddress) { glNamedFramebufferDrawBuffersPROC glNamedFramebufferDrawBuffers = (glNamedFramebufferDrawBuffersPROC)tlsGetFunction(950); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glNamedFramebufferDrawBuffers(framebuffer, n, bufs); } @@ -317,35 +317,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glNamedFramebufferReadBuffer( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglInvalidateNamedFramebufferData__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint numAttachments, jlong attachmentsAddress) { glInvalidateNamedFramebufferDataPROC glInvalidateNamedFramebufferData = (glInvalidateNamedFramebufferDataPROC)tlsGetFunction(952); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateNamedFramebufferData(framebuffer, numAttachments, attachments); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglInvalidateNamedFramebufferSubData__IIJIIII(JNIEnv *__env, jclass clazz, jint framebuffer, jint numAttachments, jlong attachmentsAddress, jint x, jint y, jint width, jint height) { glInvalidateNamedFramebufferSubDataPROC glInvalidateNamedFramebufferSubData = (glInvalidateNamedFramebufferSubDataPROC)tlsGetFunction(953); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y, width, height); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglClearNamedFramebufferiv__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint buffer, jint drawbuffer, jlong valueAddress) { glClearNamedFramebufferivPROC glClearNamedFramebufferiv = (glClearNamedFramebufferivPROC)tlsGetFunction(954); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglClearNamedFramebufferuiv__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint buffer, jint drawbuffer, jlong valueAddress) { glClearNamedFramebufferuivPROC glClearNamedFramebufferuiv = (glClearNamedFramebufferuivPROC)tlsGetFunction(955); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglClearNamedFramebufferfv__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint buffer, jint drawbuffer, jlong valueAddress) { glClearNamedFramebufferfvPROC glClearNamedFramebufferfv = (glClearNamedFramebufferfvPROC)tlsGetFunction(956); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value); } @@ -370,21 +370,21 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL45C_glCheckNamedFramebufferStatus JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedFramebufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint pname, jlong paramsAddress) { glGetNamedFramebufferParameterivPROC glGetNamedFramebufferParameteriv = (glGetNamedFramebufferParameterivPROC)tlsGetFunction(960); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedFramebufferParameteriv(framebuffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedFramebufferAttachmentParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint attachment, jint pname, jlong paramsAddress) { glGetNamedFramebufferAttachmentParameterivPROC glGetNamedFramebufferAttachmentParameteriv = (glGetNamedFramebufferAttachmentParameterivPROC)tlsGetFunction(961); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateRenderbuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glCreateRenderbuffersPROC glCreateRenderbuffers = (glCreateRenderbuffersPROC)tlsGetFunction(962); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glCreateRenderbuffers(n, renderbuffers); } @@ -403,14 +403,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glNamedRenderbufferStorageMul JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetNamedRenderbufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint renderbuffer, jint pname, jlong paramsAddress) { glGetNamedRenderbufferParameterivPROC glGetNamedRenderbufferParameteriv = (glGetNamedRenderbufferParameterivPROC)tlsGetFunction(965); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedRenderbufferParameteriv(renderbuffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateTextures__IIJ(JNIEnv *__env, jclass clazz, jint target, jint n, jlong texturesAddress) { glCreateTexturesPROC glCreateTextures = (glCreateTexturesPROC)tlsGetFunction(966); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glCreateTextures(target, n, textures); } @@ -424,7 +424,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureBuffer(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureBufferRange(JNIEnv *__env, jclass clazz, jint texture, jint internalformat, jint buffer, jlong offset, jlong size) { glTextureBufferRangePROC glTextureBufferRange = (glTextureBufferRangePROC)tlsGetFunction(968); UNUSED_PARAM(clazz) - glTextureBufferRange(texture, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTextureBufferRange(texture, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureStorage1D(JNIEnv *__env, jclass clazz, jint texture, jint levels, jint internalformat, jint width) { @@ -459,42 +459,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureStorage3DMultisample JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureSubImage1D__IIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint width, jint format, jint type, jlong pixelsAddress) { glTextureSubImage1DPROC glTextureSubImage1D = (glTextureSubImage1DPROC)tlsGetFunction(974); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage1D(texture, level, xoffset, width, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureSubImage2D__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glTextureSubImage2DPROC glTextureSubImage2D = (glTextureSubImage2DPROC)tlsGetFunction(975); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureSubImage3D__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTextureSubImage3DPROC glTextureSubImage3D = (glTextureSubImage3DPROC)tlsGetFunction(976); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCompressedTextureSubImage1D(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint width, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage1DPROC glCompressedTextureSubImage1D = (glCompressedTextureSubImage1DPROC)tlsGetFunction(977); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCompressedTextureSubImage2D(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage2DPROC glCompressedTextureSubImage2D = (glCompressedTextureSubImage2DPROC)tlsGetFunction(978); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCompressedTextureSubImage3D(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTextureSubImage3DPROC glCompressedTextureSubImage3D = (glCompressedTextureSubImage3DPROC)tlsGetFunction(979); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } @@ -525,7 +525,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureParameterf(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glTextureParameterfvPROC glTextureParameterfv = (glTextureParameterfvPROC)tlsGetFunction(984); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameterfv(texture, pname, params); } @@ -538,21 +538,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glTextureParameteri(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glTextureParameterIivPROC glTextureParameterIiv = (glTextureParameterIivPROC)tlsGetFunction(986); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameterIiv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glTextureParameterIuivPROC glTextureParameterIuiv = (glTextureParameterIuivPROC)tlsGetFunction(987); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameterIuiv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglTextureParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glTextureParameterivPROC glTextureParameteriv = (glTextureParameterivPROC)tlsGetFunction(988); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTextureParameteriv(texture, pname, params); } @@ -571,63 +571,63 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glBindTextureUnit(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureImage__IIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint format, jint type, jint bufSize, jlong pixelsAddress) { glGetTextureImagePROC glGetTextureImage = (glGetTextureImagePROC)tlsGetFunction(991); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetTextureImage(texture, level, format, type, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetCompressedTextureImage(JNIEnv *__env, jclass clazz, jint texture, jint level, jint bufSize, jlong pixelsAddress) { glGetCompressedTextureImagePROC glGetCompressedTextureImage = (glGetCompressedTextureImagePROC)tlsGetFunction(992); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetCompressedTextureImage(texture, level, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureLevelParameterfv__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint pname, jlong paramsAddress) { glGetTextureLevelParameterfvPROC glGetTextureLevelParameterfv = (glGetTextureLevelParameterfvPROC)tlsGetFunction(993); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureLevelParameterfv(texture, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureLevelParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint pname, jlong paramsAddress) { glGetTextureLevelParameterivPROC glGetTextureLevelParameteriv = (glGetTextureLevelParameterivPROC)tlsGetFunction(994); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureLevelParameteriv(texture, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glGetTextureParameterfvPROC glGetTextureParameterfv = (glGetTextureParameterfvPROC)tlsGetFunction(995); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterfv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glGetTextureParameterIivPROC glGetTextureParameterIiv = (glGetTextureParameterIivPROC)tlsGetFunction(996); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterIiv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glGetTextureParameterIuivPROC glGetTextureParameterIuiv = (glGetTextureParameterIuivPROC)tlsGetFunction(997); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameterIuiv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint texture, jint pname, jlong paramsAddress) { glGetTextureParameterivPROC glGetTextureParameteriv = (glGetTextureParameterivPROC)tlsGetFunction(998); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTextureParameteriv(texture, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateVertexArrays__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glCreateVertexArraysPROC glCreateVertexArrays = (glCreateVertexArraysPROC)tlsGetFunction(999); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glCreateVertexArrays(n, arrays); } @@ -653,14 +653,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glVertexArrayElementBuffer(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glVertexArrayVertexBuffer(JNIEnv *__env, jclass clazz, jint vaobj, jint bindingindex, jint buffer, jlong offset, jint stride) { glVertexArrayVertexBufferPROC glVertexArrayVertexBuffer = (glVertexArrayVertexBufferPROC)tlsGetFunction(1003); UNUSED_PARAM(clazz) - glVertexArrayVertexBuffer(vaobj, bindingindex, buffer, (intptr_t)offset, stride); + glVertexArrayVertexBuffer(vaobj, bindingindex, buffer, (uintptr_t)offset, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglVertexArrayVertexBuffers__IIIJJJ(JNIEnv *__env, jclass clazz, jint vaobj, jint first, jint count, jlong buffersAddress, jlong offsetsAddress, jlong stridesAddress) { glVertexArrayVertexBuffersPROC glVertexArrayVertexBuffers = (glVertexArrayVertexBuffersPROC)tlsGetFunction(1004); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t offsets = (intptr_t)offsetsAddress; - intptr_t strides = (intptr_t)stridesAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t offsets = (uintptr_t)offsetsAddress; + uintptr_t strides = (uintptr_t)stridesAddress; UNUSED_PARAM(clazz) glVertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides); } @@ -697,42 +697,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glVertexArrayBindingDivisor(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetVertexArrayiv__IIJ(JNIEnv *__env, jclass clazz, jint vaobj, jint pname, jlong paramAddress) { glGetVertexArrayivPROC glGetVertexArrayiv = (glGetVertexArrayivPROC)tlsGetFunction(1010); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayiv(vaobj, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetVertexArrayIndexediv__IIIJ(JNIEnv *__env, jclass clazz, jint vaobj, jint index, jint pname, jlong paramAddress) { glGetVertexArrayIndexedivPROC glGetVertexArrayIndexediv = (glGetVertexArrayIndexedivPROC)tlsGetFunction(1011); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayIndexediv(vaobj, index, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetVertexArrayIndexed64iv__IIIJ(JNIEnv *__env, jclass clazz, jint vaobj, jint index, jint pname, jlong paramAddress) { glGetVertexArrayIndexed64ivPROC glGetVertexArrayIndexed64iv = (glGetVertexArrayIndexed64ivPROC)tlsGetFunction(1012); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glGetVertexArrayIndexed64iv(vaobj, index, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateSamplers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong samplersAddress) { glCreateSamplersPROC glCreateSamplers = (glCreateSamplersPROC)tlsGetFunction(1013); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glCreateSamplers(n, samplers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateProgramPipelines__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glCreateProgramPipelinesPROC glCreateProgramPipelines = (glCreateProgramPipelinesPROC)tlsGetFunction(1014); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glCreateProgramPipelines(n, pipelines); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateQueries__IIJ(JNIEnv *__env, jclass clazz, jint target, jint n, jlong idsAddress) { glCreateQueriesPROC glCreateQueries = (glCreateQueriesPROC)tlsGetFunction(1015); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glCreateQueries(target, n, ids); } @@ -740,25 +740,25 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglCreateQueries__IIJ(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glGetQueryBufferObjectiv(JNIEnv *__env, jclass clazz, jint id, jint buffer, jint pname, jlong offset) { glGetQueryBufferObjectivPROC glGetQueryBufferObjectiv = (glGetQueryBufferObjectivPROC)tlsGetFunction(1016); UNUSED_PARAM(clazz) - glGetQueryBufferObjectiv(id, buffer, pname, (intptr_t)offset); + glGetQueryBufferObjectiv(id, buffer, pname, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glGetQueryBufferObjectuiv(JNIEnv *__env, jclass clazz, jint id, jint buffer, jint pname, jlong offset) { glGetQueryBufferObjectuivPROC glGetQueryBufferObjectuiv = (glGetQueryBufferObjectuivPROC)tlsGetFunction(1017); UNUSED_PARAM(clazz) - glGetQueryBufferObjectuiv(id, buffer, pname, (intptr_t)offset); + glGetQueryBufferObjectuiv(id, buffer, pname, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glGetQueryBufferObjecti64v(JNIEnv *__env, jclass clazz, jint id, jint buffer, jint pname, jlong offset) { glGetQueryBufferObjecti64vPROC glGetQueryBufferObjecti64v = (glGetQueryBufferObjecti64vPROC)tlsGetFunction(1018); UNUSED_PARAM(clazz) - glGetQueryBufferObjecti64v(id, buffer, pname, (intptr_t)offset); + glGetQueryBufferObjecti64v(id, buffer, pname, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glGetQueryBufferObjectui64v(JNIEnv *__env, jclass clazz, jint id, jint buffer, jint pname, jlong offset) { glGetQueryBufferObjectui64vPROC glGetQueryBufferObjectui64v = (glGetQueryBufferObjectui64vPROC)tlsGetFunction(1019); UNUSED_PARAM(clazz) - glGetQueryBufferObjectui64v(id, buffer, pname, (intptr_t)offset); + glGetQueryBufferObjectui64v(id, buffer, pname, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glMemoryBarrierByRegion(JNIEnv *__env, jclass clazz, jint barriers) { @@ -769,14 +769,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_glMemoryBarrierByRegion(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetTextureSubImage__IIIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jint bufSize, jlong pixelsAddress) { glGetTextureSubImagePROC glGetTextureSubImage = (glGetTextureSubImagePROC)tlsGetFunction(1021); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetCompressedTextureSubImage__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint bufSize, jlong pixelsAddress) { glGetCompressedTextureSubImagePROC glGetCompressedTextureSubImage = (glGetCompressedTextureSubImagePROC)tlsGetFunction(1022); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glGetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); } @@ -795,49 +795,49 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL45C_glGetGraphicsResetStatus(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnTexImage__IIIIIJ(JNIEnv *__env, jclass clazz, jint tex, jint level, jint format, jint type, jint bufSize, jlong imgAddress) { glGetnTexImagePROC glGetnTexImage = (glGetnTexImagePROC)tlsGetFunction(1032); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetnTexImage(tex, level, format, type, bufSize, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglReadnPixels__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jlong pixelsAddress) { glReadnPixelsPROC glReadnPixels = (glReadnPixelsPROC)tlsGetFunction(1033); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glReadnPixels(x, y, width, height, format, type, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnCompressedTexImage(JNIEnv *__env, jclass clazz, jint target, jint level, jint bufSize, jlong imgAddress) { glGetnCompressedTexImagePROC glGetnCompressedTexImage = (glGetnCompressedTexImagePROC)tlsGetFunction(1039); - intptr_t img = (intptr_t)imgAddress; + uintptr_t img = (uintptr_t)imgAddress; UNUSED_PARAM(clazz) glGetnCompressedTexImage(target, level, bufSize, img); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnUniformfv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformfvPROC glGetnUniformfv = (glGetnUniformfvPROC)tlsGetFunction(1040); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformfv(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnUniformdv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformdvPROC glGetnUniformdv = (glGetnUniformdvPROC)tlsGetFunction(1041); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformdv(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnUniformiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformivPROC glGetnUniformiv = (glGetnUniformivPROC)tlsGetFunction(1042); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformiv(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL45C_nglGetnUniformuiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformuivPROC glGetnUniformuiv = (glGetnUniformuivPROC)tlsGetFunction(1043); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformuiv(program, location, bufSize, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL46C.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL46C.c index f3583807ec..d4256bc32f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL46C.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GL46C.c @@ -6,25 +6,25 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glMultiDrawArraysIndirectCountPROC) (jint, intptr_t, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectCountPROC) (jint, jint, intptr_t, intptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectCountPROC) (jint, uintptr_t, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectCountPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint); typedef void (APIENTRY *glPolygonOffsetClampPROC) (jfloat, jfloat, jfloat); -typedef void (APIENTRY *glSpecializeShaderPROC) (jint, intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glSpecializeShaderPROC) (jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL46C_nglMultiDrawArraysIndirectCount__IJJII(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jlong drawcount, jint maxdrawcount, jint stride) { glMultiDrawArraysIndirectCountPROC glMultiDrawArraysIndirectCount = (glMultiDrawArraysIndirectCountPROC)tlsGetFunction(1044); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawArraysIndirectCount(mode, indirect, (intptr_t)drawcount, maxdrawcount, stride); + glMultiDrawArraysIndirectCount(mode, indirect, (uintptr_t)drawcount, maxdrawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL46C_nglMultiDrawElementsIndirectCount__IIJJII(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jlong drawcount, jint maxdrawcount, jint stride) { glMultiDrawElementsIndirectCountPROC glMultiDrawElementsIndirectCount = (glMultiDrawElementsIndirectCountPROC)tlsGetFunction(1045); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawElementsIndirectCount(mode, type, indirect, (intptr_t)drawcount, maxdrawcount, stride); + glMultiDrawElementsIndirectCount(mode, type, indirect, (uintptr_t)drawcount, maxdrawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL46C_glPolygonOffsetClamp(JNIEnv *__env, jclass clazz, jfloat factor, jfloat units, jfloat clamp) { @@ -35,9 +35,9 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL46C_glPolygonOffsetClamp(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL46C_nglSpecializeShader__IJIJJ(JNIEnv *__env, jclass clazz, jint shader, jlong pEntryPointAddress, jint numSpecializationConstants, jlong pConstantIndexAddress, jlong pConstantValueAddress) { glSpecializeShaderPROC glSpecializeShader = (glSpecializeShaderPROC)tlsGetFunction(1047); - intptr_t pEntryPoint = (intptr_t)pEntryPointAddress; - intptr_t pConstantIndex = (intptr_t)pConstantIndexAddress; - intptr_t pConstantValue = (intptr_t)pConstantValueAddress; + uintptr_t pEntryPoint = (uintptr_t)pEntryPointAddress; + uintptr_t pConstantIndex = (uintptr_t)pConstantIndexAddress; + uintptr_t pConstantValue = (uintptr_t)pConstantValueAddress; UNUSED_PARAM(clazz) glSpecializeShader(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GREMEDYStringMarker.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GREMEDYStringMarker.c index e564c00882..1f5112fe40 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GREMEDYStringMarker.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_GREMEDYStringMarker.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glStringMarkerGREMEDYPROC) (jint, intptr_t); +typedef void (APIENTRY *glStringMarkerGREMEDYPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GREMEDYStringMarker_nglStringMarkerGREMEDY(JNIEnv *__env, jclass clazz, jint len, jlong stringAddress) { glStringMarkerGREMEDYPROC glStringMarkerGREMEDY = (glStringMarkerGREMEDYPROC)tlsGetFunction(1887); - intptr_t string = (intptr_t)stringAddress; + uintptr_t string = (uintptr_t)stringAddress; UNUSED_PARAM(clazz) glStringMarkerGREMEDY(len, string); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELMapTexture.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELMapTexture.c index 3b8a4a75a3..454906dc5f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELMapTexture.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELMapTexture.c @@ -8,7 +8,7 @@ typedef void (APIENTRY *glSyncTextureINTELPROC) (jint); typedef void (APIENTRY *glUnmapTexture2DINTELPROC) (jint, jint); -typedef intptr_t (APIENTRY *glMapTexture2DINTELPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glMapTexture2DINTELPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -26,8 +26,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELMapTexture_glUnmapTexture2DINT JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_INTELMapTexture_nglMapTexture2DINTEL__IIIJJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint access, jlong strideAddress, jlong layoutAddress) { glMapTexture2DINTELPROC glMapTexture2DINTEL = (glMapTexture2DINTELPROC)tlsGetFunction(1891); - intptr_t stride = (intptr_t)strideAddress; - intptr_t layout = (intptr_t)layoutAddress; + uintptr_t stride = (uintptr_t)strideAddress; + uintptr_t layout = (uintptr_t)layoutAddress; UNUSED_PARAM(clazz) return (jlong)glMapTexture2DINTEL(texture, level, access, stride, layout); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELPerformanceQuery.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELPerformanceQuery.c index 4912b0fb25..d118c30129 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELPerformanceQuery.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_INTELPerformanceQuery.c @@ -7,15 +7,15 @@ #include "opengl.h" typedef void (APIENTRY *glBeginPerfQueryINTELPROC) (jint); -typedef void (APIENTRY *glCreatePerfQueryINTELPROC) (jint, intptr_t); +typedef void (APIENTRY *glCreatePerfQueryINTELPROC) (jint, uintptr_t); typedef void (APIENTRY *glDeletePerfQueryINTELPROC) (jint); typedef void (APIENTRY *glEndPerfQueryINTELPROC) (jint); -typedef void (APIENTRY *glGetFirstPerfQueryIdINTELPROC) (intptr_t); -typedef void (APIENTRY *glGetNextPerfQueryIdINTELPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPerfCounterInfoINTELPROC) (jint, jint, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryDataINTELPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryIdByNameINTELPROC) (intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryInfoINTELPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glGetFirstPerfQueryIdINTELPROC) (uintptr_t); +typedef void (APIENTRY *glGetNextPerfQueryIdINTELPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPerfCounterInfoINTELPROC) (jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryDataINTELPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryIdByNameINTELPROC) (uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryInfoINTELPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -27,7 +27,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_glBeginPerfQu JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglCreatePerfQueryINTEL__IJ(JNIEnv *__env, jclass clazz, jint queryId, jlong queryHandleAddress) { glCreatePerfQueryINTELPROC glCreatePerfQueryINTEL = (glCreatePerfQueryINTELPROC)tlsGetFunction(1893); - intptr_t queryHandle = (intptr_t)queryHandleAddress; + uintptr_t queryHandle = (uintptr_t)queryHandleAddress; UNUSED_PARAM(clazz) glCreatePerfQueryINTEL(queryId, queryHandle); } @@ -46,54 +46,54 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_glEndPerfQuer JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetFirstPerfQueryIdINTEL__J(JNIEnv *__env, jclass clazz, jlong queryIdAddress) { glGetFirstPerfQueryIdINTELPROC glGetFirstPerfQueryIdINTEL = (glGetFirstPerfQueryIdINTELPROC)tlsGetFunction(1896); - intptr_t queryId = (intptr_t)queryIdAddress; + uintptr_t queryId = (uintptr_t)queryIdAddress; UNUSED_PARAM(clazz) glGetFirstPerfQueryIdINTEL(queryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetNextPerfQueryIdINTEL__IJ(JNIEnv *__env, jclass clazz, jint queryId, jlong nextQueryIdAddress) { glGetNextPerfQueryIdINTELPROC glGetNextPerfQueryIdINTEL = (glGetNextPerfQueryIdINTELPROC)tlsGetFunction(1897); - intptr_t nextQueryId = (intptr_t)nextQueryIdAddress; + uintptr_t nextQueryId = (uintptr_t)nextQueryIdAddress; UNUSED_PARAM(clazz) glGetNextPerfQueryIdINTEL(queryId, nextQueryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetPerfCounterInfoINTEL__IIIJIJJJJJJ(JNIEnv *__env, jclass clazz, jint queryId, jint counterId, jint counterNameLength, jlong counterNameAddress, jint counterDescLength, jlong counterDescAddress, jlong counterOffsetAddress, jlong counterDataSizeAddress, jlong counterTypeEnumAddress, jlong counterDataTypeEnumAddress, jlong rawCounterMaxValueAddress) { glGetPerfCounterInfoINTELPROC glGetPerfCounterInfoINTEL = (glGetPerfCounterInfoINTELPROC)tlsGetFunction(1898); - intptr_t counterName = (intptr_t)counterNameAddress; - intptr_t counterDesc = (intptr_t)counterDescAddress; - intptr_t counterOffset = (intptr_t)counterOffsetAddress; - intptr_t counterDataSize = (intptr_t)counterDataSizeAddress; - intptr_t counterTypeEnum = (intptr_t)counterTypeEnumAddress; - intptr_t counterDataTypeEnum = (intptr_t)counterDataTypeEnumAddress; - intptr_t rawCounterMaxValue = (intptr_t)rawCounterMaxValueAddress; + uintptr_t counterName = (uintptr_t)counterNameAddress; + uintptr_t counterDesc = (uintptr_t)counterDescAddress; + uintptr_t counterOffset = (uintptr_t)counterOffsetAddress; + uintptr_t counterDataSize = (uintptr_t)counterDataSizeAddress; + uintptr_t counterTypeEnum = (uintptr_t)counterTypeEnumAddress; + uintptr_t counterDataTypeEnum = (uintptr_t)counterDataTypeEnumAddress; + uintptr_t rawCounterMaxValue = (uintptr_t)rawCounterMaxValueAddress; UNUSED_PARAM(clazz) glGetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetPerfQueryDataINTEL__IIIJJ(JNIEnv *__env, jclass clazz, jint queryHandle, jint flags, jint dataSize, jlong dataAddress, jlong bytesWrittenAddress) { glGetPerfQueryDataINTELPROC glGetPerfQueryDataINTEL = (glGetPerfQueryDataINTELPROC)tlsGetFunction(1899); - intptr_t data = (intptr_t)dataAddress; - intptr_t bytesWritten = (intptr_t)bytesWrittenAddress; + uintptr_t data = (uintptr_t)dataAddress; + uintptr_t bytesWritten = (uintptr_t)bytesWrittenAddress; UNUSED_PARAM(clazz) glGetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, bytesWritten); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetPerfQueryIdByNameINTEL__JJ(JNIEnv *__env, jclass clazz, jlong queryNameAddress, jlong queryIdAddress) { glGetPerfQueryIdByNameINTELPROC glGetPerfQueryIdByNameINTEL = (glGetPerfQueryIdByNameINTELPROC)tlsGetFunction(1900); - intptr_t queryName = (intptr_t)queryNameAddress; - intptr_t queryId = (intptr_t)queryIdAddress; + uintptr_t queryName = (uintptr_t)queryNameAddress; + uintptr_t queryId = (uintptr_t)queryIdAddress; UNUSED_PARAM(clazz) glGetPerfQueryIdByNameINTEL(queryName, queryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_INTELPerformanceQuery_nglGetPerfQueryInfoINTEL__IIJJJJJ(JNIEnv *__env, jclass clazz, jint queryId, jint queryNameLength, jlong queryNameAddress, jlong dataSizeAddress, jlong noCountersAddress, jlong noInstancesAddress, jlong capsMaskAddress) { glGetPerfQueryInfoINTELPROC glGetPerfQueryInfoINTEL = (glGetPerfQueryInfoINTELPROC)tlsGetFunction(1901); - intptr_t queryName = (intptr_t)queryNameAddress; - intptr_t dataSize = (intptr_t)dataSizeAddress; - intptr_t noCounters = (intptr_t)noCountersAddress; - intptr_t noInstances = (intptr_t)noInstancesAddress; - intptr_t capsMask = (intptr_t)capsMaskAddress; + uintptr_t queryName = (uintptr_t)queryNameAddress; + uintptr_t dataSize = (uintptr_t)dataSizeAddress; + uintptr_t noCounters = (uintptr_t)noCountersAddress; + uintptr_t noInstances = (uintptr_t)noInstancesAddress; + uintptr_t capsMask = (uintptr_t)capsMaskAddress; UNUSED_PARAM(clazz) glGetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_MESAFramebufferFlipY.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_MESAFramebufferFlipY.c index 19195fd0a2..ce5851e70d 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_MESAFramebufferFlipY.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_MESAFramebufferFlipY.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glFramebufferParameteriMESAPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferParameterivMESAPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferParameterivMESAPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MESAFramebufferFlipY_glFramebufferP JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MESAFramebufferFlipY_nglGetFramebufferParameterivMESA__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetFramebufferParameterivMESAPROC glGetFramebufferParameterivMESA = (glGetFramebufferParameterivMESAPROC)tlsGetFunction(1905); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferParameterivMESA(target, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirect.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirect.c index 88ecc8a49f..1cdaf8669f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirect.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirect.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glMultiDrawArraysIndirectBindlessNVPROC) (jint, intptr_t, jint, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectBindlessNVPROC) (jint, jint, intptr_t, jint, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectBindlessNVPROC) (jint, uintptr_t, jint, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectBindlessNVPROC) (jint, jint, uintptr_t, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessMultiDrawIndirect_nglMultiDrawArraysIndirectBindlessNV(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jint drawCount, jint stride, jint vertexBufferCount) { glMultiDrawArraysIndirectBindlessNVPROC glMultiDrawArraysIndirectBindlessNV = (glMultiDrawArraysIndirectBindlessNVPROC)tlsGetFunction(1907); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawArraysIndirectBindlessNV(mode, indirect, drawCount, stride, vertexBufferCount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessMultiDrawIndirect_nglMultiDrawElementsIndirectBindlessNV(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jint drawCount, jint stride, jint vertexBufferCount) { glMultiDrawElementsIndirectBindlessNVPROC glMultiDrawElementsIndirectBindlessNV = (glMultiDrawElementsIndirectBindlessNVPROC)tlsGetFunction(1908); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawElementsIndirectBindlessNV(mode, type, indirect, drawCount, stride, vertexBufferCount); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount.c index ae276354fc..17aac855cd 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glMultiDrawArraysIndirectBindlessCountNVPROC) (jint, intptr_t, intptr_t, jint, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectBindlessCountNVPROC) (jint, jint, intptr_t, intptr_t, jint, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectBindlessCountNVPROC) (jint, uintptr_t, uintptr_t, jint, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectBindlessCountNVPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount_nglMultiDrawArraysIndirectBindlessCountNV(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jlong drawCount, jint maxDrawCount, jint stride, jint vertexBufferCount) { glMultiDrawArraysIndirectBindlessCountNVPROC glMultiDrawArraysIndirectBindlessCountNV = (glMultiDrawArraysIndirectBindlessCountNVPROC)tlsGetFunction(1909); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawArraysIndirectBindlessCountNV(mode, indirect, (intptr_t)drawCount, maxDrawCount, stride, vertexBufferCount); + glMultiDrawArraysIndirectBindlessCountNV(mode, indirect, (uintptr_t)drawCount, maxDrawCount, stride, vertexBufferCount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessMultiDrawIndirectCount_nglMultiDrawElementsIndirectBindlessCountNV(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jlong drawCount, jint maxDrawCount, jint stride, jint vertexBufferCount) { glMultiDrawElementsIndirectBindlessCountNVPROC glMultiDrawElementsIndirectBindlessCountNV = (glMultiDrawElementsIndirectBindlessCountNVPROC)tlsGetFunction(1910); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) - glMultiDrawElementsIndirectBindlessCountNV(mode, type, indirect, (intptr_t)drawCount, maxDrawCount, stride, vertexBufferCount); + glMultiDrawElementsIndirectBindlessCountNV(mode, type, indirect, (uintptr_t)drawCount, maxDrawCount, stride, vertexBufferCount); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessTexture.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessTexture.c index 8480e18386..a01300d205 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessTexture.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVBindlessTexture.c @@ -14,9 +14,9 @@ typedef jlong (APIENTRY *glGetImageHandleNVPROC) (jint, jint, jboolean, jint, ji typedef void (APIENTRY *glMakeImageHandleResidentNVPROC) (jlong, jint); typedef void (APIENTRY *glMakeImageHandleNonResidentNVPROC) (jlong); typedef void (APIENTRY *glUniformHandleui64NVPROC) (jint, jlong); -typedef void (APIENTRY *glUniformHandleui64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniformHandleui64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniformHandleui64NVPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniformHandleui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniformHandleui64vNVPROC) (jint, jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsTextureHandleResidentNVPROC) (jlong); typedef jboolean (APIENTRY *glIsImageHandleResidentNVPROC) (jlong); @@ -72,7 +72,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessTexture_glUniformHandleui JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessTexture_nglUniformHandleui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valuesAddress) { glUniformHandleui64vNVPROC glUniformHandleui64vNV = (glUniformHandleui64vNVPROC)tlsGetFunction(1919); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glUniformHandleui64vNV(location, count, values); } @@ -85,7 +85,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessTexture_glProgramUniformH JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVBindlessTexture_nglProgramUniformHandleui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valuesAddress) { glProgramUniformHandleui64vNVPROC glProgramUniformHandleui64vNV = (glProgramUniformHandleui64vNVPROC)tlsGetFunction(1921); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glProgramUniformHandleui64vNV(program, location, count, values); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVCommandList.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVCommandList.c index 1335037132..f19593234c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVCommandList.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVCommandList.c @@ -6,20 +6,20 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glCreateStatesNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteStatesNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glCreateStatesNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteStatesNVPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsStateNVPROC) (jint); typedef void (APIENTRY *glStateCaptureNVPROC) (jint, jint); typedef jint (APIENTRY *glGetCommandHeaderNVPROC) (jint, jint); typedef jshort (APIENTRY *glGetStageIndexNVPROC) (jint); -typedef void (APIENTRY *glDrawCommandsNVPROC) (jint, jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glDrawCommandsAddressNVPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glDrawCommandsStatesNVPROC) (jint, intptr_t, intptr_t, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glDrawCommandsStatesAddressNVPROC) (intptr_t, intptr_t, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glCreateCommandListsNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteCommandListsNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glDrawCommandsNVPROC) (jint, jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glDrawCommandsAddressNVPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glDrawCommandsStatesNVPROC) (jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glDrawCommandsStatesAddressNVPROC) (uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glCreateCommandListsNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteCommandListsNVPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsCommandListNVPROC) (jint); -typedef void (APIENTRY *glListDrawCommandsStatesClientNVPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glListDrawCommandsStatesClientNVPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, jint); typedef void (APIENTRY *glCommandListSegmentsNVPROC) (jint, jint); typedef void (APIENTRY *glCompileCommandListNVPROC) (jint); typedef void (APIENTRY *glCallCommandListNVPROC) (jint); @@ -28,14 +28,14 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglCreateStatesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong statesAddress) { glCreateStatesNVPROC glCreateStatesNV = (glCreateStatesNVPROC)tlsGetFunction(1927); - intptr_t states = (intptr_t)statesAddress; + uintptr_t states = (uintptr_t)statesAddress; UNUSED_PARAM(clazz) glCreateStatesNV(n, states); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDeleteStatesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong statesAddress) { glDeleteStatesNVPROC glDeleteStatesNV = (glDeleteStatesNVPROC)tlsGetFunction(1928); - intptr_t states = (intptr_t)statesAddress; + uintptr_t states = (uintptr_t)statesAddress; UNUSED_PARAM(clazz) glDeleteStatesNV(n, states); } @@ -66,50 +66,50 @@ JNIEXPORT jshort JNICALL Java_org_lwjgl_opengl_NVCommandList_glGetStageIndexNV(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDrawCommandsNV__IIJJI(JNIEnv *__env, jclass clazz, jint primitiveMode, jint buffer, jlong indirectsAddress, jlong sizesAddress, jint count) { glDrawCommandsNVPROC glDrawCommandsNV = (glDrawCommandsNVPROC)tlsGetFunction(1933); - intptr_t indirects = (intptr_t)indirectsAddress; - intptr_t sizes = (intptr_t)sizesAddress; + uintptr_t indirects = (uintptr_t)indirectsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; UNUSED_PARAM(clazz) glDrawCommandsNV(primitiveMode, buffer, indirects, sizes, count); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDrawCommandsAddressNV__IJJI(JNIEnv *__env, jclass clazz, jint primitiveMode, jlong indirectsAddress, jlong sizesAddress, jint count) { glDrawCommandsAddressNVPROC glDrawCommandsAddressNV = (glDrawCommandsAddressNVPROC)tlsGetFunction(1934); - intptr_t indirects = (intptr_t)indirectsAddress; - intptr_t sizes = (intptr_t)sizesAddress; + uintptr_t indirects = (uintptr_t)indirectsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; UNUSED_PARAM(clazz) glDrawCommandsAddressNV(primitiveMode, indirects, sizes, count); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDrawCommandsStatesNV__IJJJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong indirectsAddress, jlong sizesAddress, jlong statesAddress, jlong fbosAddress, jint count) { glDrawCommandsStatesNVPROC glDrawCommandsStatesNV = (glDrawCommandsStatesNVPROC)tlsGetFunction(1935); - intptr_t indirects = (intptr_t)indirectsAddress; - intptr_t sizes = (intptr_t)sizesAddress; - intptr_t states = (intptr_t)statesAddress; - intptr_t fbos = (intptr_t)fbosAddress; + uintptr_t indirects = (uintptr_t)indirectsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; + uintptr_t states = (uintptr_t)statesAddress; + uintptr_t fbos = (uintptr_t)fbosAddress; UNUSED_PARAM(clazz) glDrawCommandsStatesNV(buffer, indirects, sizes, states, fbos, count); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDrawCommandsStatesAddressNV__JJJJI(JNIEnv *__env, jclass clazz, jlong indirectsAddress, jlong sizesAddress, jlong statesAddress, jlong fbosAddress, jint count) { glDrawCommandsStatesAddressNVPROC glDrawCommandsStatesAddressNV = (glDrawCommandsStatesAddressNVPROC)tlsGetFunction(1936); - intptr_t indirects = (intptr_t)indirectsAddress; - intptr_t sizes = (intptr_t)sizesAddress; - intptr_t states = (intptr_t)statesAddress; - intptr_t fbos = (intptr_t)fbosAddress; + uintptr_t indirects = (uintptr_t)indirectsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; + uintptr_t states = (uintptr_t)statesAddress; + uintptr_t fbos = (uintptr_t)fbosAddress; UNUSED_PARAM(clazz) glDrawCommandsStatesAddressNV(indirects, sizes, states, fbos, count); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglCreateCommandListsNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong listsAddress) { glCreateCommandListsNVPROC glCreateCommandListsNV = (glCreateCommandListsNVPROC)tlsGetFunction(1937); - intptr_t lists = (intptr_t)listsAddress; + uintptr_t lists = (uintptr_t)listsAddress; UNUSED_PARAM(clazz) glCreateCommandListsNV(n, lists); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglDeleteCommandListsNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong listsAddress) { glDeleteCommandListsNVPROC glDeleteCommandListsNV = (glDeleteCommandListsNVPROC)tlsGetFunction(1938); - intptr_t lists = (intptr_t)listsAddress; + uintptr_t lists = (uintptr_t)listsAddress; UNUSED_PARAM(clazz) glDeleteCommandListsNV(n, lists); } @@ -122,10 +122,10 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_NVCommandList_glIsCommandListNV JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVCommandList_nglListDrawCommandsStatesClientNV__IIJJJJI(JNIEnv *__env, jclass clazz, jint list, jint segment, jlong indirectsAddress, jlong sizesAddress, jlong statesAddress, jlong fbosAddress, jint count) { glListDrawCommandsStatesClientNVPROC glListDrawCommandsStatesClientNV = (glListDrawCommandsStatesClientNVPROC)tlsGetFunction(1940); - intptr_t indirects = (intptr_t)indirectsAddress; - intptr_t sizes = (intptr_t)sizesAddress; - intptr_t states = (intptr_t)statesAddress; - intptr_t fbos = (intptr_t)fbosAddress; + uintptr_t indirects = (uintptr_t)indirectsAddress; + uintptr_t sizes = (uintptr_t)sizesAddress; + uintptr_t states = (uintptr_t)statesAddress; + uintptr_t fbos = (uintptr_t)fbosAddress; UNUSED_PARAM(clazz) glListDrawCommandsStatesClientNV(list, segment, indirects, sizes, states, fbos, count); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVDrawVulkanImage.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVDrawVulkanImage.c index a57d2cceed..b5588aabfc 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVDrawVulkanImage.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVDrawVulkanImage.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glDrawVkImageNVPROC) (jlong, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); -typedef intptr_t (APIENTRY *glGetVkProcAddrNVPROC) (intptr_t); +typedef uintptr_t (APIENTRY *glGetVkProcAddrNVPROC) (uintptr_t); typedef void (APIENTRY *glWaitVkSemaphoreNVPROC) (jlong); typedef void (APIENTRY *glSignalVkSemaphoreNVPROC) (jlong); typedef void (APIENTRY *glSignalVkFenceNVPROC) (jlong); @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVDrawVulkanImage_glDrawVkImageNV(J JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_NVDrawVulkanImage_nglGetVkProcAddrNV(JNIEnv *__env, jclass clazz, jlong nameAddress) { glGetVkProcAddrNVPROC glGetVkProcAddrNV = (glGetVkProcAddrNVPROC)tlsGetFunction(1955); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jlong)glGetVkProcAddrNV(name); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVExplicitMultisample.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVExplicitMultisample.c index 95ad6453cd..a27dce789b 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVExplicitMultisample.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVExplicitMultisample.c @@ -6,7 +6,7 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetMultisamplefvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetMultisamplefvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSampleMaskIndexedNVPROC) (jint, jint); typedef void (APIENTRY *glTexRenderbufferNVPROC) (jint, jint); @@ -14,7 +14,7 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVExplicitMultisample_nglGetMultisamplefvNV__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong valAddress) { glGetMultisamplefvNVPROC glGetMultisamplefvNV = (glGetMultisamplefvNVPROC)tlsGetFunction(1959); - intptr_t val = (intptr_t)valAddress; + uintptr_t val = (uintptr_t)valAddress; UNUSED_PARAM(clazz) glGetMultisamplefvNV(pname, index, val); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFence.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFence.c index 4b72083865..3c7848fbed 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFence.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFence.c @@ -6,11 +6,11 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glDeleteFencesNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenFencesNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteFencesNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenFencesNVPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsFenceNVPROC) (jint); typedef jboolean (APIENTRY *glTestFenceNVPROC) (jint); -typedef void (APIENTRY *glGetFenceivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFenceivNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFinishFenceNVPROC) (jint); typedef void (APIENTRY *glSetFenceNVPROC) (jint, jint); @@ -18,14 +18,14 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVFence_nglDeleteFencesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong fencesAddress) { glDeleteFencesNVPROC glDeleteFencesNV = (glDeleteFencesNVPROC)tlsGetFunction(1962); - intptr_t fences = (intptr_t)fencesAddress; + uintptr_t fences = (uintptr_t)fencesAddress; UNUSED_PARAM(clazz) glDeleteFencesNV(n, fences); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVFence_nglGenFencesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong fencesAddress) { glGenFencesNVPROC glGenFencesNV = (glGenFencesNVPROC)tlsGetFunction(1963); - intptr_t fences = (intptr_t)fencesAddress; + uintptr_t fences = (uintptr_t)fencesAddress; UNUSED_PARAM(clazz) glGenFencesNV(n, fences); } @@ -44,7 +44,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_NVFence_glTestFenceNV(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVFence_nglGetFenceivNV__IIJ(JNIEnv *__env, jclass clazz, jint fence, jint pname, jlong paramsAddress) { glGetFenceivNVPROC glGetFenceivNV = (glGetFenceivNVPROC)tlsGetFunction(1966); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFenceivNV(fence, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFramebufferMixedSamples.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFramebufferMixedSamples.c index 560f3df509..95bca02d65 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFramebufferMixedSamples.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVFramebufferMixedSamples.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glCoverageModulationTableNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetCoverageModulationTableNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glCoverageModulationTableNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetCoverageModulationTableNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glCoverageModulationNVPROC) (jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVFramebufferMixedSamples_nglCoverageModulationTableNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong vAddress) { glCoverageModulationTableNVPROC glCoverageModulationTableNV = (glCoverageModulationTableNVPROC)tlsGetFunction(1970); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glCoverageModulationTableNV(n, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVFramebufferMixedSamples_nglGetCoverageModulationTableNV__IJ(JNIEnv *__env, jclass clazz, jint bufsize, jlong vAddress) { glGetCoverageModulationTableNVPROC glGetCoverageModulationTableNV = (glGetCoverageModulationTableNVPROC)tlsGetFunction(1971); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glGetCoverageModulationTableNV(bufsize, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUMulticast.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUMulticast.c index 28b8e74721..02194f713e 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUMulticast.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUMulticast.c @@ -7,17 +7,17 @@ #include "opengl.h" typedef void (APIENTRY *glRenderGpuMaskNVPROC) (jint); -typedef void (APIENTRY *glMulticastBufferSubDataNVPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glMulticastCopyBufferSubDataNVPROC) (jint, jint, jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glMulticastBufferSubDataNVPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glMulticastCopyBufferSubDataNVPROC) (jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t); typedef void (APIENTRY *glMulticastCopyImageSubDataNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glMulticastBlitFramebufferNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glMulticastFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMulticastFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMulticastBarrierNVPROC) (void); typedef void (APIENTRY *glMulticastWaitSyncNVPROC) (jint, jint); -typedef void (APIENTRY *glMulticastGetQueryObjectivNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMulticastGetQueryObjectuivNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMulticastGetQueryObjecti64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMulticastGetQueryObjectui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMulticastGetQueryObjectivNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMulticastGetQueryObjectuivNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMulticastGetQueryObjecti64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMulticastGetQueryObjectui64vNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -29,15 +29,15 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_glRenderGpuMaskNV(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastBufferSubDataNV__IIJJJ(JNIEnv *__env, jclass clazz, jint gpuMask, jint buffer, jlong offset, jlong size, jlong dataAddress) { glMulticastBufferSubDataNVPROC glMulticastBufferSubDataNV = (glMulticastBufferSubDataNVPROC)tlsGetFunction(1975); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glMulticastBufferSubDataNV(gpuMask, buffer, (intptr_t)offset, (intptr_t)size, data); + glMulticastBufferSubDataNV(gpuMask, buffer, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_glMulticastCopyBufferSubDataNV(JNIEnv *__env, jclass clazz, jint readGpu, jint writeGpuMask, jint readBuffer, jint writeBuffer, jlong readOffset, jlong writeOffset, jlong size) { glMulticastCopyBufferSubDataNVPROC glMulticastCopyBufferSubDataNV = (glMulticastCopyBufferSubDataNVPROC)tlsGetFunction(1976); UNUSED_PARAM(clazz) - glMulticastCopyBufferSubDataNV(readGpu, writeGpuMask, readBuffer, writeBuffer, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glMulticastCopyBufferSubDataNV(readGpu, writeGpuMask, readBuffer, writeBuffer, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_glMulticastCopyImageSubDataNV(JNIEnv *__env, jclass clazz, jint srcGpu, jint dstGpuMask, jint srcName, jint srcTarget, jint srcLevel, jint srcX, jint srxY, jint srcZ, jint dstName, jint dstTarget, jint dstLevel, jint dstX, jint dstY, jint dstZ, jint srcWidth, jint srcHeight, jint srcDepth) { @@ -54,7 +54,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_glMulticastBlitFrame JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastFramebufferSampleLocationsfvNV__IIIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint framebuffer, jint start, jint count, jlong vAddress) { glMulticastFramebufferSampleLocationsfvNVPROC glMulticastFramebufferSampleLocationsfvNV = (glMulticastFramebufferSampleLocationsfvNVPROC)tlsGetFunction(1979); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMulticastFramebufferSampleLocationsfvNV(gpu, framebuffer, start, count, v); } @@ -73,28 +73,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_glMulticastWaitSyncN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastGetQueryObjectivNV__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint id, jint pname, jlong paramsAddress) { glMulticastGetQueryObjectivNVPROC glMulticastGetQueryObjectivNV = (glMulticastGetQueryObjectivNVPROC)tlsGetFunction(1982); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMulticastGetQueryObjectivNV(gpu, id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastGetQueryObjectuivNV__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint id, jint pname, jlong paramsAddress) { glMulticastGetQueryObjectuivNVPROC glMulticastGetQueryObjectuivNV = (glMulticastGetQueryObjectuivNVPROC)tlsGetFunction(1983); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMulticastGetQueryObjectuivNV(gpu, id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastGetQueryObjecti64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint id, jint pname, jlong paramsAddress) { glMulticastGetQueryObjecti64vNVPROC glMulticastGetQueryObjecti64vNV = (glMulticastGetQueryObjecti64vNVPROC)tlsGetFunction(1984); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMulticastGetQueryObjecti64vNV(gpu, id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUMulticast_nglMulticastGetQueryObjectui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint id, jint pname, jlong paramsAddress) { glMulticastGetQueryObjectui64vNVPROC glMulticastGetQueryObjectui64vNV = (glMulticastGetQueryObjectui64vNVPROC)tlsGetFunction(1985); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMulticastGetQueryObjectui64vNV(gpu, id, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUShader5.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUShader5.c index 79ca752759..a86ad34fdf 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUShader5.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVGPUShader5.c @@ -10,35 +10,35 @@ typedef void (APIENTRY *glUniform1i64NVPROC) (jint, jlong); typedef void (APIENTRY *glUniform2i64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glUniform3i64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glUniform4i64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform1i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4i64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4i64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1ui64NVPROC) (jint, jlong); typedef void (APIENTRY *glUniform2ui64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glUniform3ui64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glUniform4ui64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform1ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformi64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformi64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1i64NVPROC) (jint, jint, jlong); typedef void (APIENTRY *glProgramUniform2i64NVPROC) (jint, jint, jlong, jlong); typedef void (APIENTRY *glProgramUniform3i64NVPROC) (jint, jint, jlong, jlong, jlong); typedef void (APIENTRY *glProgramUniform4i64NVPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform1i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4i64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4i64vNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1ui64NVPROC) (jint, jint, jlong); typedef void (APIENTRY *glProgramUniform2ui64NVPROC) (jint, jint, jlong, jlong); typedef void (APIENTRY *glProgramUniform3ui64NVPROC) (jint, jint, jlong, jlong, jlong); typedef void (APIENTRY *glProgramUniform4ui64NVPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform1ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4ui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4ui64vNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -68,28 +68,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_glUniform4i64NV(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform1i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1i64vNVPROC glUniform1i64vNV = (glUniform1i64vNVPROC)tlsGetFunction(1062); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform2i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2i64vNVPROC glUniform2i64vNV = (glUniform2i64vNVPROC)tlsGetFunction(1063); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform3i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3i64vNVPROC glUniform3i64vNV = (glUniform3i64vNVPROC)tlsGetFunction(1064); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform4i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4i64vNVPROC glUniform4i64vNV = (glUniform4i64vNVPROC)tlsGetFunction(1065); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4i64vNV(location, count, value); } @@ -120,35 +120,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_glUniform4ui64NV(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform1ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ui64vNVPROC glUniform1ui64vNV = (glUniform1ui64vNVPROC)tlsGetFunction(1070); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform2ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ui64vNVPROC glUniform2ui64vNV = (glUniform2ui64vNVPROC)tlsGetFunction(1071); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform3ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ui64vNVPROC glUniform3ui64vNV = (glUniform3ui64vNVPROC)tlsGetFunction(1072); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglUniform4ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ui64vNVPROC glUniform4ui64vNV = (glUniform4ui64vNVPROC)tlsGetFunction(1073); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglGetUniformi64vNV__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformi64vNVPROC glGetUniformi64vNV = (glGetUniformi64vNVPROC)tlsGetFunction(1074); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformi64vNV(program, location, params); } @@ -179,28 +179,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_glProgramUniform4i64NV JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform1i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1i64vNVPROC glProgramUniform1i64vNV = (glProgramUniform1i64vNVPROC)tlsGetFunction(1080); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform2i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2i64vNVPROC glProgramUniform2i64vNV = (glProgramUniform2i64vNVPROC)tlsGetFunction(1081); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform3i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3i64vNVPROC glProgramUniform3i64vNV = (glProgramUniform3i64vNVPROC)tlsGetFunction(1082); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform4i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4i64vNVPROC glProgramUniform4i64vNV = (glProgramUniform4i64vNVPROC)tlsGetFunction(1083); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4i64vNV(program, location, count, value); } @@ -231,28 +231,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_glProgramUniform4ui64N JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform1ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ui64vNVPROC glProgramUniform1ui64vNV = (glProgramUniform1ui64vNVPROC)tlsGetFunction(1088); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform2ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ui64vNVPROC glProgramUniform2ui64vNV = (glProgramUniform2ui64vNVPROC)tlsGetFunction(1089); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform3ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ui64vNVPROC glProgramUniform3ui64vNV = (glProgramUniform3ui64vNVPROC)tlsGetFunction(1090); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVGPUShader5_nglProgramUniform4ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ui64vNVPROC glProgramUniform4ui64vNV = (glProgramUniform4ui64vNVPROC)tlsGetFunction(1091); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4ui64vNV(program, location, count, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVHalfFloat.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVHalfFloat.c index 927ad748e1..c8c09d7504 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVHalfFloat.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVHalfFloat.c @@ -7,51 +7,51 @@ #include "opengl.h" typedef void (APIENTRY *glVertex2hNVPROC) (jshort, jshort); -typedef void (APIENTRY *glVertex2hvNVPROC) (intptr_t); +typedef void (APIENTRY *glVertex2hvNVPROC) (uintptr_t); typedef void (APIENTRY *glVertex3hNVPROC) (jshort, jshort, jshort); -typedef void (APIENTRY *glVertex3hvNVPROC) (intptr_t); +typedef void (APIENTRY *glVertex3hvNVPROC) (uintptr_t); typedef void (APIENTRY *glVertex4hNVPROC) (jshort, jshort, jshort, jshort); -typedef void (APIENTRY *glVertex4hvNVPROC) (intptr_t); +typedef void (APIENTRY *glVertex4hvNVPROC) (uintptr_t); typedef void (APIENTRY *glNormal3hNVPROC) (jshort, jshort, jshort); -typedef void (APIENTRY *glNormal3hvNVPROC) (intptr_t); +typedef void (APIENTRY *glNormal3hvNVPROC) (uintptr_t); typedef void (APIENTRY *glColor3hNVPROC) (jshort, jshort, jshort); -typedef void (APIENTRY *glColor3hvNVPROC) (intptr_t); +typedef void (APIENTRY *glColor3hvNVPROC) (uintptr_t); typedef void (APIENTRY *glColor4hNVPROC) (jshort, jshort, jshort, jshort); -typedef void (APIENTRY *glColor4hvNVPROC) (intptr_t); +typedef void (APIENTRY *glColor4hvNVPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord1hNVPROC) (jshort); -typedef void (APIENTRY *glTexCoord1hvNVPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord1hvNVPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord2hNVPROC) (jshort, jshort); -typedef void (APIENTRY *glTexCoord2hvNVPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord2hvNVPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord3hNVPROC) (jshort, jshort, jshort); -typedef void (APIENTRY *glTexCoord3hvNVPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord3hvNVPROC) (uintptr_t); typedef void (APIENTRY *glTexCoord4hNVPROC) (jshort, jshort, jshort, jshort); -typedef void (APIENTRY *glTexCoord4hvNVPROC) (intptr_t); +typedef void (APIENTRY *glTexCoord4hvNVPROC) (uintptr_t); typedef void (APIENTRY *glMultiTexCoord1hNVPROC) (jint, jshort); -typedef void (APIENTRY *glMultiTexCoord1hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord1hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord2hNVPROC) (jint, jshort, jshort); -typedef void (APIENTRY *glMultiTexCoord2hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord2hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord3hNVPROC) (jint, jshort, jshort, jshort); -typedef void (APIENTRY *glMultiTexCoord3hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord3hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glMultiTexCoord4hNVPROC) (jint, jshort, jshort, jshort, jshort); -typedef void (APIENTRY *glMultiTexCoord4hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glMultiTexCoord4hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glFogCoordhNVPROC) (jshort); -typedef void (APIENTRY *glFogCoordhvNVPROC) (intptr_t); +typedef void (APIENTRY *glFogCoordhvNVPROC) (uintptr_t); typedef void (APIENTRY *glSecondaryColor3hNVPROC) (jshort, jshort, jshort); -typedef void (APIENTRY *glSecondaryColor3hvNVPROC) (intptr_t); +typedef void (APIENTRY *glSecondaryColor3hvNVPROC) (uintptr_t); typedef void (APIENTRY *glVertexWeighthNVPROC) (jshort); -typedef void (APIENTRY *glVertexWeighthvNVPROC) (intptr_t); +typedef void (APIENTRY *glVertexWeighthvNVPROC) (uintptr_t); typedef void (APIENTRY *glVertexAttrib1hNVPROC) (jint, jshort); -typedef void (APIENTRY *glVertexAttrib1hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib1hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib2hNVPROC) (jint, jshort, jshort); -typedef void (APIENTRY *glVertexAttrib2hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib2hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib3hNVPROC) (jint, jshort, jshort, jshort); -typedef void (APIENTRY *glVertexAttrib3hvNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib3hvNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib4hNVPROC) (jint, jshort, jshort, jshort, jshort); -typedef void (APIENTRY *glVertexAttrib4hvNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribs1hvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glVertexAttribs2hvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glVertexAttribs3hvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glVertexAttribs4hvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib4hvNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribs1hvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribs2hvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribs3hvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribs4hvNVPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -63,7 +63,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertex2hNV(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertex2hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glVertex2hvNVPROC glVertex2hvNV = (glVertex2hvNVPROC)tlsGetFunction(1987); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertex2hvNV(v); } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertex3hNV(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertex3hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glVertex3hvNVPROC glVertex3hvNV = (glVertex3hvNVPROC)tlsGetFunction(1989); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertex3hvNV(v); } @@ -89,7 +89,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertex4hNV(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertex4hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glVertex4hvNVPROC glVertex4hvNV = (glVertex4hvNVPROC)tlsGetFunction(1991); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertex4hvNV(v); } @@ -102,7 +102,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glNormal3hNV(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglNormal3hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glNormal3hvNVPROC glNormal3hvNV = (glNormal3hvNVPROC)tlsGetFunction(1993); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNormal3hvNV(v); } @@ -115,7 +115,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glColor3hNV(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglColor3hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor3hvNVPROC glColor3hvNV = (glColor3hvNVPROC)tlsGetFunction(1995); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor3hvNV(v); } @@ -128,7 +128,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glColor4hNV(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglColor4hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glColor4hvNVPROC glColor4hvNV = (glColor4hvNVPROC)tlsGetFunction(1997); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glColor4hvNV(v); } @@ -141,7 +141,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glTexCoord1hNV(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglTexCoord1hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord1hvNVPROC glTexCoord1hvNV = (glTexCoord1hvNVPROC)tlsGetFunction(1999); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord1hvNV(v); } @@ -154,7 +154,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glTexCoord2hNV(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglTexCoord2hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord2hvNVPROC glTexCoord2hvNV = (glTexCoord2hvNVPROC)tlsGetFunction(2001); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord2hvNV(v); } @@ -167,7 +167,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glTexCoord3hNV(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglTexCoord3hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord3hvNVPROC glTexCoord3hvNV = (glTexCoord3hvNVPROC)tlsGetFunction(2003); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord3hvNV(v); } @@ -180,7 +180,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glTexCoord4hNV(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglTexCoord4hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glTexCoord4hvNVPROC glTexCoord4hvNV = (glTexCoord4hvNVPROC)tlsGetFunction(2005); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glTexCoord4hvNV(v); } @@ -193,7 +193,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glMultiTexCoord1hNV(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglMultiTexCoord1hvNV__IJ(JNIEnv *__env, jclass clazz, jint target, jlong vAddress) { glMultiTexCoord1hvNVPROC glMultiTexCoord1hvNV = (glMultiTexCoord1hvNVPROC)tlsGetFunction(2007); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord1hvNV(target, v); } @@ -206,7 +206,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glMultiTexCoord2hNV(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglMultiTexCoord2hvNV__IJ(JNIEnv *__env, jclass clazz, jint target, jlong vAddress) { glMultiTexCoord2hvNVPROC glMultiTexCoord2hvNV = (glMultiTexCoord2hvNVPROC)tlsGetFunction(2009); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord2hvNV(target, v); } @@ -219,7 +219,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glMultiTexCoord3hNV(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglMultiTexCoord3hvNV__IJ(JNIEnv *__env, jclass clazz, jint target, jlong vAddress) { glMultiTexCoord3hvNVPROC glMultiTexCoord3hvNV = (glMultiTexCoord3hvNVPROC)tlsGetFunction(2011); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord3hvNV(target, v); } @@ -232,7 +232,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glMultiTexCoord4hNV(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglMultiTexCoord4hvNV__IJ(JNIEnv *__env, jclass clazz, jint target, jlong vAddress) { glMultiTexCoord4hvNVPROC glMultiTexCoord4hvNV = (glMultiTexCoord4hvNVPROC)tlsGetFunction(2013); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMultiTexCoord4hvNV(target, v); } @@ -245,7 +245,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glFogCoordhNV(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglFogCoordhvNV__J(JNIEnv *__env, jclass clazz, jlong fogAddress) { glFogCoordhvNVPROC glFogCoordhvNV = (glFogCoordhvNVPROC)tlsGetFunction(2015); - intptr_t fog = (intptr_t)fogAddress; + uintptr_t fog = (uintptr_t)fogAddress; UNUSED_PARAM(clazz) glFogCoordhvNV(fog); } @@ -258,7 +258,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glSecondaryColor3hNV(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglSecondaryColor3hvNV__J(JNIEnv *__env, jclass clazz, jlong vAddress) { glSecondaryColor3hvNVPROC glSecondaryColor3hvNV = (glSecondaryColor3hvNVPROC)tlsGetFunction(2017); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glSecondaryColor3hvNV(v); } @@ -271,7 +271,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertexWeighthNV(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexWeighthvNV__J(JNIEnv *__env, jclass clazz, jlong weightAddress) { glVertexWeighthvNVPROC glVertexWeighthvNV = (glVertexWeighthvNVPROC)tlsGetFunction(2019); - intptr_t weight = (intptr_t)weightAddress; + uintptr_t weight = (uintptr_t)weightAddress; UNUSED_PARAM(clazz) glVertexWeighthvNV(weight); } @@ -284,7 +284,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertexAttrib1hNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttrib1hvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1hvNVPROC glVertexAttrib1hvNV = (glVertexAttrib1hvNVPROC)tlsGetFunction(2021); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1hvNV(index, v); } @@ -297,7 +297,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertexAttrib2hNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttrib2hvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2hvNVPROC glVertexAttrib2hvNV = (glVertexAttrib2hvNVPROC)tlsGetFunction(2023); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2hvNV(index, v); } @@ -310,7 +310,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertexAttrib3hNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttrib3hvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3hvNVPROC glVertexAttrib3hvNV = (glVertexAttrib3hvNVPROC)tlsGetFunction(2025); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3hvNV(index, v); } @@ -323,35 +323,35 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_glVertexAttrib4hNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttrib4hvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4hvNVPROC glVertexAttrib4hvNV = (glVertexAttrib4hvNVPROC)tlsGetFunction(2027); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4hvNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttribs1hvNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint n, jlong vAddress) { glVertexAttribs1hvNVPROC glVertexAttribs1hvNV = (glVertexAttribs1hvNVPROC)tlsGetFunction(2028); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribs1hvNV(index, n, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttribs2hvNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint n, jlong vAddress) { glVertexAttribs2hvNVPROC glVertexAttribs2hvNV = (glVertexAttribs2hvNVPROC)tlsGetFunction(2029); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribs2hvNV(index, n, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttribs3hvNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint n, jlong vAddress) { glVertexAttribs3hvNVPROC glVertexAttribs3hvNV = (glVertexAttribs3hvNVPROC)tlsGetFunction(2030); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribs3hvNV(index, n, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVHalfFloat_nglVertexAttribs4hvNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint n, jlong vAddress) { glVertexAttribs4hvNVPROC glVertexAttribs4hvNV = (glVertexAttribs4hvNVPROC)tlsGetFunction(2031); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribs4hvNV(index, n, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVInternalformatSampleQuery.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVInternalformatSampleQuery.c index 6483dac894..376fdfe50c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVInternalformatSampleQuery.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVInternalformatSampleQuery.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetInternalformatSampleivNVPROC) (jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetInternalformatSampleivNVPROC) (jint, jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVInternalformatSampleQuery_nglGetInternalformatSampleivNV__IIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint samples, jint pname, jint bufSize, jlong paramsAddress) { glGetInternalformatSampleivNVPROC glGetInternalformatSampleivNV = (glGetInternalformatSampleivNVPROC)tlsGetFunction(2032); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInternalformatSampleivNV(target, internalformat, samples, pname, bufSize, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryAttachment.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryAttachment.c index a9f67bfd5c..64b567792f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryAttachment.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryAttachment.c @@ -6,7 +6,7 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGetMemoryObjectDetachedResourcesuivNVPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetMemoryObjectDetachedResourcesuivNVPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glResetMemoryObjectParameterNVPROC) (jint, jint); typedef void (APIENTRY *glTexAttachMemoryNVPROC) (jint, jint, jlong); typedef void (APIENTRY *glBufferAttachMemoryNVPROC) (jint, jint, jlong); @@ -17,7 +17,7 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMemoryAttachment_nglGetMemoryObjectDetachedResourcesuivNV__IIIIJ(JNIEnv *__env, jclass clazz, jint memory, jint pname, jint first, jint count, jlong paramsAddress) { glGetMemoryObjectDetachedResourcesuivNVPROC glGetMemoryObjectDetachedResourcesuivNV = (glGetMemoryObjectDetachedResourcesuivNVPROC)tlsGetFunction(2033); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMemoryObjectDetachedResourcesuivNV(memory, pname, first, count, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryObjectSparse.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryObjectSparse.c index cdeef928bc..c6ceee1431 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryObjectSparse.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMemoryObjectSparse.c @@ -6,8 +6,8 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBufferPageCommitmentMemNVPROC) (jint, intptr_t, intptr_t, jint, jlong, jboolean); -typedef void (APIENTRY *glNamedBufferPageCommitmentMemNVPROC) (jint, intptr_t, intptr_t, jint, jlong, jboolean); +typedef void (APIENTRY *glBufferPageCommitmentMemNVPROC) (jint, uintptr_t, uintptr_t, jint, jlong, jboolean); +typedef void (APIENTRY *glNamedBufferPageCommitmentMemNVPROC) (jint, uintptr_t, uintptr_t, jint, jlong, jboolean); typedef void (APIENTRY *glTexPageCommitmentMemNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean); typedef void (APIENTRY *glTexturePageCommitmentMemNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean); @@ -16,13 +16,13 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMemoryObjectSparse_glBufferPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jint memory, jlong memOffset, jboolean commit) { glBufferPageCommitmentMemNVPROC glBufferPageCommitmentMemNV = (glBufferPageCommitmentMemNVPROC)tlsGetFunction(2039); UNUSED_PARAM(clazz) - glBufferPageCommitmentMemNV(target, (intptr_t)offset, (intptr_t)size, memory, memOffset, commit); + glBufferPageCommitmentMemNV(target, (uintptr_t)offset, (uintptr_t)size, memory, memOffset, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMemoryObjectSparse_glNamedBufferPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jint memory, jlong memOffset, jboolean commit) { glNamedBufferPageCommitmentMemNVPROC glNamedBufferPageCommitmentMemNV = (glNamedBufferPageCommitmentMemNVPROC)tlsGetFunction(2040); UNUSED_PARAM(clazz) - glNamedBufferPageCommitmentMemNV(buffer, (intptr_t)offset, (intptr_t)size, memory, memOffset, commit); + glNamedBufferPageCommitmentMemNV(buffer, (uintptr_t)offset, (uintptr_t)size, memory, memOffset, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMemoryObjectSparse_glTexPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint target, jint layer, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint memory, jlong offset, jboolean commit) { diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMeshShader.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMeshShader.c index 23237475d6..e7d067a4b7 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMeshShader.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVMeshShader.c @@ -7,9 +7,9 @@ #include "opengl.h" typedef void (APIENTRY *glDrawMeshTasksNVPROC) (jint, jint); -typedef void (APIENTRY *glDrawMeshTasksIndirectNVPROC) (intptr_t); -typedef void (APIENTRY *glMultiDrawMeshTasksIndirectNVPROC) (intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawMeshTasksIndirectCountNVPROC) (intptr_t, intptr_t, jint, jint); +typedef void (APIENTRY *glDrawMeshTasksIndirectNVPROC) (uintptr_t); +typedef void (APIENTRY *glMultiDrawMeshTasksIndirectNVPROC) (uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawMeshTasksIndirectCountNVPROC) (uintptr_t, uintptr_t, jint, jint); EXTERN_C_ENTER @@ -22,19 +22,19 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMeshShader_glDrawMeshTasksNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMeshShader_glDrawMeshTasksIndirectNV(JNIEnv *__env, jclass clazz, jlong indirect) { glDrawMeshTasksIndirectNVPROC glDrawMeshTasksIndirectNV = (glDrawMeshTasksIndirectNVPROC)tlsGetFunction(2044); UNUSED_PARAM(clazz) - glDrawMeshTasksIndirectNV((intptr_t)indirect); + glDrawMeshTasksIndirectNV((uintptr_t)indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMeshShader_glMultiDrawMeshTasksIndirectNV(JNIEnv *__env, jclass clazz, jlong indirect, jint drawcount, jint stride) { glMultiDrawMeshTasksIndirectNVPROC glMultiDrawMeshTasksIndirectNV = (glMultiDrawMeshTasksIndirectNVPROC)tlsGetFunction(2045); UNUSED_PARAM(clazz) - glMultiDrawMeshTasksIndirectNV((intptr_t)indirect, drawcount, stride); + glMultiDrawMeshTasksIndirectNV((uintptr_t)indirect, drawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVMeshShader_glMultiDrawMeshTasksIndirectCountNV(JNIEnv *__env, jclass clazz, jlong indirect, jlong drawcount, jint maxdrawcount, jint stride) { glMultiDrawMeshTasksIndirectCountNVPROC glMultiDrawMeshTasksIndirectCountNV = (glMultiDrawMeshTasksIndirectCountNVPROC)tlsGetFunction(2046); UNUSED_PARAM(clazz) - glMultiDrawMeshTasksIndirectCountNV((intptr_t)indirect, (intptr_t)drawcount, maxdrawcount, stride); + glMultiDrawMeshTasksIndirectCountNV((uintptr_t)indirect, (uintptr_t)drawcount, maxdrawcount, stride); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPathRendering.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPathRendering.c index 577f954f11..aa8bc45acd 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPathRendering.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPathRendering.c @@ -6,24 +6,24 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glPathCommandsNVPROC) (jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glPathCoordsNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathSubCommandsNVPROC) (jint, jint, jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glPathSubCoordsNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathStringNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathGlyphsNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t, jint, jint, jfloat); -typedef void (APIENTRY *glPathGlyphRangeNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, jfloat); -typedef jint (APIENTRY *glPathGlyphIndexArrayNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jfloat); -typedef jint (APIENTRY *glPathMemoryGlyphIndexArrayNVPROC) (jint, jint, intptr_t, intptr_t, jint, jint, jint, jint, jfloat); +typedef void (APIENTRY *glPathCommandsNVPROC) (jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathCoordsNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathSubCommandsNVPROC) (jint, jint, jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathSubCoordsNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathStringNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathGlyphsNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t, jint, jint, jfloat); +typedef void (APIENTRY *glPathGlyphRangeNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, jfloat); +typedef jint (APIENTRY *glPathGlyphIndexArrayNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jfloat); +typedef jint (APIENTRY *glPathMemoryGlyphIndexArrayNVPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jfloat); typedef void (APIENTRY *glCopyPathNVPROC) (jint, jint); -typedef void (APIENTRY *glWeightPathsNVPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glWeightPathsNVPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glInterpolatePathsNVPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glTransformPathNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathParameterivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTransformPathNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathParameterivNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glPathParameteriNVPROC) (jint, jint, jint); -typedef void (APIENTRY *glPathParameterfvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPathParameterfvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glPathParameterfNVPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glPathDashArrayNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPathDashArrayNVPROC) (jint, jint, uintptr_t); typedef jint (APIENTRY *glGenPathsNVPROC) (jint); typedef void (APIENTRY *glDeletePathsNVPROC) (jint, jint); typedef jboolean (APIENTRY *glIsPathNVPROC) (jint); @@ -31,112 +31,112 @@ typedef void (APIENTRY *glPathStencilFuncNVPROC) (jint, jint, jint); typedef void (APIENTRY *glPathStencilDepthOffsetNVPROC) (jfloat, jfloat); typedef void (APIENTRY *glStencilFillPathNVPROC) (jint, jint, jint); typedef void (APIENTRY *glStencilStrokePathNVPROC) (jint, jint, jint); -typedef void (APIENTRY *glStencilFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glStencilStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glStencilFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glStencilStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPathCoverDepthFuncNVPROC) (jint); -typedef void (APIENTRY *glPathColorGenNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathTexGenNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glPathColorGenNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathTexGenNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPathFogGenNVPROC) (jint); typedef void (APIENTRY *glCoverFillPathNVPROC) (jint, jint); typedef void (APIENTRY *glCoverStrokePathNVPROC) (jint, jint); -typedef void (APIENTRY *glCoverFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCoverStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glCoverFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCoverStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glStencilThenCoverFillPathNVPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glStencilThenCoverStrokePathNVPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glStencilThenCoverFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glStencilThenCoverStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glPathGlyphIndexRangeNVPROC) (jint, intptr_t, jint, jint, jfloat, intptr_t); -typedef void (APIENTRY *glProgramPathFragmentInputGenNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathParameterivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathParameterfvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathCommandsNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathCoordsNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathDashArrayNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathMetricsNVPROC) (jint, jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathMetricRangeNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathSpacingNVPROC) (jint, jint, jint, intptr_t, jint, jfloat, jfloat, jint, intptr_t); -typedef void (APIENTRY *glGetPathColorGenivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathColorGenfvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathTexGenivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathTexGenfvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glStencilThenCoverFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glStencilThenCoverStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glPathGlyphIndexRangeNVPROC) (jint, uintptr_t, jint, jint, jfloat, uintptr_t); +typedef void (APIENTRY *glProgramPathFragmentInputGenNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathParameterivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathParameterfvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathCommandsNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathCoordsNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathDashArrayNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathMetricsNVPROC) (jint, jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathMetricRangeNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathSpacingNVPROC) (jint, jint, jint, uintptr_t, jint, jfloat, jfloat, jint, uintptr_t); +typedef void (APIENTRY *glGetPathColorGenivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathColorGenfvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathTexGenivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathTexGenfvNVPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsPointInFillPathNVPROC) (jint, jint, jfloat, jfloat); typedef jboolean (APIENTRY *glIsPointInStrokePathNVPROC) (jint, jfloat, jfloat); typedef jfloat (APIENTRY *glGetPathLengthNVPROC) (jint, jint, jint); -typedef jboolean (APIENTRY *glPointAlongPathNVPROC) (jint, jint, jint, jfloat, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glMatrixLoad3x2fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoad3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoadTranspose3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMult3x2fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMult3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultTranspose3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetProgramResourcefvNVPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); +typedef jboolean (APIENTRY *glPointAlongPathNVPROC) (jint, jint, jint, jfloat, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glMatrixLoad3x2fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoad3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoadTranspose3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMult3x2fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMult3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultTranspose3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetProgramResourcefvNVPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathCommandsNV__IIJIIJ(JNIEnv *__env, jclass clazz, jint path, jint numCommands, jlong commandsAddress, jint numCoords, jint coordType, jlong coordsAddress) { glPathCommandsNVPROC glPathCommandsNV = (glPathCommandsNVPROC)tlsGetFunction(2047); - intptr_t commands = (intptr_t)commandsAddress; - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathCommandsNV(path, numCommands, commands, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathCoordsNV__IIIJ(JNIEnv *__env, jclass clazz, jint path, jint numCoords, jint coordType, jlong coordsAddress) { glPathCoordsNVPROC glPathCoordsNV = (glPathCoordsNVPROC)tlsGetFunction(2048); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathCoordsNV(path, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathSubCommandsNV__IIIIJIIJ(JNIEnv *__env, jclass clazz, jint path, jint commandStart, jint commandsToDelete, jint numCommands, jlong commandsAddress, jint numCoords, jint coordType, jlong coordsAddress) { glPathSubCommandsNVPROC glPathSubCommandsNV = (glPathSubCommandsNVPROC)tlsGetFunction(2049); - intptr_t commands = (intptr_t)commandsAddress; - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathSubCommandsNV(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathSubCoordsNV__IIIIJ(JNIEnv *__env, jclass clazz, jint path, jint coordStart, jint numCoords, jint coordType, jlong coordsAddress) { glPathSubCoordsNVPROC glPathSubCoordsNV = (glPathSubCoordsNVPROC)tlsGetFunction(2050); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathSubCoordsNV(path, coordStart, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathStringNV(JNIEnv *__env, jclass clazz, jint path, jint format, jint length, jlong pathStringAddress) { glPathStringNVPROC glPathStringNV = (glPathStringNVPROC)tlsGetFunction(2051); - intptr_t pathString = (intptr_t)pathStringAddress; + uintptr_t pathString = (uintptr_t)pathStringAddress; UNUSED_PARAM(clazz) glPathStringNV(path, format, length, pathString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathGlyphsNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint numGlyphs, jint type, jlong charcodesAddress, jint handleMissingGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphsNVPROC glPathGlyphsNV = (glPathGlyphsNVPROC)tlsGetFunction(2052); - intptr_t fontName = (intptr_t)fontNameAddress; - intptr_t charcodes = (intptr_t)charcodesAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; + uintptr_t charcodes = (uintptr_t)charcodesAddress; UNUSED_PARAM(clazz) glPathGlyphsNV(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathGlyphRangeNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint firstGlyph, jint numGlyphs, jint handleMissingGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphRangeNVPROC glPathGlyphRangeNV = (glPathGlyphRangeNVPROC)tlsGetFunction(2053); - intptr_t fontName = (intptr_t)fontNameAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; UNUSED_PARAM(clazz) glPathGlyphRangeNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathGlyphIndexArrayNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint firstGlyphIndex, jint numGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphIndexArrayNVPROC glPathGlyphIndexArrayNV = (glPathGlyphIndexArrayNVPROC)tlsGetFunction(2054); - intptr_t fontName = (intptr_t)fontNameAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; UNUSED_PARAM(clazz) return (jint)glPathGlyphIndexArrayNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathMemoryGlyphIndexArrayNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontSize, jlong fontDataAddress, jint faceIndex, jint firstGlyphIndex, jint numGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathMemoryGlyphIndexArrayNVPROC glPathMemoryGlyphIndexArrayNV = (glPathMemoryGlyphIndexArrayNVPROC)tlsGetFunction(2055); - intptr_t fontData = (intptr_t)fontDataAddress; + uintptr_t fontData = (uintptr_t)fontDataAddress; UNUSED_PARAM(clazz) - return (jint)glPathMemoryGlyphIndexArrayNV(firstPathName, fontTarget, (intptr_t)fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + return (jint)glPathMemoryGlyphIndexArrayNV(firstPathName, fontTarget, (uintptr_t)fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glCopyPathNV(JNIEnv *__env, jclass clazz, jint resultPath, jint srcPath) { @@ -147,8 +147,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glCopyPathNV(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglWeightPathsNV__IIJJ(JNIEnv *__env, jclass clazz, jint resultPath, jint numPaths, jlong pathsAddress, jlong weightsAddress) { glWeightPathsNVPROC glWeightPathsNV = (glWeightPathsNVPROC)tlsGetFunction(2057); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightPathsNV(resultPath, numPaths, paths, weights); } @@ -161,14 +161,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glInterpolatePathsN JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglTransformPathNV__IIIJ(JNIEnv *__env, jclass clazz, jint resultPath, jint srcPath, jint transformType, jlong transformValuesAddress) { glTransformPathNVPROC glTransformPathNV = (glTransformPathNVPROC)tlsGetFunction(2059); - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glTransformPathNV(resultPath, srcPath, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glPathParameterivNVPROC glPathParameterivNV = (glPathParameterivNVPROC)tlsGetFunction(2060); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glPathParameterivNV(path, pname, value); } @@ -181,7 +181,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glPathParameteriNV( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathParameterfvNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glPathParameterfvNVPROC glPathParameterfvNV = (glPathParameterfvNVPROC)tlsGetFunction(2062); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glPathParameterfvNV(path, pname, value); } @@ -194,7 +194,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glPathParameterfNV( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathDashArrayNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint dashCount, jlong dashArrayAddress) { glPathDashArrayNVPROC glPathDashArrayNV = (glPathDashArrayNVPROC)tlsGetFunction(2064); - intptr_t dashArray = (intptr_t)dashArrayAddress; + uintptr_t dashArray = (uintptr_t)dashArrayAddress; UNUSED_PARAM(clazz) glPathDashArrayNV(path, dashCount, dashArray); } @@ -243,16 +243,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glStencilStrokePath JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglStencilFillPathInstancedNV__IIJIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint fillMode, jint mask, jint transformType, jlong transformValuesAddress) { glStencilFillPathInstancedNVPROC glStencilFillPathInstancedNV = (glStencilFillPathInstancedNVPROC)tlsGetFunction(2072); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglStencilStrokePathInstancedNV__IIJIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint reference, jint mask, jint transformType, jlong transformValuesAddress) { glStencilStrokePathInstancedNVPROC glStencilStrokePathInstancedNV = (glStencilStrokePathInstancedNVPROC)tlsGetFunction(2073); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); } @@ -265,14 +265,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glPathCoverDepthFun JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathColorGenNV__IIIJ(JNIEnv *__env, jclass clazz, jint color, jint genMode, jint colorFormat, jlong coeffsAddress) { glPathColorGenNVPROC glPathColorGenNV = (glPathColorGenNVPROC)tlsGetFunction(2075); - intptr_t coeffs = (intptr_t)coeffsAddress; + uintptr_t coeffs = (uintptr_t)coeffsAddress; UNUSED_PARAM(clazz) glPathColorGenNV(color, genMode, colorFormat, coeffs); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathTexGenNV__IIIJ(JNIEnv *__env, jclass clazz, jint texCoordSet, jint genMode, jint components, jlong coeffsAddress) { glPathTexGenNVPROC glPathTexGenNV = (glPathTexGenNVPROC)tlsGetFunction(2076); - intptr_t coeffs = (intptr_t)coeffsAddress; + uintptr_t coeffs = (uintptr_t)coeffsAddress; UNUSED_PARAM(clazz) glPathTexGenNV(texCoordSet, genMode, components, coeffs); } @@ -297,16 +297,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glCoverStrokePathNV JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglCoverFillPathInstancedNV__IIJIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint coverMode, jint transformType, jlong transformValuesAddress) { glCoverFillPathInstancedNVPROC glCoverFillPathInstancedNV = (glCoverFillPathInstancedNVPROC)tlsGetFunction(2080); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglCoverStrokePathInstancedNV__IIJIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint coverMode, jint transformType, jlong transformValuesAddress) { glCoverStrokePathInstancedNVPROC glCoverStrokePathInstancedNV = (glCoverStrokePathInstancedNVPROC)tlsGetFunction(2081); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); } @@ -325,117 +325,117 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_glStencilThenCoverS JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglStencilThenCoverFillPathInstancedNV__IIJIIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint fillMode, jint mask, jint coverMode, jint transformType, jlong transformValuesAddress) { glStencilThenCoverFillPathInstancedNVPROC glStencilThenCoverFillPathInstancedNV = (glStencilThenCoverFillPathInstancedNVPROC)tlsGetFunction(2084); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilThenCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglStencilThenCoverStrokePathInstancedNV__IIJIIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint reference, jint mask, jint coverMode, jint transformType, jlong transformValuesAddress) { glStencilThenCoverStrokePathInstancedNVPROC glStencilThenCoverStrokePathInstancedNV = (glStencilThenCoverStrokePathInstancedNVPROC)tlsGetFunction(2085); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilThenCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathGlyphIndexRangeNV__IJIIFJ(JNIEnv *__env, jclass clazz, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint pathParameterTemplate, jfloat emScale, jlong baseAndCountAddress) { glPathGlyphIndexRangeNVPROC glPathGlyphIndexRangeNV = (glPathGlyphIndexRangeNVPROC)tlsGetFunction(2086); - intptr_t fontName = (intptr_t)fontNameAddress; - intptr_t baseAndCount = (intptr_t)baseAndCountAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; + uintptr_t baseAndCount = (uintptr_t)baseAndCountAddress; UNUSED_PARAM(clazz) return (jint)glPathGlyphIndexRangeNV(fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglProgramPathFragmentInputGenNV__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint genMode, jint components, jlong coeffsAddress) { glProgramPathFragmentInputGenNVPROC glProgramPathFragmentInputGenNV = (glProgramPathFragmentInputGenNVPROC)tlsGetFunction(2087); - intptr_t coeffs = (intptr_t)coeffsAddress; + uintptr_t coeffs = (uintptr_t)coeffsAddress; UNUSED_PARAM(clazz) glProgramPathFragmentInputGenNV(program, location, genMode, components, coeffs); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glGetPathParameterivNVPROC glGetPathParameterivNV = (glGetPathParameterivNVPROC)tlsGetFunction(2088); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathParameterivNV(path, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathParameterfvNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glGetPathParameterfvNVPROC glGetPathParameterfvNV = (glGetPathParameterfvNVPROC)tlsGetFunction(2089); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathParameterfvNV(path, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathCommandsNV(JNIEnv *__env, jclass clazz, jint path, jlong commandsAddress) { glGetPathCommandsNVPROC glGetPathCommandsNV = (glGetPathCommandsNVPROC)tlsGetFunction(2090); - intptr_t commands = (intptr_t)commandsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; UNUSED_PARAM(clazz) glGetPathCommandsNV(path, commands); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathCoordsNV__IJ(JNIEnv *__env, jclass clazz, jint path, jlong coordsAddress) { glGetPathCoordsNVPROC glGetPathCoordsNV = (glGetPathCoordsNVPROC)tlsGetFunction(2091); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glGetPathCoordsNV(path, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathDashArrayNV__IJ(JNIEnv *__env, jclass clazz, jint path, jlong dashArrayAddress) { glGetPathDashArrayNVPROC glGetPathDashArrayNV = (glGetPathDashArrayNVPROC)tlsGetFunction(2092); - intptr_t dashArray = (intptr_t)dashArrayAddress; + uintptr_t dashArray = (uintptr_t)dashArrayAddress; UNUSED_PARAM(clazz) glGetPathDashArrayNV(path, dashArray); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathMetricsNV__IIIJIIJ(JNIEnv *__env, jclass clazz, jint metricQueryMask, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint stride, jlong metricsAddress) { glGetPathMetricsNVPROC glGetPathMetricsNV = (glGetPathMetricsNVPROC)tlsGetFunction(2093); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t metrics = (intptr_t)metricsAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t metrics = (uintptr_t)metricsAddress; UNUSED_PARAM(clazz) glGetPathMetricsNV(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathMetricRangeNV__IIIIJ(JNIEnv *__env, jclass clazz, jint metricQueryMask, jint firstPathName, jint numPaths, jint stride, jlong metricsAddress) { glGetPathMetricRangeNVPROC glGetPathMetricRangeNV = (glGetPathMetricRangeNVPROC)tlsGetFunction(2094); - intptr_t metrics = (intptr_t)metricsAddress; + uintptr_t metrics = (uintptr_t)metricsAddress; UNUSED_PARAM(clazz) glGetPathMetricRangeNV(metricQueryMask, firstPathName, numPaths, stride, metrics); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathSpacingNV__IIIJIFFIJ(JNIEnv *__env, jclass clazz, jint pathListMode, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jfloat advanceScale, jfloat kerningScale, jint transformType, jlong returnedSpacingAddress) { glGetPathSpacingNVPROC glGetPathSpacingNV = (glGetPathSpacingNVPROC)tlsGetFunction(2095); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t returnedSpacing = (intptr_t)returnedSpacingAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t returnedSpacing = (uintptr_t)returnedSpacingAddress; UNUSED_PARAM(clazz) glGetPathSpacingNV(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathColorGenivNV__IIJ(JNIEnv *__env, jclass clazz, jint color, jint pname, jlong valueAddress) { glGetPathColorGenivNVPROC glGetPathColorGenivNV = (glGetPathColorGenivNVPROC)tlsGetFunction(2096); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathColorGenivNV(color, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathColorGenfvNV__IIJ(JNIEnv *__env, jclass clazz, jint color, jint pname, jlong valueAddress) { glGetPathColorGenfvNVPROC glGetPathColorGenfvNV = (glGetPathColorGenfvNVPROC)tlsGetFunction(2097); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathColorGenfvNV(color, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathTexGenivNV__IIJ(JNIEnv *__env, jclass clazz, jint texCoordSet, jint pname, jlong valueAddress) { glGetPathTexGenivNVPROC glGetPathTexGenivNV = (glGetPathTexGenivNVPROC)tlsGetFunction(2098); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathTexGenivNV(texCoordSet, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetPathTexGenfvNV__IIJ(JNIEnv *__env, jclass clazz, jint texCoordSet, jint pname, jlong valueAddress) { glGetPathTexGenfvNVPROC glGetPathTexGenfvNV = (glGetPathTexGenfvNVPROC)tlsGetFunction(2099); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathTexGenfvNV(texCoordSet, pname, value); } @@ -460,61 +460,61 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_opengl_NVPathRendering_glGetPathLengthNV JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPointAlongPathNV__IIIFJJJJ(JNIEnv *__env, jclass clazz, jint path, jint startSegment, jint numSegments, jfloat distance, jlong xAddress, jlong yAddress, jlong tangentXAddress, jlong tangentYAddress) { glPointAlongPathNVPROC glPointAlongPathNV = (glPointAlongPathNVPROC)tlsGetFunction(2103); - intptr_t x = (intptr_t)xAddress; - intptr_t y = (intptr_t)yAddress; - intptr_t tangentX = (intptr_t)tangentXAddress; - intptr_t tangentY = (intptr_t)tangentYAddress; + uintptr_t x = (uintptr_t)xAddress; + uintptr_t y = (uintptr_t)yAddress; + uintptr_t tangentX = (uintptr_t)tangentXAddress; + uintptr_t tangentY = (uintptr_t)tangentYAddress; UNUSED_PARAM(clazz) return (jboolean)glPointAlongPathNV(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixLoad3x2fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoad3x2fNVPROC glMatrixLoad3x2fNV = (glMatrixLoad3x2fNVPROC)tlsGetFunction(2104); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoad3x2fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixLoad3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoad3x3fNVPROC glMatrixLoad3x3fNV = (glMatrixLoad3x3fNVPROC)tlsGetFunction(2105); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoad3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixLoadTranspose3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoadTranspose3x3fNVPROC glMatrixLoadTranspose3x3fNV = (glMatrixLoadTranspose3x3fNVPROC)tlsGetFunction(2106); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoadTranspose3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixMult3x2fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMult3x2fNVPROC glMatrixMult3x2fNV = (glMatrixMult3x2fNVPROC)tlsGetFunction(2107); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMult3x2fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixMult3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMult3x3fNVPROC glMatrixMult3x3fNV = (glMatrixMult3x3fNVPROC)tlsGetFunction(2108); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMult3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglMatrixMultTranspose3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultTranspose3x3fNVPROC glMatrixMultTranspose3x3fNV = (glMatrixMultTranspose3x3fNVPROC)tlsGetFunction(2109); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultTranspose3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglGetProgramResourcefvNV__IIIIJIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint propCount, jlong propsAddress, jint bufSize, jlong lengthAddress, jlong paramsAddress) { glGetProgramResourcefvNVPROC glGetProgramResourcefvNV = (glGetProgramResourcefvNVPROC)tlsGetFunction(2110); - intptr_t props = (intptr_t)propsAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t props = (uintptr_t)propsAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramResourcefvNV(program, programInterface, index, propCount, props, bufSize, length, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPixelDataRange.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPixelDataRange.c index 11e8bab114..2c4a1d36e6 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPixelDataRange.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPixelDataRange.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glPixelDataRangeNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPixelDataRangeNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFlushPixelDataRangeNVPROC) (jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPixelDataRange_nglPixelDataRangeNV(JNIEnv *__env, jclass clazz, jint target, jint length, jlong pointerAddress) { glPixelDataRangeNVPROC glPixelDataRangeNV = (glPixelDataRangeNVPROC)tlsGetFunction(2111); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glPixelDataRangeNV(target, length, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPointSprite.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPointSprite.c index b89aae1279..a72b9c691b 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPointSprite.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVPointSprite.c @@ -7,7 +7,7 @@ #include "opengl.h" typedef void (APIENTRY *glPointParameteriNVPROC) (jint, jint); -typedef void (APIENTRY *glPointParameterivNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glPointParameterivNVPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPointSprite_glPointParameteriNV(J JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPointSprite_nglPointParameterivNV__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glPointParameterivNVPROC glPointParameterivNV = (glPointParameterivNVPROC)tlsGetFunction(2114); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glPointParameterivNV(pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResource.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResource.c index 7df6b2a185..548b227d90 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResource.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResource.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengl.h" -typedef jint (APIENTRY *glQueryResourceNVPROC) (jint, jint, jint, intptr_t); +typedef jint (APIENTRY *glQueryResourceNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVQueryResource_nglQueryResourceNV__IIIJ(JNIEnv *__env, jclass clazz, jint queryType, jint pname, jint bufSize, jlong bufferAddress) { glQueryResourceNVPROC glQueryResourceNV = (glQueryResourceNVPROC)tlsGetFunction(2117); - intptr_t buffer = (intptr_t)bufferAddress; + uintptr_t buffer = (uintptr_t)bufferAddress; UNUSED_PARAM(clazz) return (jint)glQueryResourceNV(queryType, pname, bufSize, buffer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResourceTag.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResourceTag.c index 7e43470318..2340cd76e2 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResourceTag.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVQueryResourceTag.c @@ -6,29 +6,29 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glGenQueryResourceTagNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteQueryResourceTagNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glQueryResourceTagNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenQueryResourceTagNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteQueryResourceTagNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glQueryResourceTagNVPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVQueryResourceTag_nglGenQueryResourceTagNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong tagIdsAddress) { glGenQueryResourceTagNVPROC glGenQueryResourceTagNV = (glGenQueryResourceTagNVPROC)tlsGetFunction(2118); - intptr_t tagIds = (intptr_t)tagIdsAddress; + uintptr_t tagIds = (uintptr_t)tagIdsAddress; UNUSED_PARAM(clazz) glGenQueryResourceTagNV(n, tagIds); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVQueryResourceTag_nglDeleteQueryResourceTagNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong tagIdsAddress) { glDeleteQueryResourceTagNVPROC glDeleteQueryResourceTagNV = (glDeleteQueryResourceTagNVPROC)tlsGetFunction(2119); - intptr_t tagIds = (intptr_t)tagIdsAddress; + uintptr_t tagIds = (uintptr_t)tagIdsAddress; UNUSED_PARAM(clazz) glDeleteQueryResourceTagNV(n, tagIds); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVQueryResourceTag_nglQueryResourceTagNV(JNIEnv *__env, jclass clazz, jint tagId, jlong tagStringAddress) { glQueryResourceTagNVPROC glQueryResourceTagNV = (glQueryResourceTagNVPROC)tlsGetFunction(2120); - intptr_t tagString = (intptr_t)tagStringAddress; + uintptr_t tagString = (uintptr_t)tagStringAddress; UNUSED_PARAM(clazz) glQueryResourceTagNV(tagId, tagString); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVSampleLocations.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVSampleLocations.c index 9d1632cf07..c8a2515a26 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVSampleLocations.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVSampleLocations.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glResolveDepthValuesNVPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVSampleLocations_nglFramebufferSampleLocationsfvNV__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint start, jint count, jlong vAddress) { glFramebufferSampleLocationsfvNVPROC glFramebufferSampleLocationsfvNV = (glFramebufferSampleLocationsfvNVPROC)tlsGetFunction(2121); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glFramebufferSampleLocationsfvNV(target, start, count, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVSampleLocations_nglNamedFramebufferSampleLocationsfvNV__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint start, jint count, jlong vAddress) { glNamedFramebufferSampleLocationsfvNVPROC glNamedFramebufferSampleLocationsfvNV = (glNamedFramebufferSampleLocationsfvNVPROC)tlsGetFunction(2122); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNamedFramebufferSampleLocationsfvNV(framebuffer, start, count, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVScissorExclusive.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVScissorExclusive.c index 615a9d4f34..017a4339d7 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVScissorExclusive.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVScissorExclusive.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glScissorExclusiveArrayvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glScissorExclusiveArrayvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glScissorExclusiveNVPROC) (jint, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVScissorExclusive_nglScissorExclusiveArrayvNV__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glScissorExclusiveArrayvNVPROC glScissorExclusiveArrayvNV = (glScissorExclusiveArrayvNVPROC)tlsGetFunction(2124); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorExclusiveArrayvNV(first, count, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShaderBufferLoad.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShaderBufferLoad.c index b828bdb93a..0daa4c4c19 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShaderBufferLoad.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShaderBufferLoad.c @@ -12,14 +12,14 @@ typedef jboolean (APIENTRY *glIsBufferResidentNVPROC) (jint); typedef void (APIENTRY *glMakeNamedBufferResidentNVPROC) (jint, jint); typedef void (APIENTRY *glMakeNamedBufferNonResidentNVPROC) (jint); typedef jboolean (APIENTRY *glIsNamedBufferResidentNVPROC) (jint); -typedef void (APIENTRY *glGetBufferParameterui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetNamedBufferParameterui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetIntegerui64vNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetBufferParameterui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetNamedBufferParameterui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetIntegerui64vNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glUniformui64NVPROC) (jint, jlong); -typedef void (APIENTRY *glUniformui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformui64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniformui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformui64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniformui64NVPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniformui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniformui64vNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -61,21 +61,21 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_glIsNamedBuf JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglGetBufferParameterui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameterui64vNVPROC glGetBufferParameterui64vNV = (glGetBufferParameterui64vNVPROC)tlsGetFunction(2132); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameterui64vNV(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglGetNamedBufferParameterui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint pname, jlong paramsAddress) { glGetNamedBufferParameterui64vNVPROC glGetNamedBufferParameterui64vNV = (glGetNamedBufferParameterui64vNVPROC)tlsGetFunction(2133); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetNamedBufferParameterui64vNV(buffer, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglGetIntegerui64vNV__IJ(JNIEnv *__env, jclass clazz, jint value, jlong resultAddress) { glGetIntegerui64vNVPROC glGetIntegerui64vNV = (glGetIntegerui64vNVPROC)tlsGetFunction(2134); - intptr_t result = (intptr_t)resultAddress; + uintptr_t result = (uintptr_t)resultAddress; UNUSED_PARAM(clazz) glGetIntegerui64vNV(value, result); } @@ -88,14 +88,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_glUniformui64NV( JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglUniformui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniformui64vNVPROC glUniformui64vNV = (glUniformui64vNVPROC)tlsGetFunction(2136); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglGetUniformui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformui64vNVPROC glGetUniformui64vNV = (glGetUniformui64vNVPROC)tlsGetFunction(1075); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformui64vNV(program, location, params); } @@ -108,7 +108,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_glProgramUniform JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShaderBufferLoad_nglProgramUniformui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniformui64vNVPROC glProgramUniformui64vNV = (glProgramUniformui64vNVPROC)tlsGetFunction(2138); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformui64vNV(program, location, count, value); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShadingRateImage.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShadingRateImage.c index da423b4422..8243e0ef11 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShadingRateImage.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVShadingRateImage.c @@ -7,12 +7,12 @@ #include "opengl.h" typedef void (APIENTRY *glBindShadingRateImageNVPROC) (jint); -typedef void (APIENTRY *glShadingRateImagePaletteNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetShadingRateImagePaletteNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glShadingRateImagePaletteNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShadingRateImagePaletteNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glShadingRateImageBarrierNVPROC) (jboolean); typedef void (APIENTRY *glShadingRateSampleOrderNVPROC) (jint); -typedef void (APIENTRY *glShadingRateSampleOrderCustomNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShadingRateSampleLocationivNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glShadingRateSampleOrderCustomNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShadingRateSampleLocationivNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -24,14 +24,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_glBindShadingRat JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_nglShadingRateImagePaletteNV__IIIJ(JNIEnv *__env, jclass clazz, jint viewport, jint first, jint count, jlong ratesAddress) { glShadingRateImagePaletteNVPROC glShadingRateImagePaletteNV = (glShadingRateImagePaletteNVPROC)tlsGetFunction(2140); - intptr_t rates = (intptr_t)ratesAddress; + uintptr_t rates = (uintptr_t)ratesAddress; UNUSED_PARAM(clazz) glShadingRateImagePaletteNV(viewport, first, count, rates); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_nglGetShadingRateImagePaletteNV__IIJ(JNIEnv *__env, jclass clazz, jint viewport, jint entry, jlong rateAddress) { glGetShadingRateImagePaletteNVPROC glGetShadingRateImagePaletteNV = (glGetShadingRateImagePaletteNVPROC)tlsGetFunction(2141); - intptr_t rate = (intptr_t)rateAddress; + uintptr_t rate = (uintptr_t)rateAddress; UNUSED_PARAM(clazz) glGetShadingRateImagePaletteNV(viewport, entry, rate); } @@ -50,14 +50,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_glShadingRateSam JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_nglShadingRateSampleOrderCustomNV__IIJ(JNIEnv *__env, jclass clazz, jint rate, jint samples, jlong locationsAddress) { glShadingRateSampleOrderCustomNVPROC glShadingRateSampleOrderCustomNV = (glShadingRateSampleOrderCustomNVPROC)tlsGetFunction(2144); - intptr_t locations = (intptr_t)locationsAddress; + uintptr_t locations = (uintptr_t)locationsAddress; UNUSED_PARAM(clazz) glShadingRateSampleOrderCustomNV(rate, samples, locations); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVShadingRateImage_nglGetShadingRateSampleLocationivNV__IIIJ(JNIEnv *__env, jclass clazz, jint rate, jint samples, jint index, jlong locationAddress) { glGetShadingRateSampleLocationivNVPROC glGetShadingRateSampleLocationivNV = (glGetShadingRateSampleLocationivNVPROC)tlsGetFunction(2145); - intptr_t location = (intptr_t)locationAddress; + uintptr_t location = (uintptr_t)locationAddress; UNUSED_PARAM(clazz) glGetShadingRateSampleLocationivNV(rate, samples, index, location); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTimelineSemaphore.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTimelineSemaphore.c index 782975e9a3..8dbd48112c 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTimelineSemaphore.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTimelineSemaphore.c @@ -6,29 +6,29 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glCreateSemaphoresNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glSemaphoreParameterivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSemaphoreParameterivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCreateSemaphoresNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glSemaphoreParameterivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSemaphoreParameterivNVPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTimelineSemaphore_nglCreateSemaphoresNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glCreateSemaphoresNVPROC glCreateSemaphoresNV = (glCreateSemaphoresNVPROC)tlsGetFunction(2153); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glCreateSemaphoresNV(n, semaphores); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTimelineSemaphore_nglSemaphoreParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glSemaphoreParameterivNVPROC glSemaphoreParameterivNV = (glSemaphoreParameterivNVPROC)tlsGetFunction(2154); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSemaphoreParameterivNV(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTimelineSemaphore_nglGetSemaphoreParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glGetSemaphoreParameterivNVPROC glGetSemaphoreParameterivNV = (glGetSemaphoreParameterivNVPROC)tlsGetFunction(2155); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSemaphoreParameterivNV(semaphore, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback.c index 80d5e68fc5..b044276003 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback.c @@ -8,16 +8,16 @@ typedef void (APIENTRY *glBeginTransformFeedbackNVPROC) (jint); typedef void (APIENTRY *glEndTransformFeedbackNVPROC) (void); -typedef void (APIENTRY *glTransformFeedbackAttribsNVPROC) (jint, intptr_t, jint); -typedef void (APIENTRY *glBindBufferRangeNVPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glBindBufferOffsetNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTransformFeedbackAttribsNVPROC) (jint, uintptr_t, jint); +typedef void (APIENTRY *glBindBufferRangeNVPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glBindBufferOffsetNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glBindBufferBaseNVPROC) (jint, jint, jint); -typedef void (APIENTRY *glTransformFeedbackVaryingsNVPROC) (jint, jint, intptr_t, jint); -typedef void (APIENTRY *glActiveVaryingNVPROC) (jint, intptr_t); -typedef jint (APIENTRY *glGetVaryingLocationNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveVaryingNVPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetTransformFeedbackVaryingNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTransformFeedbackStreamAttribsNVPROC) (jint, intptr_t, jint, intptr_t, jint); +typedef void (APIENTRY *glTransformFeedbackVaryingsNVPROC) (jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glActiveVaryingNVPROC) (jint, uintptr_t); +typedef jint (APIENTRY *glGetVaryingLocationNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveVaryingNVPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetTransformFeedbackVaryingNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTransformFeedbackStreamAttribsNVPROC) (jint, uintptr_t, jint, uintptr_t, jint); EXTERN_C_ENTER @@ -35,7 +35,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_glEndTransformF JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglTransformFeedbackAttribsNV__IJI(JNIEnv *__env, jclass clazz, jint count, jlong attribsAddress, jint bufferMode) { glTransformFeedbackAttribsNVPROC glTransformFeedbackAttribsNV = (glTransformFeedbackAttribsNVPROC)tlsGetFunction(2158); - intptr_t attribs = (intptr_t)attribsAddress; + uintptr_t attribs = (uintptr_t)attribsAddress; UNUSED_PARAM(clazz) glTransformFeedbackAttribsNV(count, attribs, bufferMode); } @@ -43,13 +43,13 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglTransformFee JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_glBindBufferRangeNV(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset, jlong size) { glBindBufferRangeNVPROC glBindBufferRangeNV = (glBindBufferRangeNVPROC)tlsGetFunction(2159); UNUSED_PARAM(clazz) - glBindBufferRangeNV(target, index, buffer, (intptr_t)offset, (intptr_t)size); + glBindBufferRangeNV(target, index, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_glBindBufferOffsetNV(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset) { glBindBufferOffsetNVPROC glBindBufferOffsetNV = (glBindBufferOffsetNVPROC)tlsGetFunction(2160); UNUSED_PARAM(clazz) - glBindBufferOffsetNV(target, index, buffer, (intptr_t)offset); + glBindBufferOffsetNV(target, index, buffer, (uintptr_t)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_glBindBufferBaseNV(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer) { @@ -60,46 +60,46 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_glBindBufferBas JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglTransformFeedbackVaryingsNV__IIJI(JNIEnv *__env, jclass clazz, jint program, jint count, jlong locationsAddress, jint bufferMode) { glTransformFeedbackVaryingsNVPROC glTransformFeedbackVaryingsNV = (glTransformFeedbackVaryingsNVPROC)tlsGetFunction(2162); - intptr_t locations = (intptr_t)locationsAddress; + uintptr_t locations = (uintptr_t)locationsAddress; UNUSED_PARAM(clazz) glTransformFeedbackVaryingsNV(program, count, locations, bufferMode); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglActiveVaryingNV(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glActiveVaryingNVPROC glActiveVaryingNV = (glActiveVaryingNVPROC)tlsGetFunction(2163); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glActiveVaryingNV(program, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglGetVaryingLocationNV(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetVaryingLocationNVPROC glGetVaryingLocationNV = (glGetVaryingLocationNVPROC)tlsGetFunction(2164); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetVaryingLocationNV(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglGetActiveVaryingNV__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveVaryingNVPROC glGetActiveVaryingNV = (glGetActiveVaryingNVPROC)tlsGetFunction(2165); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveVaryingNV(program, index, bufSize, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglGetTransformFeedbackVaryingNV__IIJ(JNIEnv *__env, jclass clazz, jint program, jint index, jlong locationAddress) { glGetTransformFeedbackVaryingNVPROC glGetTransformFeedbackVaryingNV = (glGetTransformFeedbackVaryingNVPROC)tlsGetFunction(2166); - intptr_t location = (intptr_t)locationAddress; + uintptr_t location = (uintptr_t)locationAddress; UNUSED_PARAM(clazz) glGetTransformFeedbackVaryingNV(program, index, location); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback_nglTransformFeedbackStreamAttribsNV__IJIJI(JNIEnv *__env, jclass clazz, jint count, jlong attribsAddress, jint nbuffers, jlong bufstreamsAddress, jint bufferMode) { glTransformFeedbackStreamAttribsNVPROC glTransformFeedbackStreamAttribsNV = (glTransformFeedbackStreamAttribsNVPROC)tlsGetFunction(2167); - intptr_t attribs = (intptr_t)attribsAddress; - intptr_t bufstreams = (intptr_t)bufstreamsAddress; + uintptr_t attribs = (uintptr_t)attribsAddress; + uintptr_t bufstreams = (uintptr_t)bufstreamsAddress; UNUSED_PARAM(clazz) glTransformFeedbackStreamAttribsNV(count, attribs, nbuffers, bufstreams, bufferMode); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback2.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback2.c index 1c33c1a1b6..53300c06c9 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback2.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVTransformFeedback2.c @@ -7,8 +7,8 @@ #include "opengl.h" typedef void (APIENTRY *glBindTransformFeedbackNVPROC) (jint, jint); -typedef void (APIENTRY *glDeleteTransformFeedbacksNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenTransformFeedbacksNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteTransformFeedbacksNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenTransformFeedbacksNVPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsTransformFeedbackNVPROC) (jint); typedef void (APIENTRY *glPauseTransformFeedbackNVPROC) (void); typedef void (APIENTRY *glResumeTransformFeedbackNVPROC) (void); @@ -24,14 +24,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback2_glBindTransfor JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback2_nglDeleteTransformFeedbacksNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteTransformFeedbacksNVPROC glDeleteTransformFeedbacksNV = (glDeleteTransformFeedbacksNVPROC)tlsGetFunction(2169); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteTransformFeedbacksNV(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVTransformFeedback2_nglGenTransformFeedbacksNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenTransformFeedbacksNVPROC glGenTransformFeedbacksNV = (glGenTransformFeedbacksNVPROC)tlsGetFunction(2170); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenTransformFeedbacksNV(n, ids); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexArrayRange.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexArrayRange.c index 79452dfffe..8b0f0e674f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexArrayRange.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexArrayRange.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glVertexArrayRangeNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexArrayRangeNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glFlushVertexArrayRangeNVPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexArrayRange_nglVertexArrayRangeNV(JNIEnv *__env, jclass clazz, jint length, jlong pointerAddress) { glVertexArrayRangeNVPROC glVertexArrayRangeNV = (glVertexArrayRangeNVPROC)tlsGetFunction(2175); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexArrayRangeNV(length, pointer); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexAttribInteger64bit.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexAttribInteger64bit.c index 3868d09ea7..a9aaf26acb 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexAttribInteger64bit.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexAttribInteger64bit.c @@ -10,20 +10,20 @@ typedef void (APIENTRY *glVertexAttribL1i64NVPROC) (jint, jlong); typedef void (APIENTRY *glVertexAttribL2i64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glVertexAttribL3i64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glVertexAttribL4i64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glVertexAttribL1i64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL2i64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL3i64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL4i64vNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttribL1i64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL2i64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL3i64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL4i64vNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttribL1ui64NVPROC) (jint, jlong); typedef void (APIENTRY *glVertexAttribL2ui64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glVertexAttribL3ui64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glVertexAttribL4ui64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glVertexAttribL1ui64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL2ui64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL3ui64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribL4ui64vNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribLi64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribLui64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glVertexAttribL1ui64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL2ui64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL3ui64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribL4ui64vNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribLi64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribLui64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glVertexAttribLFormatNVPROC) (jint, jint, jint, jint); EXTERN_C_ENTER @@ -54,28 +54,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_glVertex JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL1i64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL1i64vNVPROC glVertexAttribL1i64vNV = (glVertexAttribL1i64vNVPROC)tlsGetFunction(2181); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL1i64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL2i64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL2i64vNVPROC glVertexAttribL2i64vNV = (glVertexAttribL2i64vNVPROC)tlsGetFunction(2182); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL2i64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL3i64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL3i64vNVPROC glVertexAttribL3i64vNV = (glVertexAttribL3i64vNVPROC)tlsGetFunction(2183); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL3i64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL4i64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL4i64vNVPROC glVertexAttribL4i64vNV = (glVertexAttribL4i64vNVPROC)tlsGetFunction(2184); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL4i64vNV(index, v); } @@ -106,42 +106,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_glVertex JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL1ui64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL1ui64vNVPROC glVertexAttribL1ui64vNV = (glVertexAttribL1ui64vNVPROC)tlsGetFunction(2189); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL1ui64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL2ui64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL2ui64vNVPROC glVertexAttribL2ui64vNV = (glVertexAttribL2ui64vNVPROC)tlsGetFunction(2190); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL2ui64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL3ui64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL3ui64vNVPROC glVertexAttribL3ui64vNV = (glVertexAttribL3ui64vNVPROC)tlsGetFunction(2191); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL3ui64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglVertexAttribL4ui64vNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribL4ui64vNVPROC glVertexAttribL4ui64vNV = (glVertexAttribL4ui64vNVPROC)tlsGetFunction(2192); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribL4ui64vNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglGetVertexAttribLi64vNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribLi64vNVPROC glGetVertexAttribLi64vNV = (glGetVertexAttribLi64vNVPROC)tlsGetFunction(2193); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribLi64vNV(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexAttribInteger64bit_nglGetVertexAttribLui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribLui64vNVPROC glGetVertexAttribLui64vNV = (glGetVertexAttribLui64vNVPROC)tlsGetFunction(2194); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribLui64vNV(index, pname, params); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexBufferUnifiedMemory.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexBufferUnifiedMemory.c index 8618bba9fc..f8f63cd31a 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexBufferUnifiedMemory.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVVertexBufferUnifiedMemory.c @@ -6,7 +6,7 @@ #include "common_tools.h" #include "opengl.h" -typedef void (APIENTRY *glBufferAddressRangeNVPROC) (jint, jint, jlong, intptr_t); +typedef void (APIENTRY *glBufferAddressRangeNVPROC) (jint, jint, jlong, uintptr_t); typedef void (APIENTRY *glVertexFormatNVPROC) (jint, jint, jint); typedef void (APIENTRY *glNormalFormatNVPROC) (jint, jint); typedef void (APIENTRY *glColorFormatNVPROC) (jint, jint, jint); @@ -17,14 +17,14 @@ typedef void (APIENTRY *glSecondaryColorFormatNVPROC) (jint, jint, jint); typedef void (APIENTRY *glFogCoordFormatNVPROC) (jint, jint); typedef void (APIENTRY *glVertexAttribFormatNVPROC) (jint, jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribIFormatNVPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glGetIntegerui64i_vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetIntegerui64i_vNVPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexBufferUnifiedMemory_glBufferAddressRangeNV(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong address, jlong length) { glBufferAddressRangeNVPROC glBufferAddressRangeNV = (glBufferAddressRangeNVPROC)tlsGetFunction(2196); UNUSED_PARAM(clazz) - glBufferAddressRangeNV(pname, index, address, (intptr_t)length); + glBufferAddressRangeNV(pname, index, address, (uintptr_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexBufferUnifiedMemory_glVertexFormatNV(JNIEnv *__env, jclass clazz, jint size, jint type, jint stride) { @@ -89,7 +89,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexBufferUnifiedMemory_glVerte JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVVertexBufferUnifiedMemory_nglGetIntegerui64i_1vNV__IIJ(JNIEnv *__env, jclass clazz, jint value, jint index, jlong resultAddress) { glGetIntegerui64i_vNVPROC glGetIntegerui64i_vNV = (glGetIntegerui64i_vNVPROC)tlsGetFunction(2207); - intptr_t result = (intptr_t)resultAddress; + uintptr_t result = (uintptr_t)resultAddress; UNUSED_PARAM(clazz) glGetIntegerui64i_vNV(value, index, result); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXGpuMulticast2.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXGpuMulticast2.c index 998067716c..b556a5d03f 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXGpuMulticast2.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXGpuMulticast2.c @@ -6,33 +6,33 @@ #include "common_tools.h" #include "opengl.h" -typedef jint (APIENTRY *glAsyncCopyImageSubDataNVXPROC) (jint, intptr_t, intptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t, intptr_t); -typedef intptr_t (APIENTRY *glAsyncCopyBufferSubDataNVXPROC) (jint, intptr_t, intptr_t, jint, jint, jint, jint, intptr_t, intptr_t, intptr_t, jint, intptr_t, intptr_t); +typedef jint (APIENTRY *glAsyncCopyImageSubDataNVXPROC) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *glAsyncCopyBufferSubDataNVXPROC) (jint, uintptr_t, uintptr_t, jint, jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glUploadGpuMaskNVXPROC) (jint); -typedef void (APIENTRY *glMulticastViewportArrayvNVXPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glMulticastScissorArrayvNVXPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glMulticastViewportArrayvNVXPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glMulticastScissorArrayvNVXPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMulticastViewportPositionWScaleNVXPROC) (jint, jint, jfloat, jfloat); EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_nglAsyncCopyImageSubDataNVX__IJJIIIIIIIIIIIIIIIIIIJJ(JNIEnv *__env, jclass clazz, jint waitSemaphoreCount, jlong waitSemaphoreArrayAddress, jlong waitValueArrayAddress, jint srcGpu, jint dstGpuMask, jint srcName, jint srcTarget, jint srcLevel, jint srcX, jint srcY, jint srcZ, jint dstName, jint dstTarget, jint dstLevel, jint dstX, jint dstY, jint dstZ, jint srcWidth, jint srcHeight, jint srcDepth, jint signalSemaphoreCount, jlong signalSemaphoreArrayAddress, jlong signalValueArrayAddress) { glAsyncCopyImageSubDataNVXPROC glAsyncCopyImageSubDataNVX = (glAsyncCopyImageSubDataNVXPROC)tlsGetFunction(2211); - intptr_t waitSemaphoreArray = (intptr_t)waitSemaphoreArrayAddress; - intptr_t waitValueArray = (intptr_t)waitValueArrayAddress; - intptr_t signalSemaphoreArray = (intptr_t)signalSemaphoreArrayAddress; - intptr_t signalValueArray = (intptr_t)signalValueArrayAddress; + uintptr_t waitSemaphoreArray = (uintptr_t)waitSemaphoreArrayAddress; + uintptr_t waitValueArray = (uintptr_t)waitValueArrayAddress; + uintptr_t signalSemaphoreArray = (uintptr_t)signalSemaphoreArrayAddress; + uintptr_t signalValueArray = (uintptr_t)signalValueArrayAddress; UNUSED_PARAM(clazz) return (jint)glAsyncCopyImageSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_nglAsyncCopyBufferSubDataNVX__IJJIIIIJJJIJJ(JNIEnv *__env, jclass clazz, jint waitSemaphoreCount, jlong waitSemaphoreArrayAddress, jlong fenceValueArrayAddress, jint readGpu, jint writeGpuMask, jint readBuffer, jint writeBuffer, jlong readOffset, jlong writeOffset, jlong size, jint signalSemaphoreCount, jlong signalSemaphoreArrayAddress, jlong signalValueArrayAddress) { glAsyncCopyBufferSubDataNVXPROC glAsyncCopyBufferSubDataNVX = (glAsyncCopyBufferSubDataNVXPROC)tlsGetFunction(2212); - intptr_t waitSemaphoreArray = (intptr_t)waitSemaphoreArrayAddress; - intptr_t fenceValueArray = (intptr_t)fenceValueArrayAddress; - intptr_t signalSemaphoreArray = (intptr_t)signalSemaphoreArrayAddress; - intptr_t signalValueArray = (intptr_t)signalValueArrayAddress; + uintptr_t waitSemaphoreArray = (uintptr_t)waitSemaphoreArrayAddress; + uintptr_t fenceValueArray = (uintptr_t)fenceValueArrayAddress; + uintptr_t signalSemaphoreArray = (uintptr_t)signalSemaphoreArrayAddress; + uintptr_t signalValueArray = (uintptr_t)signalValueArrayAddress; UNUSED_PARAM(clazz) - return (jlong)glAsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); + return (jlong)glAsyncCopyBufferSubDataNVX(waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_glUploadGpuMaskNVX(JNIEnv *__env, jclass clazz, jint mask) { @@ -43,14 +43,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_glUploadGpuMaskNVX JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_nglMulticastViewportArrayvNVX__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint first, jint count, jlong vAddress) { glMulticastViewportArrayvNVXPROC glMulticastViewportArrayvNVX = (glMulticastViewportArrayvNVXPROC)tlsGetFunction(2214); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMulticastViewportArrayvNVX(gpu, first, count, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXGpuMulticast2_nglMulticastScissorArrayvNVX__IIIJ(JNIEnv *__env, jclass clazz, jint gpu, jint first, jint count, jlong vAddress) { glMulticastScissorArrayvNVXPROC glMulticastScissorArrayvNVX = (glMulticastScissorArrayvNVXPROC)tlsGetFunction(2215); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glMulticastScissorArrayvNVX(gpu, first, count, v); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXProgressFence.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXProgressFence.c index e72b11a7ad..033653c0e0 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXProgressFence.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_NVXProgressFence.c @@ -7,9 +7,9 @@ #include "opengl.h" typedef jint (APIENTRY *glCreateProgressFenceNVXPROC) (void); -typedef void (APIENTRY *glSignalSemaphoreui64NVXPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glWaitSemaphoreui64NVXPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glClientWaitSemaphoreui64NVXPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glSignalSemaphoreui64NVXPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glWaitSemaphoreui64NVXPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glClientWaitSemaphoreui64NVXPROC) (jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -21,24 +21,24 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_NVXProgressFence_glCreateProgressFe JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXProgressFence_nglSignalSemaphoreui64NVX__IIJJ(JNIEnv *__env, jclass clazz, jint signalGpu, jint fenceObjectCount, jlong semaphoreArrayAddress, jlong fenceValueArrayAddress) { glSignalSemaphoreui64NVXPROC glSignalSemaphoreui64NVX = (glSignalSemaphoreui64NVXPROC)tlsGetFunction(2218); - intptr_t semaphoreArray = (intptr_t)semaphoreArrayAddress; - intptr_t fenceValueArray = (intptr_t)fenceValueArrayAddress; + uintptr_t semaphoreArray = (uintptr_t)semaphoreArrayAddress; + uintptr_t fenceValueArray = (uintptr_t)fenceValueArrayAddress; UNUSED_PARAM(clazz) glSignalSemaphoreui64NVX(signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXProgressFence_nglWaitSemaphoreui64NVX__IIJJ(JNIEnv *__env, jclass clazz, jint waitGpu, jint fenceObjectCount, jlong semaphoreArrayAddress, jlong fenceValueArrayAddress) { glWaitSemaphoreui64NVXPROC glWaitSemaphoreui64NVX = (glWaitSemaphoreui64NVXPROC)tlsGetFunction(2219); - intptr_t semaphoreArray = (intptr_t)semaphoreArrayAddress; - intptr_t fenceValueArray = (intptr_t)fenceValueArrayAddress; + uintptr_t semaphoreArray = (uintptr_t)semaphoreArrayAddress; + uintptr_t fenceValueArray = (uintptr_t)fenceValueArrayAddress; UNUSED_PARAM(clazz) glWaitSemaphoreui64NVX(waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVXProgressFence_nglClientWaitSemaphoreui64NVX__IJJ(JNIEnv *__env, jclass clazz, jint fenceObjectCount, jlong semaphoreArrayAddress, jlong fenceValueArrayAddress) { glClientWaitSemaphoreui64NVXPROC glClientWaitSemaphoreui64NVX = (glClientWaitSemaphoreui64NVXPROC)tlsGetFunction(2220); - intptr_t semaphoreArray = (intptr_t)semaphoreArrayAddress; - intptr_t fenceValueArray = (intptr_t)fenceValueArrayAddress; + uintptr_t semaphoreArray = (uintptr_t)semaphoreArrayAddress; + uintptr_t fenceValueArray = (uintptr_t)fenceValueArrayAddress; UNUSED_PARAM(clazz) glClientWaitSemaphoreui64NVX(fenceObjectCount, semaphoreArray, fenceValueArray); } diff --git a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_WGL.c b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_WGL.c index 6f5ffeeca2..b4804901ce 100644 --- a/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_WGL.c +++ b/modules/lwjgl/opengl/src/generated/c/org_lwjgl_opengl_WGL.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "WindowsLWJGL.h" -typedef intptr_t (APIENTRY *wglCreateContextPROC) (intptr_t); -typedef intptr_t (APIENTRY *wglCreateLayerContextPROC) (intptr_t, jint); -typedef jint (APIENTRY *wglCopyContextPROC) (intptr_t, intptr_t, jint); -typedef jint (APIENTRY *wglDeleteContextPROC) (intptr_t); -typedef intptr_t (APIENTRY *wglGetCurrentContextPROC) (void); -typedef intptr_t (APIENTRY *wglGetCurrentDCPROC) (void); -typedef intptr_t (APIENTRY *wglGetProcAddressPROC) (intptr_t); -typedef jint (APIENTRY *wglMakeCurrentPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *wglShareListsPROC) (intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *wglCreateContextPROC) (uintptr_t); +typedef uintptr_t (APIENTRY *wglCreateLayerContextPROC) (uintptr_t, jint); +typedef jint (APIENTRY *wglCopyContextPROC) (uintptr_t, uintptr_t, jint); +typedef jint (APIENTRY *wglDeleteContextPROC) (uintptr_t); +typedef uintptr_t (APIENTRY *wglGetCurrentContextPROC) (void); +typedef uintptr_t (APIENTRY *wglGetCurrentDCPROC) (void); +typedef uintptr_t (APIENTRY *wglGetProcAddressPROC) (uintptr_t); +typedef jint (APIENTRY *wglMakeCurrentPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *wglShareListsPROC) (uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglCreateContext(JNIEnv *__env, jclass clazz, jlong hdcAddress, jlong __functionAddress) { - wglCreateContextPROC wglCreateContext = (wglCreateContextPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; + wglCreateContextPROC wglCreateContext = (wglCreateContextPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)wglCreateContext(hdc); @@ -29,8 +29,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglCreateContext(JNIEnv *__en } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglCreateLayerContext(JNIEnv *__env, jclass clazz, jlong hdcAddress, jint layerPlane, jlong __functionAddress) { - wglCreateLayerContextPROC wglCreateLayerContext = (wglCreateLayerContextPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; + wglCreateLayerContextPROC wglCreateLayerContext = (wglCreateLayerContextPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)wglCreateLayerContext(hdc, layerPlane); @@ -39,9 +39,9 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglCreateLayerContext(JNIEnv } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglCopyContext(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong dstAddress, jint mask, jlong __functionAddress) { - wglCopyContextPROC wglCopyContext = (wglCopyContextPROC)(intptr_t)__functionAddress; - intptr_t src = (intptr_t)srcAddress; - intptr_t dst = (intptr_t)dstAddress; + wglCopyContextPROC wglCopyContext = (wglCopyContextPROC)(uintptr_t)__functionAddress; + uintptr_t src = (uintptr_t)srcAddress; + uintptr_t dst = (uintptr_t)dstAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)wglCopyContext(src, dst, mask); @@ -50,8 +50,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglCopyContext(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglDeleteContext(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong __functionAddress) { - wglDeleteContextPROC wglDeleteContext = (wglDeleteContextPROC)(intptr_t)__functionAddress; - intptr_t context = (intptr_t)contextAddress; + wglDeleteContextPROC wglDeleteContext = (wglDeleteContextPROC)(uintptr_t)__functionAddress; + uintptr_t context = (uintptr_t)contextAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)wglDeleteContext(context); @@ -60,7 +60,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglDeleteContext(JNIEnv *__env } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetCurrentContext(JNIEnv *__env, jclass clazz, jlong __functionAddress) { - wglGetCurrentContextPROC wglGetCurrentContext = (wglGetCurrentContextPROC)(intptr_t)__functionAddress; + wglGetCurrentContextPROC wglGetCurrentContext = (wglGetCurrentContextPROC)(uintptr_t)__functionAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)wglGetCurrentContext(); @@ -69,7 +69,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetCurrentContext(JNIEnv * } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetCurrentDC(JNIEnv *__env, jclass clazz, jlong __functionAddress) { - wglGetCurrentDCPROC wglGetCurrentDC = (wglGetCurrentDCPROC)(intptr_t)__functionAddress; + wglGetCurrentDCPROC wglGetCurrentDC = (wglGetCurrentDCPROC)(uintptr_t)__functionAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)wglGetCurrentDC(); @@ -78,8 +78,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetCurrentDC(JNIEnv *__env } JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetProcAddress(JNIEnv *__env, jclass clazz, jlong procAddress, jlong __functionAddress) { - wglGetProcAddressPROC wglGetProcAddress = (wglGetProcAddressPROC)(intptr_t)__functionAddress; - intptr_t proc = (intptr_t)procAddress; + wglGetProcAddressPROC wglGetProcAddress = (wglGetProcAddressPROC)(uintptr_t)__functionAddress; + uintptr_t proc = (uintptr_t)procAddress; jlong __result; UNUSED_PARAMS(__env, clazz) __result = (jlong)wglGetProcAddress(proc); @@ -88,9 +88,9 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_WGL_nwglGetProcAddress(JNIEnv *__e } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglMakeCurrent(JNIEnv *__env, jclass clazz, jlong hdcAddress, jlong hglrcAddress, jlong __functionAddress) { - wglMakeCurrentPROC wglMakeCurrent = (wglMakeCurrentPROC)(intptr_t)__functionAddress; - intptr_t hdc = (intptr_t)hdcAddress; - intptr_t hglrc = (intptr_t)hglrcAddress; + wglMakeCurrentPROC wglMakeCurrent = (wglMakeCurrentPROC)(uintptr_t)__functionAddress; + uintptr_t hdc = (uintptr_t)hdcAddress; + uintptr_t hglrc = (uintptr_t)hglrcAddress; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)wglMakeCurrent(hdc, hglrc); @@ -99,9 +99,9 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglMakeCurrent(JNIEnv *__env, } JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_WGL_nwglShareLists(JNIEnv *__env, jclass clazz, jlong hglrc1Address, jlong hglrc2Address, jlong __functionAddress) { - wglShareListsPROC wglShareLists = (wglShareListsPROC)(intptr_t)__functionAddress; - intptr_t hglrc1 = (intptr_t)hglrc1Address; - intptr_t hglrc2 = (intptr_t)hglrc2Address; + wglShareListsPROC wglShareLists = (wglShareListsPROC)(uintptr_t)__functionAddress; + uintptr_t hglrc1 = (uintptr_t)hglrc1Address; + uintptr_t hglrc2 = (uintptr_t)hglrc2Address; jint __result; UNUSED_PARAMS(__env, clazz) __result = (jint)wglShareLists(hglrc1, hglrc2); diff --git a/modules/lwjgl/opengl/src/main/c/opengl.h b/modules/lwjgl/opengl/src/main/c/opengl.h index 1d3a0250e1..e2b6d0858b 100644 --- a/modules/lwjgl/opengl/src/main/c/opengl.h +++ b/modules/lwjgl/opengl/src/main/c/opengl.h @@ -11,4 +11,4 @@ #define APIENTRY #endif -#define tlsGetFunction(index) (intptr_t)((void **)(*__env)->reserved3)[index] +#define tlsGetFunction(index) (uintptr_t)((void **)(*__env)->reserved3)[index] diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_AMDPerformanceMonitor.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_AMDPerformanceMonitor.c index 9c76afe5fe..a41493f4da 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_AMDPerformanceMonitor.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_AMDPerformanceMonitor.c @@ -6,77 +6,77 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetPerfMonitorGroupsAMDPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCountersAMDPROC) (jint, intptr_t, intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorGroupStringAMDPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCounterStringAMDPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfMonitorCounterInfoAMDPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGenPerfMonitorsAMDPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeletePerfMonitorsAMDPROC) (jint, intptr_t); -typedef void (APIENTRY *glSelectPerfMonitorCountersAMDPROC) (jint, jboolean, jint, jint, intptr_t); +typedef void (APIENTRY *glGetPerfMonitorGroupsAMDPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCountersAMDPROC) (jint, uintptr_t, uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorGroupStringAMDPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterStringAMDPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterInfoAMDPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGenPerfMonitorsAMDPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeletePerfMonitorsAMDPROC) (jint, uintptr_t); +typedef void (APIENTRY *glSelectPerfMonitorCountersAMDPROC) (jint, jboolean, jint, jint, uintptr_t); typedef void (APIENTRY *glBeginPerfMonitorAMDPROC) (jint); typedef void (APIENTRY *glEndPerfMonitorAMDPROC) (jint); -typedef void (APIENTRY *glGetPerfMonitorCounterDataAMDPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetPerfMonitorCounterDataAMDPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorGroupsAMD__JIJ(JNIEnv *__env, jclass clazz, jlong numGroupsAddress, jint groupsSize, jlong groupsAddress) { glGetPerfMonitorGroupsAMDPROC glGetPerfMonitorGroupsAMD = (glGetPerfMonitorGroupsAMDPROC)tlsGetFunction(360); - intptr_t numGroups = (intptr_t)numGroupsAddress; - intptr_t groups = (intptr_t)groupsAddress; + uintptr_t numGroups = (uintptr_t)numGroupsAddress; + uintptr_t groups = (uintptr_t)groupsAddress; UNUSED_PARAM(clazz) glGetPerfMonitorGroupsAMD(numGroups, groupsSize, groups); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorCountersAMD__IJJIJ(JNIEnv *__env, jclass clazz, jint group, jlong numCountersAddress, jlong maxActiveCountersAddress, jint counterSize, jlong countersAddress) { glGetPerfMonitorCountersAMDPROC glGetPerfMonitorCountersAMD = (glGetPerfMonitorCountersAMDPROC)tlsGetFunction(361); - intptr_t numCounters = (intptr_t)numCountersAddress; - intptr_t maxActiveCounters = (intptr_t)maxActiveCountersAddress; - intptr_t counters = (intptr_t)countersAddress; + uintptr_t numCounters = (uintptr_t)numCountersAddress; + uintptr_t maxActiveCounters = (uintptr_t)maxActiveCountersAddress; + uintptr_t counters = (uintptr_t)countersAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCountersAMD(group, numCounters, maxActiveCounters, counterSize, counters); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorGroupStringAMD__IIJJ(JNIEnv *__env, jclass clazz, jint group, jint bufSize, jlong lengthAddress, jlong groupStringAddress) { glGetPerfMonitorGroupStringAMDPROC glGetPerfMonitorGroupStringAMD = (glGetPerfMonitorGroupStringAMDPROC)tlsGetFunction(362); - intptr_t length = (intptr_t)lengthAddress; - intptr_t groupString = (intptr_t)groupStringAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t groupString = (uintptr_t)groupStringAddress; UNUSED_PARAM(clazz) glGetPerfMonitorGroupStringAMD(group, bufSize, length, groupString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorCounterStringAMD__IIIJJ(JNIEnv *__env, jclass clazz, jint group, jint counter, jint bufSize, jlong lengthAddress, jlong counterStringAddress) { glGetPerfMonitorCounterStringAMDPROC glGetPerfMonitorCounterStringAMD = (glGetPerfMonitorCounterStringAMDPROC)tlsGetFunction(363); - intptr_t length = (intptr_t)lengthAddress; - intptr_t counterString = (intptr_t)counterStringAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t counterString = (uintptr_t)counterStringAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorCounterInfoAMD__IIIJ(JNIEnv *__env, jclass clazz, jint group, jint counter, jint pname, jlong dataAddress) { glGetPerfMonitorCounterInfoAMDPROC glGetPerfMonitorCounterInfoAMD = (glGetPerfMonitorCounterInfoAMDPROC)tlsGetFunction(364); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterInfoAMD(group, counter, pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGenPerfMonitorsAMD__IJ(JNIEnv *__env, jclass clazz, jint n, jlong monitorsAddress) { glGenPerfMonitorsAMDPROC glGenPerfMonitorsAMD = (glGenPerfMonitorsAMDPROC)tlsGetFunction(365); - intptr_t monitors = (intptr_t)monitorsAddress; + uintptr_t monitors = (uintptr_t)monitorsAddress; UNUSED_PARAM(clazz) glGenPerfMonitorsAMD(n, monitors); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglDeletePerfMonitorsAMD__IJ(JNIEnv *__env, jclass clazz, jint n, jlong monitorsAddress) { glDeletePerfMonitorsAMDPROC glDeletePerfMonitorsAMD = (glDeletePerfMonitorsAMDPROC)tlsGetFunction(366); - intptr_t monitors = (intptr_t)monitorsAddress; + uintptr_t monitors = (uintptr_t)monitorsAddress; UNUSED_PARAM(clazz) glDeletePerfMonitorsAMD(n, monitors); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglSelectPerfMonitorCountersAMD__IZIIJ(JNIEnv *__env, jclass clazz, jint monitor, jboolean enable, jint group, jint numCounters, jlong counterListAddress) { glSelectPerfMonitorCountersAMDPROC glSelectPerfMonitorCountersAMD = (glSelectPerfMonitorCountersAMDPROC)tlsGetFunction(367); - intptr_t counterList = (intptr_t)counterListAddress; + uintptr_t counterList = (uintptr_t)counterListAddress; UNUSED_PARAM(clazz) glSelectPerfMonitorCountersAMD(monitor, enable, group, numCounters, counterList); } @@ -95,8 +95,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_glEndPerfMo JNIEXPORT void JNICALL Java_org_lwjgl_opengles_AMDPerformanceMonitor_nglGetPerfMonitorCounterDataAMD__IIIJJ(JNIEnv *__env, jclass clazz, jint monitor, jint pname, jint dataSize, jlong dataAddress, jlong bytesWrittenAddress) { glGetPerfMonitorCounterDataAMDPROC glGetPerfMonitorCounterDataAMD = (glGetPerfMonitorCounterDataAMDPROC)tlsGetFunction(370); - intptr_t data = (intptr_t)dataAddress; - intptr_t bytesWritten = (intptr_t)bytesWrittenAddress; + uintptr_t data = (uintptr_t)dataAddress; + uintptr_t bytesWritten = (uintptr_t)bytesWrittenAddress; UNUSED_PARAM(clazz) glGetPerfMonitorCounterDataAMD(monitor, pname, dataSize, data, bytesWritten); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLEInstancedArrays.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLEInstancedArrays.c index 12163229f4..7d36c39977 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLEInstancedArrays.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLEInstancedArrays.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glDrawArraysInstancedANGLEPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedANGLEPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedANGLEPROC) (jint, jint, jint, uintptr_t, jint); typedef void (APIENTRY *glVertexAttribDivisorANGLEPROC) (jint, jint); EXTERN_C_ENTER @@ -20,7 +20,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_ANGLEInstancedArrays_glDrawArrays JNIEXPORT void JNICALL Java_org_lwjgl_opengles_ANGLEInstancedArrays_nglDrawElementsInstancedANGLE(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedANGLEPROC glDrawElementsInstancedANGLE = (glDrawElementsInstancedANGLEPROC)tlsGetFunction(374); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedANGLE(mode, count, type, indices, primcount); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLETranslatedShaderSource.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLETranslatedShaderSource.c index 9582796ea3..fc982db302 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLETranslatedShaderSource.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_ANGLETranslatedShaderSource.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetTranslatedShaderSourceANGLEPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetTranslatedShaderSourceANGLEPROC) (jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_ANGLETranslatedShaderSource_nglGetTranslatedShaderSourceANGLE__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint bufsize, jlong lengthAddress, jlong sourceAddress) { glGetTranslatedShaderSourceANGLEPROC glGetTranslatedShaderSourceANGLE = (glGetTranslatedShaderSourceANGLEPROC)tlsGetFunction(376); - intptr_t length = (intptr_t)lengthAddress; - intptr_t source = (intptr_t)sourceAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t source = (uintptr_t)sourceAddress; UNUSED_PARAM(clazz) glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_APPLESync.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_APPLESync.c index cd4ab7092f..4fa418046c 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_APPLESync.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_APPLESync.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef intptr_t (APIENTRY *glFenceSyncAPPLEPROC) (jint, jint); -typedef jboolean (APIENTRY *glIsSyncAPPLEPROC) (intptr_t); -typedef void (APIENTRY *glDeleteSyncAPPLEPROC) (intptr_t); -typedef jint (APIENTRY *glClientWaitSyncAPPLEPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glWaitSyncAPPLEPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glGetInteger64vAPPLEPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetSyncivAPPLEPROC) (intptr_t, jint, jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glFenceSyncAPPLEPROC) (jint, jint); +typedef jboolean (APIENTRY *glIsSyncAPPLEPROC) (uintptr_t); +typedef void (APIENTRY *glDeleteSyncAPPLEPROC) (uintptr_t); +typedef jint (APIENTRY *glClientWaitSyncAPPLEPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glWaitSyncAPPLEPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glGetInteger64vAPPLEPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetSyncivAPPLEPROC) (uintptr_t, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -24,44 +24,44 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_APPLESync_glFenceSyncAPPLE(JNIEn JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_APPLESync_nglIsSyncAPPLE(JNIEnv *__env, jclass clazz, jlong syncAddress) { glIsSyncAPPLEPROC glIsSyncAPPLE = (glIsSyncAPPLEPROC)tlsGetFunction(381); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jboolean)glIsSyncAPPLE(sync); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_APPLESync_nglDeleteSyncAPPLE(JNIEnv *__env, jclass clazz, jlong syncAddress) { glDeleteSyncAPPLEPROC glDeleteSyncAPPLE = (glDeleteSyncAPPLEPROC)tlsGetFunction(382); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glDeleteSyncAPPLE(sync); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_APPLESync_nglClientWaitSyncAPPLE(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glClientWaitSyncAPPLEPROC glClientWaitSyncAPPLE = (glClientWaitSyncAPPLEPROC)tlsGetFunction(383); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jint)glClientWaitSyncAPPLE(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_APPLESync_nglWaitSyncAPPLE(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glWaitSyncAPPLEPROC glWaitSyncAPPLE = (glWaitSyncAPPLEPROC)tlsGetFunction(384); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glWaitSyncAPPLE(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_APPLESync_nglGetInteger64vAPPLE__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetInteger64vAPPLEPROC glGetInteger64vAPPLE = (glGetInteger64vAPPLEPROC)tlsGetFunction(385); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInteger64vAPPLE(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_APPLESync_nglGetSyncivAPPLE__JIIJJ(JNIEnv *__env, jclass clazz, jlong syncAddress, jint pname, jint bufSize, jlong lengthAddress, jlong valuesAddress) { glGetSyncivAPPLEPROC glGetSyncivAPPLE = (glGetSyncivAPPLEPROC)tlsGetFunction(386); - intptr_t sync = (intptr_t)syncAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t values = (intptr_t)valuesAddress; + uintptr_t sync = (uintptr_t)syncAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetSyncivAPPLE(sync, pname, bufSize, length, values); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBaseInstance.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBaseInstance.c index a0b886b1ba..e2829cfea5 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBaseInstance.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBaseInstance.c @@ -7,8 +7,8 @@ #include "opengles.h" typedef void (APIENTRY *glDrawArraysInstancedBaseInstanceEXTPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseInstanceEXTPROC) (jint, jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexBaseInstanceEXTPROC) (jint, jint, jint, intptr_t, jint, jint, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseInstanceEXTPROC) (jint, jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexBaseInstanceEXTPROC) (jint, jint, jint, uintptr_t, jint, jint, jint); EXTERN_C_ENTER @@ -20,14 +20,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBaseInstance_glDrawArraysInsta JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBaseInstance_nglDrawElementsInstancedBaseInstanceEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount, jint baseinstance) { glDrawElementsInstancedBaseInstanceEXTPROC glDrawElementsInstancedBaseInstanceEXT = (glDrawElementsInstancedBaseInstanceEXTPROC)tlsGetFunction(388); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseInstanceEXT(mode, count, type, indices, instancecount, baseinstance); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBaseInstance_nglDrawElementsInstancedBaseVertexBaseInstanceEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount, jint basevertex, jint baseinstance) { glDrawElementsInstancedBaseVertexBaseInstanceEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT = (glDrawElementsInstancedBaseVertexBaseInstanceEXTPROC)tlsGetFunction(389); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertexBaseInstanceEXT(mode, count, type, indices, instancecount, basevertex, baseinstance); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBlendFuncExtended.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBlendFuncExtended.c index 36b0bff250..61242ac039 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBlendFuncExtended.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBlendFuncExtended.c @@ -6,37 +6,37 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glBindFragDataLocationIndexedEXTPROC) (jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glGetFragDataIndexEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glBindFragDataLocationEXTPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceLocationIndexEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glBindFragDataLocationIndexedEXTPROC) (jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetFragDataIndexEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glBindFragDataLocationEXTPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceLocationIndexEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBlendFuncExtended_nglBindFragDataLocationIndexedEXT(JNIEnv *__env, jclass clazz, jint program, jint colorNumber, jint index, jlong nameAddress) { glBindFragDataLocationIndexedEXTPROC glBindFragDataLocationIndexedEXT = (glBindFragDataLocationIndexedEXTPROC)tlsGetFunction(390); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindFragDataLocationIndexedEXT(program, colorNumber, index, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_EXTBlendFuncExtended_nglGetFragDataIndexEXT(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetFragDataIndexEXTPROC glGetFragDataIndexEXT = (glGetFragDataIndexEXTPROC)tlsGetFunction(391); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetFragDataIndexEXT(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBlendFuncExtended_nglBindFragDataLocationEXT(JNIEnv *__env, jclass clazz, jint program, jint colorNumber, jlong nameAddress) { glBindFragDataLocationEXTPROC glBindFragDataLocationEXT = (glBindFragDataLocationEXTPROC)tlsGetFunction(392); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindFragDataLocationEXT(program, colorNumber, name); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_EXTBlendFuncExtended_nglGetProgramResourceLocationIndexEXT(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceLocationIndexEXTPROC glGetProgramResourceLocationIndexEXT = (glGetProgramResourceLocationIndexEXTPROC)tlsGetFunction(393); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceLocationIndexEXT(program, programInterface, name); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBufferStorage.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBufferStorage.c index b9d6855662..e3256a355b 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBufferStorage.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTBufferStorage.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glBufferStorageEXTPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferStorageEXTPROC) (jint, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glBufferStorageEXTPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferStorageEXTPROC) (jint, uintptr_t, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBufferStorage_nglBufferStorageEXT__IJJI(JNIEnv *__env, jclass clazz, jint target, jlong size, jlong dataAddress, jint flags) { glBufferStorageEXTPROC glBufferStorageEXT = (glBufferStorageEXTPROC)tlsGetFunction(394); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferStorageEXT(target, (intptr_t)size, data, flags); + glBufferStorageEXT(target, (uintptr_t)size, data, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTBufferStorage_nglNamedBufferStorageEXT__IJJI(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jlong dataAddress, jint flags) { glNamedBufferStorageEXTPROC glNamedBufferStorageEXT = (glNamedBufferStorageEXTPROC)tlsGetFunction(395); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glNamedBufferStorageEXT(buffer, (intptr_t)size, data, flags); + glNamedBufferStorageEXT(buffer, (uintptr_t)size, data, flags); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTClearTexture.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTClearTexture.c index 9c559f6619..a08102c4a5 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTClearTexture.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTClearTexture.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glClearTexImageEXTPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glClearTexSubImageEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glClearTexImageEXTPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glClearTexSubImageEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTClearTexture_nglClearTexImageEXT__IIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint format, jint type, jlong dataAddress) { glClearTexImageEXTPROC glClearTexImageEXT = (glClearTexImageEXTPROC)tlsGetFunction(396); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearTexImageEXT(texture, level, format, type, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTClearTexture_nglClearTexSubImageEXT__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong dataAddress) { glClearTexSubImageEXTPROC glClearTexSubImageEXT = (glClearTexSubImageEXTPROC)tlsGetFunction(397); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glClearTexSubImageEXT(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugLabel.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugLabel.c index 5e8bc77bdf..f14f5eb60f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugLabel.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugLabel.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glLabelObjectEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectLabelEXTPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glLabelObjectEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectLabelEXTPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDebugLabel_nglLabelObjectEXT(JNIEnv *__env, jclass clazz, jint type, jint object, jint length, jlong labelAddress) { glLabelObjectEXTPROC glLabelObjectEXT = (glLabelObjectEXTPROC)tlsGetFunction(400); - intptr_t label = (intptr_t)labelAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glLabelObjectEXT(type, object, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDebugLabel_nglGetObjectLabelEXT__IIIJJ(JNIEnv *__env, jclass clazz, jint type, jint object, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectLabelEXTPROC glGetObjectLabelEXT = (glGetObjectLabelEXTPROC)tlsGetFunction(401); - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectLabelEXT(type, object, bufSize, length, label); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugMarker.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugMarker.c index d986fdb5df..de8daac537 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugMarker.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDebugMarker.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glInsertEventMarkerEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glPushGroupMarkerEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glInsertEventMarkerEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glPushGroupMarkerEXTPROC) (jint, uintptr_t); typedef void (APIENTRY *glPopGroupMarkerEXTPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDebugMarker_nglInsertEventMarkerEXT(JNIEnv *__env, jclass clazz, jint length, jlong markerAddress) { glInsertEventMarkerEXTPROC glInsertEventMarkerEXT = (glInsertEventMarkerEXTPROC)tlsGetFunction(402); - intptr_t marker = (intptr_t)markerAddress; + uintptr_t marker = (uintptr_t)markerAddress; UNUSED_PARAM(clazz) glInsertEventMarkerEXT(length, marker); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDebugMarker_nglPushGroupMarkerEXT(JNIEnv *__env, jclass clazz, jint length, jlong markerAddress) { glPushGroupMarkerEXTPROC glPushGroupMarkerEXT = (glPushGroupMarkerEXTPROC)tlsGetFunction(403); - intptr_t marker = (intptr_t)markerAddress; + uintptr_t marker = (uintptr_t)markerAddress; UNUSED_PARAM(clazz) glPushGroupMarkerEXT(length, marker); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDiscardFramebuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDiscardFramebuffer.c index 2b0d253e27..7ba7e9adde 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDiscardFramebuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDiscardFramebuffer.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDiscardFramebufferEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glDiscardFramebufferEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDiscardFramebuffer_nglDiscardFramebufferEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint numAttachments, jlong attachmentsAddress) { glDiscardFramebufferEXTPROC glDiscardFramebufferEXT = (glDiscardFramebufferEXTPROC)tlsGetFunction(405); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glDiscardFramebufferEXT(target, numAttachments, attachments); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDisjointTimerQuery.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDisjointTimerQuery.c index 26a21a585f..5925ab644c 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDisjointTimerQuery.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDisjointTimerQuery.c @@ -7,10 +7,10 @@ #include "opengles.h" typedef void (APIENTRY *glQueryCounterEXTPROC) (jint, jint); -typedef void (APIENTRY *glGetQueryObjectivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjecti64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectui64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetInteger64vEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetQueryObjectivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjecti64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectui64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetInteger64vEXTPROC) (jint, uintptr_t); EXTERN_C_ENTER @@ -22,28 +22,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDisjointTimerQuery_glQueryCoun JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDisjointTimerQuery_nglGetQueryObjectivEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectivEXTPROC glGetQueryObjectivEXT = (glGetQueryObjectivEXTPROC)tlsGetFunction(414); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectivEXT(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDisjointTimerQuery_nglGetQueryObjecti64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjecti64vEXTPROC glGetQueryObjecti64vEXT = (glGetQueryObjecti64vEXTPROC)tlsGetFunction(415); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjecti64vEXT(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDisjointTimerQuery_nglGetQueryObjectui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectui64vEXTPROC glGetQueryObjectui64vEXT = (glGetQueryObjectui64vEXTPROC)tlsGetFunction(416); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectui64vEXT(id, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDisjointTimerQuery_nglGetInteger64vEXT__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetInteger64vEXTPROC glGetInteger64vEXT = (glGetInteger64vEXTPROC)tlsGetFunction(417); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetInteger64vEXT(pname, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawBuffers.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawBuffers.c index 9335e00da4..b43429c46d 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawBuffers.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawBuffers.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDrawBuffersEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glDrawBuffersEXTPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDrawBuffers_nglDrawBuffersEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong bufsAddress) { glDrawBuffersEXTPROC glDrawBuffersEXT = (glDrawBuffersEXTPROC)tlsGetFunction(418); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glDrawBuffersEXT(n, bufs); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawElementsBaseVertex.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawElementsBaseVertex.c index e0b91461cd..0b8f947e5b 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawElementsBaseVertex.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTDrawElementsBaseVertex.c @@ -6,39 +6,39 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDrawElementsBaseVertexEXTPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawRangeElementsBaseVertexEXTPROC) (jint, jint, jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexEXTPROC) (jint, jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsBaseVertexEXTPROC) (jint, intptr_t, jint, intptr_t, jint, intptr_t); +typedef void (APIENTRY *glDrawElementsBaseVertexEXTPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawRangeElementsBaseVertexEXTPROC) (jint, jint, jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexEXTPROC) (jint, jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsBaseVertexEXTPROC) (jint, uintptr_t, jint, uintptr_t, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDrawElementsBaseVertex_nglDrawElementsBaseVertexEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawElementsBaseVertexEXTPROC glDrawElementsBaseVertexEXT = (glDrawElementsBaseVertexEXTPROC)tlsGetFunction(427); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsBaseVertexEXT(mode, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDrawElementsBaseVertex_nglDrawRangeElementsBaseVertexEXT(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawRangeElementsBaseVertexEXTPROC glDrawRangeElementsBaseVertexEXT = (glDrawRangeElementsBaseVertexEXTPROC)tlsGetFunction(428); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElementsBaseVertexEXT(mode, start, end, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDrawElementsBaseVertex_nglDrawElementsInstancedBaseVertexEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount, jint basevertex) { glDrawElementsInstancedBaseVertexEXTPROC glDrawElementsInstancedBaseVertexEXT = (glDrawElementsInstancedBaseVertexEXTPROC)tlsGetFunction(429); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertexEXT(mode, count, type, indices, instancecount, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTDrawElementsBaseVertex_nglMultiDrawElementsBaseVertexEXT__IJIJIJ(JNIEnv *__env, jclass clazz, jint mode, jlong countAddress, jint type, jlong indicesAddress, jint drawcount, jlong basevertexAddress) { glMultiDrawElementsBaseVertexEXTPROC glMultiDrawElementsBaseVertexEXT = (glMultiDrawElementsBaseVertexEXTPROC)tlsGetFunction(430); - intptr_t count = (intptr_t)countAddress; - intptr_t indices = (intptr_t)indicesAddress; - intptr_t basevertex = (intptr_t)basevertexAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t indices = (uintptr_t)indicesAddress; + uintptr_t basevertex = (uintptr_t)basevertexAddress; UNUSED_PARAM(clazz) glMultiDrawElementsBaseVertexEXT(mode, count, type, indices, drawcount, basevertex); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTEGLImageStorage.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTEGLImageStorage.c index 049c7359a5..e7ff6de0e0 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTEGLImageStorage.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTEGLImageStorage.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glEGLImageTargetTexStorageEXTPROC) (jint, intptr_t, intptr_t); -typedef void (APIENTRY *glEGLImageTargetTextureStorageEXTPROC) (jint, intptr_t, intptr_t); +typedef void (APIENTRY *glEGLImageTargetTexStorageEXTPROC) (jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glEGLImageTargetTextureStorageEXTPROC) (jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTEGLImageStorage_nglEGLImageTargetTexStorageEXT__IJJ(JNIEnv *__env, jclass clazz, jint target, jlong imageAddress, jlong attrib_listAddress) { glEGLImageTargetTexStorageEXTPROC glEGLImageTargetTexStorageEXT = (glEGLImageTargetTexStorageEXTPROC)tlsGetFunction(435); - intptr_t image = (intptr_t)imageAddress; - intptr_t attrib_list = (intptr_t)attrib_listAddress; + uintptr_t image = (uintptr_t)imageAddress; + uintptr_t attrib_list = (uintptr_t)attrib_listAddress; UNUSED_PARAM(clazz) glEGLImageTargetTexStorageEXT(target, image, attrib_list); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTEGLImageStorage_nglEGLImageTargetTextureStorageEXT__IJJ(JNIEnv *__env, jclass clazz, jint texture, jlong imageAddress, jlong attrib_listAddress) { glEGLImageTargetTextureStorageEXTPROC glEGLImageTargetTextureStorageEXT = (glEGLImageTargetTextureStorageEXTPROC)tlsGetFunction(436); - intptr_t image = (intptr_t)imageAddress; - intptr_t attrib_list = (intptr_t)attrib_listAddress; + uintptr_t image = (uintptr_t)imageAddress; + uintptr_t attrib_list = (uintptr_t)attrib_listAddress; UNUSED_PARAM(clazz) glEGLImageTargetTextureStorageEXT(texture, image, attrib_list); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTExternalBuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTExternalBuffer.c index ff9ff4ae88..26436961a8 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTExternalBuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTExternalBuffer.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glBufferStorageExternalEXTPROC) (jint, intptr_t, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glNamedBufferStorageExternalEXTPROC) (jint, intptr_t, intptr_t, intptr_t, jint); +typedef void (APIENTRY *glBufferStorageExternalEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glNamedBufferStorageExternalEXTPROC) (jint, uintptr_t, uintptr_t, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTExternalBuffer_nglBufferStorageExternalEXT(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong clientBufferAddress, jint flags) { glBufferStorageExternalEXTPROC glBufferStorageExternalEXT = (glBufferStorageExternalEXTPROC)tlsGetFunction(437); - intptr_t clientBuffer = (intptr_t)clientBufferAddress; + uintptr_t clientBuffer = (uintptr_t)clientBufferAddress; UNUSED_PARAM(clazz) - glBufferStorageExternalEXT(target, (intptr_t)offset, (intptr_t)size, clientBuffer, flags); + glBufferStorageExternalEXT(target, (uintptr_t)offset, (uintptr_t)size, clientBuffer, flags); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTExternalBuffer_nglNamedBufferStorageExternalEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jlong clientBufferAddress, jint flags) { glNamedBufferStorageExternalEXTPROC glNamedBufferStorageExternalEXT = (glNamedBufferStorageExternalEXTPROC)tlsGetFunction(438); - intptr_t clientBuffer = (intptr_t)clientBufferAddress; + uintptr_t clientBuffer = (uintptr_t)clientBufferAddress; UNUSED_PARAM(clazz) - glNamedBufferStorageExternalEXT(buffer, (intptr_t)offset, (intptr_t)size, clientBuffer, flags); + glNamedBufferStorageExternalEXT(buffer, (uintptr_t)offset, (uintptr_t)size, clientBuffer, flags); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTInstancedArrays.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTInstancedArrays.c index 381abb3d27..77735ab08e 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTInstancedArrays.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTInstancedArrays.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glDrawArraysInstancedEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedEXTPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedEXTPROC) (jint, jint, jint, uintptr_t, jint); typedef void (APIENTRY *glVertexAttribDivisorEXTPROC) (jint, jint); EXTERN_C_ENTER @@ -20,7 +20,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTInstancedArrays_glDrawArraysIn JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTInstancedArrays_nglDrawElementsInstancedEXT(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedEXTPROC glDrawElementsInstancedEXT = (glDrawElementsInstancedEXTPROC)tlsGetFunction(432); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedEXT(mode, count, type, indices, primcount); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMapBufferRange.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMapBufferRange.c index 2a84aa1d88..2276de63a7 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMapBufferRange.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMapBufferRange.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef intptr_t (APIENTRY *glMapBufferRangeEXTPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glFlushMappedBufferRangeEXTPROC) (jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glMapBufferRangeEXTPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glFlushMappedBufferRangeEXTPROC) (jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_EXTMapBufferRange_nglMapBufferRangeEXT(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length, jint access) { glMapBufferRangeEXTPROC glMapBufferRangeEXT = (glMapBufferRangeEXTPROC)tlsGetFunction(441); UNUSED_PARAM(clazz) - return (jlong)glMapBufferRangeEXT(target, (intptr_t)offset, (intptr_t)length, access); + return (jlong)glMapBufferRangeEXT(target, (uintptr_t)offset, (uintptr_t)length, access); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMapBufferRange_glFlushMappedBufferRangeEXT(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length) { glFlushMappedBufferRangeEXTPROC glFlushMappedBufferRangeEXT = (glFlushMappedBufferRangeEXTPROC)tlsGetFunction(442); UNUSED_PARAM(clazz) - glFlushMappedBufferRangeEXT(target, (intptr_t)offset, (intptr_t)length); + glFlushMappedBufferRangeEXT(target, (uintptr_t)offset, (uintptr_t)length); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObject.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObject.c index d50ca008fe..1b7a332d67 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObject.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObject.c @@ -6,43 +6,43 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetUnsignedBytevEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetUnsignedBytei_vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDeleteMemoryObjectsEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGetUnsignedBytevEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetUnsignedBytei_vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDeleteMemoryObjectsEXTPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsMemoryObjectEXTPROC) (jint); -typedef void (APIENTRY *glCreateMemoryObjectsEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glMemoryObjectParameterivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetMemoryObjectParameterivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCreateMemoryObjectsEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMemoryObjectParameterivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetMemoryObjectParameterivEXTPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexStorageMem2DEXTPROC) (jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTexStorageMem2DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, jlong); typedef void (APIENTRY *glTexStorageMem3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTexStorageMem3DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong); -typedef void (APIENTRY *glBufferStorageMemEXTPROC) (jint, intptr_t, jint, jlong); +typedef void (APIENTRY *glBufferStorageMemEXTPROC) (jint, uintptr_t, jint, jlong); typedef void (APIENTRY *glTextureStorageMem2DEXTPROC) (jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTextureStorageMem2DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jboolean, jint, jlong); typedef void (APIENTRY *glTextureStorageMem3DEXTPROC) (jint, jint, jint, jint, jint, jint, jint, jlong); typedef void (APIENTRY *glTextureStorageMem3DMultisampleEXTPROC) (jint, jint, jint, jint, jint, jint, jboolean, jint, jlong); -typedef void (APIENTRY *glNamedBufferStorageMemEXTPROC) (jint, intptr_t, jint, jlong); +typedef void (APIENTRY *glNamedBufferStorageMemEXTPROC) (jint, uintptr_t, jint, jlong); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglGetUnsignedBytevEXT(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetUnsignedBytevEXTPROC glGetUnsignedBytevEXT = (glGetUnsignedBytevEXTPROC)tlsGetFunction(443); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetUnsignedBytevEXT(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglGetUnsignedBytei_1vEXT(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetUnsignedBytei_vEXTPROC glGetUnsignedBytei_vEXT = (glGetUnsignedBytei_vEXTPROC)tlsGetFunction(444); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetUnsignedBytei_vEXT(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglDeleteMemoryObjectsEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong memoryObjectsAddress) { glDeleteMemoryObjectsEXTPROC glDeleteMemoryObjectsEXT = (glDeleteMemoryObjectsEXTPROC)tlsGetFunction(445); - intptr_t memoryObjects = (intptr_t)memoryObjectsAddress; + uintptr_t memoryObjects = (uintptr_t)memoryObjectsAddress; UNUSED_PARAM(clazz) glDeleteMemoryObjectsEXT(n, memoryObjects); } @@ -55,21 +55,21 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glIsMemoryObj JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglCreateMemoryObjectsEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong memoryObjectsAddress) { glCreateMemoryObjectsEXTPROC glCreateMemoryObjectsEXT = (glCreateMemoryObjectsEXTPROC)tlsGetFunction(447); - intptr_t memoryObjects = (intptr_t)memoryObjectsAddress; + uintptr_t memoryObjects = (uintptr_t)memoryObjectsAddress; UNUSED_PARAM(clazz) glCreateMemoryObjectsEXT(n, memoryObjects); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglMemoryObjectParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint memoryObject, jint pname, jlong paramsAddress) { glMemoryObjectParameterivEXTPROC glMemoryObjectParameterivEXT = (glMemoryObjectParameterivEXTPROC)tlsGetFunction(448); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glMemoryObjectParameterivEXT(memoryObject, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_nglGetMemoryObjectParameterivEXT__IIJ(JNIEnv *__env, jclass clazz, jint memoryObject, jint pname, jlong paramsAddress) { glGetMemoryObjectParameterivEXTPROC glGetMemoryObjectParameterivEXT = (glGetMemoryObjectParameterivEXTPROC)tlsGetFunction(449); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMemoryObjectParameterivEXT(memoryObject, pname, params); } @@ -101,7 +101,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glTexStorageMem3D JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glBufferStorageMemEXT(JNIEnv *__env, jclass clazz, jint target, jlong size, jint memory, jlong offset) { glBufferStorageMemEXTPROC glBufferStorageMemEXT = (glBufferStorageMemEXTPROC)tlsGetFunction(454); UNUSED_PARAM(clazz) - glBufferStorageMemEXT(target, (intptr_t)size, memory, offset); + glBufferStorageMemEXT(target, (uintptr_t)size, memory, offset); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glTextureStorageMem2DEXT(JNIEnv *__env, jclass clazz, jint texture, jint levels, jint internalFormat, jint width, jint height, jint memory, jlong offset) { @@ -131,7 +131,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glTextureStorageM JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObject_glNamedBufferStorageMemEXT(JNIEnv *__env, jclass clazz, jint buffer, jlong size, jint memory, jlong offset) { glNamedBufferStorageMemEXTPROC glNamedBufferStorageMemEXT = (glNamedBufferStorageMemEXTPROC)tlsGetFunction(459); UNUSED_PARAM(clazz) - glNamedBufferStorageMemEXT(buffer, (intptr_t)size, memory, offset); + glNamedBufferStorageMemEXT(buffer, (uintptr_t)size, memory, offset); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObjectWin32.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObjectWin32.c index 2b04cb7d78..35998c3ee6 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObjectWin32.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMemoryObjectWin32.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glImportMemoryWin32HandleEXTPROC) (jint, jlong, jint, intptr_t); -typedef void (APIENTRY *glImportMemoryWin32NameEXTPROC) (jint, jlong, jint, intptr_t); +typedef void (APIENTRY *glImportMemoryWin32HandleEXTPROC) (jint, jlong, jint, uintptr_t); +typedef void (APIENTRY *glImportMemoryWin32NameEXTPROC) (jint, jlong, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObjectWin32_nglImportMemoryWin32HandleEXT(JNIEnv *__env, jclass clazz, jint memory, jlong size, jint handleType, jlong handleAddress) { glImportMemoryWin32HandleEXTPROC glImportMemoryWin32HandleEXT = (glImportMemoryWin32HandleEXTPROC)tlsGetFunction(461); - intptr_t handle = (intptr_t)handleAddress; + uintptr_t handle = (uintptr_t)handleAddress; UNUSED_PARAM(clazz) glImportMemoryWin32HandleEXT(memory, size, handleType, handle); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMemoryObjectWin32_nglImportMemoryWin32NameEXT(JNIEnv *__env, jclass clazz, jint memory, jlong size, jint handleType, jlong nameAddress) { glImportMemoryWin32NameEXTPROC glImportMemoryWin32NameEXT = (glImportMemoryWin32NameEXTPROC)tlsGetFunction(462); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glImportMemoryWin32NameEXT(memory, size, handleType, name); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawArrays.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawArrays.c index 5f5469771d..7fa5b2eace 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawArrays.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawArrays.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glMultiDrawArraysEXTPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glMultiDrawElementsEXTPROC) (jint, intptr_t, jint, intptr_t, jint); +typedef void (APIENTRY *glMultiDrawArraysEXTPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glMultiDrawElementsEXTPROC) (jint, uintptr_t, jint, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiDrawArrays_nglMultiDrawArraysEXT__IJJI(JNIEnv *__env, jclass clazz, jint mode, jlong firstAddress, jlong countAddress, jint drawcount) { glMultiDrawArraysEXTPROC glMultiDrawArraysEXT = (glMultiDrawArraysEXTPROC)tlsGetFunction(463); - intptr_t first = (intptr_t)firstAddress; - intptr_t count = (intptr_t)countAddress; + uintptr_t first = (uintptr_t)firstAddress; + uintptr_t count = (uintptr_t)countAddress; UNUSED_PARAM(clazz) glMultiDrawArraysEXT(mode, first, count, drawcount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiDrawArrays_nglMultiDrawElementsEXT__IJIJI(JNIEnv *__env, jclass clazz, jint mode, jlong countAddress, jint type, jlong indicesAddress, jint drawcount) { glMultiDrawElementsEXTPROC glMultiDrawElementsEXT = (glMultiDrawElementsEXTPROC)tlsGetFunction(464); - intptr_t count = (intptr_t)countAddress; - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glMultiDrawElementsEXT(mode, count, type, indices, drawcount); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawIndirect.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawIndirect.c index 370229c3e0..d8927325c4 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawIndirect.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiDrawIndirect.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glMultiDrawArraysIndirectEXTPROC) (jint, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsIndirectEXTPROC) (jint, jint, intptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawArraysIndirectEXTPROC) (jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsIndirectEXTPROC) (jint, jint, uintptr_t, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiDrawIndirect_nglMultiDrawArraysIndirectEXT__IJII(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jint drawcount, jint stride) { glMultiDrawArraysIndirectEXTPROC glMultiDrawArraysIndirectEXT = (glMultiDrawArraysIndirectEXTPROC)tlsGetFunction(465); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawArraysIndirectEXT(mode, indirect, drawcount, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiDrawIndirect_nglMultiDrawElementsIndirectEXT__IIJII(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jint drawcount, jint stride) { glMultiDrawElementsIndirectEXTPROC glMultiDrawElementsIndirectEXT = (glMultiDrawElementsIndirectEXTPROC)tlsGetFunction(466); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glMultiDrawElementsIndirectEXT(mode, type, indirect, drawcount, stride); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiviewDrawBuffers.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiviewDrawBuffers.c index c2d5242826..e032576e2c 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiviewDrawBuffers.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTMultiviewDrawBuffers.c @@ -7,8 +7,8 @@ #include "opengles.h" typedef void (APIENTRY *glReadBufferIndexedEXTPROC) (jint, jint); -typedef void (APIENTRY *glDrawBuffersIndexedEXTPROC) (jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetIntegeri_vEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glDrawBuffersIndexedEXTPROC) (jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetIntegeri_vEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -20,15 +20,15 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiviewDrawBuffers_glReadBuf JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiviewDrawBuffers_nglDrawBuffersIndexedEXT__IJJ(JNIEnv *__env, jclass clazz, jint n, jlong locationAddress, jlong indicesAddress) { glDrawBuffersIndexedEXTPROC glDrawBuffersIndexedEXT = (glDrawBuffersIndexedEXTPROC)tlsGetFunction(470); - intptr_t location = (intptr_t)locationAddress; - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t location = (uintptr_t)locationAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawBuffersIndexedEXT(n, location, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTMultiviewDrawBuffers_nglGetIntegeri_1vEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetIntegeri_vEXTPROC glGetIntegeri_vEXT = (glGetIntegeri_vEXTPROC)tlsGetFunction(471); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetIntegeri_vEXT(target, index, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTOcclusionQueryBoolean.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTOcclusionQueryBoolean.c index 8151422be4..8e8d924171 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTOcclusionQueryBoolean.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTOcclusionQueryBoolean.c @@ -6,26 +6,26 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGenQueriesEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteQueriesEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenQueriesEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteQueriesEXTPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsQueryEXTPROC) (jint); typedef void (APIENTRY *glBeginQueryEXTPROC) (jint, jint); typedef void (APIENTRY *glEndQueryEXTPROC) (jint); -typedef void (APIENTRY *glGetQueryivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectuivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectuivEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTOcclusionQueryBoolean_nglGenQueriesEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenQueriesEXTPROC glGenQueriesEXT = (glGenQueriesEXTPROC)tlsGetFunction(406); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenQueriesEXT(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTOcclusionQueryBoolean_nglDeleteQueriesEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteQueriesEXTPROC glDeleteQueriesEXT = (glDeleteQueriesEXTPROC)tlsGetFunction(407); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteQueriesEXT(n, ids); } @@ -50,14 +50,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTOcclusionQueryBoolean_glEndQue JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTOcclusionQueryBoolean_nglGetQueryivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetQueryivEXTPROC glGetQueryivEXT = (glGetQueryivEXTPROC)tlsGetFunction(411); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTOcclusionQueryBoolean_nglGetQueryObjectuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectuivEXTPROC glGetQueryObjectuivEXT = (glGetQueryObjectuivEXTPROC)tlsGetFunction(412); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectuivEXT(id, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTRobustness.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTRobustness.c index 43780698bc..f20f39ed65 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTRobustness.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTRobustness.c @@ -7,9 +7,9 @@ #include "opengles.h" typedef jint (APIENTRY *glGetGraphicsResetStatusEXTPROC) (void); -typedef void (APIENTRY *glReadnPixelsEXTPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformfvEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glReadnPixelsEXTPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformfvEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformivEXTPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -21,21 +21,21 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_EXTRobustness_glGetGraphicsResetS JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTRobustness_nglReadnPixelsEXT__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jlong dataAddress) { glReadnPixelsEXTPROC glReadnPixelsEXT = (glReadnPixelsEXTPROC)tlsGetFunction(476); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glReadnPixelsEXT(x, y, width, height, format, type, bufSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTRobustness_nglGetnUniformfvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformfvEXTPROC glGetnUniformfvEXT = (glGetnUniformfvEXTPROC)tlsGetFunction(477); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformfvEXT(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTRobustness_nglGetnUniformivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformivEXTPROC glGetnUniformivEXT = (glGetnUniformivEXTPROC)tlsGetFunction(478); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformivEXT(program, location, bufSize, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphore.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphore.c index 4ea3cafb0c..089740ec1d 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphore.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphore.c @@ -6,26 +6,26 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGenSemaphoresEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteSemaphoresEXTPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenSemaphoresEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteSemaphoresEXTPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsSemaphoreEXTPROC) (jint); -typedef void (APIENTRY *glSemaphoreParameterui64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSemaphoreParameterui64vEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glWaitSemaphoreEXTPROC) (jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glSignalSemaphoreEXTPROC) (jint, jint, intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glSemaphoreParameterui64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSemaphoreParameterui64vEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glWaitSemaphoreEXTPROC) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glSignalSemaphoreEXTPROC) (jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglGenSemaphoresEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glGenSemaphoresEXTPROC glGenSemaphoresEXT = (glGenSemaphoresEXTPROC)tlsGetFunction(479); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glGenSemaphoresEXT(n, semaphores); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglDeleteSemaphoresEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glDeleteSemaphoresEXTPROC glDeleteSemaphoresEXT = (glDeleteSemaphoresEXTPROC)tlsGetFunction(480); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glDeleteSemaphoresEXT(n, semaphores); } @@ -38,32 +38,32 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_EXTSemaphore_glIsSemaphoreEXT JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglSemaphoreParameterui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glSemaphoreParameterui64vEXTPROC glSemaphoreParameterui64vEXT = (glSemaphoreParameterui64vEXTPROC)tlsGetFunction(482); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSemaphoreParameterui64vEXT(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglGetSemaphoreParameterui64vEXT__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glGetSemaphoreParameterui64vEXTPROC glGetSemaphoreParameterui64vEXT = (glGetSemaphoreParameterui64vEXTPROC)tlsGetFunction(483); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSemaphoreParameterui64vEXT(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglWaitSemaphoreEXT__IIJIJJ(JNIEnv *__env, jclass clazz, jint semaphore, jint numBufferBarriers, jlong buffersAddress, jint numTextureBarriers, jlong texturesAddress, jlong srcLayoutsAddress) { glWaitSemaphoreEXTPROC glWaitSemaphoreEXT = (glWaitSemaphoreEXTPROC)tlsGetFunction(484); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t textures = (intptr_t)texturesAddress; - intptr_t srcLayouts = (intptr_t)srcLayoutsAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t srcLayouts = (uintptr_t)srcLayoutsAddress; UNUSED_PARAM(clazz) glWaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphore_nglSignalSemaphoreEXT__IIJIJJ(JNIEnv *__env, jclass clazz, jint semaphore, jint numBufferBarriers, jlong buffersAddress, jint numTextureBarriers, jlong texturesAddress, jlong dstLayoutsAddress) { glSignalSemaphoreEXTPROC glSignalSemaphoreEXT = (glSignalSemaphoreEXTPROC)tlsGetFunction(485); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t textures = (intptr_t)texturesAddress; - intptr_t dstLayouts = (intptr_t)dstLayoutsAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t dstLayouts = (uintptr_t)dstLayoutsAddress; UNUSED_PARAM(clazz) glSignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphoreWin32.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphoreWin32.c index 46788e2b3b..35a8d165d3 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphoreWin32.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSemaphoreWin32.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glImportSemaphoreWin32HandleEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glImportSemaphoreWin32NameEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glImportSemaphoreWin32HandleEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glImportSemaphoreWin32NameEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphoreWin32_nglImportSemaphoreWin32HandleEXT(JNIEnv *__env, jclass clazz, jint semaphore, jint handleType, jlong handleAddress) { glImportSemaphoreWin32HandleEXTPROC glImportSemaphoreWin32HandleEXT = (glImportSemaphoreWin32HandleEXTPROC)tlsGetFunction(487); - intptr_t handle = (intptr_t)handleAddress; + uintptr_t handle = (uintptr_t)handleAddress; UNUSED_PARAM(clazz) glImportSemaphoreWin32HandleEXT(semaphore, handleType, handle); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSemaphoreWin32_nglImportSemaphoreWin32NameEXT(JNIEnv *__env, jclass clazz, jint semaphore, jint handleType, jlong nameAddress) { glImportSemaphoreWin32NameEXTPROC glImportSemaphoreWin32NameEXT = (glImportSemaphoreWin32NameEXTPROC)tlsGetFunction(488); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glImportSemaphoreWin32NameEXT(semaphore, handleType, name); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSeparateShaderObjects.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSeparateShaderObjects.c index 36bba7cd1b..d8339d57f1 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSeparateShaderObjects.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTSeparateShaderObjects.c @@ -8,48 +8,48 @@ typedef void (APIENTRY *glActiveShaderProgramEXTPROC) (jint, jint); typedef void (APIENTRY *glBindProgramPipelineEXTPROC) (jint); -typedef jint (APIENTRY *glCreateShaderProgramvEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDeleteProgramPipelinesEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenProgramPipelinesEXTPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetProgramPipelineInfoLogEXTPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetProgramPipelineivEXTPROC) (jint, jint, intptr_t); +typedef jint (APIENTRY *glCreateShaderProgramvEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDeleteProgramPipelinesEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenProgramPipelinesEXTPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetProgramPipelineInfoLogEXTPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetProgramPipelineivEXTPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsProgramPipelineEXTPROC) (jint); typedef void (APIENTRY *glProgramParameteriEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform1fEXTPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glProgramUniform1fvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1fvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1iEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glProgramUniform1ivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1ivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform2fEXTPROC) (jint, jint, jfloat, jfloat); -typedef void (APIENTRY *glProgramUniform2fvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform2fvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform2iEXTPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform2ivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform2ivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform3fEXTPROC) (jint, jint, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glProgramUniform3fvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform3fvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform3iEXTPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform3ivEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform3ivEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform4fEXTPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glProgramUniform4fvEXTPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform4fvEXTPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform4iEXTPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform4ivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform4ivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glUseProgramStagesEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glValidateProgramPipelineEXTPROC) (jint); typedef void (APIENTRY *glProgramUniform1uiEXTPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform2uiEXTPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform3uiEXTPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform4uiEXTPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glProgramUniform1uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4uivEXTPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3fvEXTPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform1uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4uivEXTPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3fvEXTPROC) (jint, jint, jint, jboolean, uintptr_t); EXTERN_C_ENTER @@ -67,36 +67,36 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glBindPr JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglCreateShaderProgramvEXT(JNIEnv *__env, jclass clazz, jint type, jint count, jlong stringsAddress) { glCreateShaderProgramvEXTPROC glCreateShaderProgramvEXT = (glCreateShaderProgramvEXTPROC)tlsGetFunction(491); - intptr_t strings = (intptr_t)stringsAddress; + uintptr_t strings = (uintptr_t)stringsAddress; UNUSED_PARAM(clazz) return (jint)glCreateShaderProgramvEXT(type, count, strings); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglDeleteProgramPipelinesEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glDeleteProgramPipelinesEXTPROC glDeleteProgramPipelinesEXT = (glDeleteProgramPipelinesEXTPROC)tlsGetFunction(492); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glDeleteProgramPipelinesEXT(n, pipelines); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglGenProgramPipelinesEXT__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glGenProgramPipelinesEXTPROC glGenProgramPipelinesEXT = (glGenProgramPipelinesEXTPROC)tlsGetFunction(493); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glGenProgramPipelinesEXT(n, pipelines); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglGetProgramPipelineInfoLogEXT__IIJJ(JNIEnv *__env, jclass clazz, jint pipeline, jint bufSize, jlong lengthAddress, jlong infoLogAddress) { glGetProgramPipelineInfoLogEXTPROC glGetProgramPipelineInfoLogEXT = (glGetProgramPipelineInfoLogEXTPROC)tlsGetFunction(494); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglGetProgramPipelineivEXT__IIJ(JNIEnv *__env, jclass clazz, jint pipeline, jint pname, jlong paramsAddress) { glGetProgramPipelineivEXTPROC glGetProgramPipelineivEXT = (glGetProgramPipelineivEXTPROC)tlsGetFunction(495); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramPipelineivEXT(pipeline, pname, params); } @@ -121,7 +121,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform1fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1fvEXTPROC glProgramUniform1fvEXT = (glProgramUniform1fvEXTPROC)tlsGetFunction(499); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1fvEXT(program, location, count, value); } @@ -134,7 +134,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform1ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ivEXTPROC glProgramUniform1ivEXT = (glProgramUniform1ivEXTPROC)tlsGetFunction(501); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1ivEXT(program, location, count, value); } @@ -147,7 +147,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform2fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2fvEXTPROC glProgramUniform2fvEXT = (glProgramUniform2fvEXTPROC)tlsGetFunction(503); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2fvEXT(program, location, count, value); } @@ -160,7 +160,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform2ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ivEXTPROC glProgramUniform2ivEXT = (glProgramUniform2ivEXTPROC)tlsGetFunction(505); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2ivEXT(program, location, count, value); } @@ -173,7 +173,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform3fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3fvEXTPROC glProgramUniform3fvEXT = (glProgramUniform3fvEXTPROC)tlsGetFunction(507); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3fvEXT(program, location, count, value); } @@ -186,7 +186,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform3ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ivEXTPROC glProgramUniform3ivEXT = (glProgramUniform3ivEXTPROC)tlsGetFunction(509); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3ivEXT(program, location, count, value); } @@ -199,7 +199,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform4fvEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4fvEXTPROC glProgramUniform4fvEXT = (glProgramUniform4fvEXTPROC)tlsGetFunction(511); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4fvEXT(program, location, count, value); } @@ -212,28 +212,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform4ivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ivEXTPROC glProgramUniform4ivEXT = (glProgramUniform4ivEXTPROC)tlsGetFunction(513); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4ivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2fvEXTPROC glProgramUniformMatrix2fvEXT = (glProgramUniformMatrix2fvEXTPROC)tlsGetFunction(514); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3fvEXTPROC glProgramUniformMatrix3fvEXT = (glProgramUniformMatrix3fvEXTPROC)tlsGetFunction(515); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4fvEXTPROC glProgramUniformMatrix4fvEXT = (glProgramUniformMatrix4fvEXTPROC)tlsGetFunction(516); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4fvEXT(program, location, count, transpose, value); } @@ -276,70 +276,70 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_glProgra JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform1uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1uivEXTPROC glProgramUniform1uivEXT = (glProgramUniform1uivEXTPROC)tlsGetFunction(523); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform2uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2uivEXTPROC glProgramUniform2uivEXT = (glProgramUniform2uivEXTPROC)tlsGetFunction(524); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform3uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3uivEXTPROC glProgramUniform3uivEXT = (glProgramUniform3uivEXTPROC)tlsGetFunction(525); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniform4uivEXT__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4uivEXTPROC glProgramUniform4uivEXT = (glProgramUniform4uivEXTPROC)tlsGetFunction(526); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4uivEXT(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix2x3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3fvEXTPROC glProgramUniformMatrix2x3fvEXT = (glProgramUniformMatrix2x3fvEXTPROC)tlsGetFunction(527); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix3x2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2fvEXTPROC glProgramUniformMatrix3x2fvEXT = (glProgramUniformMatrix3x2fvEXTPROC)tlsGetFunction(528); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix2x4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4fvEXTPROC glProgramUniformMatrix2x4fvEXT = (glProgramUniformMatrix2x4fvEXTPROC)tlsGetFunction(529); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix4x2fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2fvEXTPROC glProgramUniformMatrix4x2fvEXT = (glProgramUniformMatrix4x2fvEXTPROC)tlsGetFunction(530); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix3x4fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4fvEXTPROC glProgramUniformMatrix3x4fvEXT = (glProgramUniformMatrix3x4fvEXTPROC)tlsGetFunction(531); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4fvEXT(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTSeparateShaderObjects_nglProgramUniformMatrix4x3fvEXT__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3fvEXTPROC glProgramUniformMatrix4x3fvEXT = (glProgramUniformMatrix4x3fvEXTPROC)tlsGetFunction(532); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3fvEXT(program, location, count, transpose, value); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTShaderPixelLocalStorage2.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTShaderPixelLocalStorage2.c index 7bf8dc8cf5..ee17d273f6 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTShaderPixelLocalStorage2.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTShaderPixelLocalStorage2.c @@ -8,7 +8,7 @@ typedef void (APIENTRY *glFramebufferPixelLocalStorageSizeEXTPROC) (jint, jint); typedef jint (APIENTRY *glGetFramebufferPixelLocalStorageSizeEXTPROC) (jint); -typedef void (APIENTRY *glClearPixelLocalStorageuiEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glClearPixelLocalStorageuiEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -26,7 +26,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_EXTShaderPixelLocalStorage2_glGet JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTShaderPixelLocalStorage2_nglClearPixelLocalStorageuiEXT__IIJ(JNIEnv *__env, jclass clazz, jint offset, jint n, jlong valuesAddress) { glClearPixelLocalStorageuiEXTPROC glClearPixelLocalStorageuiEXT = (glClearPixelLocalStorageuiEXTPROC)tlsGetFunction(536); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glClearPixelLocalStorageuiEXT(offset, n, values); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBorderClamp.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBorderClamp.c index 404e71726a..8cbdd564d7 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBorderClamp.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBorderClamp.c @@ -6,69 +6,69 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glTexParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexParameterIuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIuivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIivEXTPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIuivEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexParameterIuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIuivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIivEXTPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIuivEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglTexParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIivEXTPROC glTexParameterIivEXT = (glTexParameterIivEXTPROC)tlsGetFunction(539); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglTexParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIuivEXTPROC glTexParameterIuivEXT = (glTexParameterIuivEXTPROC)tlsGetFunction(540); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIuivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglGetTexParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIivEXTPROC glGetTexParameterIivEXT = (glGetTexParameterIivEXTPROC)tlsGetFunction(541); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglGetTexParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIuivEXTPROC glGetTexParameterIuivEXT = (glGetTexParameterIuivEXTPROC)tlsGetFunction(542); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIuivEXT(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglSamplerParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramAddress) { glSamplerParameterIivEXTPROC glSamplerParameterIivEXT = (glSamplerParameterIivEXTPROC)tlsGetFunction(543); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glSamplerParameterIivEXT(sampler, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglSamplerParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramAddress) { glSamplerParameterIuivEXTPROC glSamplerParameterIuivEXT = (glSamplerParameterIuivEXTPROC)tlsGetFunction(544); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glSamplerParameterIuivEXT(sampler, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglGetSamplerParameterIivEXT__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIivEXTPROC glGetSamplerParameterIivEXT = (glGetSamplerParameterIivEXTPROC)tlsGetFunction(545); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIivEXT(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBorderClamp_nglGetSamplerParameterIuivEXT__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIuivEXTPROC glGetSamplerParameterIuivEXT = (glGetSamplerParameterIuivEXTPROC)tlsGetFunction(546); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIuivEXT(sampler, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBuffer.c index 8aafbb059d..bcf65586c4 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTTextureBuffer.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glTexBufferEXTPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexBufferRangeEXTPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTexBufferRangeEXTPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -20,7 +20,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBuffer_glTexBufferEXT(J JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTTextureBuffer_glTexBufferRangeEXT(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint buffer, jlong offset, jlong size) { glTexBufferRangeEXTPROC glTexBufferRangeEXT = (glTexBufferRangeEXTPROC)tlsGetFunction(548); UNUSED_PARAM(clazz) - glTexBufferRangeEXT(target, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTexBufferRangeEXT(target, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTWindowRectangles.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTWindowRectangles.c index 484e39d7d2..b1c45c640f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTWindowRectangles.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_EXTWindowRectangles.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glWindowRectanglesEXTPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glWindowRectanglesEXTPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_EXTWindowRectangles_nglWindowRectanglesEXT__IIJ(JNIEnv *__env, jclass clazz, jint mode, jint count, jlong boxAddress) { glWindowRectanglesEXTPROC glWindowRectanglesEXT = (glWindowRectanglesEXTPROC)tlsGetFunction(558); - intptr_t box = (intptr_t)boxAddress; + uintptr_t box = (uintptr_t)boxAddress; UNUSED_PARAM(clazz) glWindowRectanglesEXT(mode, count, box); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES20.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES20.c index 856c742a43..c965aed330 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES20.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES20.c @@ -8,7 +8,7 @@ typedef void (APIENTRY *glActiveTexturePROC) (jint); typedef void (APIENTRY *glAttachShaderPROC) (jint, jint); -typedef void (APIENTRY *glBindAttribLocationPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glBindAttribLocationPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glBindBufferPROC) (jint, jint); typedef void (APIENTRY *glBindFramebufferPROC) (jint, jint); typedef void (APIENTRY *glBindRenderbufferPROC) (jint, jint); @@ -18,8 +18,8 @@ typedef void (APIENTRY *glBlendEquationPROC) (jint); typedef void (APIENTRY *glBlendEquationSeparatePROC) (jint, jint); typedef void (APIENTRY *glBlendFuncPROC) (jint, jint); typedef void (APIENTRY *glBlendFuncSeparatePROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glBufferDataPROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glBufferSubDataPROC) (jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glBufferDataPROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glBufferSubDataPROC) (jint, uintptr_t, uintptr_t, uintptr_t); typedef jint (APIENTRY *glCheckFramebufferStatusPROC) (jint); typedef void (APIENTRY *glClearPROC) (jint); typedef void (APIENTRY *glClearColorPROC) (jfloat, jfloat, jfloat, jfloat); @@ -27,19 +27,19 @@ typedef void (APIENTRY *glClearDepthfPROC) (jfloat); typedef void (APIENTRY *glClearStencilPROC) (jint); typedef void (APIENTRY *glColorMaskPROC) (jboolean, jboolean, jboolean, jboolean); typedef void (APIENTRY *glCompileShaderPROC) (jint); -typedef void (APIENTRY *glCompressedTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glCopyTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint); typedef jint (APIENTRY *glCreateProgramPROC) (void); typedef jint (APIENTRY *glCreateShaderPROC) (jint); typedef void (APIENTRY *glCullFacePROC) (jint); -typedef void (APIENTRY *glDeleteBuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteFramebuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteBuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteFramebuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glDeleteProgramPROC) (jint); -typedef void (APIENTRY *glDeleteRenderbuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteRenderbuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glDeleteShaderPROC) (jint); -typedef void (APIENTRY *glDeleteTexturesPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteTexturesPROC) (jint, uintptr_t); typedef void (APIENTRY *glDepthFuncPROC) (jint); typedef void (APIENTRY *glDepthMaskPROC) (jboolean); typedef void (APIENTRY *glDepthRangefPROC) (jfloat, jfloat); @@ -47,7 +47,7 @@ typedef void (APIENTRY *glDetachShaderPROC) (jint, jint); typedef void (APIENTRY *glDisablePROC) (jint); typedef void (APIENTRY *glDisableVertexAttribArrayPROC) (jint); typedef void (APIENTRY *glDrawArraysPROC) (jint, jint, jint); -typedef void (APIENTRY *glDrawElementsPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDrawElementsPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glEnablePROC) (jint); typedef void (APIENTRY *glEnableVertexAttribArrayPROC) (jint); typedef void (APIENTRY *glFinishPROC) (void); @@ -55,37 +55,37 @@ typedef void (APIENTRY *glFlushPROC) (void); typedef void (APIENTRY *glFramebufferRenderbufferPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTexture2DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFrontFacePROC) (jint); -typedef void (APIENTRY *glGenBuffersPROC) (jint, intptr_t); +typedef void (APIENTRY *glGenBuffersPROC) (jint, uintptr_t); typedef void (APIENTRY *glGenerateMipmapPROC) (jint); -typedef void (APIENTRY *glGenFramebuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenRenderbuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenTexturesPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveAttribPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetActiveUniformPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetAttachedShadersPROC) (jint, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetAttribLocationPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetBooleanvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetBufferParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGenFramebuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenRenderbuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenTexturesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveAttribPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetAttachedShadersPROC) (jint, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetAttribLocationPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetBooleanvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetBufferParameterivPROC) (jint, jint, uintptr_t); typedef jint (APIENTRY *glGetErrorPROC) (void); -typedef void (APIENTRY *glGetFloatvPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetFramebufferAttachmentParameterivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetIntegervPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetProgramivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramInfoLogPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetRenderbufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShaderivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetShaderInfoLogPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetShaderPrecisionFormatPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetShaderSourcePROC) (jint, jint, intptr_t, intptr_t); -typedef intptr_t (APIENTRY *glGetStringPROC) (jint); -typedef void (APIENTRY *glGetTexParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformivPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetUniformLocationPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribPointervPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFloatvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetFramebufferAttachmentParameterivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetIntegervPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetProgramivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetRenderbufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShaderivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetShaderInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetShaderPrecisionFormatPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetShaderSourcePROC) (jint, jint, uintptr_t, uintptr_t); +typedef uintptr_t (APIENTRY *glGetStringPROC) (jint); +typedef void (APIENTRY *glGetTexParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformivPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetUniformLocationPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribPointervPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glHintPROC) (jint, jint); typedef jboolean (APIENTRY *glIsBufferPROC) (jint); typedef jboolean (APIENTRY *glIsEnabledPROC) (jint); @@ -98,55 +98,55 @@ typedef void (APIENTRY *glLineWidthPROC) (jfloat); typedef void (APIENTRY *glLinkProgramPROC) (jint); typedef void (APIENTRY *glPixelStoreiPROC) (jint, jint); typedef void (APIENTRY *glPolygonOffsetPROC) (jfloat, jfloat); -typedef void (APIENTRY *glReadPixelsPROC) (jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glReadPixelsPROC) (jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glReleaseShaderCompilerPROC) (void); typedef void (APIENTRY *glRenderbufferStoragePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glSampleCoveragePROC) (jfloat, jboolean); typedef void (APIENTRY *glScissorPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glShaderBinaryPROC) (jint, intptr_t, jint, intptr_t, jint); -typedef void (APIENTRY *glShaderSourcePROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glShaderBinaryPROC) (jint, uintptr_t, jint, uintptr_t, jint); +typedef void (APIENTRY *glShaderSourcePROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glStencilFuncPROC) (jint, jint, jint); typedef void (APIENTRY *glStencilFuncSeparatePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glStencilMaskPROC) (jint); typedef void (APIENTRY *glStencilMaskSeparatePROC) (jint, jint); typedef void (APIENTRY *glStencilOpPROC) (jint, jint, jint); typedef void (APIENTRY *glStencilOpSeparatePROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glTexParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glTexParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage2DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1fPROC) (jint, jfloat); -typedef void (APIENTRY *glUniform1fvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1fvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1iPROC) (jint, jint); -typedef void (APIENTRY *glUniform1ivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1ivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform2fPROC) (jint, jfloat, jfloat); -typedef void (APIENTRY *glUniform2fvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform2fvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform2iPROC) (jint, jint, jint); -typedef void (APIENTRY *glUniform2ivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform2ivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform3fPROC) (jint, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glUniform3fvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform3fvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform3iPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glUniform3ivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform3ivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform4fPROC) (jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glUniform4fvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform4fvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform4iPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform4ivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniformMatrix2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4fvPROC) (jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glUniform4ivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4fvPROC) (jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glUseProgramPROC) (jint); typedef void (APIENTRY *glValidateProgramPROC) (jint); typedef void (APIENTRY *glVertexAttrib1fPROC) (jint, jfloat); -typedef void (APIENTRY *glVertexAttrib1fvPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib1fvPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib2fPROC) (jint, jfloat, jfloat); -typedef void (APIENTRY *glVertexAttrib2fvPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib2fvPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib3fPROC) (jint, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glVertexAttrib3fvPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib3fvPROC) (jint, uintptr_t); typedef void (APIENTRY *glVertexAttrib4fPROC) (jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glVertexAttrib4fvPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribPointerPROC) (jint, jint, jint, jboolean, jint, intptr_t); +typedef void (APIENTRY *glVertexAttrib4fvPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribPointerPROC) (jint, jint, jint, jboolean, jint, uintptr_t); typedef void (APIENTRY *glViewportPROC) (jint, jint, jint, jint); EXTERN_C_ENTER @@ -165,7 +165,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glAttachShader(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglBindAttribLocation(JNIEnv *__env, jclass clazz, jint program, jint index, jlong nameAddress) { glBindAttribLocationPROC glBindAttribLocation = (glBindAttribLocationPROC)tlsGetFunction(2); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glBindAttribLocation(program, index, name); } @@ -226,16 +226,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glBlendFuncSeparate(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglBufferData__IJJI(JNIEnv *__env, jclass clazz, jint target, jlong size, jlong dataAddress, jint usage) { glBufferDataPROC glBufferData = (glBufferDataPROC)tlsGetFunction(12); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferData(target, (intptr_t)size, data, usage); + glBufferData(target, (uintptr_t)size, data, usage); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglBufferSubData__IJJJ(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jlong dataAddress) { glBufferSubDataPROC glBufferSubData = (glBufferSubDataPROC)tlsGetFunction(13); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) - glBufferSubData(target, (intptr_t)offset, (intptr_t)size, data); + glBufferSubData(target, (uintptr_t)offset, (uintptr_t)size, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES20_glCheckFramebufferStatus(JNIEnv *__env, jclass clazz, jint target) { @@ -282,14 +282,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glCompileShader(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglCompressedTexImage2D(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage2DPROC glCompressedTexImage2D = (glCompressedTexImage2DPROC)tlsGetFunction(21); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglCompressedTexSubImage2D(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage2DPROC glCompressedTexSubImage2D = (glCompressedTexSubImage2DPROC)tlsGetFunction(22); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); } @@ -326,14 +326,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glCullFace(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglDeleteBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glDeleteBuffersPROC glDeleteBuffers = (glDeleteBuffersPROC)tlsGetFunction(28); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glDeleteBuffers(n, buffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglDeleteFramebuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glDeleteFramebuffersPROC glDeleteFramebuffers = (glDeleteFramebuffersPROC)tlsGetFunction(29); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glDeleteFramebuffers(n, framebuffers); } @@ -346,7 +346,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glDeleteProgram(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglDeleteRenderbuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glDeleteRenderbuffersPROC glDeleteRenderbuffers = (glDeleteRenderbuffersPROC)tlsGetFunction(31); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glDeleteRenderbuffers(n, renderbuffers); } @@ -359,7 +359,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glDeleteShader(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglDeleteTextures__IJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress) { glDeleteTexturesPROC glDeleteTextures = (glDeleteTexturesPROC)tlsGetFunction(33); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glDeleteTextures(n, textures); } @@ -408,7 +408,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glDrawArrays(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglDrawElements(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress) { glDrawElementsPROC glDrawElements = (glDrawElementsPROC)tlsGetFunction(41); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElements(mode, count, type, indices); } @@ -457,7 +457,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glFrontFace(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGenBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong buffersAddress) { glGenBuffersPROC glGenBuffers = (glGenBuffersPROC)tlsGetFunction(49); - intptr_t buffers = (intptr_t)buffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; UNUSED_PARAM(clazz) glGenBuffers(n, buffers); } @@ -470,70 +470,70 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glGenerateMipmap(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGenFramebuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong framebuffersAddress) { glGenFramebuffersPROC glGenFramebuffers = (glGenFramebuffersPROC)tlsGetFunction(51); - intptr_t framebuffers = (intptr_t)framebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; UNUSED_PARAM(clazz) glGenFramebuffers(n, framebuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGenRenderbuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong renderbuffersAddress) { glGenRenderbuffersPROC glGenRenderbuffers = (glGenRenderbuffersPROC)tlsGetFunction(52); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; UNUSED_PARAM(clazz) glGenRenderbuffers(n, renderbuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGenTextures__IJ(JNIEnv *__env, jclass clazz, jint n, jlong texturesAddress) { glGenTexturesPROC glGenTextures = (glGenTexturesPROC)tlsGetFunction(53); - intptr_t textures = (intptr_t)texturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; UNUSED_PARAM(clazz) glGenTextures(n, textures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetActiveAttrib__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveAttribPROC glGetActiveAttrib = (glGetActiveAttribPROC)tlsGetFunction(54); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveAttrib(program, index, bufSize, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetActiveUniform__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetActiveUniformPROC glGetActiveUniform = (glGetActiveUniformPROC)tlsGetFunction(55); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetActiveUniform(program, index, bufSize, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetAttachedShaders__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint maxCount, jlong countAddress, jlong shadersAddress) { glGetAttachedShadersPROC glGetAttachedShaders = (glGetAttachedShadersPROC)tlsGetFunction(56); - intptr_t count = (intptr_t)countAddress; - intptr_t shaders = (intptr_t)shadersAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t shaders = (uintptr_t)shadersAddress; UNUSED_PARAM(clazz) glGetAttachedShaders(program, maxCount, count, shaders); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES20_nglGetAttribLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetAttribLocationPROC glGetAttribLocation = (glGetAttribLocationPROC)tlsGetFunction(57); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetAttribLocation(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetBooleanv(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetBooleanvPROC glGetBooleanv = (glGetBooleanvPROC)tlsGetFunction(58); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetBooleanv(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetBufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameterivPROC glGetBufferParameteriv = (glGetBufferParameterivPROC)tlsGetFunction(59); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameteriv(target, pname, params); } @@ -546,74 +546,74 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES20_glGetError(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetFloatv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetFloatvPROC glGetFloatv = (glGetFloatvPROC)tlsGetFunction(61); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetFloatv(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetFramebufferAttachmentParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint attachment, jint pname, jlong paramsAddress) { glGetFramebufferAttachmentParameterivPROC glGetFramebufferAttachmentParameteriv = (glGetFramebufferAttachmentParameterivPROC)tlsGetFunction(62); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetIntegerv__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetIntegervPROC glGetIntegerv = (glGetIntegervPROC)tlsGetFunction(63); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetIntegerv(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetProgramiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint pname, jlong paramsAddress) { glGetProgramivPROC glGetProgramiv = (glGetProgramivPROC)tlsGetFunction(64); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramiv(program, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetProgramInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint bufSize, jlong lengthAddress, jlong infoLogAddress) { glGetProgramInfoLogPROC glGetProgramInfoLog = (glGetProgramInfoLogPROC)tlsGetFunction(65); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetProgramInfoLog(program, bufSize, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetRenderbufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetRenderbufferParameterivPROC glGetRenderbufferParameteriv = (glGetRenderbufferParameterivPROC)tlsGetFunction(66); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetRenderbufferParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetShaderiv__IIJ(JNIEnv *__env, jclass clazz, jint shader, jint pname, jlong paramsAddress) { glGetShaderivPROC glGetShaderiv = (glGetShaderivPROC)tlsGetFunction(67); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetShaderiv(shader, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetShaderInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint bufSize, jlong lengthAddress, jlong infoLogAddress) { glGetShaderInfoLogPROC glGetShaderInfoLog = (glGetShaderInfoLogPROC)tlsGetFunction(68); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetShaderInfoLog(shader, bufSize, length, infoLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetShaderPrecisionFormat__IIJJ(JNIEnv *__env, jclass clazz, jint shadertype, jint precisiontype, jlong rangeAddress, jlong precisionAddress) { glGetShaderPrecisionFormatPROC glGetShaderPrecisionFormat = (glGetShaderPrecisionFormatPROC)tlsGetFunction(69); - intptr_t range = (intptr_t)rangeAddress; - intptr_t precision = (intptr_t)precisionAddress; + uintptr_t range = (uintptr_t)rangeAddress; + uintptr_t precision = (uintptr_t)precisionAddress; UNUSED_PARAM(clazz) glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetShaderSource__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint bufSize, jlong lengthAddress, jlong sourceAddress) { glGetShaderSourcePROC glGetShaderSource = (glGetShaderSourcePROC)tlsGetFunction(70); - intptr_t length = (intptr_t)lengthAddress; - intptr_t source = (intptr_t)sourceAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t source = (uintptr_t)sourceAddress; UNUSED_PARAM(clazz) glGetShaderSource(shader, bufSize, length, source); } @@ -626,56 +626,56 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_GLES20_nglGetString(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetTexParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterfvPROC glGetTexParameterfv = (glGetTexParameterfvPROC)tlsGetFunction(72); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterfv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetTexParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterivPROC glGetTexParameteriv = (glGetTexParameterivPROC)tlsGetFunction(73); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetUniformfv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformfvPROC glGetUniformfv = (glGetUniformfvPROC)tlsGetFunction(74); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformfv(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetUniformiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformivPROC glGetUniformiv = (glGetUniformivPROC)tlsGetFunction(75); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformiv(program, location, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES20_nglGetUniformLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetUniformLocationPROC glGetUniformLocation = (glGetUniformLocationPROC)tlsGetFunction(76); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetUniformLocation(program, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetVertexAttribfv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribfvPROC glGetVertexAttribfv = (glGetVertexAttribfvPROC)tlsGetFunction(77); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribfv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetVertexAttribiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribivPROC glGetVertexAttribiv = (glGetVertexAttribivPROC)tlsGetFunction(78); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribiv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglGetVertexAttribPointerv(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong pointerAddress) { glGetVertexAttribPointervPROC glGetVertexAttribPointerv = (glGetVertexAttribPointervPROC)tlsGetFunction(79); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glGetVertexAttribPointerv(index, pname, pointer); } @@ -754,7 +754,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glPolygonOffset(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglReadPixels__IIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glReadPixelsPROC glReadPixels = (glReadPixelsPROC)tlsGetFunction(92); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glReadPixels(x, y, width, height, format, type, pixels); } @@ -785,16 +785,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glScissor(JNIEnv *__env, j JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglShaderBinary__IJIJI(JNIEnv *__env, jclass clazz, jint count, jlong shadersAddress, jint binaryformat, jlong binaryAddress, jint length) { glShaderBinaryPROC glShaderBinary = (glShaderBinaryPROC)tlsGetFunction(97); - intptr_t shaders = (intptr_t)shadersAddress; - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t shaders = (uintptr_t)shadersAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glShaderBinary(count, shaders, binaryformat, binary, length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglShaderSource__IIJJ(JNIEnv *__env, jclass clazz, jint shader, jint count, jlong stringAddress, jlong lengthAddress) { glShaderSourcePROC glShaderSource = (glShaderSourcePROC)tlsGetFunction(98); - intptr_t string = (intptr_t)stringAddress; - intptr_t length = (intptr_t)lengthAddress; + uintptr_t string = (uintptr_t)stringAddress; + uintptr_t length = (uintptr_t)lengthAddress; UNUSED_PARAM(clazz) glShaderSource(shader, count, string, length); } @@ -837,7 +837,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glStencilOpSeparate(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglTexImage2D__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage2DPROC glTexImage2D = (glTexImage2DPROC)tlsGetFunction(105); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); } @@ -850,7 +850,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glTexParameterf(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglTexParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterfvPROC glTexParameterfv = (glTexParameterfvPROC)tlsGetFunction(107); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterfv(target, pname, params); } @@ -863,14 +863,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glTexParameteri(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglTexParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterivPROC glTexParameteriv = (glTexParameterivPROC)tlsGetFunction(109); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglTexSubImage2D__IIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlong pixelsAddress) { glTexSubImage2DPROC glTexSubImage2D = (glTexSubImage2DPROC)tlsGetFunction(110); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } @@ -883,7 +883,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform1f(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform1fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1fvPROC glUniform1fv = (glUniform1fvPROC)tlsGetFunction(112); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1fv(location, count, value); } @@ -896,7 +896,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform1i(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform1iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ivPROC glUniform1iv = (glUniform1ivPROC)tlsGetFunction(114); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1iv(location, count, value); } @@ -909,7 +909,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform2f(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform2fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2fvPROC glUniform2fv = (glUniform2fvPROC)tlsGetFunction(116); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2fv(location, count, value); } @@ -922,7 +922,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform2i(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform2iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ivPROC glUniform2iv = (glUniform2ivPROC)tlsGetFunction(118); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2iv(location, count, value); } @@ -935,7 +935,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform3f(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform3fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3fvPROC glUniform3fv = (glUniform3fvPROC)tlsGetFunction(120); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3fv(location, count, value); } @@ -948,7 +948,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform3i(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform3iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ivPROC glUniform3iv = (glUniform3ivPROC)tlsGetFunction(122); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3iv(location, count, value); } @@ -961,7 +961,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform4f(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform4fv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4fvPROC glUniform4fv = (glUniform4fvPROC)tlsGetFunction(124); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4fv(location, count, value); } @@ -974,28 +974,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glUniform4i(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniform4iv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ivPROC glUniform4iv = (glUniform4ivPROC)tlsGetFunction(126); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4iv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniformMatrix2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2fvPROC glUniformMatrix2fv = (glUniformMatrix2fvPROC)tlsGetFunction(127); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniformMatrix3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3fvPROC glUniformMatrix3fv = (glUniformMatrix3fvPROC)tlsGetFunction(128); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglUniformMatrix4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4fvPROC glUniformMatrix4fv = (glUniformMatrix4fvPROC)tlsGetFunction(129); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4fv(location, count, transpose, value); } @@ -1020,7 +1020,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glVertexAttrib1f(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglVertexAttrib1fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib1fvPROC glVertexAttrib1fv = (glVertexAttrib1fvPROC)tlsGetFunction(133); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib1fv(index, v); } @@ -1033,7 +1033,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glVertexAttrib2f(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglVertexAttrib2fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib2fvPROC glVertexAttrib2fv = (glVertexAttrib2fvPROC)tlsGetFunction(135); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib2fv(index, v); } @@ -1046,7 +1046,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glVertexAttrib3f(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglVertexAttrib3fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib3fvPROC glVertexAttrib3fv = (glVertexAttrib3fvPROC)tlsGetFunction(137); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib3fv(index, v); } @@ -1059,14 +1059,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_glVertexAttrib4f(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglVertexAttrib4fv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttrib4fvPROC glVertexAttrib4fv = (glVertexAttrib4fvPROC)tlsGetFunction(139); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttrib4fv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES20_nglVertexAttribPointer(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jboolean normalized, jint stride, jlong pointerAddress) { glVertexAttribPointerPROC glVertexAttribPointer = (glVertexAttribPointerPROC)tlsGetFunction(140); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribPointer(index, size, type, normalized, stride, pointer); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES30.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES30.c index 533bf7778c..c7370b8409 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES30.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES30.c @@ -7,109 +7,109 @@ #include "opengles.h" typedef void (APIENTRY *glReadBufferPROC) (jint); -typedef void (APIENTRY *glDrawRangeElementsPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDrawRangeElementsPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glCompressedTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGenQueriesPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteQueriesPROC) (jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage3DPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGenQueriesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteQueriesPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsQueryPROC) (jint); typedef void (APIENTRY *glBeginQueryPROC) (jint, jint); typedef void (APIENTRY *glEndQueryPROC) (jint); -typedef void (APIENTRY *glGetQueryivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetQueryObjectuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetQueryivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetQueryObjectuivPROC) (jint, jint, uintptr_t); typedef jboolean (APIENTRY *glUnmapBufferPROC) (jint); -typedef void (APIENTRY *glGetBufferPointervPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glDrawBuffersPROC) (jint, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x3fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x4fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x2fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x4fvPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x3fvPROC) (jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glGetBufferPointervPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glDrawBuffersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x3fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x4fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x2fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x4fvPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x3fvPROC) (jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glBlitFramebufferPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); typedef void (APIENTRY *glRenderbufferStorageMultisamplePROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glFramebufferTextureLayerPROC) (jint, jint, jint, jint, jint); -typedef intptr_t (APIENTRY *glMapBufferRangePROC) (jint, intptr_t, intptr_t, jint); -typedef void (APIENTRY *glFlushMappedBufferRangePROC) (jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glMapBufferRangePROC) (jint, uintptr_t, uintptr_t, jint); +typedef void (APIENTRY *glFlushMappedBufferRangePROC) (jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glBindVertexArrayPROC) (jint); -typedef void (APIENTRY *glDeleteVertexArraysPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenVertexArraysPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteVertexArraysPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenVertexArraysPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsVertexArrayPROC) (jint); -typedef void (APIENTRY *glGetIntegeri_vPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetIntegeri_vPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glBeginTransformFeedbackPROC) (jint); typedef void (APIENTRY *glEndTransformFeedbackPROC) (void); -typedef void (APIENTRY *glBindBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glBindBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glBindBufferBasePROC) (jint, jint, jint); -typedef void (APIENTRY *glTransformFeedbackVaryingsPROC) (jint, jint, intptr_t, jint); -typedef void (APIENTRY *glGetTransformFeedbackVaryingPROC) (jint, jint, jint, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glVertexAttribIPointerPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetVertexAttribIuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTransformFeedbackVaryingsPROC) (jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glGetTransformFeedbackVaryingPROC) (jint, jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glVertexAttribIPointerPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetVertexAttribIuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glVertexAttribI4iPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glVertexAttribI4uiPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glVertexAttribI4ivPROC) (jint, intptr_t); -typedef void (APIENTRY *glVertexAttribI4uivPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetUniformuivPROC) (jint, jint, intptr_t); -typedef jint (APIENTRY *glGetFragDataLocationPROC) (jint, intptr_t); +typedef void (APIENTRY *glVertexAttribI4ivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glVertexAttribI4uivPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetUniformuivPROC) (jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetFragDataLocationPROC) (jint, uintptr_t); typedef void (APIENTRY *glUniform1uiPROC) (jint, jint); typedef void (APIENTRY *glUniform2uiPROC) (jint, jint, jint); typedef void (APIENTRY *glUniform3uiPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glUniform4uiPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glUniform1uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4uivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glClearBufferfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4uivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glClearBufferfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glClearBufferfiPROC) (jint, jint, jfloat, jint); -typedef intptr_t (APIENTRY *glGetStringiPROC) (jint, jint); -typedef void (APIENTRY *glCopyBufferSubDataPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetUniformIndicesPROC) (jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetActiveUniformsivPROC) (jint, jint, intptr_t, jint, intptr_t); -typedef jint (APIENTRY *glGetUniformBlockIndexPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformBlockivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetActiveUniformBlockNamePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef uintptr_t (APIENTRY *glGetStringiPROC) (jint, jint); +typedef void (APIENTRY *glCopyBufferSubDataPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetUniformIndicesPROC) (jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformsivPROC) (jint, jint, uintptr_t, jint, uintptr_t); +typedef jint (APIENTRY *glGetUniformBlockIndexPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformBlockivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetActiveUniformBlockNamePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glUniformBlockBindingPROC) (jint, jint, jint); typedef void (APIENTRY *glDrawArraysInstancedPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedPROC) (jint, jint, jint, intptr_t, jint); -typedef intptr_t (APIENTRY *glFenceSyncPROC) (jint, jint); -typedef jboolean (APIENTRY *glIsSyncPROC) (intptr_t); -typedef void (APIENTRY *glDeleteSyncPROC) (intptr_t); -typedef jint (APIENTRY *glClientWaitSyncPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glWaitSyncPROC) (intptr_t, jint, jlong); -typedef void (APIENTRY *glGetInteger64vPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetSyncivPROC) (intptr_t, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetInteger64i_vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetBufferParameteri64vPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGenSamplersPROC) (jint, intptr_t); -typedef void (APIENTRY *glDeleteSamplersPROC) (jint, intptr_t); +typedef void (APIENTRY *glDrawElementsInstancedPROC) (jint, jint, jint, uintptr_t, jint); +typedef uintptr_t (APIENTRY *glFenceSyncPROC) (jint, jint); +typedef jboolean (APIENTRY *glIsSyncPROC) (uintptr_t); +typedef void (APIENTRY *glDeleteSyncPROC) (uintptr_t); +typedef jint (APIENTRY *glClientWaitSyncPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glWaitSyncPROC) (uintptr_t, jint, jlong); +typedef void (APIENTRY *glGetInteger64vPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetSyncivPROC) (uintptr_t, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetInteger64i_vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetBufferParameteri64vPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGenSamplersPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDeleteSamplersPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsSamplerPROC) (jint); typedef void (APIENTRY *glBindSamplerPROC) (jint, jint); typedef void (APIENTRY *glSamplerParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glSamplerParameterivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glSamplerParameterivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSamplerParameterfPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glSamplerParameterfvPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterfvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glSamplerParameterfvPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterfvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glVertexAttribDivisorPROC) (jint, jint); typedef void (APIENTRY *glBindTransformFeedbackPROC) (jint, jint); -typedef void (APIENTRY *glDeleteTransformFeedbacksPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenTransformFeedbacksPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteTransformFeedbacksPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenTransformFeedbacksPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsTransformFeedbackPROC) (jint); typedef void (APIENTRY *glPauseTransformFeedbackPROC) (void); typedef void (APIENTRY *glResumeTransformFeedbackPROC) (void); -typedef void (APIENTRY *glGetProgramBinaryPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glProgramBinaryPROC) (jint, jint, intptr_t, jint); +typedef void (APIENTRY *glGetProgramBinaryPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glProgramBinaryPROC) (jint, jint, uintptr_t, jint); typedef void (APIENTRY *glProgramParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glInvalidateFramebufferPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glInvalidateSubFramebufferPROC) (jint, jint, intptr_t, jint, jint, jint, jint); +typedef void (APIENTRY *glInvalidateFramebufferPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glInvalidateSubFramebufferPROC) (jint, jint, uintptr_t, jint, jint, jint, jint); typedef void (APIENTRY *glTexStorage2DPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glTexStorage3DPROC) (jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glGetInternalformativPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetInternalformativPROC) (jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -121,21 +121,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glReadBuffer(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDrawRangeElements(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress) { glDrawRangeElementsPROC glDrawRangeElements = (glDrawRangeElementsPROC)tlsGetFunction(143); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElements(mode, start, end, count, type, indices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglTexImage3D__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage3DPROC glTexImage3D = (glTexImage3DPROC)tlsGetFunction(144); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglTexSubImage3D__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTexSubImage3DPROC glTexSubImage3D = (glTexSubImage3DPROC)tlsGetFunction(145); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -148,28 +148,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glCopyTexSubImage3D(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglCompressedTexImage3D(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage3DPROC glCompressedTexImage3D = (glCompressedTexImage3DPROC)tlsGetFunction(147); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglCompressedTexSubImage3D(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage3DPROC glCompressedTexSubImage3D = (glCompressedTexSubImage3DPROC)tlsGetFunction(148); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGenQueries__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenQueriesPROC glGenQueries = (glGenQueriesPROC)tlsGetFunction(149); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenQueries(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDeleteQueries__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteQueriesPROC glDeleteQueries = (glDeleteQueriesPROC)tlsGetFunction(150); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteQueries(n, ids); } @@ -194,14 +194,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glEndQuery(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetQueryiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetQueryivPROC glGetQueryiv = (glGetQueryivPROC)tlsGetFunction(154); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetQueryObjectuiv__IIJ(JNIEnv *__env, jclass clazz, jint id, jint pname, jlong paramsAddress) { glGetQueryObjectuivPROC glGetQueryObjectuiv = (glGetQueryObjectuivPROC)tlsGetFunction(155); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetQueryObjectuiv(id, pname, params); } @@ -214,56 +214,56 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_GLES30_glUnmapBuffer(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetBufferPointerv(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferPointervPROC glGetBufferPointerv = (glGetBufferPointervPROC)tlsGetFunction(157); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferPointerv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDrawBuffers__IJ(JNIEnv *__env, jclass clazz, jint n, jlong bufsAddress) { glDrawBuffersPROC glDrawBuffers = (glDrawBuffersPROC)tlsGetFunction(158); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glDrawBuffers(n, bufs); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix2x3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x3fvPROC glUniformMatrix2x3fv = (glUniformMatrix2x3fvPROC)tlsGetFunction(159); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x3fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix3x2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x2fvPROC glUniformMatrix3x2fv = (glUniformMatrix3x2fvPROC)tlsGetFunction(160); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix2x4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x4fvPROC glUniformMatrix2x4fv = (glUniformMatrix2x4fvPROC)tlsGetFunction(161); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x4fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix4x2fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x2fvPROC glUniformMatrix4x2fv = (glUniformMatrix4x2fvPROC)tlsGetFunction(162); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x2fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix3x4fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x4fvPROC glUniformMatrix3x4fv = (glUniformMatrix3x4fvPROC)tlsGetFunction(163); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x4fv(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniformMatrix4x3fv__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x3fvPROC glUniformMatrix4x3fv = (glUniformMatrix4x3fvPROC)tlsGetFunction(164); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x3fv(location, count, transpose, value); } @@ -289,13 +289,13 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glFramebufferTextureLayer( JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_GLES30_nglMapBufferRange(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length, jint access) { glMapBufferRangePROC glMapBufferRange = (glMapBufferRangePROC)tlsGetFunction(168); UNUSED_PARAM(clazz) - return (jlong)glMapBufferRange(target, (intptr_t)offset, (intptr_t)length, access); + return (jlong)glMapBufferRange(target, (uintptr_t)offset, (uintptr_t)length, access); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glFlushMappedBufferRange(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong length) { glFlushMappedBufferRangePROC glFlushMappedBufferRange = (glFlushMappedBufferRangePROC)tlsGetFunction(169); UNUSED_PARAM(clazz) - glFlushMappedBufferRange(target, (intptr_t)offset, (intptr_t)length); + glFlushMappedBufferRange(target, (uintptr_t)offset, (uintptr_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindVertexArray(JNIEnv *__env, jclass clazz, jint array) { @@ -306,14 +306,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindVertexArray(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDeleteVertexArrays__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glDeleteVertexArraysPROC glDeleteVertexArrays = (glDeleteVertexArraysPROC)tlsGetFunction(171); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glDeleteVertexArrays(n, arrays); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGenVertexArrays__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glGenVertexArraysPROC glGenVertexArrays = (glGenVertexArraysPROC)tlsGetFunction(172); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glGenVertexArrays(n, arrays); } @@ -326,7 +326,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_GLES30_glIsVertexArray(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetIntegeri_1v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetIntegeri_vPROC glGetIntegeri_v = (glGetIntegeri_vPROC)tlsGetFunction(174); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetIntegeri_v(target, index, data); } @@ -346,7 +346,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glEndTransformFeedback(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindBufferRange(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer, jlong offset, jlong size) { glBindBufferRangePROC glBindBufferRange = (glBindBufferRangePROC)tlsGetFunction(177); UNUSED_PARAM(clazz) - glBindBufferRange(target, index, buffer, (intptr_t)offset, (intptr_t)size); + glBindBufferRange(target, index, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindBufferBase(JNIEnv *__env, jclass clazz, jint target, jint index, jint buffer) { @@ -357,38 +357,38 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindBufferBase(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglTransformFeedbackVaryings(JNIEnv *__env, jclass clazz, jint program, jint count, jlong varyingsAddress, jint bufferMode) { glTransformFeedbackVaryingsPROC glTransformFeedbackVaryings = (glTransformFeedbackVaryingsPROC)tlsGetFunction(179); - intptr_t varyings = (intptr_t)varyingsAddress; + uintptr_t varyings = (uintptr_t)varyingsAddress; UNUSED_PARAM(clazz) glTransformFeedbackVaryings(program, count, varyings, bufferMode); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetTransformFeedbackVarying__IIIJJJJ(JNIEnv *__env, jclass clazz, jint program, jint index, jint bufSize, jlong lengthAddress, jlong sizeAddress, jlong typeAddress, jlong nameAddress) { glGetTransformFeedbackVaryingPROC glGetTransformFeedbackVarying = (glGetTransformFeedbackVaryingPROC)tlsGetFunction(180); - intptr_t length = (intptr_t)lengthAddress; - intptr_t size = (intptr_t)sizeAddress; - intptr_t type = (intptr_t)typeAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t size = (uintptr_t)sizeAddress; + uintptr_t type = (uintptr_t)typeAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglVertexAttribIPointer(JNIEnv *__env, jclass clazz, jint index, jint size, jint type, jint stride, jlong pointerAddress) { glVertexAttribIPointerPROC glVertexAttribIPointer = (glVertexAttribIPointerPROC)tlsGetFunction(181); - intptr_t pointer = (intptr_t)pointerAddress; + uintptr_t pointer = (uintptr_t)pointerAddress; UNUSED_PARAM(clazz) glVertexAttribIPointer(index, size, type, stride, pointer); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetVertexAttribIiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIivPROC glGetVertexAttribIiv = (glGetVertexAttribIivPROC)tlsGetFunction(182); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIiv(index, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetVertexAttribIuiv__IIJ(JNIEnv *__env, jclass clazz, jint index, jint pname, jlong paramsAddress) { glGetVertexAttribIuivPROC glGetVertexAttribIuiv = (glGetVertexAttribIuivPROC)tlsGetFunction(183); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetVertexAttribIuiv(index, pname, params); } @@ -407,28 +407,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glVertexAttribI4ui(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglVertexAttribI4iv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4ivPROC glVertexAttribI4iv = (glVertexAttribI4ivPROC)tlsGetFunction(186); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4iv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglVertexAttribI4uiv__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glVertexAttribI4uivPROC glVertexAttribI4uiv = (glVertexAttribI4uivPROC)tlsGetFunction(187); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glVertexAttribI4uiv(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetUniformuiv__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformuivPROC glGetUniformuiv = (glGetUniformuivPROC)tlsGetFunction(188); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformuiv(program, location, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES30_nglGetFragDataLocation(JNIEnv *__env, jclass clazz, jint program, jlong nameAddress) { glGetFragDataLocationPROC glGetFragDataLocation = (glGetFragDataLocationPROC)tlsGetFunction(189); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetFragDataLocation(program, name); } @@ -459,49 +459,49 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glUniform4ui(JNIEnv *__env JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniform1uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1uivPROC glUniform1uiv = (glUniform1uivPROC)tlsGetFunction(194); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniform2uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2uivPROC glUniform2uiv = (glUniform2uivPROC)tlsGetFunction(195); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniform3uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3uivPROC glUniform3uiv = (glUniform3uivPROC)tlsGetFunction(196); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglUniform4uiv__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4uivPROC glUniform4uiv = (glUniform4uivPROC)tlsGetFunction(197); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4uiv(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglClearBufferiv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferivPROC glClearBufferiv = (glClearBufferivPROC)tlsGetFunction(198); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferiv(buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglClearBufferuiv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferuivPROC glClearBufferuiv = (glClearBufferuivPROC)tlsGetFunction(199); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferuiv(buffer, drawbuffer, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglClearBufferfv__IIJ(JNIEnv *__env, jclass clazz, jint buffer, jint drawbuffer, jlong valueAddress) { glClearBufferfvPROC glClearBufferfv = (glClearBufferfvPROC)tlsGetFunction(200); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glClearBufferfv(buffer, drawbuffer, value); } @@ -521,43 +521,43 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_GLES30_nglGetStringi(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glCopyBufferSubData(JNIEnv *__env, jclass clazz, jint readTarget, jint writeTarget, jlong readOffset, jlong writeOffset, jlong size) { glCopyBufferSubDataPROC glCopyBufferSubData = (glCopyBufferSubDataPROC)tlsGetFunction(203); UNUSED_PARAM(clazz) - glCopyBufferSubData(readTarget, writeTarget, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glCopyBufferSubData(readTarget, writeTarget, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetUniformIndices__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint uniformCount, jlong uniformNamesAddress, jlong uniformIndicesAddress) { glGetUniformIndicesPROC glGetUniformIndices = (glGetUniformIndicesPROC)tlsGetFunction(204); - intptr_t uniformNames = (intptr_t)uniformNamesAddress; - intptr_t uniformIndices = (intptr_t)uniformIndicesAddress; + uintptr_t uniformNames = (uintptr_t)uniformNamesAddress; + uintptr_t uniformIndices = (uintptr_t)uniformIndicesAddress; UNUSED_PARAM(clazz) glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetActiveUniformsiv__IIJIJ(JNIEnv *__env, jclass clazz, jint program, jint uniformCount, jlong uniformIndicesAddress, jint pname, jlong paramsAddress) { glGetActiveUniformsivPROC glGetActiveUniformsiv = (glGetActiveUniformsivPROC)tlsGetFunction(205); - intptr_t uniformIndices = (intptr_t)uniformIndicesAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t uniformIndices = (uintptr_t)uniformIndicesAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES30_nglGetUniformBlockIndex(JNIEnv *__env, jclass clazz, jint program, jlong uniformBlockNameAddress) { glGetUniformBlockIndexPROC glGetUniformBlockIndex = (glGetUniformBlockIndexPROC)tlsGetFunction(206); - intptr_t uniformBlockName = (intptr_t)uniformBlockNameAddress; + uintptr_t uniformBlockName = (uintptr_t)uniformBlockNameAddress; UNUSED_PARAM(clazz) return (jint)glGetUniformBlockIndex(program, uniformBlockName); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetActiveUniformBlockiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint uniformBlockIndex, jint pname, jlong paramsAddress) { glGetActiveUniformBlockivPROC glGetActiveUniformBlockiv = (glGetActiveUniformBlockivPROC)tlsGetFunction(207); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetActiveUniformBlockName__IIIJJ(JNIEnv *__env, jclass clazz, jint program, jint uniformBlockIndex, jint bufSize, jlong lengthAddress, jlong uniformBlockNameAddress) { glGetActiveUniformBlockNamePROC glGetActiveUniformBlockName = (glGetActiveUniformBlockNamePROC)tlsGetFunction(208); - intptr_t length = (intptr_t)lengthAddress; - intptr_t uniformBlockName = (intptr_t)uniformBlockNameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t uniformBlockName = (uintptr_t)uniformBlockNameAddress; UNUSED_PARAM(clazz) glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); } @@ -576,7 +576,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glDrawArraysInstanced(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDrawElementsInstanced(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount) { glDrawElementsInstancedPROC glDrawElementsInstanced = (glDrawElementsInstancedPROC)tlsGetFunction(211); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstanced(mode, count, type, indices, instancecount); } @@ -589,72 +589,72 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_GLES30_glFenceSync(JNIEnv *__env JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_GLES30_nglIsSync(JNIEnv *__env, jclass clazz, jlong syncAddress) { glIsSyncPROC glIsSync = (glIsSyncPROC)tlsGetFunction(213); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jboolean)glIsSync(sync); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDeleteSync(JNIEnv *__env, jclass clazz, jlong syncAddress) { glDeleteSyncPROC glDeleteSync = (glDeleteSyncPROC)tlsGetFunction(214); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glDeleteSync(sync); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES30_nglClientWaitSync(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glClientWaitSyncPROC glClientWaitSync = (glClientWaitSyncPROC)tlsGetFunction(215); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) return (jint)glClientWaitSync(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglWaitSync(JNIEnv *__env, jclass clazz, jlong syncAddress, jint flags, jlong timeout) { glWaitSyncPROC glWaitSync = (glWaitSyncPROC)tlsGetFunction(216); - intptr_t sync = (intptr_t)syncAddress; + uintptr_t sync = (uintptr_t)syncAddress; UNUSED_PARAM(clazz) glWaitSync(sync, flags, timeout); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetInteger64v__IJ(JNIEnv *__env, jclass clazz, jint pname, jlong dataAddress) { glGetInteger64vPROC glGetInteger64v = (glGetInteger64vPROC)tlsGetFunction(217); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetInteger64v(pname, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetSynciv__JIIJJ(JNIEnv *__env, jclass clazz, jlong syncAddress, jint pname, jint bufSize, jlong lengthAddress, jlong valuesAddress) { glGetSyncivPROC glGetSynciv = (glGetSyncivPROC)tlsGetFunction(218); - intptr_t sync = (intptr_t)syncAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t values = (intptr_t)valuesAddress; + uintptr_t sync = (uintptr_t)syncAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glGetSynciv(sync, pname, bufSize, length, values); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetInteger64i_1v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetInteger64i_vPROC glGetInteger64i_v = (glGetInteger64i_vPROC)tlsGetFunction(219); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetInteger64i_v(target, index, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetBufferParameteri64v__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferParameteri64vPROC glGetBufferParameteri64v = (glGetBufferParameteri64vPROC)tlsGetFunction(220); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferParameteri64v(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGenSamplers__IJ(JNIEnv *__env, jclass clazz, jint count, jlong samplersAddress) { glGenSamplersPROC glGenSamplers = (glGenSamplersPROC)tlsGetFunction(221); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glGenSamplers(count, samplers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDeleteSamplers__IJ(JNIEnv *__env, jclass clazz, jint count, jlong samplersAddress) { glDeleteSamplersPROC glDeleteSamplers = (glDeleteSamplersPROC)tlsGetFunction(222); - intptr_t samplers = (intptr_t)samplersAddress; + uintptr_t samplers = (uintptr_t)samplersAddress; UNUSED_PARAM(clazz) glDeleteSamplers(count, samplers); } @@ -679,7 +679,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glSamplerParameteri(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglSamplerParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramAddress) { glSamplerParameterivPROC glSamplerParameteriv = (glSamplerParameterivPROC)tlsGetFunction(226); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glSamplerParameteriv(sampler, pname, param); } @@ -692,21 +692,21 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glSamplerParameterf(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglSamplerParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramAddress) { glSamplerParameterfvPROC glSamplerParameterfv = (glSamplerParameterfvPROC)tlsGetFunction(228); - intptr_t param = (intptr_t)paramAddress; + uintptr_t param = (uintptr_t)paramAddress; UNUSED_PARAM(clazz) glSamplerParameterfv(sampler, pname, param); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetSamplerParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterivPROC glGetSamplerParameteriv = (glGetSamplerParameterivPROC)tlsGetFunction(229); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameteriv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetSamplerParameterfv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterfvPROC glGetSamplerParameterfv = (glGetSamplerParameterfvPROC)tlsGetFunction(230); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterfv(sampler, pname, params); } @@ -725,14 +725,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glBindTransformFeedback(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglDeleteTransformFeedbacks__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glDeleteTransformFeedbacksPROC glDeleteTransformFeedbacks = (glDeleteTransformFeedbacksPROC)tlsGetFunction(233); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDeleteTransformFeedbacks(n, ids); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGenTransformFeedbacks__IJ(JNIEnv *__env, jclass clazz, jint n, jlong idsAddress) { glGenTransformFeedbacksPROC glGenTransformFeedbacks = (glGenTransformFeedbacksPROC)tlsGetFunction(234); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glGenTransformFeedbacks(n, ids); } @@ -757,16 +757,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glResumeTransformFeedback( JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetProgramBinary__IIJJJ(JNIEnv *__env, jclass clazz, jint program, jint bufSize, jlong lengthAddress, jlong binaryFormatAddress, jlong binaryAddress) { glGetProgramBinaryPROC glGetProgramBinary = (glGetProgramBinaryPROC)tlsGetFunction(238); - intptr_t length = (intptr_t)lengthAddress; - intptr_t binaryFormat = (intptr_t)binaryFormatAddress; - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t binaryFormat = (uintptr_t)binaryFormatAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glGetProgramBinary(program, bufSize, length, binaryFormat, binary); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglProgramBinary(JNIEnv *__env, jclass clazz, jint program, jint binaryFormat, jlong binaryAddress, jint length) { glProgramBinaryPROC glProgramBinary = (glProgramBinaryPROC)tlsGetFunction(239); - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glProgramBinary(program, binaryFormat, binary, length); } @@ -779,14 +779,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glProgramParameteri(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglInvalidateFramebuffer__IIJ(JNIEnv *__env, jclass clazz, jint target, jint numAttachments, jlong attachmentsAddress) { glInvalidateFramebufferPROC glInvalidateFramebuffer = (glInvalidateFramebufferPROC)tlsGetFunction(241); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateFramebuffer(target, numAttachments, attachments); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglInvalidateSubFramebuffer__IIJIIII(JNIEnv *__env, jclass clazz, jint target, jint numAttachments, jlong attachmentsAddress, jint x, jint y, jint width, jint height) { glInvalidateSubFramebufferPROC glInvalidateSubFramebuffer = (glInvalidateSubFramebufferPROC)tlsGetFunction(242); - intptr_t attachments = (intptr_t)attachmentsAddress; + uintptr_t attachments = (uintptr_t)attachmentsAddress; UNUSED_PARAM(clazz) glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); } @@ -805,7 +805,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_glTexStorage3D(JNIEnv *__e JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES30_nglGetInternalformativ__IIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint pname, jint bufSize, jlong paramsAddress) { glGetInternalformativPROC glGetInternalformativ = (glGetInternalformativPROC)tlsGetFunction(245); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInternalformativ(target, internalformat, pname, bufSize, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES31.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES31.c index a1367354c3..10c5b2981c 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES31.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES31.c @@ -7,24 +7,24 @@ #include "opengles.h" typedef void (APIENTRY *glDispatchComputePROC) (jint, jint, jint); -typedef void (APIENTRY *glDispatchComputeIndirectPROC) (intptr_t); -typedef void (APIENTRY *glDrawArraysIndirectPROC) (jint, intptr_t); -typedef void (APIENTRY *glDrawElementsIndirectPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glDispatchComputeIndirectPROC) (uintptr_t); +typedef void (APIENTRY *glDrawArraysIndirectPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDrawElementsIndirectPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFramebufferParameteriPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferParameterivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramInterfaceivPROC) (jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceIndexPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetProgramResourceNamePROC) (jint, jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetProgramResourceivPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); -typedef jint (APIENTRY *glGetProgramResourceLocationPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferParameterivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramInterfaceivPROC) (jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceIndexPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetProgramResourceNamePROC) (jint, jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetProgramResourceivPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetProgramResourceLocationPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUseProgramStagesPROC) (jint, jint, jint); typedef void (APIENTRY *glActiveShaderProgramPROC) (jint, jint); -typedef jint (APIENTRY *glCreateShaderProgramvPROC) (jint, jint, intptr_t); +typedef jint (APIENTRY *glCreateShaderProgramvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glBindProgramPipelinePROC) (jint); -typedef void (APIENTRY *glDeleteProgramPipelinesPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenProgramPipelinesPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteProgramPipelinesPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenProgramPipelinesPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsProgramPipelinePROC) (jint); -typedef void (APIENTRY *glGetProgramPipelineivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetProgramPipelineivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1iPROC) (jint, jint, jint); typedef void (APIENTRY *glProgramUniform2iPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glProgramUniform3iPROC) (jint, jint, jint, jint, jint); @@ -37,39 +37,39 @@ typedef void (APIENTRY *glProgramUniform1fPROC) (jint, jint, jfloat); typedef void (APIENTRY *glProgramUniform2fPROC) (jint, jint, jfloat, jfloat); typedef void (APIENTRY *glProgramUniform3fPROC) (jint, jint, jfloat, jfloat, jfloat); typedef void (APIENTRY *glProgramUniform4fPROC) (jint, jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glProgramUniform1ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4ivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4uivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform1fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4fvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x3fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix2x4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x2fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix3x4fvPROC) (jint, jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glProgramUniformMatrix4x3fvPROC) (jint, jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glProgramUniform1ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4ivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4uivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform1fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4fvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x3fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix2x4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x2fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix3x4fvPROC) (jint, jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glProgramUniformMatrix4x3fvPROC) (jint, jint, jint, jboolean, uintptr_t); typedef void (APIENTRY *glValidateProgramPipelinePROC) (jint); -typedef void (APIENTRY *glGetProgramPipelineInfoLogPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetProgramPipelineInfoLogPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glBindImageTexturePROC) (jint, jint, jint, jboolean, jint, jint, jint); -typedef void (APIENTRY *glGetBooleani_vPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetBooleani_vPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glMemoryBarrierPROC) (jint); typedef void (APIENTRY *glMemoryBarrierByRegionPROC) (jint); typedef void (APIENTRY *glTexStorage2DMultisamplePROC) (jint, jint, jint, jint, jint, jboolean); -typedef void (APIENTRY *glGetMultisamplefvPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetMultisamplefvPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glSampleMaskiPROC) (jint, jint); -typedef void (APIENTRY *glGetTexLevelParameterivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexLevelParameterfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glBindVertexBufferPROC) (jint, jint, intptr_t, jint); +typedef void (APIENTRY *glGetTexLevelParameterivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexLevelParameterfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glBindVertexBufferPROC) (jint, jint, uintptr_t, jint); typedef void (APIENTRY *glVertexAttribFormatPROC) (jint, jint, jint, jboolean, jint); typedef void (APIENTRY *glVertexAttribIFormatPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glVertexAttribBindingPROC) (jint, jint); @@ -86,19 +86,19 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glDispatchCompute(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glDispatchComputeIndirect(JNIEnv *__env, jclass clazz, jlong indirect) { glDispatchComputeIndirectPROC glDispatchComputeIndirect = (glDispatchComputeIndirectPROC)tlsGetFunction(247); UNUSED_PARAM(clazz) - glDispatchComputeIndirect((intptr_t)indirect); + glDispatchComputeIndirect((uintptr_t)indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglDrawArraysIndirect__IJ(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress) { glDrawArraysIndirectPROC glDrawArraysIndirect = (glDrawArraysIndirectPROC)tlsGetFunction(248); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glDrawArraysIndirect(mode, indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglDrawElementsIndirect__IIJ(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress) { glDrawElementsIndirectPROC glDrawElementsIndirect = (glDrawElementsIndirectPROC)tlsGetFunction(249); - intptr_t indirect = (intptr_t)indirectAddress; + uintptr_t indirect = (uintptr_t)indirectAddress; UNUSED_PARAM(clazz) glDrawElementsIndirect(mode, type, indirect); } @@ -111,45 +111,45 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glFramebufferParameteri(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetFramebufferParameteriv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetFramebufferParameterivPROC glGetFramebufferParameteriv = (glGetFramebufferParameterivPROC)tlsGetFunction(251); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferParameteriv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramInterfaceiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint pname, jlong paramsAddress) { glGetProgramInterfaceivPROC glGetProgramInterfaceiv = (glGetProgramInterfaceivPROC)tlsGetFunction(252); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramInterfaceiv(program, programInterface, pname, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramResourceIndex(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceIndexPROC glGetProgramResourceIndex = (glGetProgramResourceIndexPROC)tlsGetFunction(253); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceIndex(program, programInterface, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramResourceName__IIIIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint bufSize, jlong lengthAddress, jlong nameAddress) { glGetProgramResourceNamePROC glGetProgramResourceName = (glGetProgramResourceNamePROC)tlsGetFunction(254); - intptr_t length = (intptr_t)lengthAddress; - intptr_t name = (intptr_t)nameAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) glGetProgramResourceName(program, programInterface, index, bufSize, length, name); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramResourceiv__IIIIJIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint propCount, jlong propsAddress, jint bufSize, jlong lengthAddress, jlong paramsAddress) { glGetProgramResourceivPROC glGetProgramResourceiv = (glGetProgramResourceivPROC)tlsGetFunction(255); - intptr_t props = (intptr_t)propsAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t props = (uintptr_t)propsAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramResourceLocation(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jlong nameAddress) { glGetProgramResourceLocationPROC glGetProgramResourceLocation = (glGetProgramResourceLocationPROC)tlsGetFunction(256); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jint)glGetProgramResourceLocation(program, programInterface, name); } @@ -168,7 +168,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glActiveShaderProgram(JNIE JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES31_nglCreateShaderProgramv(JNIEnv *__env, jclass clazz, jint type, jint count, jlong stringsAddress) { glCreateShaderProgramvPROC glCreateShaderProgramv = (glCreateShaderProgramvPROC)tlsGetFunction(259); - intptr_t strings = (intptr_t)stringsAddress; + uintptr_t strings = (uintptr_t)stringsAddress; UNUSED_PARAM(clazz) return (jint)glCreateShaderProgramv(type, count, strings); } @@ -181,14 +181,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glBindProgramPipeline(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglDeleteProgramPipelines__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glDeleteProgramPipelinesPROC glDeleteProgramPipelines = (glDeleteProgramPipelinesPROC)tlsGetFunction(261); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glDeleteProgramPipelines(n, pipelines); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGenProgramPipelines__IJ(JNIEnv *__env, jclass clazz, jint n, jlong pipelinesAddress) { glGenProgramPipelinesPROC glGenProgramPipelines = (glGenProgramPipelinesPROC)tlsGetFunction(262); - intptr_t pipelines = (intptr_t)pipelinesAddress; + uintptr_t pipelines = (uintptr_t)pipelinesAddress; UNUSED_PARAM(clazz) glGenProgramPipelines(n, pipelines); } @@ -201,7 +201,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_GLES31_glIsProgramPipeline(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramPipelineiv__IIJ(JNIEnv *__env, jclass clazz, jint pipeline, jint pname, jlong paramsAddress) { glGetProgramPipelineivPROC glGetProgramPipelineiv = (glGetProgramPipelineivPROC)tlsGetFunction(264); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramPipelineiv(pipeline, pname, params); } @@ -280,147 +280,147 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glProgramUniform4f(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform1iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ivPROC glProgramUniform1iv = (glProgramUniform1ivPROC)tlsGetFunction(277); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform2iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ivPROC glProgramUniform2iv = (glProgramUniform2ivPROC)tlsGetFunction(278); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform3iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ivPROC glProgramUniform3iv = (glProgramUniform3ivPROC)tlsGetFunction(279); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform4iv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ivPROC glProgramUniform4iv = (glProgramUniform4ivPROC)tlsGetFunction(280); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4iv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform1uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1uivPROC glProgramUniform1uiv = (glProgramUniform1uivPROC)tlsGetFunction(281); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform2uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2uivPROC glProgramUniform2uiv = (glProgramUniform2uivPROC)tlsGetFunction(282); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform3uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3uivPROC glProgramUniform3uiv = (glProgramUniform3uivPROC)tlsGetFunction(283); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform4uiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4uivPROC glProgramUniform4uiv = (glProgramUniform4uivPROC)tlsGetFunction(284); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4uiv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform1fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1fvPROC glProgramUniform1fv = (glProgramUniform1fvPROC)tlsGetFunction(285); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform2fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2fvPROC glProgramUniform2fv = (glProgramUniform2fvPROC)tlsGetFunction(286); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform3fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3fvPROC glProgramUniform3fv = (glProgramUniform3fvPROC)tlsGetFunction(287); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniform4fv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4fvPROC glProgramUniform4fv = (glProgramUniform4fvPROC)tlsGetFunction(288); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4fv(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2fvPROC glProgramUniformMatrix2fv = (glProgramUniformMatrix2fvPROC)tlsGetFunction(289); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3fvPROC glProgramUniformMatrix3fv = (glProgramUniformMatrix3fvPROC)tlsGetFunction(290); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4fvPROC glProgramUniformMatrix4fv = (glProgramUniformMatrix4fvPROC)tlsGetFunction(291); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix2x3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x3fvPROC glProgramUniformMatrix2x3fv = (glProgramUniformMatrix2x3fvPROC)tlsGetFunction(292); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x3fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix3x2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x2fvPROC glProgramUniformMatrix3x2fv = (glProgramUniformMatrix3x2fvPROC)tlsGetFunction(293); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix2x4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix2x4fvPROC glProgramUniformMatrix2x4fv = (glProgramUniformMatrix2x4fvPROC)tlsGetFunction(294); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix2x4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix4x2fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x2fvPROC glProgramUniformMatrix4x2fv = (glProgramUniformMatrix4x2fvPROC)tlsGetFunction(295); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x2fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix3x4fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix3x4fvPROC glProgramUniformMatrix3x4fv = (glProgramUniformMatrix3x4fvPROC)tlsGetFunction(296); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix3x4fv(program, location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglProgramUniformMatrix4x3fv__IIIZJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jboolean transpose, jlong valueAddress) { glProgramUniformMatrix4x3fvPROC glProgramUniformMatrix4x3fv = (glProgramUniformMatrix4x3fvPROC)tlsGetFunction(297); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniformMatrix4x3fv(program, location, count, transpose, value); } @@ -433,8 +433,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glValidateProgramPipeline( JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetProgramPipelineInfoLog__IIJJ(JNIEnv *__env, jclass clazz, jint pipeline, jint bufSize, jlong lengthAddress, jlong infoLogAddress) { glGetProgramPipelineInfoLogPROC glGetProgramPipelineInfoLog = (glGetProgramPipelineInfoLogPROC)tlsGetFunction(299); - intptr_t length = (intptr_t)lengthAddress; - intptr_t infoLog = (intptr_t)infoLogAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t infoLog = (uintptr_t)infoLogAddress; UNUSED_PARAM(clazz) glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); } @@ -447,7 +447,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glBindImageTexture(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetBooleani_1v(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetBooleani_vPROC glGetBooleani_v = (glGetBooleani_vPROC)tlsGetFunction(301); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetBooleani_v(target, index, data); } @@ -472,7 +472,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glTexStorage2DMultisample( JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetMultisamplefv__IIJ(JNIEnv *__env, jclass clazz, jint pname, jint index, jlong valAddress) { glGetMultisamplefvPROC glGetMultisamplefv = (glGetMultisamplefvPROC)tlsGetFunction(305); - intptr_t val = (intptr_t)valAddress; + uintptr_t val = (uintptr_t)valAddress; UNUSED_PARAM(clazz) glGetMultisamplefv(pname, index, val); } @@ -485,14 +485,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glSampleMaski(JNIEnv *__en JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetTexLevelParameteriv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint pname, jlong paramsAddress) { glGetTexLevelParameterivPROC glGetTexLevelParameteriv = (glGetTexLevelParameterivPROC)tlsGetFunction(307); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexLevelParameteriv(target, level, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetTexLevelParameterfv__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint pname, jlong paramsAddress) { glGetTexLevelParameterfvPROC glGetTexLevelParameterfv = (glGetTexLevelParameterfvPROC)tlsGetFunction(308); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexLevelParameterfv(target, level, pname, params); } @@ -500,7 +500,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_nglGetTexLevelParameterfv_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glBindVertexBuffer(JNIEnv *__env, jclass clazz, jint bindingindex, jint buffer, jlong offset, jint stride) { glBindVertexBufferPROC glBindVertexBuffer = (glBindVertexBufferPROC)tlsGetFunction(309); UNUSED_PARAM(clazz) - glBindVertexBuffer(bindingindex, buffer, (intptr_t)offset, stride); + glBindVertexBuffer(bindingindex, buffer, (uintptr_t)offset, stride); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES31_glVertexAttribFormat(JNIEnv *__env, jclass clazz, jint attribindex, jint size, jint type, jboolean normalized, jint relativeoffset) { diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES32.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES32.c index 0e92125795..6f9f6bf3f0 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES32.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_GLES32.c @@ -8,17 +8,17 @@ typedef void (APIENTRY *glBlendBarrierPROC) (void); typedef void (APIENTRY *glCopyImageSubDataPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glDebugMessageControlPROC) (jint, jint, jint, jint, intptr_t, jboolean); -typedef void (APIENTRY *glDebugMessageInsertPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glDebugMessageCallbackPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *glGetDebugMessageLogPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPointervPROC) (jint, intptr_t); -typedef void (APIENTRY *glPushDebugGroupPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDebugMessageControlPROC) (jint, jint, jint, jint, uintptr_t, jboolean); +typedef void (APIENTRY *glDebugMessageInsertPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glDebugMessageCallbackPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetDebugMessageLogPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPointervPROC) (jint, uintptr_t); +typedef void (APIENTRY *glPushDebugGroupPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPopDebugGroupPROC) (void); -typedef void (APIENTRY *glObjectLabelPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectLabelPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glObjectPtrLabelPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetObjectPtrLabelPROC) (intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glObjectLabelPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectLabelPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glObjectPtrLabelPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectPtrLabelPROC) (uintptr_t, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glEnableiPROC) (jint, jint); typedef void (APIENTRY *glDisableiPROC) (jint, jint); typedef void (APIENTRY *glBlendEquationiPROC) (jint, jint); @@ -27,28 +27,28 @@ typedef void (APIENTRY *glBlendFunciPROC) (jint, jint, jint); typedef void (APIENTRY *glBlendFuncSeparateiPROC) (jint, jint, jint, jint, jint); typedef void (APIENTRY *glColorMaskiPROC) (jint, jboolean, jboolean, jboolean, jboolean); typedef jboolean (APIENTRY *glIsEnablediPROC) (jint, jint); -typedef void (APIENTRY *glDrawElementsBaseVertexPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawRangeElementsBaseVertexPROC) (jint, jint, jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexPROC) (jint, jint, jint, intptr_t, jint, jint); +typedef void (APIENTRY *glDrawElementsBaseVertexPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawRangeElementsBaseVertexPROC) (jint, jint, jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexPROC) (jint, jint, jint, uintptr_t, jint, jint); typedef void (APIENTRY *glFramebufferTexturePROC) (jint, jint, jint, jint); typedef void (APIENTRY *glPrimitiveBoundingBoxPROC) (jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); typedef jint (APIENTRY *glGetGraphicsResetStatusPROC) (void); -typedef void (APIENTRY *glReadnPixelsPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformfvPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformivPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformuivPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glReadnPixelsPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformfvPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformivPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformuivPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glMinSampleShadingPROC) (jfloat); typedef void (APIENTRY *glPatchParameteriPROC) (jint, jint); -typedef void (APIENTRY *glTexParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIuivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIivPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIuivPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIuivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIivPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIuivPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glTexBufferPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexBufferRangePROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTexBufferRangePROC) (jint, jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glTexStorage3DMultisamplePROC) (jint, jint, jint, jint, jint, jint, jboolean); EXTERN_C_ENTER @@ -67,48 +67,48 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glCopyImageSubData(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDebugMessageControl__IIIIJZ(JNIEnv *__env, jclass clazz, jint source, jint type, jint severity, jint count, jlong idsAddress, jboolean enabled) { glDebugMessageControlPROC glDebugMessageControl = (glDebugMessageControlPROC)tlsGetFunction(316); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDebugMessageControl(source, type, severity, count, ids, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDebugMessageInsert(JNIEnv *__env, jclass clazz, jint source, jint type, jint id, jint severity, jint length, jlong messageAddress) { glDebugMessageInsertPROC glDebugMessageInsert = (glDebugMessageInsertPROC)tlsGetFunction(317); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glDebugMessageInsert(source, type, id, severity, length, message); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDebugMessageCallback(JNIEnv *__env, jclass clazz, jlong callbackAddress, jlong userParamAddress) { glDebugMessageCallbackPROC glDebugMessageCallback = (glDebugMessageCallbackPROC)tlsGetFunction(318); - intptr_t callback = (intptr_t)callbackAddress; - intptr_t userParam = (intptr_t)userParamAddress; + uintptr_t callback = (uintptr_t)callbackAddress; + uintptr_t userParam = (uintptr_t)userParamAddress; UNUSED_PARAM(clazz) glDebugMessageCallback(callback, userParam); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES32_nglGetDebugMessageLog__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint count, jint bufsize, jlong sourcesAddress, jlong typesAddress, jlong idsAddress, jlong severitiesAddress, jlong lengthsAddress, jlong messageLogAddress) { glGetDebugMessageLogPROC glGetDebugMessageLog = (glGetDebugMessageLogPROC)tlsGetFunction(319); - intptr_t sources = (intptr_t)sourcesAddress; - intptr_t types = (intptr_t)typesAddress; - intptr_t ids = (intptr_t)idsAddress; - intptr_t severities = (intptr_t)severitiesAddress; - intptr_t lengths = (intptr_t)lengthsAddress; - intptr_t messageLog = (intptr_t)messageLogAddress; + uintptr_t sources = (uintptr_t)sourcesAddress; + uintptr_t types = (uintptr_t)typesAddress; + uintptr_t ids = (uintptr_t)idsAddress; + uintptr_t severities = (uintptr_t)severitiesAddress; + uintptr_t lengths = (uintptr_t)lengthsAddress; + uintptr_t messageLog = (uintptr_t)messageLogAddress; UNUSED_PARAM(clazz) return (jint)glGetDebugMessageLog(count, bufsize, sources, types, ids, severities, lengths, messageLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetPointerv(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetPointervPROC glGetPointerv = (glGetPointervPROC)tlsGetFunction(320); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetPointerv(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglPushDebugGroup(JNIEnv *__env, jclass clazz, jint source, jint id, jint length, jlong messageAddress) { glPushDebugGroupPROC glPushDebugGroup = (glPushDebugGroupPROC)tlsGetFunction(321); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glPushDebugGroup(source, id, length, message); } @@ -121,32 +121,32 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glPopDebugGroup(JNIEnv *__ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglObjectLabel(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint length, jlong labelAddress) { glObjectLabelPROC glObjectLabel = (glObjectLabelPROC)tlsGetFunction(323); - intptr_t label = (intptr_t)labelAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectLabel(identifier, name, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetObjectLabel__IIIJJ(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectLabelPROC glGetObjectLabel = (glGetObjectLabelPROC)tlsGetFunction(324); - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectLabel(identifier, name, bufSize, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglObjectPtrLabel(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint length, jlong labelAddress) { glObjectPtrLabelPROC glObjectPtrLabel = (glObjectPtrLabelPROC)tlsGetFunction(325); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectPtrLabel(ptr, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetObjectPtrLabel__JIJJ(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectPtrLabelPROC glGetObjectPtrLabel = (glGetObjectPtrLabelPROC)tlsGetFunction(326); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectPtrLabel(ptr, bufSize, length, label); } @@ -201,21 +201,21 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_GLES32_glIsEnabledi(JNIEnv *_ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDrawElementsBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawElementsBaseVertexPROC glDrawElementsBaseVertex = (glDrawElementsBaseVertexPROC)tlsGetFunction(335); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsBaseVertex(mode, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDrawRangeElementsBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawRangeElementsBaseVertexPROC glDrawRangeElementsBaseVertex = (glDrawRangeElementsBaseVertexPROC)tlsGetFunction(336); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglDrawElementsInstancedBaseVertex(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount, jint basevertex) { glDrawElementsInstancedBaseVertexPROC glDrawElementsInstancedBaseVertex = (glDrawElementsInstancedBaseVertexPROC)tlsGetFunction(337); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); } @@ -240,28 +240,28 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_GLES32_glGetGraphicsResetStatus(J JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglReadnPixels__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jlong pixelsAddress) { glReadnPixelsPROC glReadnPixels = (glReadnPixelsPROC)tlsGetFunction(341); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glReadnPixels(x, y, width, height, format, type, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetnUniformfv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformfvPROC glGetnUniformfv = (glGetnUniformfvPROC)tlsGetFunction(342); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformfv(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetnUniformiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformivPROC glGetnUniformiv = (glGetnUniformivPROC)tlsGetFunction(343); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformiv(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetnUniformuiv__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformuivPROC glGetnUniformuiv = (glGetnUniformuivPROC)tlsGetFunction(344); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformuiv(program, location, bufSize, params); } @@ -280,56 +280,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glPatchParameteri(JNIEnv * JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglTexParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIivPROC glTexParameterIiv = (glTexParameterIivPROC)tlsGetFunction(347); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglTexParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIuivPROC glTexParameterIuiv = (glTexParameterIuivPROC)tlsGetFunction(348); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIuiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetTexParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIivPROC glGetTexParameterIiv = (glGetTexParameterIivPROC)tlsGetFunction(349); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetTexParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIuivPROC glGetTexParameterIuiv = (glGetTexParameterIuivPROC)tlsGetFunction(350); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIuiv(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglSamplerParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIivPROC glSamplerParameterIiv = (glSamplerParameterIivPROC)tlsGetFunction(351); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglSamplerParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIuivPROC glSamplerParameterIuiv = (glSamplerParameterIuivPROC)tlsGetFunction(352); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIuiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetSamplerParameterIiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIivPROC glGetSamplerParameterIiv = (glGetSamplerParameterIivPROC)tlsGetFunction(353); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIiv(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_nglGetSamplerParameterIuiv__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIuivPROC glGetSamplerParameterIuiv = (glGetSamplerParameterIuivPROC)tlsGetFunction(354); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIuiv(sampler, pname, params); } @@ -343,7 +343,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glTexBuffer(JNIEnv *__env, JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glTexBufferRange(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint buffer, jlong offset, jlong size) { glTexBufferRangePROC glTexBufferRange = (glTexBufferRangePROC)tlsGetFunction(356); UNUSED_PARAM(clazz) - glTexBufferRange(target, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTexBufferRange(target, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_GLES32_glTexStorage3DMultisample(JNIEnv *__env, jclass clazz, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations) { diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_INTELPerformanceQuery.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_INTELPerformanceQuery.c index eff4b25960..8696293d96 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_INTELPerformanceQuery.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_INTELPerformanceQuery.c @@ -7,15 +7,15 @@ #include "opengles.h" typedef void (APIENTRY *glBeginPerfQueryINTELPROC) (jint); -typedef void (APIENTRY *glCreatePerfQueryINTELPROC) (jint, intptr_t); +typedef void (APIENTRY *glCreatePerfQueryINTELPROC) (jint, uintptr_t); typedef void (APIENTRY *glDeletePerfQueryINTELPROC) (jint); typedef void (APIENTRY *glEndPerfQueryINTELPROC) (jint); -typedef void (APIENTRY *glGetFirstPerfQueryIdINTELPROC) (intptr_t); -typedef void (APIENTRY *glGetNextPerfQueryIdINTELPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPerfCounterInfoINTELPROC) (jint, jint, jint, intptr_t, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryDataINTELPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryIdByNameINTELPROC) (intptr_t, intptr_t); -typedef void (APIENTRY *glGetPerfQueryInfoINTELPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glGetFirstPerfQueryIdINTELPROC) (uintptr_t); +typedef void (APIENTRY *glGetNextPerfQueryIdINTELPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPerfCounterInfoINTELPROC) (jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryDataINTELPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryIdByNameINTELPROC) (uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPerfQueryInfoINTELPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -27,7 +27,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_glBeginPerf JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglCreatePerfQueryINTEL__IJ(JNIEnv *__env, jclass clazz, jint queryId, jlong queryHandleAddress) { glCreatePerfQueryINTELPROC glCreatePerfQueryINTEL = (glCreatePerfQueryINTELPROC)tlsGetFunction(565); - intptr_t queryHandle = (intptr_t)queryHandleAddress; + uintptr_t queryHandle = (uintptr_t)queryHandleAddress; UNUSED_PARAM(clazz) glCreatePerfQueryINTEL(queryId, queryHandle); } @@ -46,54 +46,54 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_glEndPerfQu JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetFirstPerfQueryIdINTEL__J(JNIEnv *__env, jclass clazz, jlong queryIdAddress) { glGetFirstPerfQueryIdINTELPROC glGetFirstPerfQueryIdINTEL = (glGetFirstPerfQueryIdINTELPROC)tlsGetFunction(568); - intptr_t queryId = (intptr_t)queryIdAddress; + uintptr_t queryId = (uintptr_t)queryIdAddress; UNUSED_PARAM(clazz) glGetFirstPerfQueryIdINTEL(queryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetNextPerfQueryIdINTEL__IJ(JNIEnv *__env, jclass clazz, jint queryId, jlong nextQueryIdAddress) { glGetNextPerfQueryIdINTELPROC glGetNextPerfQueryIdINTEL = (glGetNextPerfQueryIdINTELPROC)tlsGetFunction(569); - intptr_t nextQueryId = (intptr_t)nextQueryIdAddress; + uintptr_t nextQueryId = (uintptr_t)nextQueryIdAddress; UNUSED_PARAM(clazz) glGetNextPerfQueryIdINTEL(queryId, nextQueryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetPerfCounterInfoINTEL__IIIJIJJJJJJ(JNIEnv *__env, jclass clazz, jint queryId, jint counterId, jint counterNameLength, jlong counterNameAddress, jint counterDescLength, jlong counterDescAddress, jlong counterOffsetAddress, jlong counterDataSizeAddress, jlong counterTypeEnumAddress, jlong counterDataTypeEnumAddress, jlong rawCounterMaxValueAddress) { glGetPerfCounterInfoINTELPROC glGetPerfCounterInfoINTEL = (glGetPerfCounterInfoINTELPROC)tlsGetFunction(570); - intptr_t counterName = (intptr_t)counterNameAddress; - intptr_t counterDesc = (intptr_t)counterDescAddress; - intptr_t counterOffset = (intptr_t)counterOffsetAddress; - intptr_t counterDataSize = (intptr_t)counterDataSizeAddress; - intptr_t counterTypeEnum = (intptr_t)counterTypeEnumAddress; - intptr_t counterDataTypeEnum = (intptr_t)counterDataTypeEnumAddress; - intptr_t rawCounterMaxValue = (intptr_t)rawCounterMaxValueAddress; + uintptr_t counterName = (uintptr_t)counterNameAddress; + uintptr_t counterDesc = (uintptr_t)counterDescAddress; + uintptr_t counterOffset = (uintptr_t)counterOffsetAddress; + uintptr_t counterDataSize = (uintptr_t)counterDataSizeAddress; + uintptr_t counterTypeEnum = (uintptr_t)counterTypeEnumAddress; + uintptr_t counterDataTypeEnum = (uintptr_t)counterDataTypeEnumAddress; + uintptr_t rawCounterMaxValue = (uintptr_t)rawCounterMaxValueAddress; UNUSED_PARAM(clazz) glGetPerfCounterInfoINTEL(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetPerfQueryDataINTEL__IIIJJ(JNIEnv *__env, jclass clazz, jint queryHandle, jint flags, jint dataSize, jlong dataAddress, jlong bytesWrittenAddress) { glGetPerfQueryDataINTELPROC glGetPerfQueryDataINTEL = (glGetPerfQueryDataINTELPROC)tlsGetFunction(571); - intptr_t data = (intptr_t)dataAddress; - intptr_t bytesWritten = (intptr_t)bytesWrittenAddress; + uintptr_t data = (uintptr_t)dataAddress; + uintptr_t bytesWritten = (uintptr_t)bytesWrittenAddress; UNUSED_PARAM(clazz) glGetPerfQueryDataINTEL(queryHandle, flags, dataSize, data, bytesWritten); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetPerfQueryIdByNameINTEL__JJ(JNIEnv *__env, jclass clazz, jlong queryNameAddress, jlong queryIdAddress) { glGetPerfQueryIdByNameINTELPROC glGetPerfQueryIdByNameINTEL = (glGetPerfQueryIdByNameINTELPROC)tlsGetFunction(572); - intptr_t queryName = (intptr_t)queryNameAddress; - intptr_t queryId = (intptr_t)queryIdAddress; + uintptr_t queryName = (uintptr_t)queryNameAddress; + uintptr_t queryId = (uintptr_t)queryIdAddress; UNUSED_PARAM(clazz) glGetPerfQueryIdByNameINTEL(queryName, queryId); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_INTELPerformanceQuery_nglGetPerfQueryInfoINTEL__IIJJJJJ(JNIEnv *__env, jclass clazz, jint queryId, jint queryNameLength, jlong queryNameAddress, jlong dataSizeAddress, jlong noCountersAddress, jlong noInstancesAddress, jlong capsMaskAddress) { glGetPerfQueryInfoINTELPROC glGetPerfQueryInfoINTEL = (glGetPerfQueryInfoINTELPROC)tlsGetFunction(573); - intptr_t queryName = (intptr_t)queryNameAddress; - intptr_t dataSize = (intptr_t)dataSizeAddress; - intptr_t noCounters = (intptr_t)noCountersAddress; - intptr_t noInstances = (intptr_t)noInstancesAddress; - intptr_t capsMask = (intptr_t)capsMaskAddress; + uintptr_t queryName = (uintptr_t)queryNameAddress; + uintptr_t dataSize = (uintptr_t)dataSizeAddress; + uintptr_t noCounters = (uintptr_t)noCountersAddress; + uintptr_t noInstances = (uintptr_t)noInstancesAddress; + uintptr_t capsMask = (uintptr_t)capsMaskAddress; UNUSED_PARAM(clazz) glGetPerfQueryInfoINTEL(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRDebug.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRDebug.c index ee1ebada1b..fc1bdd621a 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRDebug.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRDebug.c @@ -6,64 +6,64 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDebugMessageControlKHRPROC) (jint, jint, jint, jint, intptr_t, jboolean); -typedef void (APIENTRY *glDebugMessageInsertKHRPROC) (jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glDebugMessageCallbackKHRPROC) (intptr_t, intptr_t); -typedef jint (APIENTRY *glGetDebugMessageLogKHRPROC) (jint, jint, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glGetPointervKHRPROC) (jint, intptr_t); -typedef void (APIENTRY *glPushDebugGroupKHRPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glDebugMessageControlKHRPROC) (jint, jint, jint, jint, uintptr_t, jboolean); +typedef void (APIENTRY *glDebugMessageInsertKHRPROC) (jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glDebugMessageCallbackKHRPROC) (uintptr_t, uintptr_t); +typedef jint (APIENTRY *glGetDebugMessageLogKHRPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glGetPointervKHRPROC) (jint, uintptr_t); +typedef void (APIENTRY *glPushDebugGroupKHRPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPopDebugGroupKHRPROC) (void); -typedef void (APIENTRY *glObjectLabelKHRPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetObjectLabelKHRPROC) (jint, jint, jint, intptr_t, intptr_t); -typedef void (APIENTRY *glObjectPtrLabelKHRPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetObjectPtrLabelKHRPROC) (intptr_t, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glObjectLabelKHRPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectLabelKHRPROC) (jint, jint, jint, uintptr_t, uintptr_t); +typedef void (APIENTRY *glObjectPtrLabelKHRPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetObjectPtrLabelKHRPROC) (uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglDebugMessageControlKHR__IIIIJZ(JNIEnv *__env, jclass clazz, jint source, jint type, jint severity, jint count, jlong idsAddress, jboolean enabled) { glDebugMessageControlKHRPROC glDebugMessageControlKHR = (glDebugMessageControlKHRPROC)tlsGetFunction(575); - intptr_t ids = (intptr_t)idsAddress; + uintptr_t ids = (uintptr_t)idsAddress; UNUSED_PARAM(clazz) glDebugMessageControlKHR(source, type, severity, count, ids, enabled); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglDebugMessageInsertKHR(JNIEnv *__env, jclass clazz, jint source, jint type, jint id, jint severity, jint length, jlong messageAddress) { glDebugMessageInsertKHRPROC glDebugMessageInsertKHR = (glDebugMessageInsertKHRPROC)tlsGetFunction(576); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glDebugMessageInsertKHR(source, type, id, severity, length, message); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglDebugMessageCallbackKHR(JNIEnv *__env, jclass clazz, jlong callbackAddress, jlong userParamAddress) { glDebugMessageCallbackKHRPROC glDebugMessageCallbackKHR = (glDebugMessageCallbackKHRPROC)tlsGetFunction(577); - intptr_t callback = (intptr_t)callbackAddress; - intptr_t userParam = (intptr_t)userParamAddress; + uintptr_t callback = (uintptr_t)callbackAddress; + uintptr_t userParam = (uintptr_t)userParamAddress; UNUSED_PARAM(clazz) glDebugMessageCallbackKHR(callback, userParam); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_KHRDebug_nglGetDebugMessageLogKHR__IIJJJJJJ(JNIEnv *__env, jclass clazz, jint count, jint bufsize, jlong sourcesAddress, jlong typesAddress, jlong idsAddress, jlong severitiesAddress, jlong lengthsAddress, jlong messageLogAddress) { glGetDebugMessageLogKHRPROC glGetDebugMessageLogKHR = (glGetDebugMessageLogKHRPROC)tlsGetFunction(578); - intptr_t sources = (intptr_t)sourcesAddress; - intptr_t types = (intptr_t)typesAddress; - intptr_t ids = (intptr_t)idsAddress; - intptr_t severities = (intptr_t)severitiesAddress; - intptr_t lengths = (intptr_t)lengthsAddress; - intptr_t messageLog = (intptr_t)messageLogAddress; + uintptr_t sources = (uintptr_t)sourcesAddress; + uintptr_t types = (uintptr_t)typesAddress; + uintptr_t ids = (uintptr_t)idsAddress; + uintptr_t severities = (uintptr_t)severitiesAddress; + uintptr_t lengths = (uintptr_t)lengthsAddress; + uintptr_t messageLog = (uintptr_t)messageLogAddress; UNUSED_PARAM(clazz) return (jint)glGetDebugMessageLogKHR(count, bufsize, sources, types, ids, severities, lengths, messageLog); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglGetPointervKHR(JNIEnv *__env, jclass clazz, jint pname, jlong paramsAddress) { glGetPointervKHRPROC glGetPointervKHR = (glGetPointervKHRPROC)tlsGetFunction(579); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetPointervKHR(pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglPushDebugGroupKHR(JNIEnv *__env, jclass clazz, jint source, jint id, jint length, jlong messageAddress) { glPushDebugGroupKHRPROC glPushDebugGroupKHR = (glPushDebugGroupKHRPROC)tlsGetFunction(580); - intptr_t message = (intptr_t)messageAddress; + uintptr_t message = (uintptr_t)messageAddress; UNUSED_PARAM(clazz) glPushDebugGroupKHR(source, id, length, message); } @@ -76,32 +76,32 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_glPopDebugGroupKHR(JNIEn JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglObjectLabelKHR(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint length, jlong labelAddress) { glObjectLabelKHRPROC glObjectLabelKHR = (glObjectLabelKHRPROC)tlsGetFunction(582); - intptr_t label = (intptr_t)labelAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectLabelKHR(identifier, name, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglGetObjectLabelKHR__IIIJJ(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectLabelKHRPROC glGetObjectLabelKHR = (glGetObjectLabelKHRPROC)tlsGetFunction(583); - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectLabelKHR(identifier, name, bufSize, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglObjectPtrLabelKHR(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint length, jlong labelAddress) { glObjectPtrLabelKHRPROC glObjectPtrLabelKHR = (glObjectPtrLabelKHRPROC)tlsGetFunction(584); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glObjectPtrLabelKHR(ptr, length, label); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRDebug_nglGetObjectPtrLabelKHR__JIJJ(JNIEnv *__env, jclass clazz, jlong ptrAddress, jint bufSize, jlong lengthAddress, jlong labelAddress) { glGetObjectPtrLabelKHRPROC glGetObjectPtrLabelKHR = (glGetObjectPtrLabelKHRPROC)tlsGetFunction(585); - intptr_t ptr = (intptr_t)ptrAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t label = (intptr_t)labelAddress; + uintptr_t ptr = (uintptr_t)ptrAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t label = (uintptr_t)labelAddress; UNUSED_PARAM(clazz) glGetObjectPtrLabelKHR(ptr, bufSize, length, label); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRRobustness.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRRobustness.c index c19f23c754..de64fb269f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRRobustness.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_KHRRobustness.c @@ -7,10 +7,10 @@ #include "opengles.h" typedef jint (APIENTRY *glGetGraphicsResetStatusKHRPROC) (void); -typedef void (APIENTRY *glReadnPixelsKHRPROC) (jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformfvKHRPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformivKHRPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetnUniformuivKHRPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glReadnPixelsKHRPROC) (jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformfvKHRPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformivKHRPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetnUniformuivKHRPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -22,28 +22,28 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_KHRRobustness_glGetGraphicsResetS JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRRobustness_nglReadnPixelsKHR__IIIIIIIJ(JNIEnv *__env, jclass clazz, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jlong pixelsAddress) { glReadnPixelsKHRPROC glReadnPixelsKHR = (glReadnPixelsKHRPROC)tlsGetFunction(588); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glReadnPixelsKHR(x, y, width, height, format, type, bufSize, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRRobustness_nglGetnUniformfvKHR__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformfvKHRPROC glGetnUniformfvKHR = (glGetnUniformfvKHRPROC)tlsGetFunction(589); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformfvKHR(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRRobustness_nglGetnUniformivKHR__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformivKHRPROC glGetnUniformivKHR = (glGetnUniformivKHRPROC)tlsGetFunction(590); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformivKHR(program, location, bufSize, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRRobustness_nglGetnUniformuivKHR__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint bufSize, jlong paramsAddress) { glGetnUniformuivKHRPROC glGetnUniformuivKHR = (glGetnUniformuivKHRPROC)tlsGetFunction(591); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetnUniformuivKHR(program, location, bufSize, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_MESAFramebufferFlipY.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_MESAFramebufferFlipY.c index 3d1e8b34ee..d432800ef1 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_MESAFramebufferFlipY.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_MESAFramebufferFlipY.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glFramebufferParameteriMESAPROC) (jint, jint, jint); -typedef void (APIENTRY *glGetFramebufferParameterivMESAPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFramebufferParameterivMESAPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_MESAFramebufferFlipY_glFramebuffe JNIEXPORT void JNICALL Java_org_lwjgl_opengles_MESAFramebufferFlipY_nglGetFramebufferParameterivMESA__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetFramebufferParameterivMESAPROC glGetFramebufferParameterivMESA = (glGetFramebufferParameterivMESAPROC)tlsGetFunction(593); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFramebufferParameterivMESA(target, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVBindlessTexture.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVBindlessTexture.c index ee168ed88d..9657612047 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVBindlessTexture.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVBindlessTexture.c @@ -14,9 +14,9 @@ typedef jlong (APIENTRY *glGetImageHandleNVPROC) (jint, jint, jboolean, jint, ji typedef void (APIENTRY *glMakeImageHandleResidentNVPROC) (jlong, jint); typedef void (APIENTRY *glMakeImageHandleNonResidentNVPROC) (jlong); typedef void (APIENTRY *glUniformHandleui64NVPROC) (jint, jlong); -typedef void (APIENTRY *glUniformHandleui64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniformHandleui64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniformHandleui64NVPROC) (jint, jint, jlong); -typedef void (APIENTRY *glProgramUniformHandleui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniformHandleui64vNVPROC) (jint, jint, jint, uintptr_t); typedef jboolean (APIENTRY *glIsTextureHandleResidentNVPROC) (jlong); typedef jboolean (APIENTRY *glIsImageHandleResidentNVPROC) (jlong); @@ -72,7 +72,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVBindlessTexture_glUniformHandle JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVBindlessTexture_nglUniformHandleui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valuesAddress) { glUniformHandleui64vNVPROC glUniformHandleui64vNV = (glUniformHandleui64vNVPROC)tlsGetFunction(603); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glUniformHandleui64vNV(location, count, values); } @@ -85,7 +85,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVBindlessTexture_glProgramUnifor JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVBindlessTexture_nglProgramUniformHandleui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valuesAddress) { glProgramUniformHandleui64vNVPROC glProgramUniformHandleui64vNV = (glProgramUniformHandleui64vNVPROC)tlsGetFunction(605); - intptr_t values = (intptr_t)valuesAddress; + uintptr_t values = (uintptr_t)valuesAddress; UNUSED_PARAM(clazz) glProgramUniformHandleui64vNV(program, location, count, values); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVCopyBuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVCopyBuffer.c index 97df2e85f7..8703daf0dd 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVCopyBuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVCopyBuffer.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glCopyBufferSubDataNVPROC) (jint, jint, intptr_t, intptr_t, intptr_t); +typedef void (APIENTRY *glCopyBufferSubDataNVPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVCopyBuffer_glCopyBufferSubDataNV(JNIEnv *__env, jclass clazz, jint readTarget, jint writeTarget, jlong readOffset, jlong writeOffset, jlong size) { glCopyBufferSubDataNVPROC glCopyBufferSubDataNV = (glCopyBufferSubDataNVPROC)tlsGetFunction(615); UNUSED_PARAM(clazz) - glCopyBufferSubDataNV(readTarget, writeTarget, (intptr_t)readOffset, (intptr_t)writeOffset, (intptr_t)size); + glCopyBufferSubDataNV(readTarget, writeTarget, (uintptr_t)readOffset, (uintptr_t)writeOffset, (uintptr_t)size); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawBuffers.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawBuffers.c index 44acef39d9..8c9109a29d 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawBuffers.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawBuffers.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDrawBuffersNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glDrawBuffersNVPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVDrawBuffers_nglDrawBuffersNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong bufsAddress) { glDrawBuffersNVPROC glDrawBuffersNV = (glDrawBuffersNVPROC)tlsGetFunction(618); - intptr_t bufs = (intptr_t)bufsAddress; + uintptr_t bufs = (uintptr_t)bufsAddress; UNUSED_PARAM(clazz) glDrawBuffersNV(n, bufs); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawInstanced.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawInstanced.c index 9678185697..a57d12fdec 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawInstanced.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawInstanced.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glDrawArraysInstancedNVPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glDrawElementsInstancedNVPROC) (jint, jint, jint, intptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedNVPROC) (jint, jint, jint, uintptr_t, jint); EXTERN_C_ENTER @@ -19,7 +19,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVDrawInstanced_glDrawArraysInsta JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVDrawInstanced_nglDrawElementsInstancedNV(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint primcount) { glDrawElementsInstancedNVPROC glDrawElementsInstancedNV = (glDrawElementsInstancedNVPROC)tlsGetFunction(620); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedNV(mode, count, type, indices, primcount); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawVulkanImage.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawVulkanImage.c index 3f068974bf..ea92a78e3f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawVulkanImage.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVDrawVulkanImage.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glDrawVkImageNVPROC) (jlong, jint, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); -typedef intptr_t (APIENTRY *glGetVkProcAddrNVPROC) (intptr_t); +typedef uintptr_t (APIENTRY *glGetVkProcAddrNVPROC) (uintptr_t); typedef void (APIENTRY *glWaitVkSemaphoreNVPROC) (jlong); typedef void (APIENTRY *glSignalVkSemaphoreNVPROC) (jlong); typedef void (APIENTRY *glSignalVkFenceNVPROC) (jlong); @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVDrawVulkanImage_glDrawVkImageNV JNIEXPORT jlong JNICALL Java_org_lwjgl_opengles_NVDrawVulkanImage_nglGetVkProcAddrNV(JNIEnv *__env, jclass clazz, jlong nameAddress) { glGetVkProcAddrNVPROC glGetVkProcAddrNV = (glGetVkProcAddrNVPROC)tlsGetFunction(622); - intptr_t name = (intptr_t)nameAddress; + uintptr_t name = (uintptr_t)nameAddress; UNUSED_PARAM(clazz) return (jlong)glGetVkProcAddrNV(name); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFence.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFence.c index 8845b6c6cc..059d066d93 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFence.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFence.c @@ -6,11 +6,11 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDeleteFencesNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenFencesNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteFencesNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenFencesNVPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsFenceNVPROC) (jint); typedef jboolean (APIENTRY *glTestFenceNVPROC) (jint); -typedef void (APIENTRY *glGetFenceivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFenceivNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glFinishFenceNVPROC) (jint); typedef void (APIENTRY *glSetFenceNVPROC) (jint, jint); @@ -18,14 +18,14 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVFence_nglDeleteFencesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong fencesAddress) { glDeleteFencesNVPROC glDeleteFencesNV = (glDeleteFencesNVPROC)tlsGetFunction(626); - intptr_t fences = (intptr_t)fencesAddress; + uintptr_t fences = (uintptr_t)fencesAddress; UNUSED_PARAM(clazz) glDeleteFencesNV(n, fences); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVFence_nglGenFencesNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong fencesAddress) { glGenFencesNVPROC glGenFencesNV = (glGenFencesNVPROC)tlsGetFunction(627); - intptr_t fences = (intptr_t)fencesAddress; + uintptr_t fences = (uintptr_t)fencesAddress; UNUSED_PARAM(clazz) glGenFencesNV(n, fences); } @@ -44,7 +44,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_NVFence_glTestFenceNV(JNIEnv JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVFence_nglGetFenceivNV__IIJ(JNIEnv *__env, jclass clazz, jint fence, jint pname, jlong paramsAddress) { glGetFenceivNVPROC glGetFenceivNV = (glGetFenceivNVPROC)tlsGetFunction(630); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetFenceivNV(fence, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFramebufferMixedSamples.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFramebufferMixedSamples.c index 0c8b75ae21..e2b7f9c9d7 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFramebufferMixedSamples.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVFramebufferMixedSamples.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glCoverageModulationTableNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetCoverageModulationTableNVPROC) (jint, intptr_t); +typedef void (APIENTRY *glCoverageModulationTableNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetCoverageModulationTableNVPROC) (jint, uintptr_t); typedef void (APIENTRY *glCoverageModulationNVPROC) (jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVFramebufferMixedSamples_nglCoverageModulationTableNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong vAddress) { glCoverageModulationTableNVPROC glCoverageModulationTableNV = (glCoverageModulationTableNVPROC)tlsGetFunction(635); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glCoverageModulationTableNV(n, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVFramebufferMixedSamples_nglGetCoverageModulationTableNV__IJ(JNIEnv *__env, jclass clazz, jint bufsize, jlong vAddress) { glGetCoverageModulationTableNVPROC glGetCoverageModulationTableNV = (glGetCoverageModulationTableNVPROC)tlsGetFunction(636); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glGetCoverageModulationTableNV(bufsize, v); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVGPUShader5.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVGPUShader5.c index c7f66a3384..0b11530c60 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVGPUShader5.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVGPUShader5.c @@ -10,36 +10,36 @@ typedef void (APIENTRY *glUniform1i64NVPROC) (jint, jlong); typedef void (APIENTRY *glUniform2i64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glUniform3i64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glUniform4i64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform1i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3i64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4i64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3i64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4i64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glUniform1ui64NVPROC) (jint, jlong); typedef void (APIENTRY *glUniform2ui64NVPROC) (jint, jlong, jlong); typedef void (APIENTRY *glUniform3ui64NVPROC) (jint, jlong, jlong, jlong); typedef void (APIENTRY *glUniform4ui64NVPROC) (jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glUniform1ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform2ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform3ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glUniform4ui64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformi64vNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetUniformui64vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glUniform1ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform2ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform3ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glUniform4ui64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformi64vNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetUniformui64vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1i64NVPROC) (jint, jint, jlong); typedef void (APIENTRY *glProgramUniform2i64NVPROC) (jint, jint, jlong, jlong); typedef void (APIENTRY *glProgramUniform3i64NVPROC) (jint, jint, jlong, jlong, jlong); typedef void (APIENTRY *glProgramUniform4i64NVPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform1i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3i64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4i64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3i64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4i64vNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glProgramUniform1ui64NVPROC) (jint, jint, jlong); typedef void (APIENTRY *glProgramUniform2ui64NVPROC) (jint, jint, jlong, jlong); typedef void (APIENTRY *glProgramUniform3ui64NVPROC) (jint, jint, jlong, jlong, jlong); typedef void (APIENTRY *glProgramUniform4ui64NVPROC) (jint, jint, jlong, jlong, jlong, jlong); -typedef void (APIENTRY *glProgramUniform1ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform2ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform3ui64vNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glProgramUniform4ui64vNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glProgramUniform1ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform2ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform3ui64vNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glProgramUniform4ui64vNVPROC) (jint, jint, jint, uintptr_t); EXTERN_C_ENTER @@ -69,28 +69,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_glUniform4i64NV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform1i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1i64vNVPROC glUniform1i64vNV = (glUniform1i64vNVPROC)tlsGetFunction(643); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform2i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2i64vNVPROC glUniform2i64vNV = (glUniform2i64vNVPROC)tlsGetFunction(644); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform3i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3i64vNVPROC glUniform3i64vNV = (glUniform3i64vNVPROC)tlsGetFunction(645); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3i64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform4i64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4i64vNVPROC glUniform4i64vNV = (glUniform4i64vNVPROC)tlsGetFunction(646); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4i64vNV(location, count, value); } @@ -121,42 +121,42 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_glUniform4ui64NV(JNI JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform1ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform1ui64vNVPROC glUniform1ui64vNV = (glUniform1ui64vNVPROC)tlsGetFunction(651); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform1ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform2ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2ui64vNVPROC glUniform2ui64vNV = (glUniform2ui64vNVPROC)tlsGetFunction(652); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform3ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform3ui64vNVPROC glUniform3ui64vNV = (glUniform3ui64vNVPROC)tlsGetFunction(653); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform3ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglUniform4ui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform4ui64vNVPROC glUniform4ui64vNV = (glUniform4ui64vNVPROC)tlsGetFunction(654); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform4ui64vNV(location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglGetUniformi64vNV__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformi64vNVPROC glGetUniformi64vNV = (glGetUniformi64vNVPROC)tlsGetFunction(655); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformi64vNV(program, location, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglGetUniformui64vNV__IIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jlong paramsAddress) { glGetUniformui64vNVPROC glGetUniformui64vNV = (glGetUniformui64vNVPROC)tlsGetFunction(656); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetUniformui64vNV(program, location, params); } @@ -187,28 +187,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_glProgramUniform4i64 JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform1i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1i64vNVPROC glProgramUniform1i64vNV = (glProgramUniform1i64vNVPROC)tlsGetFunction(661); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform2i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2i64vNVPROC glProgramUniform2i64vNV = (glProgramUniform2i64vNVPROC)tlsGetFunction(662); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform3i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3i64vNVPROC glProgramUniform3i64vNV = (glProgramUniform3i64vNVPROC)tlsGetFunction(663); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3i64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform4i64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4i64vNVPROC glProgramUniform4i64vNV = (glProgramUniform4i64vNVPROC)tlsGetFunction(664); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4i64vNV(program, location, count, value); } @@ -239,28 +239,28 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_glProgramUniform4ui6 JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform1ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform1ui64vNVPROC glProgramUniform1ui64vNV = (glProgramUniform1ui64vNVPROC)tlsGetFunction(669); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform1ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform2ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform2ui64vNVPROC glProgramUniform2ui64vNV = (glProgramUniform2ui64vNVPROC)tlsGetFunction(670); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform2ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform3ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform3ui64vNVPROC glProgramUniform3ui64vNV = (glProgramUniform3ui64vNVPROC)tlsGetFunction(671); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform3ui64vNV(program, location, count, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVGPUShader5_nglProgramUniform4ui64vNV__IIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint count, jlong valueAddress) { glProgramUniform4ui64vNVPROC glProgramUniform4ui64vNV = (glProgramUniform4ui64vNVPROC)tlsGetFunction(672); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glProgramUniform4ui64vNV(program, location, count, value); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVInternalformatSampleQuery.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVInternalformatSampleQuery.c index 641f08ee6a..c8d34c749d 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVInternalformatSampleQuery.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVInternalformatSampleQuery.c @@ -6,13 +6,13 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetInternalformatSampleivNVPROC) (jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetInternalformatSampleivNVPROC) (jint, jint, jint, jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVInternalformatSampleQuery_nglGetInternalformatSampleivNV__IIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint samples, jint pname, jint bufSize, jlong paramsAddress) { glGetInternalformatSampleivNVPROC glGetInternalformatSampleivNV = (glGetInternalformatSampleivNVPROC)tlsGetFunction(674); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetInternalformatSampleivNV(target, internalformat, samples, pname, bufSize, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryAttachment.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryAttachment.c index e51a53545a..7c218ea67a 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryAttachment.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryAttachment.c @@ -6,7 +6,7 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetMemoryObjectDetachedResourcesuivNVPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glGetMemoryObjectDetachedResourcesuivNVPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glResetMemoryObjectParameterNVPROC) (jint, jint); typedef void (APIENTRY *glTexAttachMemoryNVPROC) (jint, jint, jlong); typedef void (APIENTRY *glBufferAttachMemoryNVPROC) (jint, jint, jlong); @@ -17,7 +17,7 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMemoryAttachment_nglGetMemoryObjectDetachedResourcesuivNV__IIIIJ(JNIEnv *__env, jclass clazz, jint memory, jint pname, jint first, jint count, jlong paramsAddress) { glGetMemoryObjectDetachedResourcesuivNVPROC glGetMemoryObjectDetachedResourcesuivNV = (glGetMemoryObjectDetachedResourcesuivNVPROC)tlsGetFunction(675); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetMemoryObjectDetachedResourcesuivNV(memory, pname, first, count, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryObjectSparse.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryObjectSparse.c index 3951f86ab6..25d5c976e0 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryObjectSparse.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMemoryObjectSparse.c @@ -6,8 +6,8 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glBufferPageCommitmentMemNVPROC) (jint, intptr_t, intptr_t, jint, jlong, jboolean); -typedef void (APIENTRY *glNamedBufferPageCommitmentMemNVPROC) (jint, intptr_t, intptr_t, jint, jlong, jboolean); +typedef void (APIENTRY *glBufferPageCommitmentMemNVPROC) (jint, uintptr_t, uintptr_t, jint, jlong, jboolean); +typedef void (APIENTRY *glNamedBufferPageCommitmentMemNVPROC) (jint, uintptr_t, uintptr_t, jint, jlong, jboolean); typedef void (APIENTRY *glTexPageCommitmentMemNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean); typedef void (APIENTRY *glTexturePageCommitmentMemNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, jlong, jboolean); @@ -16,13 +16,13 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMemoryObjectSparse_glBufferPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint target, jlong offset, jlong size, jint memory, jlong memOffset, jboolean commit) { glBufferPageCommitmentMemNVPROC glBufferPageCommitmentMemNV = (glBufferPageCommitmentMemNVPROC)tlsGetFunction(681); UNUSED_PARAM(clazz) - glBufferPageCommitmentMemNV(target, (intptr_t)offset, (intptr_t)size, memory, memOffset, commit); + glBufferPageCommitmentMemNV(target, (uintptr_t)offset, (uintptr_t)size, memory, memOffset, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMemoryObjectSparse_glNamedBufferPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint buffer, jlong offset, jlong size, jint memory, jlong memOffset, jboolean commit) { glNamedBufferPageCommitmentMemNVPROC glNamedBufferPageCommitmentMemNV = (glNamedBufferPageCommitmentMemNVPROC)tlsGetFunction(682); UNUSED_PARAM(clazz) - glNamedBufferPageCommitmentMemNV(buffer, (intptr_t)offset, (intptr_t)size, memory, memOffset, commit); + glNamedBufferPageCommitmentMemNV(buffer, (uintptr_t)offset, (uintptr_t)size, memory, memOffset, commit); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMemoryObjectSparse_glTexPageCommitmentMemNV(JNIEnv *__env, jclass clazz, jint target, jint layer, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint memory, jlong offset, jboolean commit) { diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMeshShader.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMeshShader.c index ea9484efb6..c9f45af031 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMeshShader.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVMeshShader.c @@ -7,8 +7,8 @@ #include "opengles.h" typedef void (APIENTRY *glDrawMeshTasksNVPROC) (jint, jint); -typedef void (APIENTRY *glDrawMeshTasksIndirectNVPROC) (intptr_t); -typedef void (APIENTRY *glMultiDrawMeshTasksIndirectNVPROC) (intptr_t, jint, jint); +typedef void (APIENTRY *glDrawMeshTasksIndirectNVPROC) (uintptr_t); +typedef void (APIENTRY *glMultiDrawMeshTasksIndirectNVPROC) (uintptr_t, jint, jint); EXTERN_C_ENTER @@ -21,13 +21,13 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMeshShader_glDrawMeshTasksNV(JN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMeshShader_glDrawMeshTasksIndirectNV(JNIEnv *__env, jclass clazz, jlong indirect) { glDrawMeshTasksIndirectNVPROC glDrawMeshTasksIndirectNV = (glDrawMeshTasksIndirectNVPROC)tlsGetFunction(686); UNUSED_PARAM(clazz) - glDrawMeshTasksIndirectNV((intptr_t)indirect); + glDrawMeshTasksIndirectNV((uintptr_t)indirect); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVMeshShader_glMultiDrawMeshTasksIndirectNV(JNIEnv *__env, jclass clazz, jlong indirect, jint drawcount, jint stride) { glMultiDrawMeshTasksIndirectNVPROC glMultiDrawMeshTasksIndirectNV = (glMultiDrawMeshTasksIndirectNVPROC)tlsGetFunction(687); UNUSED_PARAM(clazz) - glMultiDrawMeshTasksIndirectNV((intptr_t)indirect, drawcount, stride); + glMultiDrawMeshTasksIndirectNV((uintptr_t)indirect, drawcount, stride); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVNonSquareMatrices.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVNonSquareMatrices.c index 38e9d9c4b0..deea697683 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVNonSquareMatrices.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVNonSquareMatrices.c @@ -6,53 +6,53 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glUniformMatrix2x3fvNVPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x2fvNVPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix2x4fvNVPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x2fvNVPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix3x4fvNVPROC) (jint, jint, jboolean, intptr_t); -typedef void (APIENTRY *glUniformMatrix4x3fvNVPROC) (jint, jint, jboolean, intptr_t); +typedef void (APIENTRY *glUniformMatrix2x3fvNVPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x2fvNVPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix2x4fvNVPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x2fvNVPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix3x4fvNVPROC) (jint, jint, jboolean, uintptr_t); +typedef void (APIENTRY *glUniformMatrix4x3fvNVPROC) (jint, jint, jboolean, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix2x3fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x3fvNVPROC glUniformMatrix2x3fvNV = (glUniformMatrix2x3fvNVPROC)tlsGetFunction(688); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x3fvNV(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix3x2fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x2fvNVPROC glUniformMatrix3x2fvNV = (glUniformMatrix3x2fvNVPROC)tlsGetFunction(689); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x2fvNV(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix2x4fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix2x4fvNVPROC glUniformMatrix2x4fvNV = (glUniformMatrix2x4fvNVPROC)tlsGetFunction(690); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix2x4fvNV(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix4x2fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x2fvNVPROC glUniformMatrix4x2fvNV = (glUniformMatrix4x2fvNVPROC)tlsGetFunction(691); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x2fvNV(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix3x4fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix3x4fvNVPROC glUniformMatrix3x4fvNV = (glUniformMatrix3x4fvNVPROC)tlsGetFunction(692); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix3x4fvNV(location, count, transpose, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVNonSquareMatrices_nglUniformMatrix4x3fvNV__IIZJ(JNIEnv *__env, jclass clazz, jint location, jint count, jboolean transpose, jlong valueAddress) { glUniformMatrix4x3fvNVPROC glUniformMatrix4x3fvNV = (glUniformMatrix4x3fvNVPROC)tlsGetFunction(693); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glUniformMatrix4x3fvNV(location, count, transpose, value); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVPathRendering.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVPathRendering.c index 58e6a0e050..ecc1b38bcf 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVPathRendering.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVPathRendering.c @@ -6,24 +6,24 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glPathCommandsNVPROC) (jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glPathCoordsNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathSubCommandsNVPROC) (jint, jint, jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glPathSubCoordsNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathStringNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathGlyphsNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t, jint, jint, jfloat); -typedef void (APIENTRY *glPathGlyphRangeNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, jfloat); -typedef jint (APIENTRY *glPathGlyphIndexArrayNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jfloat); -typedef jint (APIENTRY *glPathMemoryGlyphIndexArrayNVPROC) (jint, jint, intptr_t, intptr_t, jint, jint, jint, jint, jfloat); +typedef void (APIENTRY *glPathCommandsNVPROC) (jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathCoordsNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathSubCommandsNVPROC) (jint, jint, jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathSubCoordsNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathStringNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathGlyphsNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t, jint, jint, jfloat); +typedef void (APIENTRY *glPathGlyphRangeNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, jfloat); +typedef jint (APIENTRY *glPathGlyphIndexArrayNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jfloat); +typedef jint (APIENTRY *glPathMemoryGlyphIndexArrayNVPROC) (jint, jint, uintptr_t, uintptr_t, jint, jint, jint, jint, jfloat); typedef void (APIENTRY *glCopyPathNVPROC) (jint, jint); -typedef void (APIENTRY *glWeightPathsNVPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glWeightPathsNVPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glInterpolatePathsNVPROC) (jint, jint, jint, jfloat); -typedef void (APIENTRY *glTransformPathNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glPathParameterivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTransformPathNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glPathParameterivNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glPathParameteriNVPROC) (jint, jint, jint); -typedef void (APIENTRY *glPathParameterfvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPathParameterfvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glPathParameterfNVPROC) (jint, jint, jfloat); -typedef void (APIENTRY *glPathDashArrayNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glPathDashArrayNVPROC) (jint, jint, uintptr_t); typedef jint (APIENTRY *glGenPathsNVPROC) (jint); typedef void (APIENTRY *glDeletePathsNVPROC) (jint, jint); typedef jboolean (APIENTRY *glIsPathNVPROC) (jint); @@ -31,105 +31,105 @@ typedef void (APIENTRY *glPathStencilFuncNVPROC) (jint, jint, jint); typedef void (APIENTRY *glPathStencilDepthOffsetNVPROC) (jfloat, jfloat); typedef void (APIENTRY *glStencilFillPathNVPROC) (jint, jint, jint); typedef void (APIENTRY *glStencilStrokePathNVPROC) (jint, jint, jint); -typedef void (APIENTRY *glStencilFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glStencilStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glStencilFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glStencilStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glPathCoverDepthFuncNVPROC) (jint); typedef void (APIENTRY *glCoverFillPathNVPROC) (jint, jint); typedef void (APIENTRY *glCoverStrokePathNVPROC) (jint, jint); -typedef void (APIENTRY *glCoverFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCoverStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glCoverFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCoverStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glStencilThenCoverFillPathNVPROC) (jint, jint, jint, jint); typedef void (APIENTRY *glStencilThenCoverStrokePathNVPROC) (jint, jint, jint, jint); -typedef void (APIENTRY *glStencilThenCoverFillPathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glStencilThenCoverStrokePathInstancedNVPROC) (jint, jint, intptr_t, jint, jint, jint, jint, jint, intptr_t); -typedef jint (APIENTRY *glPathGlyphIndexRangeNVPROC) (jint, intptr_t, jint, jint, jfloat, jint); -typedef void (APIENTRY *glProgramPathFragmentInputGenNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathParameterivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathParameterfvNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathCommandsNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathCoordsNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathDashArrayNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetPathMetricsNVPROC) (jint, jint, jint, intptr_t, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathMetricRangeNVPROC) (jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glGetPathSpacingNVPROC) (jint, jint, jint, intptr_t, jint, jfloat, jfloat, jint, intptr_t); +typedef void (APIENTRY *glStencilThenCoverFillPathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glStencilThenCoverStrokePathInstancedNVPROC) (jint, jint, uintptr_t, jint, jint, jint, jint, jint, uintptr_t); +typedef jint (APIENTRY *glPathGlyphIndexRangeNVPROC) (jint, uintptr_t, jint, jint, jfloat, jint); +typedef void (APIENTRY *glProgramPathFragmentInputGenNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathParameterivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathParameterfvNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathCommandsNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathCoordsNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathDashArrayNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetPathMetricsNVPROC) (jint, jint, jint, uintptr_t, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathMetricRangeNVPROC) (jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glGetPathSpacingNVPROC) (jint, jint, jint, uintptr_t, jint, jfloat, jfloat, jint, uintptr_t); typedef jboolean (APIENTRY *glIsPointInFillPathNVPROC) (jint, jint, jfloat, jfloat); typedef jboolean (APIENTRY *glIsPointInStrokePathNVPROC) (jint, jfloat, jfloat); typedef jfloat (APIENTRY *glGetPathLengthNVPROC) (jint, jint, jint); -typedef jboolean (APIENTRY *glPointAlongPathNVPROC) (jint, jint, jint, jfloat, intptr_t, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glMatrixLoad3x2fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoad3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixLoadTranspose3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMult3x2fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMult3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glMatrixMultTranspose3x3fNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glGetProgramResourcefvNVPROC) (jint, jint, jint, jint, intptr_t, jint, intptr_t, intptr_t); +typedef jboolean (APIENTRY *glPointAlongPathNVPROC) (jint, jint, jint, jfloat, uintptr_t, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glMatrixLoad3x2fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoad3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixLoadTranspose3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMult3x2fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMult3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glMatrixMultTranspose3x3fNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGetProgramResourcefvNVPROC) (jint, jint, jint, jint, uintptr_t, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathCommandsNV__IIJIIJ(JNIEnv *__env, jclass clazz, jint path, jint numCommands, jlong commandsAddress, jint numCoords, jint coordType, jlong coordsAddress) { glPathCommandsNVPROC glPathCommandsNV = (glPathCommandsNVPROC)tlsGetFunction(694); - intptr_t commands = (intptr_t)commandsAddress; - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathCommandsNV(path, numCommands, commands, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathCoordsNV__IIIJ(JNIEnv *__env, jclass clazz, jint path, jint numCoords, jint coordType, jlong coordsAddress) { glPathCoordsNVPROC glPathCoordsNV = (glPathCoordsNVPROC)tlsGetFunction(695); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathCoordsNV(path, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathSubCommandsNV__IIIIJIIJ(JNIEnv *__env, jclass clazz, jint path, jint commandStart, jint commandsToDelete, jint numCommands, jlong commandsAddress, jint numCoords, jint coordType, jlong coordsAddress) { glPathSubCommandsNVPROC glPathSubCommandsNV = (glPathSubCommandsNVPROC)tlsGetFunction(696); - intptr_t commands = (intptr_t)commandsAddress; - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathSubCommandsNV(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathSubCoordsNV__IIIIJ(JNIEnv *__env, jclass clazz, jint path, jint coordStart, jint numCoords, jint coordType, jlong coordsAddress) { glPathSubCoordsNVPROC glPathSubCoordsNV = (glPathSubCoordsNVPROC)tlsGetFunction(697); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glPathSubCoordsNV(path, coordStart, numCoords, coordType, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathStringNV(JNIEnv *__env, jclass clazz, jint path, jint format, jint length, jlong pathStringAddress) { glPathStringNVPROC glPathStringNV = (glPathStringNVPROC)tlsGetFunction(698); - intptr_t pathString = (intptr_t)pathStringAddress; + uintptr_t pathString = (uintptr_t)pathStringAddress; UNUSED_PARAM(clazz) glPathStringNV(path, format, length, pathString); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathGlyphsNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint numGlyphs, jint type, jlong charcodesAddress, jint handleMissingGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphsNVPROC glPathGlyphsNV = (glPathGlyphsNVPROC)tlsGetFunction(699); - intptr_t fontName = (intptr_t)fontNameAddress; - intptr_t charcodes = (intptr_t)charcodesAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; + uintptr_t charcodes = (uintptr_t)charcodesAddress; UNUSED_PARAM(clazz) glPathGlyphsNV(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathGlyphRangeNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint firstGlyph, jint numGlyphs, jint handleMissingGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphRangeNVPROC glPathGlyphRangeNV = (glPathGlyphRangeNVPROC)tlsGetFunction(700); - intptr_t fontName = (intptr_t)fontNameAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; UNUSED_PARAM(clazz) glPathGlyphRangeNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathGlyphIndexArrayNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint firstGlyphIndex, jint numGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathGlyphIndexArrayNVPROC glPathGlyphIndexArrayNV = (glPathGlyphIndexArrayNVPROC)tlsGetFunction(701); - intptr_t fontName = (intptr_t)fontNameAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; UNUSED_PARAM(clazz) return (jint)glPathGlyphIndexArrayNV(firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathMemoryGlyphIndexArrayNV(JNIEnv *__env, jclass clazz, jint firstPathName, jint fontTarget, jlong fontSize, jlong fontDataAddress, jint faceIndex, jint firstGlyphIndex, jint numGlyphs, jint pathParameterTemplate, jfloat emScale) { glPathMemoryGlyphIndexArrayNVPROC glPathMemoryGlyphIndexArrayNV = (glPathMemoryGlyphIndexArrayNVPROC)tlsGetFunction(702); - intptr_t fontData = (intptr_t)fontDataAddress; + uintptr_t fontData = (uintptr_t)fontDataAddress; UNUSED_PARAM(clazz) - return (jint)glPathMemoryGlyphIndexArrayNV(firstPathName, fontTarget, (intptr_t)fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + return (jint)glPathMemoryGlyphIndexArrayNV(firstPathName, fontTarget, (uintptr_t)fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glCopyPathNV(JNIEnv *__env, jclass clazz, jint resultPath, jint srcPath) { @@ -140,8 +140,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glCopyPathNV(JNIE JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglWeightPathsNV__IIJJ(JNIEnv *__env, jclass clazz, jint resultPath, jint numPaths, jlong pathsAddress, jlong weightsAddress) { glWeightPathsNVPROC glWeightPathsNV = (glWeightPathsNVPROC)tlsGetFunction(704); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t weights = (intptr_t)weightsAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t weights = (uintptr_t)weightsAddress; UNUSED_PARAM(clazz) glWeightPathsNV(resultPath, numPaths, paths, weights); } @@ -154,14 +154,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glInterpolatePath JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglTransformPathNV__IIIJ(JNIEnv *__env, jclass clazz, jint resultPath, jint srcPath, jint transformType, jlong transformValuesAddress) { glTransformPathNVPROC glTransformPathNV = (glTransformPathNVPROC)tlsGetFunction(706); - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glTransformPathNV(resultPath, srcPath, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glPathParameterivNVPROC glPathParameterivNV = (glPathParameterivNVPROC)tlsGetFunction(707); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glPathParameterivNV(path, pname, value); } @@ -174,7 +174,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glPathParameteriN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathParameterfvNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glPathParameterfvNVPROC glPathParameterfvNV = (glPathParameterfvNVPROC)tlsGetFunction(709); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glPathParameterfvNV(path, pname, value); } @@ -187,7 +187,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glPathParameterfN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathDashArrayNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint dashCount, jlong dashArrayAddress) { glPathDashArrayNVPROC glPathDashArrayNV = (glPathDashArrayNVPROC)tlsGetFunction(711); - intptr_t dashArray = (intptr_t)dashArrayAddress; + uintptr_t dashArray = (uintptr_t)dashArrayAddress; UNUSED_PARAM(clazz) glPathDashArrayNV(path, dashCount, dashArray); } @@ -236,16 +236,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glStencilStrokePa JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglStencilFillPathInstancedNV__IIJIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint fillMode, jint mask, jint transformType, jlong transformValuesAddress) { glStencilFillPathInstancedNVPROC glStencilFillPathInstancedNV = (glStencilFillPathInstancedNVPROC)tlsGetFunction(719); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglStencilStrokePathInstancedNV__IIJIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint reference, jint mask, jint transformType, jlong transformValuesAddress) { glStencilStrokePathInstancedNVPROC glStencilStrokePathInstancedNV = (glStencilStrokePathInstancedNVPROC)tlsGetFunction(720); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); } @@ -270,16 +270,16 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glCoverStrokePath JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglCoverFillPathInstancedNV__IIJIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint coverMode, jint transformType, jlong transformValuesAddress) { glCoverFillPathInstancedNVPROC glCoverFillPathInstancedNV = (glCoverFillPathInstancedNVPROC)tlsGetFunction(724); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglCoverStrokePathInstancedNV__IIJIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint coverMode, jint transformType, jlong transformValuesAddress) { glCoverStrokePathInstancedNVPROC glCoverStrokePathInstancedNV = (glCoverStrokePathInstancedNVPROC)tlsGetFunction(725); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); } @@ -298,88 +298,88 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_glStencilThenCove JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglStencilThenCoverFillPathInstancedNV__IIJIIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint fillMode, jint mask, jint coverMode, jint transformType, jlong transformValuesAddress) { glStencilThenCoverFillPathInstancedNVPROC glStencilThenCoverFillPathInstancedNV = (glStencilThenCoverFillPathInstancedNVPROC)tlsGetFunction(728); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilThenCoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglStencilThenCoverStrokePathInstancedNV__IIJIIIIIJ(JNIEnv *__env, jclass clazz, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint reference, jint mask, jint coverMode, jint transformType, jlong transformValuesAddress) { glStencilThenCoverStrokePathInstancedNVPROC glStencilThenCoverStrokePathInstancedNV = (glStencilThenCoverStrokePathInstancedNVPROC)tlsGetFunction(729); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t transformValues = (intptr_t)transformValuesAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t transformValues = (uintptr_t)transformValuesAddress; UNUSED_PARAM(clazz) glStencilThenCoverStrokePathInstancedNV(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); } JNIEXPORT jint JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPathGlyphIndexRangeNV(JNIEnv *__env, jclass clazz, jint fontTarget, jlong fontNameAddress, jint fontStyle, jint pathParameterTemplate, jfloat emScale, jint baseAndCount) { glPathGlyphIndexRangeNVPROC glPathGlyphIndexRangeNV = (glPathGlyphIndexRangeNVPROC)tlsGetFunction(730); - intptr_t fontName = (intptr_t)fontNameAddress; + uintptr_t fontName = (uintptr_t)fontNameAddress; UNUSED_PARAM(clazz) return (jint)glPathGlyphIndexRangeNV(fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglProgramPathFragmentInputGenNV__IIIIJ(JNIEnv *__env, jclass clazz, jint program, jint location, jint genMode, jint components, jlong coeffsAddress) { glProgramPathFragmentInputGenNVPROC glProgramPathFragmentInputGenNV = (glProgramPathFragmentInputGenNVPROC)tlsGetFunction(731); - intptr_t coeffs = (intptr_t)coeffsAddress; + uintptr_t coeffs = (uintptr_t)coeffsAddress; UNUSED_PARAM(clazz) glProgramPathFragmentInputGenNV(program, location, genMode, components, coeffs); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glGetPathParameterivNVPROC glGetPathParameterivNV = (glGetPathParameterivNVPROC)tlsGetFunction(732); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathParameterivNV(path, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathParameterfvNV__IIJ(JNIEnv *__env, jclass clazz, jint path, jint pname, jlong valueAddress) { glGetPathParameterfvNVPROC glGetPathParameterfvNV = (glGetPathParameterfvNVPROC)tlsGetFunction(733); - intptr_t value = (intptr_t)valueAddress; + uintptr_t value = (uintptr_t)valueAddress; UNUSED_PARAM(clazz) glGetPathParameterfvNV(path, pname, value); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathCommandsNV(JNIEnv *__env, jclass clazz, jint path, jlong commandsAddress) { glGetPathCommandsNVPROC glGetPathCommandsNV = (glGetPathCommandsNVPROC)tlsGetFunction(734); - intptr_t commands = (intptr_t)commandsAddress; + uintptr_t commands = (uintptr_t)commandsAddress; UNUSED_PARAM(clazz) glGetPathCommandsNV(path, commands); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathCoordsNV__IJ(JNIEnv *__env, jclass clazz, jint path, jlong coordsAddress) { glGetPathCoordsNVPROC glGetPathCoordsNV = (glGetPathCoordsNVPROC)tlsGetFunction(735); - intptr_t coords = (intptr_t)coordsAddress; + uintptr_t coords = (uintptr_t)coordsAddress; UNUSED_PARAM(clazz) glGetPathCoordsNV(path, coords); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathDashArrayNV__IJ(JNIEnv *__env, jclass clazz, jint path, jlong dashArrayAddress) { glGetPathDashArrayNVPROC glGetPathDashArrayNV = (glGetPathDashArrayNVPROC)tlsGetFunction(736); - intptr_t dashArray = (intptr_t)dashArrayAddress; + uintptr_t dashArray = (uintptr_t)dashArrayAddress; UNUSED_PARAM(clazz) glGetPathDashArrayNV(path, dashArray); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathMetricsNV__IIIJIIJ(JNIEnv *__env, jclass clazz, jint metricQueryMask, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jint stride, jlong metricsAddress) { glGetPathMetricsNVPROC glGetPathMetricsNV = (glGetPathMetricsNVPROC)tlsGetFunction(737); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t metrics = (intptr_t)metricsAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t metrics = (uintptr_t)metricsAddress; UNUSED_PARAM(clazz) glGetPathMetricsNV(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathMetricRangeNV__IIIIJ(JNIEnv *__env, jclass clazz, jint metricQueryMask, jint firstPathName, jint numPaths, jint stride, jlong metricsAddress) { glGetPathMetricRangeNVPROC glGetPathMetricRangeNV = (glGetPathMetricRangeNVPROC)tlsGetFunction(738); - intptr_t metrics = (intptr_t)metricsAddress; + uintptr_t metrics = (uintptr_t)metricsAddress; UNUSED_PARAM(clazz) glGetPathMetricRangeNV(metricQueryMask, firstPathName, numPaths, stride, metrics); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetPathSpacingNV__IIIJIFFIJ(JNIEnv *__env, jclass clazz, jint pathListMode, jint numPaths, jint pathNameType, jlong pathsAddress, jint pathBase, jfloat advanceScale, jfloat kerningScale, jint transformType, jlong returnedSpacingAddress) { glGetPathSpacingNVPROC glGetPathSpacingNV = (glGetPathSpacingNVPROC)tlsGetFunction(739); - intptr_t paths = (intptr_t)pathsAddress; - intptr_t returnedSpacing = (intptr_t)returnedSpacingAddress; + uintptr_t paths = (uintptr_t)pathsAddress; + uintptr_t returnedSpacing = (uintptr_t)returnedSpacingAddress; UNUSED_PARAM(clazz) glGetPathSpacingNV(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); } @@ -404,61 +404,61 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_opengles_NVPathRendering_glGetPathLength JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglPointAlongPathNV__IIIFJJJJ(JNIEnv *__env, jclass clazz, jint path, jint startSegment, jint numSegments, jfloat distance, jlong xAddress, jlong yAddress, jlong tangentXAddress, jlong tangentYAddress) { glPointAlongPathNVPROC glPointAlongPathNV = (glPointAlongPathNVPROC)tlsGetFunction(743); - intptr_t x = (intptr_t)xAddress; - intptr_t y = (intptr_t)yAddress; - intptr_t tangentX = (intptr_t)tangentXAddress; - intptr_t tangentY = (intptr_t)tangentYAddress; + uintptr_t x = (uintptr_t)xAddress; + uintptr_t y = (uintptr_t)yAddress; + uintptr_t tangentX = (uintptr_t)tangentXAddress; + uintptr_t tangentY = (uintptr_t)tangentYAddress; UNUSED_PARAM(clazz) return (jboolean)glPointAlongPathNV(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixLoad3x2fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoad3x2fNVPROC glMatrixLoad3x2fNV = (glMatrixLoad3x2fNVPROC)tlsGetFunction(744); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoad3x2fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixLoad3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoad3x3fNVPROC glMatrixLoad3x3fNV = (glMatrixLoad3x3fNVPROC)tlsGetFunction(745); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoad3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixLoadTranspose3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixLoadTranspose3x3fNVPROC glMatrixLoadTranspose3x3fNV = (glMatrixLoadTranspose3x3fNVPROC)tlsGetFunction(746); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixLoadTranspose3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixMult3x2fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMult3x2fNVPROC glMatrixMult3x2fNV = (glMatrixMult3x2fNVPROC)tlsGetFunction(747); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMult3x2fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixMult3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMult3x3fNVPROC glMatrixMult3x3fNV = (glMatrixMult3x3fNVPROC)tlsGetFunction(748); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMult3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglMatrixMultTranspose3x3fNV__IJ(JNIEnv *__env, jclass clazz, jint matrixMode, jlong mAddress) { glMatrixMultTranspose3x3fNVPROC glMatrixMultTranspose3x3fNV = (glMatrixMultTranspose3x3fNVPROC)tlsGetFunction(749); - intptr_t m = (intptr_t)mAddress; + uintptr_t m = (uintptr_t)mAddress; UNUSED_PARAM(clazz) glMatrixMultTranspose3x3fNV(matrixMode, m); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVPathRendering_nglGetProgramResourcefvNV__IIIIJIJJ(JNIEnv *__env, jclass clazz, jint program, jint programInterface, jint index, jint propCount, jlong propsAddress, jint bufSize, jlong lengthAddress, jlong paramsAddress) { glGetProgramResourcefvNVPROC glGetProgramResourcefvNV = (glGetProgramResourcefvNVPROC)tlsGetFunction(750); - intptr_t props = (intptr_t)propsAddress; - intptr_t length = (intptr_t)lengthAddress; - intptr_t params = (intptr_t)paramsAddress; + uintptr_t props = (uintptr_t)propsAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetProgramResourcefvNV(program, programInterface, index, propCount, props, bufSize, length, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVSampleLocations.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVSampleLocations.c index c3d0ff432d..83b7ed0418 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVSampleLocations.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVSampleLocations.c @@ -6,22 +6,22 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, intptr_t); -typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, intptr_t); +typedef void (APIENTRY *glFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glNamedFramebufferSampleLocationsfvNVPROC) (jint, jint, jint, uintptr_t); typedef void (APIENTRY *glResolveDepthValuesNVPROC) (void); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVSampleLocations_nglFramebufferSampleLocationsfvNV__IIIJ(JNIEnv *__env, jclass clazz, jint target, jint start, jint count, jlong vAddress) { glFramebufferSampleLocationsfvNVPROC glFramebufferSampleLocationsfvNV = (glFramebufferSampleLocationsfvNVPROC)tlsGetFunction(753); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glFramebufferSampleLocationsfvNV(target, start, count, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVSampleLocations_nglNamedFramebufferSampleLocationsfvNV__IIIJ(JNIEnv *__env, jclass clazz, jint framebuffer, jint start, jint count, jlong vAddress) { glNamedFramebufferSampleLocationsfvNVPROC glNamedFramebufferSampleLocationsfvNV = (glNamedFramebufferSampleLocationsfvNVPROC)tlsGetFunction(754); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glNamedFramebufferSampleLocationsfvNV(framebuffer, start, count, v); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVScissorExclusive.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVScissorExclusive.c index 38030d79bf..ef1a3769d3 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVScissorExclusive.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVScissorExclusive.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glScissorExclusiveArrayvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glScissorExclusiveArrayvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glScissorExclusiveNVPROC) (jint, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVScissorExclusive_nglScissorExclusiveArrayvNV__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glScissorExclusiveArrayvNVPROC glScissorExclusiveArrayvNV = (glScissorExclusiveArrayvNVPROC)tlsGetFunction(756); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorExclusiveArrayvNV(first, count, v); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTextureArray.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTextureArray.c index b2a81d3d3d..6fa9ed77e8 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTextureArray.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTextureArray.c @@ -6,25 +6,25 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glTexImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexSubImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glCompressedTexImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage3DNVPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glFramebufferTextureLayerNVPROC) (jint, jint, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTextureArray_nglTexImage3DNV__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage3DNVPROC glTexImage3DNV = (glTexImage3DNVPROC)tlsGetFunction(758); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage3DNV(target, level, internalFormat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTextureArray_nglTexSubImage3DNV__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTexSubImage3DNVPROC glTexSubImage3DNV = (glTexSubImage3DNVPROC)tlsGetFunction(759); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage3DNV(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -37,14 +37,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTextureArray_glCopyTexSubImage3 JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTextureArray_nglCompressedTexImage3DNV(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage3DNVPROC glCompressedTexImage3DNV = (glCompressedTexImage3DNVPROC)tlsGetFunction(761); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage3DNV(target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTextureArray_nglCompressedTexSubImage3DNV(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage3DNVPROC glCompressedTexSubImage3DNV = (glCompressedTexSubImage3DNVPROC)tlsGetFunction(762); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage3DNV(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTimelineSemaphore.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTimelineSemaphore.c index a025ea9f88..65f7a4aa08 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTimelineSemaphore.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVTimelineSemaphore.c @@ -6,29 +6,29 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glCreateSemaphoresNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glSemaphoreParameterivNVPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSemaphoreParameterivNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glCreateSemaphoresNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glSemaphoreParameterivNVPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSemaphoreParameterivNVPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTimelineSemaphore_nglCreateSemaphoresNV__IJ(JNIEnv *__env, jclass clazz, jint n, jlong semaphoresAddress) { glCreateSemaphoresNVPROC glCreateSemaphoresNV = (glCreateSemaphoresNVPROC)tlsGetFunction(765); - intptr_t semaphores = (intptr_t)semaphoresAddress; + uintptr_t semaphores = (uintptr_t)semaphoresAddress; UNUSED_PARAM(clazz) glCreateSemaphoresNV(n, semaphores); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTimelineSemaphore_nglSemaphoreParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glSemaphoreParameterivNVPROC glSemaphoreParameterivNV = (glSemaphoreParameterivNVPROC)tlsGetFunction(766); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSemaphoreParameterivNV(semaphore, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVTimelineSemaphore_nglGetSemaphoreParameterivNV__IIJ(JNIEnv *__env, jclass clazz, jint semaphore, jint pname, jlong paramsAddress) { glGetSemaphoreParameterivNVPROC glGetSemaphoreParameterivNV = (glGetSemaphoreParameterivNVPROC)tlsGetFunction(767); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSemaphoreParameterivNV(semaphore, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVViewportArray.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVViewportArray.c index d48f5b4815..f2d79dcb04 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVViewportArray.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_NVViewportArray.c @@ -6,15 +6,15 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glViewportArrayvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glViewportArrayvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glViewportIndexedfNVPROC) (jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glViewportIndexedfvNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glScissorArrayvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glViewportIndexedfvNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glScissorArrayvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glScissorIndexedNVPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glScissorIndexedvNVPROC) (jint, intptr_t); -typedef void (APIENTRY *glDepthRangeArrayfvNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glScissorIndexedvNVPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDepthRangeArrayfvNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glDepthRangeIndexedfNVPROC) (jint, jfloat, jfloat); -typedef void (APIENTRY *glGetFloati_vNVPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFloati_vNVPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glEnableiNVPROC) (jint, jint); typedef void (APIENTRY *glDisableiNVPROC) (jint, jint); typedef jboolean (APIENTRY *glIsEnablediNVPROC) (jint, jint); @@ -23,7 +23,7 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglViewportArrayvNV__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glViewportArrayvNVPROC glViewportArrayvNV = (glViewportArrayvNVPROC)tlsGetFunction(768); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportArrayvNV(first, count, v); } @@ -36,14 +36,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_glViewportIndexed JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglViewportIndexedfvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glViewportIndexedfvNVPROC glViewportIndexedfvNV = (glViewportIndexedfvNVPROC)tlsGetFunction(770); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportIndexedfvNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglScissorArrayvNV__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glScissorArrayvNVPROC glScissorArrayvNV = (glScissorArrayvNVPROC)tlsGetFunction(771); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorArrayvNV(first, count, v); } @@ -56,14 +56,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_glScissorIndexedN JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglScissorIndexedvNV__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glScissorIndexedvNVPROC glScissorIndexedvNV = (glScissorIndexedvNVPROC)tlsGetFunction(773); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorIndexedvNV(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglDepthRangeArrayfvNV__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glDepthRangeArrayfvNVPROC glDepthRangeArrayfvNV = (glDepthRangeArrayfvNVPROC)tlsGetFunction(774); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glDepthRangeArrayfvNV(first, count, v); } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_glDepthRangeIndex JNIEXPORT void JNICALL Java_org_lwjgl_opengles_NVViewportArray_nglGetFloati_1vNV__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetFloati_vNVPROC glGetFloati_vNV = (glGetFloati_vNVPROC)tlsGetFunction(776); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetFloati_vNV(target, index, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESDrawElementsBaseVertex.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESDrawElementsBaseVertex.c index 126e76eba3..7694b22231 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESDrawElementsBaseVertex.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESDrawElementsBaseVertex.c @@ -6,39 +6,39 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glDrawElementsBaseVertexOESPROC) (jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawRangeElementsBaseVertexOESPROC) (jint, jint, jint, jint, jint, intptr_t, jint); -typedef void (APIENTRY *glDrawElementsInstancedBaseVertexOESPROC) (jint, jint, jint, intptr_t, jint, jint); -typedef void (APIENTRY *glMultiDrawElementsBaseVertexOESPROC) (jint, intptr_t, jint, intptr_t, jint, intptr_t); +typedef void (APIENTRY *glDrawElementsBaseVertexOESPROC) (jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawRangeElementsBaseVertexOESPROC) (jint, jint, jint, jint, jint, uintptr_t, jint); +typedef void (APIENTRY *glDrawElementsInstancedBaseVertexOESPROC) (jint, jint, jint, uintptr_t, jint, jint); +typedef void (APIENTRY *glMultiDrawElementsBaseVertexOESPROC) (jint, uintptr_t, jint, uintptr_t, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESDrawElementsBaseVertex_nglDrawElementsBaseVertexOES(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawElementsBaseVertexOESPROC glDrawElementsBaseVertexOES = (glDrawElementsBaseVertexOESPROC)tlsGetFunction(790); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsBaseVertexOES(mode, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESDrawElementsBaseVertex_nglDrawRangeElementsBaseVertexOES(JNIEnv *__env, jclass clazz, jint mode, jint start, jint end, jint count, jint type, jlong indicesAddress, jint basevertex) { glDrawRangeElementsBaseVertexOESPROC glDrawRangeElementsBaseVertexOES = (glDrawRangeElementsBaseVertexOESPROC)tlsGetFunction(791); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawRangeElementsBaseVertexOES(mode, start, end, count, type, indices, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESDrawElementsBaseVertex_nglDrawElementsInstancedBaseVertexOES(JNIEnv *__env, jclass clazz, jint mode, jint count, jint type, jlong indicesAddress, jint instancecount, jint basevertex) { glDrawElementsInstancedBaseVertexOESPROC glDrawElementsInstancedBaseVertexOES = (glDrawElementsInstancedBaseVertexOESPROC)tlsGetFunction(792); - intptr_t indices = (intptr_t)indicesAddress; + uintptr_t indices = (uintptr_t)indicesAddress; UNUSED_PARAM(clazz) glDrawElementsInstancedBaseVertexOES(mode, count, type, indices, instancecount, basevertex); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESDrawElementsBaseVertex_nglMultiDrawElementsBaseVertexOES__IJIJIJ(JNIEnv *__env, jclass clazz, jint mode, jlong countAddress, jint type, jlong indicesAddress, jint drawcount, jlong basevertexAddress) { glMultiDrawElementsBaseVertexOESPROC glMultiDrawElementsBaseVertexOES = (glMultiDrawElementsBaseVertexOESPROC)tlsGetFunction(793); - intptr_t count = (intptr_t)countAddress; - intptr_t indices = (intptr_t)indicesAddress; - intptr_t basevertex = (intptr_t)basevertexAddress; + uintptr_t count = (uintptr_t)countAddress; + uintptr_t indices = (uintptr_t)indicesAddress; + uintptr_t basevertex = (uintptr_t)basevertexAddress; UNUSED_PARAM(clazz) glMultiDrawElementsBaseVertexOES(mode, count, type, indices, drawcount, basevertex); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESEGLImage.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESEGLImage.c index 7334c26b5b..e76b17ed92 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESEGLImage.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESEGLImage.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glEGLImageTargetTexture2DOESPROC) (jint, intptr_t); -typedef void (APIENTRY *glEGLImageTargetRenderbufferStorageOESPROC) (jint, intptr_t); +typedef void (APIENTRY *glEGLImageTargetTexture2DOESPROC) (jint, uintptr_t); +typedef void (APIENTRY *glEGLImageTargetRenderbufferStorageOESPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESEGLImage_nglEGLImageTargetTexture2DOES(JNIEnv *__env, jclass clazz, jint target, jlong imageAddress) { glEGLImageTargetTexture2DOESPROC glEGLImageTargetTexture2DOES = (glEGLImageTargetTexture2DOESPROC)tlsGetFunction(794); - intptr_t image = (intptr_t)imageAddress; + uintptr_t image = (uintptr_t)imageAddress; UNUSED_PARAM(clazz) glEGLImageTargetTexture2DOES(target, image); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESEGLImage_nglEGLImageTargetRenderbufferStorageOES(JNIEnv *__env, jclass clazz, jint target, jlong imageAddress) { glEGLImageTargetRenderbufferStorageOESPROC glEGLImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOESPROC)tlsGetFunction(795); - intptr_t image = (intptr_t)imageAddress; + uintptr_t image = (uintptr_t)imageAddress; UNUSED_PARAM(clazz) glEGLImageTargetRenderbufferStorageOES(target, image); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESGetProgramBinary.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESGetProgramBinary.c index 82d96adcb3..932f833b4f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESGetProgramBinary.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESGetProgramBinary.c @@ -6,23 +6,23 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetProgramBinaryOESPROC) (jint, jint, intptr_t, intptr_t, intptr_t); -typedef void (APIENTRY *glProgramBinaryOESPROC) (jint, jint, intptr_t, jint); +typedef void (APIENTRY *glGetProgramBinaryOESPROC) (jint, jint, uintptr_t, uintptr_t, uintptr_t); +typedef void (APIENTRY *glProgramBinaryOESPROC) (jint, jint, uintptr_t, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESGetProgramBinary_nglGetProgramBinaryOES__IIJJJ(JNIEnv *__env, jclass clazz, jint program, jint bufSize, jlong lengthAddress, jlong binaryFormatAddress, jlong binaryAddress) { glGetProgramBinaryOESPROC glGetProgramBinaryOES = (glGetProgramBinaryOESPROC)tlsGetFunction(797); - intptr_t length = (intptr_t)lengthAddress; - intptr_t binaryFormat = (intptr_t)binaryFormatAddress; - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t binaryFormat = (uintptr_t)binaryFormatAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glGetProgramBinaryOES(program, bufSize, length, binaryFormat, binary); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESGetProgramBinary_nglProgramBinaryOES(JNIEnv *__env, jclass clazz, jint program, jint binaryFormat, jlong binaryAddress, jint length) { glProgramBinaryOESPROC glProgramBinaryOES = (glProgramBinaryOESPROC)tlsGetFunction(798); - intptr_t binary = (intptr_t)binaryAddress; + uintptr_t binary = (uintptr_t)binaryAddress; UNUSED_PARAM(clazz) glProgramBinaryOES(program, binaryFormat, binary, length); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESMapbuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESMapbuffer.c index f5bdef7112..9fa8e46f1b 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESMapbuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESMapbuffer.c @@ -6,9 +6,9 @@ #include "common_tools.h" #include "opengles.h" -typedef intptr_t (APIENTRY *glMapBufferOESPROC) (jint, jint); +typedef uintptr_t (APIENTRY *glMapBufferOESPROC) (jint, jint); typedef jboolean (APIENTRY *glUnmapBufferOESPROC) (jint); -typedef void (APIENTRY *glGetBufferPointervOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetBufferPointervOESPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER @@ -26,7 +26,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_OESMapbuffer_glUnmapBufferOES JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESMapbuffer_nglGetBufferPointervOES(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetBufferPointervOESPROC glGetBufferPointervOES = (glGetBufferPointervOESPROC)tlsGetFunction(801); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetBufferPointervOES(target, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTexture3D.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTexture3D.c index 5f25136b58..07c5e45af6 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTexture3D.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTexture3D.c @@ -6,25 +6,25 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glTexImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glTexSubImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glTexImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glTexSubImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glCopyTexSubImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint); -typedef void (APIENTRY *glCompressedTexImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glCompressedTexSubImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glCompressedTexImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glCompressedTexSubImage3DOESPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glFramebufferTexture3DOESPROC) (jint, jint, jint, jint, jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTexture3D_nglTexImage3DOES__IIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jlong pixelsAddress) { glTexImage3DOESPROC glTexImage3DOES = (glTexImage3DOESPROC)tlsGetFunction(805); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexImage3DOES(target, level, internalformat, width, height, depth, border, format, type, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTexture3D_nglTexSubImage3DOES__IIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong pixelsAddress) { glTexSubImage3DOESPROC glTexSubImage3DOES = (glTexSubImage3DOESPROC)tlsGetFunction(806); - intptr_t pixels = (intptr_t)pixelsAddress; + uintptr_t pixels = (uintptr_t)pixelsAddress; UNUSED_PARAM(clazz) glTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } @@ -37,14 +37,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTexture3D_glCopyTexSubImage3DO JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTexture3D_nglCompressedTexImage3DOES(JNIEnv *__env, jclass clazz, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jlong dataAddress) { glCompressedTexImage3DOESPROC glCompressedTexImage3DOES = (glCompressedTexImage3DOESPROC)tlsGetFunction(808); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexImage3DOES(target, level, internalformat, width, height, depth, border, imageSize, data); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTexture3D_nglCompressedTexSubImage3DOES(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jlong dataAddress) { glCompressedTexSubImage3DOESPROC glCompressedTexSubImage3DOES = (glCompressedTexSubImage3DOESPROC)tlsGetFunction(809); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glCompressedTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBorderClamp.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBorderClamp.c index 7e3170f874..4156d781ce 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBorderClamp.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBorderClamp.c @@ -6,69 +6,69 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glTexParameterIivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glTexParameterIuivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetTexParameterIuivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glSamplerParameterIuivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIivOESPROC) (jint, jint, intptr_t); -typedef void (APIENTRY *glGetSamplerParameterIuivOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glTexParameterIivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glTexParameterIuivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetTexParameterIuivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glSamplerParameterIuivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIivOESPROC) (jint, jint, uintptr_t); +typedef void (APIENTRY *glGetSamplerParameterIuivOESPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglTexParameterIivOES__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIivOESPROC glTexParameterIivOES = (glTexParameterIivOESPROC)tlsGetFunction(811); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIivOES(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglTexParameterIuivOES__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glTexParameterIuivOESPROC glTexParameterIuivOES = (glTexParameterIuivOESPROC)tlsGetFunction(812); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glTexParameterIuivOES(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglGetTexParameterIivOES__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIivOESPROC glGetTexParameterIivOES = (glGetTexParameterIivOESPROC)tlsGetFunction(813); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIivOES(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglGetTexParameterIuivOES__IIJ(JNIEnv *__env, jclass clazz, jint target, jint pname, jlong paramsAddress) { glGetTexParameterIuivOESPROC glGetTexParameterIuivOES = (glGetTexParameterIuivOESPROC)tlsGetFunction(814); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetTexParameterIuivOES(target, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglSamplerParameterIivOES__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIivOESPROC glSamplerParameterIivOES = (glSamplerParameterIivOESPROC)tlsGetFunction(815); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIivOES(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglSamplerParameterIuivOES__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glSamplerParameterIuivOESPROC glSamplerParameterIuivOES = (glSamplerParameterIuivOESPROC)tlsGetFunction(816); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glSamplerParameterIuivOES(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglGetSamplerParameterIivOES__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIivOESPROC glGetSamplerParameterIivOES = (glGetSamplerParameterIivOESPROC)tlsGetFunction(817); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIivOES(sampler, pname, params); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBorderClamp_nglGetSamplerParameterIuivOES__IIJ(JNIEnv *__env, jclass clazz, jint sampler, jint pname, jlong paramsAddress) { glGetSamplerParameterIuivOESPROC glGetSamplerParameterIuivOES = (glGetSamplerParameterIuivOESPROC)tlsGetFunction(818); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glGetSamplerParameterIuivOES(sampler, pname, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBuffer.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBuffer.c index db94e413b7..88feff69b9 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBuffer.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESTextureBuffer.c @@ -7,7 +7,7 @@ #include "opengles.h" typedef void (APIENTRY *glTexBufferOESPROC) (jint, jint, jint); -typedef void (APIENTRY *glTexBufferRangeOESPROC) (jint, jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glTexBufferRangeOESPROC) (jint, jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER @@ -20,7 +20,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBuffer_glTexBufferOES(J JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESTextureBuffer_glTexBufferRangeOES(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jint buffer, jlong offset, jlong size) { glTexBufferRangeOESPROC glTexBufferRangeOES = (glTexBufferRangeOESPROC)tlsGetFunction(820); UNUSED_PARAM(clazz) - glTexBufferRangeOES(target, internalformat, buffer, (intptr_t)offset, (intptr_t)size); + glTexBufferRangeOES(target, internalformat, buffer, (uintptr_t)offset, (uintptr_t)size); } EXTERN_C_EXIT diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESVertexArrayObject.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESVertexArrayObject.c index a338eddd71..653824ab65 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESVertexArrayObject.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESVertexArrayObject.c @@ -7,8 +7,8 @@ #include "opengles.h" typedef void (APIENTRY *glBindVertexArrayOESPROC) (jint); -typedef void (APIENTRY *glDeleteVertexArraysOESPROC) (jint, intptr_t); -typedef void (APIENTRY *glGenVertexArraysOESPROC) (jint, intptr_t); +typedef void (APIENTRY *glDeleteVertexArraysOESPROC) (jint, uintptr_t); +typedef void (APIENTRY *glGenVertexArraysOESPROC) (jint, uintptr_t); typedef jboolean (APIENTRY *glIsVertexArrayOESPROC) (jint); EXTERN_C_ENTER @@ -21,14 +21,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESVertexArrayObject_glBindVertex JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESVertexArrayObject_nglDeleteVertexArraysOES__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glDeleteVertexArraysOESPROC glDeleteVertexArraysOES = (glDeleteVertexArraysOESPROC)tlsGetFunction(824); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glDeleteVertexArraysOES(n, arrays); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESVertexArrayObject_nglGenVertexArraysOES__IJ(JNIEnv *__env, jclass clazz, jint n, jlong arraysAddress) { glGenVertexArraysOESPROC glGenVertexArraysOES = (glGenVertexArraysOESPROC)tlsGetFunction(825); - intptr_t arrays = (intptr_t)arraysAddress; + uintptr_t arrays = (uintptr_t)arraysAddress; UNUSED_PARAM(clazz) glGenVertexArraysOES(n, arrays); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESViewportArray.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESViewportArray.c index c738a91147..94969381f0 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESViewportArray.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_OESViewportArray.c @@ -6,21 +6,21 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glViewportArrayvOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glViewportArrayvOESPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glViewportIndexedfOESPROC) (jint, jfloat, jfloat, jfloat, jfloat); -typedef void (APIENTRY *glViewportIndexedfvOESPROC) (jint, intptr_t); -typedef void (APIENTRY *glScissorArrayvOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glViewportIndexedfvOESPROC) (jint, uintptr_t); +typedef void (APIENTRY *glScissorArrayvOESPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glScissorIndexedOESPROC) (jint, jint, jint, jint, jint); -typedef void (APIENTRY *glScissorIndexedvOESPROC) (jint, intptr_t); -typedef void (APIENTRY *glDepthRangeArrayfvOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glScissorIndexedvOESPROC) (jint, uintptr_t); +typedef void (APIENTRY *glDepthRangeArrayfvOESPROC) (jint, jint, uintptr_t); typedef void (APIENTRY *glDepthRangeIndexedfOESPROC) (jint, jfloat, jfloat); -typedef void (APIENTRY *glGetFloati_vOESPROC) (jint, jint, intptr_t); +typedef void (APIENTRY *glGetFloati_vOESPROC) (jint, jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglViewportArrayvOES__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glViewportArrayvOESPROC glViewportArrayvOES = (glViewportArrayvOESPROC)tlsGetFunction(827); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportArrayvOES(first, count, v); } @@ -33,14 +33,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_glViewportIndexe JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglViewportIndexedfvOES__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glViewportIndexedfvOESPROC glViewportIndexedfvOES = (glViewportIndexedfvOESPROC)tlsGetFunction(829); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glViewportIndexedfvOES(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglScissorArrayvOES__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glScissorArrayvOESPROC glScissorArrayvOES = (glScissorArrayvOESPROC)tlsGetFunction(830); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorArrayvOES(first, count, v); } @@ -53,14 +53,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_glScissorIndexed JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglScissorIndexedvOES__IJ(JNIEnv *__env, jclass clazz, jint index, jlong vAddress) { glScissorIndexedvOESPROC glScissorIndexedvOES = (glScissorIndexedvOESPROC)tlsGetFunction(832); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glScissorIndexedvOES(index, v); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglDepthRangeArrayfvOES__IIJ(JNIEnv *__env, jclass clazz, jint first, jint count, jlong vAddress) { glDepthRangeArrayfvOESPROC glDepthRangeArrayfvOES = (glDepthRangeArrayfvOESPROC)tlsGetFunction(833); - intptr_t v = (intptr_t)vAddress; + uintptr_t v = (uintptr_t)vAddress; UNUSED_PARAM(clazz) glDepthRangeArrayfvOES(first, count, v); } @@ -73,7 +73,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_glDepthRangeInde JNIEXPORT void JNICALL Java_org_lwjgl_opengles_OESViewportArray_nglGetFloati_1vOES__IIJ(JNIEnv *__env, jclass clazz, jint target, jint index, jlong dataAddress) { glGetFloati_vOESPROC glGetFloati_vOES = (glGetFloati_vOESPROC)tlsGetFunction(835); - intptr_t data = (intptr_t)dataAddress; + uintptr_t data = (uintptr_t)dataAddress; UNUSED_PARAM(clazz) glGetFloati_vOES(target, index, data); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMDriverControl.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMDriverControl.c index 8278dfdabb..f72ebd6676 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMDriverControl.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMDriverControl.c @@ -6,8 +6,8 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glGetDriverControlsQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glGetDriverControlStringQCOMPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glGetDriverControlsQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glGetDriverControlStringQCOMPROC) (jint, jint, uintptr_t, uintptr_t); typedef void (APIENTRY *glEnableDriverControlQCOMPROC) (jint); typedef void (APIENTRY *glDisableDriverControlQCOMPROC) (jint); @@ -15,16 +15,16 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMDriverControl_nglGetDriverControlsQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong numAddress, jint size, jlong driverControlsAddress) { glGetDriverControlsQCOMPROC glGetDriverControlsQCOM = (glGetDriverControlsQCOMPROC)tlsGetFunction(839); - intptr_t num = (intptr_t)numAddress; - intptr_t driverControls = (intptr_t)driverControlsAddress; + uintptr_t num = (uintptr_t)numAddress; + uintptr_t driverControls = (uintptr_t)driverControlsAddress; UNUSED_PARAM(clazz) glGetDriverControlsQCOM(num, size, driverControls); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMDriverControl_nglGetDriverControlStringQCOM__IIJJ(JNIEnv *__env, jclass clazz, jint driverControl, jint bufSize, jlong lengthAddress, jlong driverControlStringAddress) { glGetDriverControlStringQCOMPROC glGetDriverControlStringQCOM = (glGetDriverControlStringQCOMPROC)tlsGetFunction(840); - intptr_t length = (intptr_t)lengthAddress; - intptr_t driverControlString = (intptr_t)driverControlStringAddress; + uintptr_t length = (uintptr_t)lengthAddress; + uintptr_t driverControlString = (uintptr_t)driverControlStringAddress; UNUSED_PARAM(clazz) glGetDriverControlStringQCOM(driverControl, bufSize, length, driverControlString); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet.c index 96ba9a357a..da2317b3f7 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet.c @@ -6,52 +6,52 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glExtGetTexturesQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glExtGetBuffersQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glExtGetRenderbuffersQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glExtGetFramebuffersQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glExtGetTexLevelParameterivQCOMPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glExtGetTexturesQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glExtGetBuffersQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glExtGetRenderbuffersQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glExtGetFramebuffersQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glExtGetTexLevelParameterivQCOMPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glExtTexObjectStateOverrideiQCOMPROC) (jint, jint, jint); -typedef void (APIENTRY *glExtGetTexSubImageQCOMPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, intptr_t); -typedef void (APIENTRY *glExtGetBufferPointervQCOMPROC) (jint, intptr_t); +typedef void (APIENTRY *glExtGetTexSubImageQCOMPROC) (jint, jint, jint, jint, jint, jint, jint, jint, jint, jint, uintptr_t); +typedef void (APIENTRY *glExtGetBufferPointervQCOMPROC) (jint, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetTexturesQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong texturesAddress, jint maxTextures, jlong numTexturesAddress) { glExtGetTexturesQCOMPROC glExtGetTexturesQCOM = (glExtGetTexturesQCOMPROC)tlsGetFunction(843); - intptr_t textures = (intptr_t)texturesAddress; - intptr_t numTextures = (intptr_t)numTexturesAddress; + uintptr_t textures = (uintptr_t)texturesAddress; + uintptr_t numTextures = (uintptr_t)numTexturesAddress; UNUSED_PARAM(clazz) glExtGetTexturesQCOM(textures, maxTextures, numTextures); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetBuffersQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong buffersAddress, jint maxBuffers, jlong numBuffersAddress) { glExtGetBuffersQCOMPROC glExtGetBuffersQCOM = (glExtGetBuffersQCOMPROC)tlsGetFunction(844); - intptr_t buffers = (intptr_t)buffersAddress; - intptr_t numBuffers = (intptr_t)numBuffersAddress; + uintptr_t buffers = (uintptr_t)buffersAddress; + uintptr_t numBuffers = (uintptr_t)numBuffersAddress; UNUSED_PARAM(clazz) glExtGetBuffersQCOM(buffers, maxBuffers, numBuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetRenderbuffersQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong renderbuffersAddress, jint maxRenderbuffers, jlong numRenderbuffersAddress) { glExtGetRenderbuffersQCOMPROC glExtGetRenderbuffersQCOM = (glExtGetRenderbuffersQCOMPROC)tlsGetFunction(845); - intptr_t renderbuffers = (intptr_t)renderbuffersAddress; - intptr_t numRenderbuffers = (intptr_t)numRenderbuffersAddress; + uintptr_t renderbuffers = (uintptr_t)renderbuffersAddress; + uintptr_t numRenderbuffers = (uintptr_t)numRenderbuffersAddress; UNUSED_PARAM(clazz) glExtGetRenderbuffersQCOM(renderbuffers, maxRenderbuffers, numRenderbuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetFramebuffersQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong framebuffersAddress, jint maxFramebuffers, jlong numFramebuffersAddress) { glExtGetFramebuffersQCOMPROC glExtGetFramebuffersQCOM = (glExtGetFramebuffersQCOMPROC)tlsGetFunction(846); - intptr_t framebuffers = (intptr_t)framebuffersAddress; - intptr_t numFramebuffers = (intptr_t)numFramebuffersAddress; + uintptr_t framebuffers = (uintptr_t)framebuffersAddress; + uintptr_t numFramebuffers = (uintptr_t)numFramebuffersAddress; UNUSED_PARAM(clazz) glExtGetFramebuffersQCOM(framebuffers, maxFramebuffers, numFramebuffers); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetTexLevelParameterivQCOM__IIIIJ(JNIEnv *__env, jclass clazz, jint texture, jint face, jint level, jint pname, jlong paramsAddress) { glExtGetTexLevelParameterivQCOMPROC glExtGetTexLevelParameterivQCOM = (glExtGetTexLevelParameterivQCOMPROC)tlsGetFunction(847); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glExtGetTexLevelParameterivQCOM(texture, face, level, pname, params); } @@ -64,14 +64,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_glExtTexObjectSta JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetTexSubImageQCOM(JNIEnv *__env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlong texelsAddress) { glExtGetTexSubImageQCOMPROC glExtGetTexSubImageQCOM = (glExtGetTexSubImageQCOMPROC)tlsGetFunction(849); - intptr_t texels = (intptr_t)texelsAddress; + uintptr_t texels = (uintptr_t)texelsAddress; UNUSED_PARAM(clazz) glExtGetTexSubImageQCOM(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet_nglExtGetBufferPointervQCOM(JNIEnv *__env, jclass clazz, jint target, jlong paramsAddress) { glExtGetBufferPointervQCOMPROC glExtGetBufferPointervQCOM = (glExtGetBufferPointervQCOMPROC)tlsGetFunction(850); - intptr_t params = (intptr_t)paramsAddress; + uintptr_t params = (uintptr_t)paramsAddress; UNUSED_PARAM(clazz) glExtGetBufferPointervQCOM(target, params); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet2.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet2.c index f9eb032c53..bb1a539a0c 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet2.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMExtendedGet2.c @@ -6,25 +6,25 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glExtGetShadersQCOMPROC) (intptr_t, jint, intptr_t); -typedef void (APIENTRY *glExtGetProgramsQCOMPROC) (intptr_t, jint, intptr_t); +typedef void (APIENTRY *glExtGetShadersQCOMPROC) (uintptr_t, jint, uintptr_t); +typedef void (APIENTRY *glExtGetProgramsQCOMPROC) (uintptr_t, jint, uintptr_t); typedef jboolean (APIENTRY *glExtIsProgramBinaryQCOMPROC) (jint); -typedef void (APIENTRY *glExtGetProgramBinarySourceQCOMPROC) (jint, jint, intptr_t, intptr_t); +typedef void (APIENTRY *glExtGetProgramBinarySourceQCOMPROC) (jint, jint, uintptr_t, uintptr_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet2_nglExtGetShadersQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong shadersAddress, jint maxShaders, jlong numShadersAddress) { glExtGetShadersQCOMPROC glExtGetShadersQCOM = (glExtGetShadersQCOMPROC)tlsGetFunction(851); - intptr_t shaders = (intptr_t)shadersAddress; - intptr_t numShaders = (intptr_t)numShadersAddress; + uintptr_t shaders = (uintptr_t)shadersAddress; + uintptr_t numShaders = (uintptr_t)numShadersAddress; UNUSED_PARAM(clazz) glExtGetShadersQCOM(shaders, maxShaders, numShaders); } JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet2_nglExtGetProgramsQCOM__JIJ(JNIEnv *__env, jclass clazz, jlong programsAddress, jint maxPrograms, jlong numProgramsAddress) { glExtGetProgramsQCOMPROC glExtGetProgramsQCOM = (glExtGetProgramsQCOMPROC)tlsGetFunction(852); - intptr_t programs = (intptr_t)programsAddress; - intptr_t numPrograms = (intptr_t)numProgramsAddress; + uintptr_t programs = (uintptr_t)programsAddress; + uintptr_t numPrograms = (uintptr_t)numProgramsAddress; UNUSED_PARAM(clazz) glExtGetProgramsQCOM(programs, maxPrograms, numPrograms); } @@ -37,8 +37,8 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet2_glExtIsProgr JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMExtendedGet2_nglExtGetProgramBinarySourceQCOM__IIJJ(JNIEnv *__env, jclass clazz, jint program, jint shadertype, jlong sourceAddress, jlong lengthAddress) { glExtGetProgramBinarySourceQCOMPROC glExtGetProgramBinarySourceQCOM = (glExtGetProgramBinarySourceQCOMPROC)tlsGetFunction(854); - intptr_t source = (intptr_t)sourceAddress; - intptr_t length = (intptr_t)lengthAddress; + uintptr_t source = (uintptr_t)sourceAddress; + uintptr_t length = (uintptr_t)lengthAddress; UNUSED_PARAM(clazz) glExtGetProgramBinarySourceQCOM(program, shadertype, source, length); } diff --git a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMFramebufferFoveated.c b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMFramebufferFoveated.c index 06753f097d..1b0d5dc69f 100644 --- a/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMFramebufferFoveated.c +++ b/modules/lwjgl/opengles/src/generated/c/org_lwjgl_opengles_QCOMFramebufferFoveated.c @@ -6,14 +6,14 @@ #include "common_tools.h" #include "opengles.h" -typedef void (APIENTRY *glFramebufferFoveationConfigQCOMPROC) (jint, jint, jint, jint, intptr_t); +typedef void (APIENTRY *glFramebufferFoveationConfigQCOMPROC) (jint, jint, jint, jint, uintptr_t); typedef void (APIENTRY *glFramebufferFoveationParametersQCOMPROC) (jint, jint, jint, jfloat, jfloat, jfloat, jfloat, jfloat); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_opengles_QCOMFramebufferFoveated_nglFramebufferFoveationConfigQCOM__IIIIJ(JNIEnv *__env, jclass clazz, jint fbo, jint numLayers, jint focalPointsPerLayer, jint requestedFeatures, jlong providedFeaturesAddress) { glFramebufferFoveationConfigQCOMPROC glFramebufferFoveationConfigQCOM = (glFramebufferFoveationConfigQCOMPROC)tlsGetFunction(856); - intptr_t providedFeatures = (intptr_t)providedFeaturesAddress; + uintptr_t providedFeatures = (uintptr_t)providedFeaturesAddress; UNUSED_PARAM(clazz) glFramebufferFoveationConfigQCOM(fbo, numLayers, focalPointsPerLayer, requestedFeatures, providedFeatures); } diff --git a/modules/lwjgl/opengles/src/main/c/opengles.h b/modules/lwjgl/opengles/src/main/c/opengles.h index 1d3a0250e1..e2b6d0858b 100644 --- a/modules/lwjgl/opengles/src/main/c/opengles.h +++ b/modules/lwjgl/opengles/src/main/c/opengles.h @@ -11,4 +11,4 @@ #define APIENTRY #endif -#define tlsGetFunction(index) (intptr_t)((void **)(*__env)->reserved3)[index] +#define tlsGetFunction(index) (uintptr_t)((void **)(*__env)->reserved3)[index] diff --git a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRChaperone.c b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRChaperone.c index d7959ea2dd..6ac02b28ce 100644 --- a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRChaperone.c +++ b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRChaperone.c @@ -24,8 +24,8 @@ typedef void (APIENTRY *VRChaperone_SetSceneColorPROC) (HmdColor_t); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRChaperone_nVRChaperone_1SetSceneColor(JNIEnv *__env, jclass clazz, jlong colorAddress, jlong __functionAddress) { - VRChaperone_SetSceneColorPROC VRChaperone_SetSceneColor = (VRChaperone_SetSceneColorPROC)(intptr_t)__functionAddress; - HmdColor_t *color = (HmdColor_t *)(intptr_t)colorAddress; + VRChaperone_SetSceneColorPROC VRChaperone_SetSceneColor = (VRChaperone_SetSceneColorPROC)(uintptr_t)__functionAddress; + HmdColor_t *color = (HmdColor_t *)(uintptr_t)colorAddress; UNUSED_PARAMS(__env, clazz) VRChaperone_SetSceneColor(*color); } diff --git a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRCompositor.c b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRCompositor.c index 490fcec6eb..b1e4c0cb92 100644 --- a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRCompositor.c +++ b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRCompositor.c @@ -24,9 +24,9 @@ typedef HmdColor_t (APIENTRY *VRCompositor_GetCurrentFadeColorPROC) (jboolean); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRCompositor_nVRCompositor_1GetCurrentFadeColor(JNIEnv *__env, jclass clazz, jboolean bBackground, jlong __functionAddress, jlong __result) { - VRCompositor_GetCurrentFadeColorPROC VRCompositor_GetCurrentFadeColor = (VRCompositor_GetCurrentFadeColorPROC)(intptr_t)__functionAddress; + VRCompositor_GetCurrentFadeColorPROC VRCompositor_GetCurrentFadeColor = (VRCompositor_GetCurrentFadeColorPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HmdColor_t*)(intptr_t)__result) = VRCompositor_GetCurrentFadeColor(bBackground); + *((HmdColor_t*)(uintptr_t)__result) = VRCompositor_GetCurrentFadeColor(bBackground); } EXTERN_C_EXIT diff --git a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VROverlay.c b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VROverlay.c index 41e95c8332..4d87389944 100644 --- a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VROverlay.c +++ b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VROverlay.c @@ -22,22 +22,22 @@ typedef struct HmdRect2_t struct HmdVector2_t vBottomRight; } HmdRect2_t; -typedef jint (APIENTRY *VROverlay_GetTransformForOverlayCoordinatesPROC) (jlong, jint, HmdVector2_t, intptr_t); +typedef jint (APIENTRY *VROverlay_GetTransformForOverlayCoordinatesPROC) (jlong, jint, HmdVector2_t, uintptr_t); typedef void (APIENTRY *VROverlay_SetKeyboardPositionForOverlayPROC) (jlong, HmdRect2_t); EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_openvr_VROverlay_nVROverlay_1GetTransformForOverlayCoordinates(JNIEnv *__env, jclass clazz, jlong ulOverlayHandle, jint eTrackingOrigin, jlong coordinatesInOverlayAddress, jlong pmatTransformAddress, jlong __functionAddress) { - VROverlay_GetTransformForOverlayCoordinatesPROC VROverlay_GetTransformForOverlayCoordinates = (VROverlay_GetTransformForOverlayCoordinatesPROC)(intptr_t)__functionAddress; - HmdVector2_t *coordinatesInOverlay = (HmdVector2_t *)(intptr_t)coordinatesInOverlayAddress; - intptr_t pmatTransform = (intptr_t)pmatTransformAddress; + VROverlay_GetTransformForOverlayCoordinatesPROC VROverlay_GetTransformForOverlayCoordinates = (VROverlay_GetTransformForOverlayCoordinatesPROC)(uintptr_t)__functionAddress; + HmdVector2_t *coordinatesInOverlay = (HmdVector2_t *)(uintptr_t)coordinatesInOverlayAddress; + uintptr_t pmatTransform = (uintptr_t)pmatTransformAddress; UNUSED_PARAMS(__env, clazz) return (jint)VROverlay_GetTransformForOverlayCoordinates(ulOverlayHandle, eTrackingOrigin, *coordinatesInOverlay, pmatTransform); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VROverlay_nVROverlay_1SetKeyboardPositionForOverlay(JNIEnv *__env, jclass clazz, jlong ulOverlayHandle, jlong avoidRectAddress, jlong __functionAddress) { - VROverlay_SetKeyboardPositionForOverlayPROC VROverlay_SetKeyboardPositionForOverlay = (VROverlay_SetKeyboardPositionForOverlayPROC)(intptr_t)__functionAddress; - HmdRect2_t *avoidRect = (HmdRect2_t *)(intptr_t)avoidRectAddress; + VROverlay_SetKeyboardPositionForOverlayPROC VROverlay_SetKeyboardPositionForOverlay = (VROverlay_SetKeyboardPositionForOverlayPROC)(uintptr_t)__functionAddress; + HmdRect2_t *avoidRect = (HmdRect2_t *)(uintptr_t)avoidRectAddress; UNUSED_PARAMS(__env, clazz) VROverlay_SetKeyboardPositionForOverlay(ulOverlayHandle, *avoidRect); } diff --git a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRSystem.c b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRSystem.c index 4ad95512c1..ac1c997950 100644 --- a/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRSystem.c +++ b/modules/lwjgl/openvr/src/generated/c/org_lwjgl_openvr_VRSystem.c @@ -48,46 +48,46 @@ typedef HmdMatrix44_t (APIENTRY *VRSystem_GetProjectionMatrixPROC) (jint, jfloat typedef HmdMatrix34_t (APIENTRY *VRSystem_GetEyeToHeadTransformPROC) (jint); typedef HmdMatrix34_t (APIENTRY *VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPosePROC) (void); typedef HmdMatrix34_t (APIENTRY *VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPosePROC) (void); -typedef HmdMatrix34_t (APIENTRY *VRSystem_GetMatrix34TrackedDevicePropertyPROC) (jint, jint, intptr_t); +typedef HmdMatrix34_t (APIENTRY *VRSystem_GetMatrix34TrackedDevicePropertyPROC) (jint, jint, uintptr_t); typedef HiddenAreaMesh_t (APIENTRY *VRSystem_GetHiddenAreaMeshPROC) (jint, jint); EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetProjectionMatrix(JNIEnv *__env, jclass clazz, jint eEye, jfloat fNearZ, jfloat fFarZ, jlong __functionAddress, jlong __result) { - VRSystem_GetProjectionMatrixPROC VRSystem_GetProjectionMatrix = (VRSystem_GetProjectionMatrixPROC)(intptr_t)__functionAddress; + VRSystem_GetProjectionMatrixPROC VRSystem_GetProjectionMatrix = (VRSystem_GetProjectionMatrixPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HmdMatrix44_t*)(intptr_t)__result) = VRSystem_GetProjectionMatrix(eEye, fNearZ, fFarZ); + *((HmdMatrix44_t*)(uintptr_t)__result) = VRSystem_GetProjectionMatrix(eEye, fNearZ, fFarZ); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetEyeToHeadTransform(JNIEnv *__env, jclass clazz, jint eEye, jlong __functionAddress, jlong __result) { - VRSystem_GetEyeToHeadTransformPROC VRSystem_GetEyeToHeadTransform = (VRSystem_GetEyeToHeadTransformPROC)(intptr_t)__functionAddress; + VRSystem_GetEyeToHeadTransformPROC VRSystem_GetEyeToHeadTransform = (VRSystem_GetEyeToHeadTransformPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HmdMatrix34_t*)(intptr_t)__result) = VRSystem_GetEyeToHeadTransform(eEye); + *((HmdMatrix34_t*)(uintptr_t)__result) = VRSystem_GetEyeToHeadTransform(eEye); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetSeatedZeroPoseToStandingAbsoluteTrackingPose(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPosePROC VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose = (VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPosePROC)(intptr_t)__functionAddress; + VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPosePROC VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose = (VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPosePROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HmdMatrix34_t*)(intptr_t)__result) = VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); + *((HmdMatrix34_t*)(uintptr_t)__result) = VRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetRawZeroPoseToStandingAbsoluteTrackingPose(JNIEnv *__env, jclass clazz, jlong __functionAddress, jlong __result) { - VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPosePROC VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose = (VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPosePROC)(intptr_t)__functionAddress; + VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPosePROC VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose = (VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPosePROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HmdMatrix34_t*)(intptr_t)__result) = VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(); + *((HmdMatrix34_t*)(uintptr_t)__result) = VRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetMatrix34TrackedDeviceProperty(JNIEnv *__env, jclass clazz, jint unDeviceIndex, jint prop, jlong pErrorAddress, jlong __functionAddress, jlong __result) { - VRSystem_GetMatrix34TrackedDevicePropertyPROC VRSystem_GetMatrix34TrackedDeviceProperty = (VRSystem_GetMatrix34TrackedDevicePropertyPROC)(intptr_t)__functionAddress; - intptr_t pError = (intptr_t)pErrorAddress; + VRSystem_GetMatrix34TrackedDevicePropertyPROC VRSystem_GetMatrix34TrackedDeviceProperty = (VRSystem_GetMatrix34TrackedDevicePropertyPROC)(uintptr_t)__functionAddress; + uintptr_t pError = (uintptr_t)pErrorAddress; UNUSED_PARAMS(__env, clazz) - *((HmdMatrix34_t*)(intptr_t)__result) = VRSystem_GetMatrix34TrackedDeviceProperty(unDeviceIndex, prop, pError); + *((HmdMatrix34_t*)(uintptr_t)__result) = VRSystem_GetMatrix34TrackedDeviceProperty(unDeviceIndex, prop, pError); } JNIEXPORT void JNICALL Java_org_lwjgl_openvr_VRSystem_nVRSystem_1GetHiddenAreaMesh(JNIEnv *__env, jclass clazz, jint eEye, jint type, jlong __functionAddress, jlong __result) { - VRSystem_GetHiddenAreaMeshPROC VRSystem_GetHiddenAreaMesh = (VRSystem_GetHiddenAreaMeshPROC)(intptr_t)__functionAddress; + VRSystem_GetHiddenAreaMeshPROC VRSystem_GetHiddenAreaMesh = (VRSystem_GetHiddenAreaMeshPROC)(uintptr_t)__functionAddress; UNUSED_PARAMS(__env, clazz) - *((HiddenAreaMesh_t*)(intptr_t)__result) = VRSystem_GetHiddenAreaMesh(eEye, type); + *((HiddenAreaMesh_t*)(uintptr_t)__result) = VRSystem_GetHiddenAreaMesh(eEye, type); } EXTERN_C_EXIT diff --git a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVR.c b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVR.c index 09c46d0aab..b12cd712a7 100644 --- a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVR.c +++ b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVR.c @@ -11,7 +11,7 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1Initialize(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ovrInitParams const *params = (ovrInitParams const *)(intptr_t)paramsAddress; + ovrInitParams const *params = (ovrInitParams const *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_Initialize(params); } @@ -22,365 +22,365 @@ JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_ovr_1Shutdown(JNIEnv *__env, jclas } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetLastErrorInfo(JNIEnv *__env, jclass clazz, jlong errorInfoAddress) { - ovrErrorInfo *errorInfo = (ovrErrorInfo *)(intptr_t)errorInfoAddress; + ovrErrorInfo *errorInfo = (ovrErrorInfo *)(uintptr_t)errorInfoAddress; UNUSED_PARAMS(__env, clazz) ovr_GetLastErrorInfo(errorInfo); } JNIEXPORT jlong JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetVersionString(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ovr_GetVersionString(); + return (jlong)(uintptr_t)ovr_GetVersionString(); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1TraceMessage(JNIEnv *__env, jclass clazz, jint level, jlong messageAddress) { - char const *message = (char const *)(intptr_t)messageAddress; + char const *message = (char const *)(uintptr_t)messageAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_TraceMessage(level, message); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1IdentifyClient(JNIEnv *__env, jclass clazz, jlong identityAddress) { - char const *identity = (char const *)(intptr_t)identityAddress; + char const *identity = (char const *)(uintptr_t)identityAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_IdentifyClient(identity); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetHmdColorDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrHmdColorDesc*)(intptr_t)__result) = ovr_GetHmdColorDesc(session); + *((ovrHmdColorDesc*)(uintptr_t)__result) = ovr_GetHmdColorDesc(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetClientColorDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong colorDescAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrHmdColorDesc const *colorDesc = (ovrHmdColorDesc const *)(intptr_t)colorDescAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrHmdColorDesc const *colorDesc = (ovrHmdColorDesc const *)(uintptr_t)colorDescAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetClientColorDesc(session, colorDesc); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetHmdDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrHmdDesc*)(intptr_t)__result) = ovr_GetHmdDesc(session); + *((ovrHmdDesc*)(uintptr_t)__result) = ovr_GetHmdDesc(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTrackerCount(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTrackerCount(session); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTrackerDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint trackerDescIndex, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrTrackerDesc*)(intptr_t)__result) = ovr_GetTrackerDesc(session, (unsigned int)trackerDescIndex); + *((ovrTrackerDesc*)(uintptr_t)__result) = ovr_GetTrackerDesc(session, (unsigned int)trackerDescIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1Create(JNIEnv *__env, jclass clazz, jlong pSessionAddress, jlong pLuidAddress) { - ovrSession *pSession = (ovrSession *)(intptr_t)pSessionAddress; - ovrGraphicsLuid *pLuid = (ovrGraphicsLuid *)(intptr_t)pLuidAddress; + ovrSession *pSession = (ovrSession *)(uintptr_t)pSessionAddress; + ovrGraphicsLuid *pLuid = (ovrGraphicsLuid *)(uintptr_t)pLuidAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_Create(pSession, pLuid); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1Destroy(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) ovr_Destroy(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetSessionStatus(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong sessionStatusAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrSessionStatus *sessionStatus = (ovrSessionStatus *)(intptr_t)sessionStatusAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrSessionStatus *sessionStatus = (ovrSessionStatus *)(uintptr_t)sessionStatusAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetSessionStatus(session, sessionStatus); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1IsExtensionSupported(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint extension, jlong outExtensionSupportedAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrBool *outExtensionSupported = (ovrBool *)(intptr_t)outExtensionSupportedAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrBool *outExtensionSupported = (ovrBool *)(uintptr_t)outExtensionSupportedAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_IsExtensionSupported(session, (ovrExtensions)extension, outExtensionSupported); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1EnableExtension(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint extension) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_EnableExtension(session, (ovrExtensions)extension); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetTrackingOriginType(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint origin) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetTrackingOriginType(session, (ovrTrackingOrigin)origin); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTrackingOriginType(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTrackingOriginType(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1RecenterTrackingOrigin(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_RecenterTrackingOrigin(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SpecifyTrackingOrigin(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong originPoseAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrPosef *originPose = (ovrPosef *)(intptr_t)originPoseAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrPosef *originPose = (ovrPosef *)(uintptr_t)originPoseAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SpecifyTrackingOrigin(session, *originPose); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1ClearShouldRecenterFlag(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) ovr_ClearShouldRecenterFlag(session); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTrackingState(JNIEnv *__env, jclass clazz, jlong sessionAddress, jdouble absTime, jboolean latencyMarker, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrTrackingState*)(intptr_t)__result) = ovr_GetTrackingState(session, absTime, (ovrBool)latencyMarker); + *((ovrTrackingState*)(uintptr_t)__result) = ovr_GetTrackingState(session, absTime, (ovrBool)latencyMarker); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetDevicePoses__JJIDJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong deviceTypesAddress, jint deviceCount, jdouble absTime, jlong outDevicePosesAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTrackedDeviceType *deviceTypes = (ovrTrackedDeviceType *)(intptr_t)deviceTypesAddress; - ovrPoseStatef *outDevicePoses = (ovrPoseStatef *)(intptr_t)outDevicePosesAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTrackedDeviceType *deviceTypes = (ovrTrackedDeviceType *)(uintptr_t)deviceTypesAddress; + ovrPoseStatef *outDevicePoses = (ovrPoseStatef *)(uintptr_t)outDevicePosesAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetDevicePoses(session, deviceTypes, deviceCount, absTime, outDevicePoses); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTrackerPose(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint trackerPoseIndex, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrTrackerPose*)(intptr_t)__result) = ovr_GetTrackerPose(session, (unsigned int)trackerPoseIndex); + *((ovrTrackerPose*)(uintptr_t)__result) = ovr_GetTrackerPose(session, (unsigned int)trackerPoseIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetInputState(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint controllerType, jlong inputStateAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrInputState *inputState = (ovrInputState *)(intptr_t)inputStateAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrInputState *inputState = (ovrInputState *)(uintptr_t)inputStateAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetInputState(session, (ovrControllerType)controllerType, inputState); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetConnectedControllerTypes(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetConnectedControllerTypes(session); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTouchHapticsDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint controllerType, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrTouchHapticsDesc*)(intptr_t)__result) = ovr_GetTouchHapticsDesc(session, (ovrControllerType)controllerType); + *((ovrTouchHapticsDesc*)(uintptr_t)__result) = ovr_GetTouchHapticsDesc(session, (ovrControllerType)controllerType); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetControllerVibration(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint controllerType, jfloat frequency, jfloat amplitude) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetControllerVibration(session, (ovrControllerType)controllerType, frequency, amplitude); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SubmitControllerVibration(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint controllerType, jlong bufferAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrHapticsBuffer const *buffer = (ovrHapticsBuffer const *)(intptr_t)bufferAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrHapticsBuffer const *buffer = (ovrHapticsBuffer const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SubmitControllerVibration(session, (ovrControllerType)controllerType, buffer); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetControllerVibrationState(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint controllerType, jlong outStateAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrHapticsPlaybackState *outState = (ovrHapticsPlaybackState *)(intptr_t)outStateAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrHapticsPlaybackState *outState = (ovrHapticsPlaybackState *)(uintptr_t)outStateAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetControllerVibrationState(session, (ovrControllerType)controllerType, outState); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1TestBoundary(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint deviceBitmask, jint boundaryType, jlong outTestResultAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrBoundaryTestResult *outTestResult = (ovrBoundaryTestResult *)(intptr_t)outTestResultAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrBoundaryTestResult *outTestResult = (ovrBoundaryTestResult *)(uintptr_t)outTestResultAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_TestBoundary(session, (ovrTrackedDeviceType)deviceBitmask, (ovrBoundaryType)boundaryType, outTestResult); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1TestBoundaryPoint(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong pointAddress, jint singleBoundaryType, jlong outTestResultAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrVector3f const *point = (ovrVector3f const *)(intptr_t)pointAddress; - ovrBoundaryTestResult *outTestResult = (ovrBoundaryTestResult *)(intptr_t)outTestResultAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrVector3f const *point = (ovrVector3f const *)(uintptr_t)pointAddress; + ovrBoundaryTestResult *outTestResult = (ovrBoundaryTestResult *)(uintptr_t)outTestResultAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_TestBoundaryPoint(session, point, (ovrBoundaryType)singleBoundaryType, outTestResult); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetBoundaryLookAndFeel(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong lookAndFeelAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrBoundaryLookAndFeel const *lookAndFeel = (ovrBoundaryLookAndFeel const *)(intptr_t)lookAndFeelAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrBoundaryLookAndFeel const *lookAndFeel = (ovrBoundaryLookAndFeel const *)(uintptr_t)lookAndFeelAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetBoundaryLookAndFeel(session, lookAndFeel); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1ResetBoundaryLookAndFeel(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_ResetBoundaryLookAndFeel(session); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBoundaryGeometry__JIJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint boundaryType, jlong outFloorPointsAddress, jlong outFloorPointsCountAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrVector3f *outFloorPoints = (ovrVector3f *)(intptr_t)outFloorPointsAddress; - int *outFloorPointsCount = (int *)(intptr_t)outFloorPointsCountAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrVector3f *outFloorPoints = (ovrVector3f *)(uintptr_t)outFloorPointsAddress; + int *outFloorPointsCount = (int *)(uintptr_t)outFloorPointsCountAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetBoundaryGeometry(session, (ovrBoundaryType)boundaryType, outFloorPoints, outFloorPointsCount); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBoundaryDimensions(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint boundaryType, jlong outDimensionsAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrVector3f *outDimensions = (ovrVector3f *)(intptr_t)outDimensionsAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrVector3f *outDimensions = (ovrVector3f *)(uintptr_t)outDimensionsAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetBoundaryDimensions(session, (ovrBoundaryType)boundaryType, outDimensions); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBoundaryVisible(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong outIsVisibleAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrBool *outIsVisible = (ovrBool *)(intptr_t)outIsVisibleAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrBool *outIsVisible = (ovrBool *)(uintptr_t)outIsVisibleAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetBoundaryVisible(session, outIsVisible); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1RequestBoundaryVisible(JNIEnv *__env, jclass clazz, jlong sessionAddress, jboolean visible) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_RequestBoundaryVisible(session, (ovrBool)visible); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetExternalCameras__JJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong camerasAddress, jlong inoutCameraCountAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrExternalCamera *cameras = (ovrExternalCamera *)(intptr_t)camerasAddress; - unsigned int *inoutCameraCount = (unsigned int *)(intptr_t)inoutCameraCountAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrExternalCamera *cameras = (ovrExternalCamera *)(uintptr_t)camerasAddress; + unsigned int *inoutCameraCount = (unsigned int *)(uintptr_t)inoutCameraCountAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetExternalCameras(session, cameras, inoutCameraCount); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetExternalCameraProperties(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong nameAddress, jlong intrinsicsAddress, jlong extrinsicsAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *name = (char const *)(intptr_t)nameAddress; - ovrCameraIntrinsics const * const intrinsics = (ovrCameraIntrinsics const * const)(intptr_t)intrinsicsAddress; - ovrCameraExtrinsics const * const extrinsics = (ovrCameraExtrinsics const * const)(intptr_t)extrinsicsAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *name = (char const *)(uintptr_t)nameAddress; + ovrCameraIntrinsics const * const intrinsics = (ovrCameraIntrinsics const * const)(uintptr_t)intrinsicsAddress; + ovrCameraExtrinsics const * const extrinsics = (ovrCameraExtrinsics const * const)(uintptr_t)extrinsicsAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetExternalCameraProperties(session, name, intrinsics, extrinsics); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainLength__JJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jlong out_LengthAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; - int *out_Length = (int *)(intptr_t)out_LengthAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; + int *out_Length = (int *)(uintptr_t)out_LengthAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTextureSwapChainLength(session, chain, out_Length); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainCurrentIndex__JJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jlong out_IndexAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; - int *out_Index = (int *)(intptr_t)out_IndexAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; + int *out_Index = (int *)(uintptr_t)out_IndexAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTextureSwapChainCurrentIndex(session, chain, out_Index); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jlong out_DescAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; - ovrTextureSwapChainDesc *out_Desc = (ovrTextureSwapChainDesc *)(intptr_t)out_DescAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; + ovrTextureSwapChainDesc *out_Desc = (ovrTextureSwapChainDesc *)(uintptr_t)out_DescAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTextureSwapChainDesc(session, chain, out_Desc); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1CommitTextureSwapChain(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CommitTextureSwapChain(session, chain); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1DestroyTextureSwapChain(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; UNUSED_PARAMS(__env, clazz) ovr_DestroyTextureSwapChain(session, chain); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1DestroyMirrorTexture(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong mirrorTextureAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(intptr_t)mirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(uintptr_t)mirrorTextureAddress; UNUSED_PARAMS(__env, clazz) ovr_DestroyMirrorTexture(session, mirrorTexture); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFovTextureSize(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint eye, jlong fovAddress, jfloat pixelsPerDisplayPixel, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrFovPort *fov = (ovrFovPort *)(intptr_t)fovAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrFovPort *fov = (ovrFovPort *)(uintptr_t)fovAddress; UNUSED_PARAMS(__env, clazz) - *((ovrSizei*)(intptr_t)__result) = ovr_GetFovTextureSize(session, (ovrEyeType)eye, *fov, pixelsPerDisplayPixel); + *((ovrSizei*)(uintptr_t)__result) = ovr_GetFovTextureSize(session, (ovrEyeType)eye, *fov, pixelsPerDisplayPixel); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetRenderDesc(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint eyeType, jlong fovAddress, jlong __result) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrFovPort *fov = (ovrFovPort *)(intptr_t)fovAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrFovPort *fov = (ovrFovPort *)(uintptr_t)fovAddress; UNUSED_PARAMS(__env, clazz) - *((ovrEyeRenderDesc*)(intptr_t)__result) = ovr_GetRenderDesc(session, (ovrEyeType)eyeType, *fov); + *((ovrEyeRenderDesc*)(uintptr_t)__result) = ovr_GetRenderDesc(session, (ovrEyeType)eyeType, *fov); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFovStencil(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong fovStencilDescAddress, jlong meshBufferAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrFovStencilDesc const *fovStencilDesc = (ovrFovStencilDesc const *)(intptr_t)fovStencilDescAddress; - ovrFovStencilMeshBuffer *meshBuffer = (ovrFovStencilMeshBuffer *)(intptr_t)meshBufferAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrFovStencilDesc const *fovStencilDesc = (ovrFovStencilDesc const *)(uintptr_t)fovStencilDescAddress; + ovrFovStencilMeshBuffer *meshBuffer = (ovrFovStencilMeshBuffer *)(uintptr_t)meshBufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetFovStencil(session, fovStencilDesc, meshBuffer); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1WaitToBeginFrame(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_WaitToBeginFrame(session, (long long)frameIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1BeginFrame(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_BeginFrame(session, (long long)frameIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1EndFrame(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex, jlong viewScaleDescAddress, jlong layerPtrListAddress, jint layerCount) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrViewScaleDesc const *viewScaleDesc = (ovrViewScaleDesc const *)(intptr_t)viewScaleDescAddress; - ovrLayerHeader const * const *layerPtrList = (ovrLayerHeader const * const *)(intptr_t)layerPtrListAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrViewScaleDesc const *viewScaleDesc = (ovrViewScaleDesc const *)(uintptr_t)viewScaleDescAddress; + ovrLayerHeader const * const *layerPtrList = (ovrLayerHeader const * const *)(uintptr_t)layerPtrListAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_EndFrame(session, (long long)frameIndex, viewScaleDesc, layerPtrList, (unsigned int)layerCount); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1SubmitFrame(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex, jlong viewScaleDescAddress, jlong layerPtrListAddress, jint layerCount) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrViewScaleDesc const *viewScaleDesc = (ovrViewScaleDesc const *)(intptr_t)viewScaleDescAddress; - ovrLayerHeader const * const *layerPtrList = (ovrLayerHeader const * const *)(intptr_t)layerPtrListAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrViewScaleDesc const *viewScaleDesc = (ovrViewScaleDesc const *)(uintptr_t)viewScaleDescAddress; + ovrLayerHeader const * const *layerPtrList = (ovrLayerHeader const * const *)(uintptr_t)layerPtrListAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SubmitFrame(session, (long long)frameIndex, viewScaleDesc, layerPtrList, (unsigned int)layerCount); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetPerfStats(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong outStatsAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrPerfStats *outStats = (ovrPerfStats *)(intptr_t)outStatsAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrPerfStats *outStats = (ovrPerfStats *)(uintptr_t)outStatsAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetPerfStats(session, outStats); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1ResetPerfStats(JNIEnv *__env, jclass clazz, jlong sessionAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_ResetPerfStats(session); } JNIEXPORT jdouble JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetPredictedDisplayTime(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; UNUSED_PARAMS(__env, clazz) return (jdouble)ovr_GetPredictedDisplayTime(session, (long long)frameIndex); } @@ -391,82 +391,82 @@ JNIEXPORT jdouble JNICALL Java_org_lwjgl_ovr_OVR_ovr_1GetTimeInSeconds(JNIEnv *_ } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBool(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jboolean defaultVal) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_GetBool(session, propertyName, (ovrBool)defaultVal); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetBool(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jboolean value) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_SetBool(session, propertyName, (ovrBool)value); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetInt(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jint defaultVal) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetInt(session, propertyName, defaultVal); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetInt(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jint value) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_SetInt(session, propertyName, value); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFloat(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jfloat defaultVal) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)ovr_GetFloat(session, propertyName, defaultVal); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetFloat(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jfloat value) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_SetFloat(session, propertyName, value); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFloatArray__JJJI(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jlong valuesAddress, jint valuesCapacity) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; - float *values = (float *)(intptr_t)valuesAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; + float *values = (float *)(uintptr_t)valuesAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetFloatArray(session, propertyName, values, (unsigned int)valuesCapacity); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetFloatArray__JJJI(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jlong valuesAddress, jint valuesSize) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; - float *values = (float *)(intptr_t)valuesAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; + float *values = (float *)(uintptr_t)valuesAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_SetFloatArray(session, propertyName, values, (unsigned int)valuesSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetString(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jlong defaultValAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; - char const *defaultVal = (char const *)(intptr_t)defaultValAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; + char const *defaultVal = (char const *)(uintptr_t)defaultValAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ovr_GetString(session, propertyName, defaultVal); + return (jlong)(uintptr_t)ovr_GetString(session, propertyName, defaultVal); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetString(JNIEnv *__env, jclass clazz, jlong hmddescAddress, jlong propertyNameAddress, jlong valueAddress) { - ovrSession hmddesc = (ovrSession)(intptr_t)hmddescAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; - char const *value = (char const *)(intptr_t)valueAddress; + ovrSession hmddesc = (ovrSession)(uintptr_t)hmddescAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; + char const *value = (char const *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)ovr_SetString(hmddesc, propertyName, value); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetDevicePoses__J_3IIDJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jintArray deviceTypesAddress, jint deviceCount, jdouble absTime, jlong outDevicePosesAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrPoseStatef *outDevicePoses = (ovrPoseStatef *)(intptr_t)outDevicePosesAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrPoseStatef *outDevicePoses = (ovrPoseStatef *)(uintptr_t)outDevicePosesAddress; jint __result; jint *deviceTypes = (*__env)->GetIntArrayElements(__env, deviceTypesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -476,8 +476,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetDevicePoses__J_3IIDJ(JNIE } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBoundaryGeometry__JIJ_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jint boundaryType, jlong outFloorPointsAddress, jintArray outFloorPointsCountAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrVector3f *outFloorPoints = (ovrVector3f *)(intptr_t)outFloorPointsAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrVector3f *outFloorPoints = (ovrVector3f *)(uintptr_t)outFloorPointsAddress; jint __result; jint *outFloorPointsCount = outFloorPointsCountAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, outFloorPointsCountAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -487,8 +487,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetBoundaryGeometry__JIJ_3I( } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetExternalCameras__JJ_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong camerasAddress, jintArray inoutCameraCountAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrExternalCamera *cameras = (ovrExternalCamera *)(intptr_t)camerasAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrExternalCamera *cameras = (ovrExternalCamera *)(uintptr_t)camerasAddress; jint __result; jint *inoutCameraCount = (*__env)->GetIntArrayElements(__env, inoutCameraCountAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -498,8 +498,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetExternalCameras__JJ_3I(JN } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainLength__JJ_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jintArray out_LengthAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; jint __result; jint *out_Length = (*__env)->GetIntArrayElements(__env, out_LengthAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -509,8 +509,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainLength__J } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainCurrentIndex__JJ_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jintArray out_IndexAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; jint __result; jint *out_Index = (*__env)->GetIntArrayElements(__env, out_IndexAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -520,8 +520,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetTextureSwapChainCurrentIn } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFloatArray__JJ_3FI(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jfloatArray valuesAddress, jint valuesCapacity) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; jint __result; jfloat *values = (*__env)->GetFloatArrayElements(__env, valuesAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -531,8 +531,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVR_novr_1GetFloatArray__JJ_3FI(JNIEnv } JNIEXPORT jboolean JNICALL Java_org_lwjgl_ovr_OVR_novr_1SetFloatArray__JJ_3FI(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong propertyNameAddress, jfloatArray valuesAddress, jint valuesSize) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - char const *propertyName = (char const *)(intptr_t)propertyNameAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + char const *propertyName = (char const *)(uintptr_t)propertyNameAddress; jboolean __result; jfloat *values = (*__env)->GetFloatArrayElements(__env, valuesAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRGL.c b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRGL.c index 52e1e0ec38..11c2ba6c92 100644 --- a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRGL.c +++ b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRGL.c @@ -11,48 +11,48 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1CreateTextureSwapChainGL(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong descAddress, jlong out_TextureSwapChainAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChainDesc const *desc = (ovrTextureSwapChainDesc const *)(intptr_t)descAddress; - ovrTextureSwapChain *out_TextureSwapChain = (ovrTextureSwapChain *)(intptr_t)out_TextureSwapChainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChainDesc const *desc = (ovrTextureSwapChainDesc const *)(uintptr_t)descAddress; + ovrTextureSwapChain *out_TextureSwapChain = (ovrTextureSwapChain *)(uintptr_t)out_TextureSwapChainAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CreateTextureSwapChainGL(session, desc, out_TextureSwapChain); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1GetTextureSwapChainBufferGL__JJIJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jint index, jlong out_TexIdAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; - unsigned int *out_TexId = (unsigned int *)(intptr_t)out_TexIdAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; + unsigned int *out_TexId = (unsigned int *)(uintptr_t)out_TexIdAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTextureSwapChainBufferGL(session, chain, index, out_TexId); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1CreateMirrorTextureWithOptionsGL(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong descAddress, jlong out_MirrorTextureAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(intptr_t)descAddress; - ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(intptr_t)out_MirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(uintptr_t)descAddress; + ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(uintptr_t)out_MirrorTextureAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CreateMirrorTextureWithOptionsGL(session, desc, out_MirrorTexture); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1CreateMirrorTextureGL(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong descAddress, jlong out_MirrorTextureAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(intptr_t)descAddress; - ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(intptr_t)out_MirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(uintptr_t)descAddress; + ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(uintptr_t)out_MirrorTextureAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CreateMirrorTextureGL(session, desc, out_MirrorTexture); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1GetMirrorTextureBufferGL__JJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong mirrorTextureAddress, jlong out_TexIdAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(intptr_t)mirrorTextureAddress; - unsigned int *out_TexId = (unsigned int *)(intptr_t)out_TexIdAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(uintptr_t)mirrorTextureAddress; + unsigned int *out_TexId = (unsigned int *)(uintptr_t)out_TexIdAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetMirrorTextureBufferGL(session, mirrorTexture, out_TexId); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1GetTextureSwapChainBufferGL__JJI_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jint index, jintArray out_TexIdAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; jint __result; jint *out_TexId = (*__env)->GetIntArrayElements(__env, out_TexIdAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -62,8 +62,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1GetTextureSwapChainBufferG } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRGL_novr_1GetMirrorTextureBufferGL__JJ_3I(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong mirrorTextureAddress, jintArray out_TexIdAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(intptr_t)mirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(uintptr_t)mirrorTextureAddress; jint __result; jint *out_TexId = (*__env)->GetIntArrayElements(__env, out_TexIdAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRUtil.c b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRUtil.c index 2125c1c254..e23c9b37c8 100644 --- a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRUtil.c +++ b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRUtil.c @@ -12,82 +12,82 @@ EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1Detect(JNIEnv *__env, jclass clazz, jint timeoutMilliseconds, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((ovrDetectResult*)(intptr_t)__result) = ovr_Detect(timeoutMilliseconds); + *((ovrDetectResult*)(uintptr_t)__result) = ovr_Detect(timeoutMilliseconds); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novrMatrix4f_1Projection(JNIEnv *__env, jclass clazz, jlong fovAddress, jfloat znear, jfloat zfar, jint projectionModFlags, jlong __result) { - ovrFovPort *fov = (ovrFovPort *)(intptr_t)fovAddress; + ovrFovPort *fov = (ovrFovPort *)(uintptr_t)fovAddress; UNUSED_PARAMS(__env, clazz) - *((ovrMatrix4f*)(intptr_t)__result) = ovrMatrix4f_Projection(*fov, znear, zfar, (unsigned int)projectionModFlags); + *((ovrMatrix4f*)(uintptr_t)__result) = ovrMatrix4f_Projection(*fov, znear, zfar, (unsigned int)projectionModFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novrTimewarpProjectionDesc_1FromProjection(JNIEnv *__env, jclass clazz, jlong projectionAddress, jint projectionModFlags, jlong __result) { - ovrMatrix4f *projection = (ovrMatrix4f *)(intptr_t)projectionAddress; + ovrMatrix4f *projection = (ovrMatrix4f *)(uintptr_t)projectionAddress; UNUSED_PARAMS(__env, clazz) - *((ovrTimewarpProjectionDesc*)(intptr_t)__result) = ovrTimewarpProjectionDesc_FromProjection(*projection, (unsigned int)projectionModFlags); + *((ovrTimewarpProjectionDesc*)(uintptr_t)__result) = ovrTimewarpProjectionDesc_FromProjection(*projection, (unsigned int)projectionModFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novrMatrix4f_1OrthoSubProjection(JNIEnv *__env, jclass clazz, jlong projectionAddress, jlong orthoScaleAddress, jfloat orthoDistance, jfloat HmdToEyeOffsetX, jlong __result) { - ovrMatrix4f *projection = (ovrMatrix4f *)(intptr_t)projectionAddress; - ovrVector2f *orthoScale = (ovrVector2f *)(intptr_t)orthoScaleAddress; + ovrMatrix4f *projection = (ovrMatrix4f *)(uintptr_t)projectionAddress; + ovrVector2f *orthoScale = (ovrVector2f *)(uintptr_t)orthoScaleAddress; UNUSED_PARAMS(__env, clazz) - *((ovrMatrix4f*)(intptr_t)__result) = ovrMatrix4f_OrthoSubProjection(*projection, *orthoScale, orthoDistance, HmdToEyeOffsetX); + *((ovrMatrix4f*)(uintptr_t)__result) = ovrMatrix4f_OrthoSubProjection(*projection, *orthoScale, orthoDistance, HmdToEyeOffsetX); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1CalcEyePoses(JNIEnv *__env, jclass clazz, jlong headPoseAddress, jlong HmdToEyePoseAddress, jlong outEyePosesAddress) { - ovrPosef *headPose = (ovrPosef *)(intptr_t)headPoseAddress; - ovrPosef const *HmdToEyePose = (ovrPosef const *)(intptr_t)HmdToEyePoseAddress; - ovrPosef *outEyePoses = (ovrPosef *)(intptr_t)outEyePosesAddress; + ovrPosef *headPose = (ovrPosef *)(uintptr_t)headPoseAddress; + ovrPosef const *HmdToEyePose = (ovrPosef const *)(uintptr_t)HmdToEyePoseAddress; + ovrPosef *outEyePoses = (ovrPosef *)(uintptr_t)outEyePosesAddress; UNUSED_PARAMS(__env, clazz) ovr_CalcEyePoses(*headPose, HmdToEyePose, outEyePoses); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1GetEyePoses__JJZJJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex, jboolean latencyMarker, jlong HmdToEyePoseAddress, jlong outEyePosesAddress, jlong outSensorSampleTimeAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrPosef const *HmdToEyePose = (ovrPosef const *)(intptr_t)HmdToEyePoseAddress; - ovrPosef *outEyePoses = (ovrPosef *)(intptr_t)outEyePosesAddress; - double *outSensorSampleTime = (double *)(intptr_t)outSensorSampleTimeAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrPosef const *HmdToEyePose = (ovrPosef const *)(uintptr_t)HmdToEyePoseAddress; + ovrPosef *outEyePoses = (ovrPosef *)(uintptr_t)outEyePosesAddress; + double *outSensorSampleTime = (double *)(uintptr_t)outSensorSampleTimeAddress; UNUSED_PARAMS(__env, clazz) ovr_GetEyePoses(session, (long long)frameIndex, (ovrBool)latencyMarker, HmdToEyePose, outEyePoses, outSensorSampleTime); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novrPosef_1FlipHandedness(JNIEnv *__env, jclass clazz, jlong inPoseAddress, jlong outPoseAddress) { - ovrPosef const *inPose = (ovrPosef const *)(intptr_t)inPoseAddress; - ovrPosef *outPose = (ovrPosef *)(intptr_t)outPoseAddress; + ovrPosef const *inPose = (ovrPosef const *)(uintptr_t)inPoseAddress; + ovrPosef *outPose = (ovrPosef *)(uintptr_t)outPoseAddress; UNUSED_PARAMS(__env, clazz) ovrPosef_FlipHandedness(inPose, outPose); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1ReadWavFromBuffer(JNIEnv *__env, jclass clazz, jlong outAudioChannelAddress, jlong inputDataAddress, jint dataSizeInBytes, jint stereoChannelToUse) { - ovrAudioChannelData *outAudioChannel = (ovrAudioChannelData *)(intptr_t)outAudioChannelAddress; - void const *inputData = (void const *)(intptr_t)inputDataAddress; + ovrAudioChannelData *outAudioChannel = (ovrAudioChannelData *)(uintptr_t)outAudioChannelAddress; + void const *inputData = (void const *)(uintptr_t)inputDataAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_ReadWavFromBuffer(outAudioChannel, inputData, dataSizeInBytes, stereoChannelToUse); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1GenHapticsFromAudioData(JNIEnv *__env, jclass clazz, jlong outHapticsClipAddress, jlong audioChannelAddress, jint genMode) { - ovrHapticsClip *outHapticsClip = (ovrHapticsClip *)(intptr_t)outHapticsClipAddress; - ovrAudioChannelData const *audioChannel = (ovrAudioChannelData const *)(intptr_t)audioChannelAddress; + ovrHapticsClip *outHapticsClip = (ovrHapticsClip *)(uintptr_t)outHapticsClipAddress; + ovrAudioChannelData const *audioChannel = (ovrAudioChannelData const *)(uintptr_t)audioChannelAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GenHapticsFromAudioData(outHapticsClip, audioChannel, (ovrHapticsGenMode)genMode); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1ReleaseAudioChannelData(JNIEnv *__env, jclass clazz, jlong audioChannelAddress) { - ovrAudioChannelData *audioChannel = (ovrAudioChannelData *)(intptr_t)audioChannelAddress; + ovrAudioChannelData *audioChannel = (ovrAudioChannelData *)(uintptr_t)audioChannelAddress; UNUSED_PARAMS(__env, clazz) ovr_ReleaseAudioChannelData(audioChannel); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1ReleaseHapticsClip(JNIEnv *__env, jclass clazz, jlong hapticsClipAddress) { - ovrHapticsClip *hapticsClip = (ovrHapticsClip *)(intptr_t)hapticsClipAddress; + ovrHapticsClip *hapticsClip = (ovrHapticsClip *)(uintptr_t)hapticsClipAddress; UNUSED_PARAMS(__env, clazz) ovr_ReleaseHapticsClip(hapticsClip); } JNIEXPORT void JNICALL Java_org_lwjgl_ovr_OVRUtil_novr_1GetEyePoses__JJZJJ_3D(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong frameIndex, jboolean latencyMarker, jlong HmdToEyePoseAddress, jlong outEyePosesAddress, jdoubleArray outSensorSampleTimeAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrPosef const *HmdToEyePose = (ovrPosef const *)(intptr_t)HmdToEyePoseAddress; - ovrPosef *outEyePoses = (ovrPosef *)(intptr_t)outEyePosesAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrPosef const *HmdToEyePose = (ovrPosef const *)(uintptr_t)HmdToEyePoseAddress; + ovrPosef *outEyePoses = (ovrPosef *)(uintptr_t)outEyePosesAddress; jdouble *outSensorSampleTime = outSensorSampleTimeAddress == NULL ? NULL : (*__env)->GetDoubleArrayElements(__env, outSensorSampleTimeAddress, NULL); UNUSED_PARAMS(__env, clazz) ovr_GetEyePoses(session, (long long)frameIndex, (ovrBool)latencyMarker, HmdToEyePose, outEyePoses, (double *)outSensorSampleTime); diff --git a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRVk.c b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRVk.c index 8ae1d0f8a2..fd437105d0 100644 --- a/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRVk.c +++ b/modules/lwjgl/ovr/src/generated/c/org_lwjgl_ovr_OVRVk.c @@ -11,74 +11,74 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetInstanceExtensionsVk__JJJ(JNIEnv *__env, jclass clazz, jlong luidAddress, jlong extensionNamesAddress, jlong inoutExtensionNamesSizeAddress) { - ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(intptr_t)luidAddress; - char *extensionNames = (char *)(intptr_t)extensionNamesAddress; - uint32_t *inoutExtensionNamesSize = (uint32_t *)(intptr_t)inoutExtensionNamesSizeAddress; + ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(uintptr_t)luidAddress; + char *extensionNames = (char *)(uintptr_t)extensionNamesAddress; + uint32_t *inoutExtensionNamesSize = (uint32_t *)(uintptr_t)inoutExtensionNamesSizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetInstanceExtensionsVk(*luid, extensionNames, inoutExtensionNamesSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetDeviceExtensionsVk__JJJ(JNIEnv *__env, jclass clazz, jlong luidAddress, jlong extensionNamesAddress, jlong inoutExtensionNamesSizeAddress) { - ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(intptr_t)luidAddress; - char *extensionNames = (char *)(intptr_t)extensionNamesAddress; - uint32_t *inoutExtensionNamesSize = (uint32_t *)(intptr_t)inoutExtensionNamesSizeAddress; + ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(uintptr_t)luidAddress; + char *extensionNames = (char *)(uintptr_t)extensionNamesAddress; + uint32_t *inoutExtensionNamesSize = (uint32_t *)(uintptr_t)inoutExtensionNamesSizeAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetDeviceExtensionsVk(*luid, extensionNames, inoutExtensionNamesSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetSessionPhysicalDeviceVk(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong luidAddress, jlong instanceAddress, jlong out_physicalDeviceAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(intptr_t)luidAddress; - VkInstance instance = (VkInstance)(intptr_t)instanceAddress; - VkPhysicalDevice *out_physicalDevice = (VkPhysicalDevice *)(intptr_t)out_physicalDeviceAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(uintptr_t)luidAddress; + VkInstance instance = (VkInstance)(uintptr_t)instanceAddress; + VkPhysicalDevice *out_physicalDevice = (VkPhysicalDevice *)(uintptr_t)out_physicalDeviceAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetSessionPhysicalDeviceVk(session, *luid, instance, out_physicalDevice); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1SetSynchronizationQueueVk(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong queueAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - VkQueue queue = (VkQueue)(intptr_t)queueAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + VkQueue queue = (VkQueue)(uintptr_t)queueAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_SetSynchronizationQueueVk(session, queue); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1CreateTextureSwapChainVk(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong deviceAddress, jlong descAddress, jlong out_TextureSwapChainAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - VkDevice device = (VkDevice)(intptr_t)deviceAddress; - ovrTextureSwapChainDesc const *desc = (ovrTextureSwapChainDesc const *)(intptr_t)descAddress; - ovrTextureSwapChain *out_TextureSwapChain = (ovrTextureSwapChain *)(intptr_t)out_TextureSwapChainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + VkDevice device = (VkDevice)(uintptr_t)deviceAddress; + ovrTextureSwapChainDesc const *desc = (ovrTextureSwapChainDesc const *)(uintptr_t)descAddress; + ovrTextureSwapChain *out_TextureSwapChain = (ovrTextureSwapChain *)(uintptr_t)out_TextureSwapChainAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CreateTextureSwapChainVk(session, device, desc, out_TextureSwapChain); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetTextureSwapChainBufferVk__JJIJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jint index, jlong out_ImageAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; - VkImage *out_Image = (VkImage *)(intptr_t)out_ImageAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; + VkImage *out_Image = (VkImage *)(uintptr_t)out_ImageAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetTextureSwapChainBufferVk(session, chain, index, out_Image); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1CreateMirrorTextureWithOptionsVk(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong deviceAddress, jlong descAddress, jlong out_MirrorTextureAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - VkDevice device = (VkDevice)(intptr_t)deviceAddress; - ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(intptr_t)descAddress; - ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(intptr_t)out_MirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + VkDevice device = (VkDevice)(uintptr_t)deviceAddress; + ovrMirrorTextureDesc const *desc = (ovrMirrorTextureDesc const *)(uintptr_t)descAddress; + ovrMirrorTexture *out_MirrorTexture = (ovrMirrorTexture *)(uintptr_t)out_MirrorTextureAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_CreateMirrorTextureWithOptionsVk(session, device, desc, out_MirrorTexture); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetMirrorTextureBufferVk__JJJ(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong mirrorTextureAddress, jlong out_ImageAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(intptr_t)mirrorTextureAddress; - VkImage *out_Image = (VkImage *)(intptr_t)out_ImageAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(uintptr_t)mirrorTextureAddress; + VkImage *out_Image = (VkImage *)(uintptr_t)out_ImageAddress; UNUSED_PARAMS(__env, clazz) return (jint)ovr_GetMirrorTextureBufferVk(session, mirrorTexture, out_Image); } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetInstanceExtensionsVk__JJ_3I(JNIEnv *__env, jclass clazz, jlong luidAddress, jlong extensionNamesAddress, jintArray inoutExtensionNamesSizeAddress) { - ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(intptr_t)luidAddress; - char *extensionNames = (char *)(intptr_t)extensionNamesAddress; + ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(uintptr_t)luidAddress; + char *extensionNames = (char *)(uintptr_t)extensionNamesAddress; jint __result; jint *inoutExtensionNamesSize = (*__env)->GetIntArrayElements(__env, inoutExtensionNamesSizeAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -88,8 +88,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetInstanceExtensionsVk__J } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetDeviceExtensionsVk__JJ_3I(JNIEnv *__env, jclass clazz, jlong luidAddress, jlong extensionNamesAddress, jintArray inoutExtensionNamesSizeAddress) { - ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(intptr_t)luidAddress; - char *extensionNames = (char *)(intptr_t)extensionNamesAddress; + ovrGraphicsLuid *luid = (ovrGraphicsLuid *)(uintptr_t)luidAddress; + char *extensionNames = (char *)(uintptr_t)extensionNamesAddress; jint __result; jint *inoutExtensionNamesSize = (*__env)->GetIntArrayElements(__env, inoutExtensionNamesSizeAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -99,8 +99,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetDeviceExtensionsVk__JJ_ } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetTextureSwapChainBufferVk__JJI_3J(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong chainAddress, jint index, jlongArray out_ImageAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrTextureSwapChain chain = (ovrTextureSwapChain)(intptr_t)chainAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrTextureSwapChain chain = (ovrTextureSwapChain)(uintptr_t)chainAddress; jint __result; jlong *out_Image = (*__env)->GetLongArrayElements(__env, out_ImageAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -110,8 +110,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetTextureSwapChainBufferV } JNIEXPORT jint JNICALL Java_org_lwjgl_ovr_OVRVk_novr_1GetMirrorTextureBufferVk__JJ_3J(JNIEnv *__env, jclass clazz, jlong sessionAddress, jlong mirrorTextureAddress, jlongArray out_ImageAddress) { - ovrSession session = (ovrSession)(intptr_t)sessionAddress; - ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(intptr_t)mirrorTextureAddress; + ovrSession session = (ovrSession)(uintptr_t)sessionAddress; + ovrMirrorTexture mirrorTexture = (ovrMirrorTexture)(uintptr_t)mirrorTextureAddress; jint __result; jlong *out_Image = (*__env)->GetLongArrayElements(__env, out_ImageAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParOctasphere.c b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParOctasphere.c index 78d2ea5810..930734bdd4 100644 --- a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParOctasphere.c +++ b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParOctasphere.c @@ -12,22 +12,22 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParOctasphere_npar_1octasphere_1get_1counts__JJJ(JNIEnv *__env, jclass clazz, jlong configAddress, jlong num_indicesAddress, jlong num_verticesAddress) { - par_octasphere_config const *config = (par_octasphere_config const *)(intptr_t)configAddress; - uint32_t *num_indices = (uint32_t *)(intptr_t)num_indicesAddress; - uint32_t *num_vertices = (uint32_t *)(intptr_t)num_verticesAddress; + par_octasphere_config const *config = (par_octasphere_config const *)(uintptr_t)configAddress; + uint32_t *num_indices = (uint32_t *)(uintptr_t)num_indicesAddress; + uint32_t *num_vertices = (uint32_t *)(uintptr_t)num_verticesAddress; UNUSED_PARAMS(__env, clazz) par_octasphere_get_counts(config, num_indices, num_vertices); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParOctasphere_npar_1octasphere_1populate(JNIEnv *__env, jclass clazz, jlong configAddress, jlong meshAddress) { - par_octasphere_config const *config = (par_octasphere_config const *)(intptr_t)configAddress; - par_octasphere_mesh *mesh = (par_octasphere_mesh *)(intptr_t)meshAddress; + par_octasphere_config const *config = (par_octasphere_config const *)(uintptr_t)configAddress; + par_octasphere_mesh *mesh = (par_octasphere_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_octasphere_populate(config, mesh); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParOctasphere_npar_1octasphere_1get_1counts__J_3I_3I(JNIEnv *__env, jclass clazz, jlong configAddress, jintArray num_indicesAddress, jintArray num_verticesAddress) { - par_octasphere_config const *config = (par_octasphere_config const *)(intptr_t)configAddress; + par_octasphere_config const *config = (par_octasphere_config const *)(uintptr_t)configAddress; jint *num_indices = (*__env)->GetIntArrayElements(__env, num_indicesAddress, NULL); jint *num_vertices = (*__env)->GetIntArrayElements(__env, num_verticesAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParShapes.c b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParShapes.c index f3adb02f86..387291fb0f 100644 --- a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParShapes.c +++ b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParShapes.c @@ -18,192 +18,192 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1free_1mesh(JNIEnv *__env, jclass clazz, jlong meshAddress) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_free_mesh(mesh); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1cylinder(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_cylinder(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_cylinder(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1cone(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_cone(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_cone(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1parametric_1disk(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_parametric_disk(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_parametric_disk(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1torus(JNIEnv *__env, jclass clazz, jint slices, jint stacks, jfloat radius) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_torus(slices, stacks, radius); + return (jlong)(uintptr_t)par_shapes_create_torus(slices, stacks, radius); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1parametric_1sphere(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_parametric_sphere(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_parametric_sphere(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1subdivided_1sphere(JNIEnv *__env, jclass clazz, jint nsubdivisions) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_subdivided_sphere(nsubdivisions); + return (jlong)(uintptr_t)par_shapes_create_subdivided_sphere(nsubdivisions); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1klein_1bottle(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_klein_bottle(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_klein_bottle(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1trefoil_1knot(JNIEnv *__env, jclass clazz, jint slices, jint stacks, jfloat radius) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_trefoil_knot(slices, stacks, radius); + return (jlong)(uintptr_t)par_shapes_create_trefoil_knot(slices, stacks, radius); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1hemisphere(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_hemisphere(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_hemisphere(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1plane(JNIEnv *__env, jclass clazz, jint slices, jint stacks) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_plane(slices, stacks); + return (jlong)(uintptr_t)par_shapes_create_plane(slices, stacks); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1icosahedron(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_icosahedron(); + return (jlong)(uintptr_t)par_shapes_create_icosahedron(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1dodecahedron(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_dodecahedron(); + return (jlong)(uintptr_t)par_shapes_create_dodecahedron(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1octahedron(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_octahedron(); + return (jlong)(uintptr_t)par_shapes_create_octahedron(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1tetrahedron(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_tetrahedron(); + return (jlong)(uintptr_t)par_shapes_create_tetrahedron(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1cube(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_cube(); + return (jlong)(uintptr_t)par_shapes_create_cube(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1disk__FIJJ(JNIEnv *__env, jclass clazz, jfloat radius, jint slices, jlong centerAddress, jlong normalAddress) { - float const *center = (float const *)(intptr_t)centerAddress; - float const *normal = (float const *)(intptr_t)normalAddress; + float const *center = (float const *)(uintptr_t)centerAddress; + float const *normal = (float const *)(uintptr_t)normalAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_disk(radius, slices, center, normal); + return (jlong)(uintptr_t)par_shapes_create_disk(radius, slices, center, normal); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1empty(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_empty(); + return (jlong)(uintptr_t)par_shapes_create_empty(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1rock(JNIEnv *__env, jclass clazz, jint seed, jint nsubdivisions) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_rock(seed, nsubdivisions); + return (jlong)(uintptr_t)par_shapes_create_rock(seed, nsubdivisions); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1lsystem(JNIEnv *__env, jclass clazz, jlong programAddress, jint slices, jint maxdepth, jlong rand_fnAddress, jlong contextAddress) { - char const *program = (char const *)(intptr_t)programAddress; - par_shapes_rand_fn rand_fn = (par_shapes_rand_fn)(intptr_t)rand_fnAddress; - void *context = (void *)(intptr_t)contextAddress; + char const *program = (char const *)(uintptr_t)programAddress; + par_shapes_rand_fn rand_fn = (par_shapes_rand_fn)(uintptr_t)rand_fnAddress; + void *context = (void *)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_create_lsystem(program, slices, maxdepth, rand_fn, context); + return (jlong)(uintptr_t)par_shapes_create_lsystem(program, slices, maxdepth, rand_fn, context); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1export(JNIEnv *__env, jclass clazz, jlong meshAddress, jlong objfileAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; - char const *objfile = (char const *)(intptr_t)objfileAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; + char const *objfile = (char const *)(uintptr_t)objfileAddress; UNUSED_PARAMS(__env, clazz) par_shapes_export(mesh, objfile); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1compute_1aabb__JJ(JNIEnv *__env, jclass clazz, jlong meshAddress, jlong aabbAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; - float *aabb = (float *)(intptr_t)aabbAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; + float *aabb = (float *)(uintptr_t)aabbAddress; UNUSED_PARAMS(__env, clazz) par_shapes_compute_aabb(mesh, aabb); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1clone(JNIEnv *__env, jclass clazz, jlong meshAddress, jlong targetAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; - par_shapes_mesh *target = (par_shapes_mesh *)(intptr_t)targetAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; + par_shapes_mesh *target = (par_shapes_mesh *)(uintptr_t)targetAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_clone(mesh, target); + return (jlong)(uintptr_t)par_shapes_clone(mesh, target); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1merge(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong srcAddress) { - par_shapes_mesh *dst = (par_shapes_mesh *)(intptr_t)dstAddress; - par_shapes_mesh const *src = (par_shapes_mesh const *)(intptr_t)srcAddress; + par_shapes_mesh *dst = (par_shapes_mesh *)(uintptr_t)dstAddress; + par_shapes_mesh const *src = (par_shapes_mesh const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) par_shapes_merge(dst, src); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1translate(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat x, jfloat y, jfloat z) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_translate(mesh, x, y, z); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1rotate__JFJ(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat radians, jlong axisAddress) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; - float const *axis = (float const *)(intptr_t)axisAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; + float const *axis = (float const *)(uintptr_t)axisAddress; UNUSED_PARAMS(__env, clazz) par_shapes_rotate(mesh, radians, axis); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1scale(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat x, jfloat y, jfloat z) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_scale(mesh, x, y, z); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1merge_1and_1free(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong srcAddress) { - par_shapes_mesh *dst = (par_shapes_mesh *)(intptr_t)dstAddress; - par_shapes_mesh *src = (par_shapes_mesh *)(intptr_t)srcAddress; + par_shapes_mesh *dst = (par_shapes_mesh *)(uintptr_t)dstAddress; + par_shapes_mesh *src = (par_shapes_mesh *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) par_shapes_merge_and_free(dst, src); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1invert(JNIEnv *__env, jclass clazz, jlong meshAddress, jint startface, jint nfaces) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_invert(mesh, startface, nfaces); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1remove_1degenerate(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat minarea) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_remove_degenerate(mesh, minarea); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1unweld(JNIEnv *__env, jclass clazz, jlong meshAddress, jboolean create_indices) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_unweld(mesh, (bool)create_indices); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1weld__JFJ(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat epsilon, jlong mappingAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; - PAR_SHAPES_T *mapping = (PAR_SHAPES_T *)(intptr_t)mappingAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; + PAR_SHAPES_T *mapping = (PAR_SHAPES_T *)(uintptr_t)mappingAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)par_shapes_weld(mesh, epsilon, mapping); + return (jlong)(uintptr_t)par_shapes_weld(mesh, epsilon, mapping); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1compute_1normals(JNIEnv *__env, jclass clazz, jlong meshAddress) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; UNUSED_PARAMS(__env, clazz) par_shapes_compute_normals(mesh); } @@ -219,14 +219,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_par_1shapes_1set_1epsil } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1_1compute_1welded_1normals(JNIEnv *__env, jclass clazz, jlong mAddress) { - par_shapes_mesh *m = (par_shapes_mesh *)(intptr_t)mAddress; + par_shapes_mesh *m = (par_shapes_mesh *)(uintptr_t)mAddress; UNUSED_PARAMS(__env, clazz) par_shapes__compute_welded_normals(m); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1_1connect(JNIEnv *__env, jclass clazz, jlong sceneAddress, jlong cylinderAddress, jint slices) { - par_shapes_mesh *scene = (par_shapes_mesh *)(intptr_t)sceneAddress; - par_shapes_mesh *cylinder = (par_shapes_mesh *)(intptr_t)cylinderAddress; + par_shapes_mesh *scene = (par_shapes_mesh *)(uintptr_t)sceneAddress; + par_shapes_mesh *cylinder = (par_shapes_mesh *)(uintptr_t)cylinderAddress; UNUSED_PARAMS(__env, clazz) par_shapes__connect(scene, cylinder, slices); } @@ -236,14 +236,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1create_1 jfloat *center = (*__env)->GetFloatArrayElements(__env, centerAddress, NULL); jfloat *normal = (*__env)->GetFloatArrayElements(__env, normalAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)par_shapes_create_disk(radius, slices, (float const *)center, (float const *)normal); + __result = (jlong)(uintptr_t)par_shapes_create_disk(radius, slices, (float const *)center, (float const *)normal); (*__env)->ReleaseFloatArrayElements(__env, normalAddress, normal, 0); (*__env)->ReleaseFloatArrayElements(__env, centerAddress, center, 0); return __result; } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1compute_1aabb__J_3F(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloatArray aabbAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; jfloat *aabb = (*__env)->GetFloatArrayElements(__env, aabbAddress, NULL); UNUSED_PARAMS(__env, clazz) par_shapes_compute_aabb(mesh, (float *)aabb); @@ -251,7 +251,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1compute_1 } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1rotate__JF_3F(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat radians, jfloatArray axisAddress) { - par_shapes_mesh *mesh = (par_shapes_mesh *)(intptr_t)meshAddress; + par_shapes_mesh *mesh = (par_shapes_mesh *)(uintptr_t)meshAddress; jfloat *axis = (*__env)->GetFloatArrayElements(__env, axisAddress, NULL); UNUSED_PARAMS(__env, clazz) par_shapes_rotate(mesh, radians, (float const *)axis); @@ -259,11 +259,11 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1rotate__J } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParShapes_npar_1shapes_1weld__JF_3I(JNIEnv *__env, jclass clazz, jlong meshAddress, jfloat epsilon, jintArray mappingAddress) { - par_shapes_mesh const *mesh = (par_shapes_mesh const *)(intptr_t)meshAddress; + par_shapes_mesh const *mesh = (par_shapes_mesh const *)(uintptr_t)meshAddress; jlong __result; jint *mapping = mappingAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, mappingAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)par_shapes_weld(mesh, epsilon, (PAR_SHAPES_T *)mapping); + __result = (jlong)(uintptr_t)par_shapes_weld(mesh, epsilon, (PAR_SHAPES_T *)mapping); if (mapping != NULL) { (*__env)->ReleaseIntArrayElements(__env, mappingAddress, mapping, 0); } return __result; } diff --git a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParStreamlines.c b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParStreamlines.c index 2f3ca05428..2d2afac580 100644 --- a/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParStreamlines.c +++ b/modules/lwjgl/par/src/generated/c/org_lwjgl_util_par_ParStreamlines.c @@ -17,44 +17,44 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1create_1context(JNIEnv *__env, jclass clazz, jlong configAddress) { - parsl_config *config = (parsl_config *)(intptr_t)configAddress; + parsl_config *config = (parsl_config *)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)parsl_create_context(*config); + return (jlong)(uintptr_t)parsl_create_context(*config); } JNIEXPORT void JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1destroy_1context(JNIEnv *__env, jclass clazz, jlong ctxAddress) { - parsl_context *ctx = (parsl_context *)(intptr_t)ctxAddress; + parsl_context *ctx = (parsl_context *)(uintptr_t)ctxAddress; UNUSED_PARAMS(__env, clazz) parsl_destroy_context(ctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1mesh_1from_1lines(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong spinesAddress) { - parsl_context *ctx = (parsl_context *)(intptr_t)ctxAddress; - parsl_spine_list *spines = (parsl_spine_list *)(intptr_t)spinesAddress; + parsl_context *ctx = (parsl_context *)(uintptr_t)ctxAddress; + parsl_spine_list *spines = (parsl_spine_list *)(uintptr_t)spinesAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)parsl_mesh_from_lines(ctx, *spines); + return (jlong)(uintptr_t)parsl_mesh_from_lines(ctx, *spines); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1mesh_1from_1streamlines(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong advectAddress, jint first_tick, jint num_ticks, jlong userdataAddress) { - parsl_context *context = (parsl_context *)(intptr_t)contextAddress; - parsl_advection_callback advect = (parsl_advection_callback)(intptr_t)advectAddress; - void *userdata = (void *)(intptr_t)userdataAddress; + parsl_context *context = (parsl_context *)(uintptr_t)contextAddress; + parsl_advection_callback advect = (parsl_advection_callback)(uintptr_t)advectAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)parsl_mesh_from_streamlines(context, advect, (uint32_t)first_tick, (uint32_t)num_ticks, userdata); + return (jlong)(uintptr_t)parsl_mesh_from_streamlines(context, advect, (uint32_t)first_tick, (uint32_t)num_ticks, userdata); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1mesh_1from_1curves_1cubic(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong spinesAddress) { - parsl_context *context = (parsl_context *)(intptr_t)contextAddress; - parsl_spine_list *spines = (parsl_spine_list *)(intptr_t)spinesAddress; + parsl_context *context = (parsl_context *)(uintptr_t)contextAddress; + parsl_spine_list *spines = (parsl_spine_list *)(uintptr_t)spinesAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)parsl_mesh_from_curves_cubic(context, *spines); + return (jlong)(uintptr_t)parsl_mesh_from_curves_cubic(context, *spines); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_par_ParStreamlines_nparsl_1mesh_1from_1curves_1quadratic(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong spinesAddress) { - parsl_context *context = (parsl_context *)(intptr_t)contextAddress; - parsl_spine_list *spines = (parsl_spine_list *)(intptr_t)spinesAddress; + parsl_context *context = (parsl_context *)(uintptr_t)contextAddress; + parsl_spine_list *spines = (parsl_spine_list *)(uintptr_t)spinesAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)parsl_mesh_from_curves_quadratic(context, *spines); + return (jlong)(uintptr_t)parsl_mesh_from_curves_quadratic(context, *spines); } EXTERN_C_EXIT diff --git a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_Remotery.c b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_Remotery.c index 09739e8a76..1021ef4d64 100644 --- a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_Remotery.c +++ b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_Remotery.c @@ -22,47 +22,47 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1Settings(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rmt_Settings(); + return (jlong)(uintptr_t)rmt_Settings(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1CreateGlobalInstance(JNIEnv *__env, jclass clazz, jlong remoteryAddress) { - Remotery **remotery = (Remotery **)(intptr_t)remoteryAddress; + Remotery **remotery = (Remotery **)(uintptr_t)remoteryAddress; UNUSED_PARAMS(__env, clazz) return (jint)rmt_CreateGlobalInstance(remotery); } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1DestroyGlobalInstance(JNIEnv *__env, jclass clazz, jlong remoteryAddress) { - Remotery *remotery = (Remotery *)(intptr_t)remoteryAddress; + Remotery *remotery = (Remotery *)(uintptr_t)remoteryAddress; UNUSED_PARAMS(__env, clazz) rmt_DestroyGlobalInstance(remotery); } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1SetGlobalInstance(JNIEnv *__env, jclass clazz, jlong remoteryAddress) { - Remotery *remotery = (Remotery *)(intptr_t)remoteryAddress; + Remotery *remotery = (Remotery *)(uintptr_t)remoteryAddress; UNUSED_PARAMS(__env, clazz) rmt_SetGlobalInstance(remotery); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_remotery_Remotery_rmt_1GetGlobalInstance(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rmt_GetGlobalInstance(); + return (jlong)(uintptr_t)rmt_GetGlobalInstance(); } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1SetCurrentThreadName(JNIEnv *__env, jclass clazz, jlong thread_nameAddress) { - rmtPStr thread_name = (rmtPStr)(intptr_t)thread_nameAddress; + rmtPStr thread_name = (rmtPStr)(uintptr_t)thread_nameAddress; UNUSED_PARAMS(__env, clazz) rmt_SetCurrentThreadName(thread_name); } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1LogText(JNIEnv *__env, jclass clazz, jlong textAddress) { - rmtPStr text = (rmtPStr)(intptr_t)textAddress; + rmtPStr text = (rmtPStr)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) rmt_LogText(text); } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_Remotery_nrmt_1BeginCPUSample(JNIEnv *__env, jclass clazz, jlong nameAddress, jint flags, jlong hash_cacheAddress) { - rmtPStr name = (rmtPStr)(intptr_t)nameAddress; - rmtU32 *hash_cache = (rmtU32 *)(intptr_t)hash_cacheAddress; + rmtPStr name = (rmtPStr)(uintptr_t)nameAddress; + rmtU32 *hash_cache = (rmtU32 *)(uintptr_t)hash_cacheAddress; UNUSED_PARAMS(__env, clazz) _rmt_BeginCPUSample(name, flags, hash_cache); } diff --git a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryGL.c b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryGL.c index a0fb15046d..03d7f7d63a 100644 --- a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryGL.c +++ b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryGL.c @@ -28,8 +28,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_RemoteryGL_rmt_1UnbindOpenGL } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_RemoteryGL_nrmt_1BeginOpenGLSample(JNIEnv *__env, jclass clazz, jlong nameAddress, jlong hash_cacheAddress) { - rmtPStr name = (rmtPStr)(intptr_t)nameAddress; - rmtU32 *hash_cache = (rmtU32 *)(intptr_t)hash_cacheAddress; + rmtPStr name = (rmtPStr)(uintptr_t)nameAddress; + rmtU32 *hash_cache = (rmtU32 *)(uintptr_t)hash_cacheAddress; UNUSED_PARAMS(__env, clazz) _rmt_BeginOpenGLSample(name, hash_cache); } diff --git a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryMetal.c b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryMetal.c index 80cd4a3fdd..055f9e550c 100644 --- a/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryMetal.c +++ b/modules/lwjgl/remotery/src/generated/c/org_lwjgl_util_remotery_RemoteryMetal.c @@ -18,7 +18,7 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_RemoteryMetal_nrmt_1BindMetal(JNIEnv *__env, jclass clazz, jlong command_bufferAddress) { - id command_buffer = (id)(intptr_t)command_bufferAddress; + id command_buffer = (id)(uintptr_t)command_bufferAddress; UNUSED_PARAMS(__env, clazz) rmt_BindMetal(command_buffer); } @@ -29,8 +29,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_RemoteryMetal_rmt_1UnbindMet } JNIEXPORT void JNICALL Java_org_lwjgl_util_remotery_RemoteryMetal_nrmt_1BeginMetalSample(JNIEnv *__env, jclass clazz, jlong nameAddress, jlong hash_cacheAddress) { - rmtPStr name = (rmtPStr)(intptr_t)nameAddress; - rmtU32 *hash_cache = (rmtU32 *)(intptr_t)hash_cacheAddress; + rmtPStr name = (rmtPStr)(uintptr_t)nameAddress; + rmtU32 *hash_cache = (rmtU32 *)(uintptr_t)hash_cacheAddress; UNUSED_PARAMS(__env, clazz) _rmt_BeginMetalSample(name, hash_cache); } diff --git a/modules/lwjgl/rpmalloc/src/generated/c/org_lwjgl_system_rpmalloc_RPmalloc.c b/modules/lwjgl/rpmalloc/src/generated/c/org_lwjgl_system_rpmalloc_RPmalloc.c index 2ebd5882c7..ca5c72a75f 100644 --- a/modules/lwjgl/rpmalloc/src/generated/c/org_lwjgl_system_rpmalloc_RPmalloc.c +++ b/modules/lwjgl/rpmalloc/src/generated/c/org_lwjgl_system_rpmalloc_RPmalloc.c @@ -15,27 +15,27 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpmalloc_1address(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&rpmalloc; + return (jlong)(uintptr_t)&rpmalloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpcalloc_1address(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&rpcalloc; + return (jlong)(uintptr_t)&rpcalloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rprealloc_1address(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&rprealloc; + return (jlong)(uintptr_t)&rprealloc; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpfree_1address(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&rpfree; + return (jlong)(uintptr_t)&rpfree; } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpaligned_1alloc_1address(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&rpaligned_alloc; + return (jlong)(uintptr_t)&rpaligned_alloc; } JNIEXPORT jint JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1initialize(JNIEnv *__env, jclass clazz) { @@ -44,14 +44,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1initia } JNIEXPORT jint JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1initialize_1config(JNIEnv *__env, jclass clazz, jlong configAddress) { - rpmalloc_config_t const *config = (rpmalloc_config_t const *)(intptr_t)configAddress; + rpmalloc_config_t const *config = (rpmalloc_config_t const *)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) return (jint)rpmalloc_initialize_config(config); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1config(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_config(); + return (jlong)(uintptr_t)rpmalloc_config(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpmalloc_1finalize(JNIEnv *__env, jclass clazz) { @@ -80,136 +80,136 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1is_1th } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1thread_1statistics(JNIEnv *__env, jclass clazz, jlong statsAddress) { - rpmalloc_thread_statistics_t *stats = (rpmalloc_thread_statistics_t *)(intptr_t)statsAddress; + rpmalloc_thread_statistics_t *stats = (rpmalloc_thread_statistics_t *)(uintptr_t)statsAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_thread_statistics(stats); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1global_1statistics(JNIEnv *__env, jclass clazz, jlong statsAddress) { - rpmalloc_global_statistics_t *stats = (rpmalloc_global_statistics_t *)(intptr_t)statsAddress; + rpmalloc_global_statistics_t *stats = (rpmalloc_global_statistics_t *)(uintptr_t)statsAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_global_statistics(stats); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc(JNIEnv *__env, jclass clazz, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc((size_t)size); + return (jlong)(uintptr_t)rpmalloc((size_t)size); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpfree(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) rpfree(ptr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpcalloc(JNIEnv *__env, jclass clazz, jlong num, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpcalloc((size_t)num, (size_t)size); + return (jlong)(uintptr_t)rpcalloc((size_t)num, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrprealloc(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong size) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rprealloc(ptr, (size_t)size); + return (jlong)(uintptr_t)rprealloc(ptr, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpaligned_1realloc(JNIEnv *__env, jclass clazz, jlong ptrAddress, jlong alignment, jlong size, jlong oldsize, jint flags) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpaligned_realloc(ptr, (size_t)alignment, (size_t)size, (size_t)oldsize, (unsigned int)flags); + return (jlong)(uintptr_t)rpaligned_realloc(ptr, (size_t)alignment, (size_t)size, (size_t)oldsize, (unsigned int)flags); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpaligned_1alloc(JNIEnv *__env, jclass clazz, jlong alignment, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpaligned_alloc((size_t)alignment, (size_t)size); + return (jlong)(uintptr_t)rpaligned_alloc((size_t)alignment, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpaligned_1calloc(JNIEnv *__env, jclass clazz, jlong alignment, jlong num, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpaligned_calloc((size_t)alignment, (size_t)num, (size_t)size); + return (jlong)(uintptr_t)rpaligned_calloc((size_t)alignment, (size_t)num, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmemalign(JNIEnv *__env, jclass clazz, jlong alignment, jlong size) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmemalign((size_t)alignment, (size_t)size); + return (jlong)(uintptr_t)rpmemalign((size_t)alignment, (size_t)size); } JNIEXPORT jint JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpposix_1memalign(JNIEnv *__env, jclass clazz, jlong memptrAddress, jlong alignment, jlong size) { - void **memptr = (void **)(intptr_t)memptrAddress; + void **memptr = (void **)(uintptr_t)memptrAddress; UNUSED_PARAMS(__env, clazz) return (jint)rpposix_memalign(memptr, (size_t)alignment, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1usable_1size(JNIEnv *__env, jclass clazz, jlong ptrAddress) { - void *ptr = (void *)(intptr_t)ptrAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)rpmalloc_usable_size(ptr); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpmalloc_1heap_1acquire(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_acquire(); + return (jlong)(uintptr_t)rpmalloc_heap_acquire(); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpmalloc_1heap_1release(JNIEnv *__env, jclass clazz, jlong heapAddress) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_heap_release(heap); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1alloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong size) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_alloc(heap, (size_t)size); + return (jlong)(uintptr_t)rpmalloc_heap_alloc(heap, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1aligned_1alloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong alignment, jlong size) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_aligned_alloc(heap, (size_t)alignment, (size_t)size); + return (jlong)(uintptr_t)rpmalloc_heap_aligned_alloc(heap, (size_t)alignment, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1calloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong num, jlong size) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_calloc(heap, (size_t)num, (size_t)size); + return (jlong)(uintptr_t)rpmalloc_heap_calloc(heap, (size_t)num, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1aligned_1calloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong alignment, jlong num, jlong size) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_aligned_calloc(heap, (size_t)alignment, (size_t)num, (size_t)size); + return (jlong)(uintptr_t)rpmalloc_heap_aligned_calloc(heap, (size_t)alignment, (size_t)num, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1realloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong ptrAddress, jlong size, jint flags) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; - void *ptr = (void *)(intptr_t)ptrAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_realloc(heap, ptr, (size_t)size, (unsigned int)flags); + return (jlong)(uintptr_t)rpmalloc_heap_realloc(heap, ptr, (size_t)size, (unsigned int)flags); } JNIEXPORT jlong JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1aligned_1realloc(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong ptrAddress, jlong alignment, jlong size, jint flags) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; - void *ptr = (void *)(intptr_t)ptrAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)rpmalloc_heap_aligned_realloc(heap, ptr, (size_t)alignment, (size_t)size, (unsigned int)flags); + return (jlong)(uintptr_t)rpmalloc_heap_aligned_realloc(heap, ptr, (size_t)alignment, (size_t)size, (unsigned int)flags); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1free(JNIEnv *__env, jclass clazz, jlong heapAddress, jlong ptrAddress) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; - void *ptr = (void *)(intptr_t)ptrAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; + void *ptr = (void *)(uintptr_t)ptrAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_heap_free(heap, ptr); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_nrpmalloc_1heap_1free_1all(JNIEnv *__env, jclass clazz, jlong heapAddress) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_heap_free_all(heap); } JNIEXPORT void JNICALL Java_org_lwjgl_system_rpmalloc_RPmalloc_rpmalloc_1heap_1thread_1set_1current(JNIEnv *__env, jclass clazz, jlong heapAddress) { - rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(intptr_t)heapAddress; + rpmalloc_heap_t *heap = (rpmalloc_heap_t *)(uintptr_t)heapAddress; UNUSED_PARAMS(__env, clazz) rpmalloc_heap_thread_set_current(heap); } diff --git a/modules/lwjgl/rpmalloc/src/templates/kotlin/rpmalloc/templates/rpmalloc.kt b/modules/lwjgl/rpmalloc/src/templates/kotlin/rpmalloc/templates/rpmalloc.kt index fbeb1c0666..f14a6b5730 100644 --- a/modules/lwjgl/rpmalloc/src/templates/kotlin/rpmalloc/templates/rpmalloc.kt +++ b/modules/lwjgl/rpmalloc/src/templates/kotlin/rpmalloc/templates/rpmalloc.kt @@ -57,7 +57,7 @@ ENABLE_WARNINGS()""") "free", "aligned_alloc" ).forEach { - Code(nativeCall = "${t}return (jlong)(intptr_t)&rp$it;")..internal..opaque_p("${it}_address", "The #$it() function address.", void()) + Code(nativeCall = "${t}return (jlong)(uintptr_t)&rp$it;")..internal..opaque_p("${it}_address", "The #$it() function address.", void()) } intb("malloc_initialize", "Initializes allocator with default configuration.", void()) diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBDXT.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBDXT.c index 36274aa76c..54e20d48a4 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBDXT.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBDXT.c @@ -13,22 +13,22 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBDXT_nstb_1compress_1dxt_1block(JNIEnv *__env, jclass clazz, jlong destAddress, jlong src_rgba_four_bytes_per_pixelAddress, jint alpha, jint mode) { - unsigned char *dest = (unsigned char *)(intptr_t)destAddress; - unsigned char const *src_rgba_four_bytes_per_pixel = (unsigned char const *)(intptr_t)src_rgba_four_bytes_per_pixelAddress; + unsigned char *dest = (unsigned char *)(uintptr_t)destAddress; + unsigned char const *src_rgba_four_bytes_per_pixel = (unsigned char const *)(uintptr_t)src_rgba_four_bytes_per_pixelAddress; UNUSED_PARAMS(__env, clazz) stb_compress_dxt_block(dest, src_rgba_four_bytes_per_pixel, alpha, mode); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBDXT_nstb_1compress_1bc4_1block(JNIEnv *__env, jclass clazz, jlong destAddress, jlong src_r_one_byte_per_pixelAddress) { - unsigned char *dest = (unsigned char *)(intptr_t)destAddress; - unsigned char const *src_r_one_byte_per_pixel = (unsigned char const *)(intptr_t)src_r_one_byte_per_pixelAddress; + unsigned char *dest = (unsigned char *)(uintptr_t)destAddress; + unsigned char const *src_r_one_byte_per_pixel = (unsigned char const *)(uintptr_t)src_r_one_byte_per_pixelAddress; UNUSED_PARAMS(__env, clazz) stb_compress_bc4_block(dest, src_r_one_byte_per_pixel); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBDXT_nstb_1compress_1bc5_1block(JNIEnv *__env, jclass clazz, jlong destAddress, jlong src_rg_two_byte_per_pixelAddress) { - unsigned char *dest = (unsigned char *)(intptr_t)destAddress; - unsigned char const *src_rg_two_byte_per_pixel = (unsigned char const *)(intptr_t)src_rg_two_byte_per_pixelAddress; + unsigned char *dest = (unsigned char *)(uintptr_t)destAddress; + unsigned char const *src_rg_two_byte_per_pixel = (unsigned char const *)(uintptr_t)src_rg_two_byte_per_pixelAddress; UNUSED_PARAMS(__env, clazz) stb_compress_bc5_block(dest, src_rg_two_byte_per_pixel); } diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBEasyFont.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBEasyFont.c index a31e06c90a..cdd3a8ffc0 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBEasyFont.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBEasyFont.c @@ -11,21 +11,21 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBEasyFont_nstb_1easy_1font_1width(JNIEnv *__env, jclass clazz, jlong textAddress) { - char *text = (char *)(intptr_t)textAddress; + char *text = (char *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_easy_font_width(text); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBEasyFont_nstb_1easy_1font_1height(JNIEnv *__env, jclass clazz, jlong textAddress) { - char *text = (char *)(intptr_t)textAddress; + char *text = (char *)(uintptr_t)textAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_easy_font_height(text); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBEasyFont_nstb_1easy_1font_1print(JNIEnv *__env, jclass clazz, jfloat x, jfloat y, jlong textAddress, jlong colorAddress, jlong vertex_bufferAddress, jint vbuf_size) { - char *text = (char *)(intptr_t)textAddress; - unsigned char *color = (unsigned char *)(intptr_t)colorAddress; - void *vertex_buffer = (void *)(intptr_t)vertex_bufferAddress; + char *text = (char *)(uintptr_t)textAddress; + unsigned char *color = (unsigned char *)(uintptr_t)colorAddress; + void *vertex_buffer = (void *)(uintptr_t)vertex_bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_easy_font_print(x, y, text, color, vertex_buffer, vbuf_size); } diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImage.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImage.c index e7ed20ec00..54bd9165de 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImage.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImage.c @@ -22,98 +22,98 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load__JJJJI(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load(filename, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load(filename, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1memory__JIJJJI(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_from_memory(buffer, len, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_from_memory(buffer, len, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1callbacks__JJJJJI(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1gif_1from_1memory__JIJJJJJI(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong delaysAddress, jlong xAddress, jlong yAddress, jlong zAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int **delays = (int **)(intptr_t)delaysAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *z = (int *)(intptr_t)zAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int **delays = (int **)(uintptr_t)delaysAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *z = (int *)(uintptr_t)zAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_gif_from_memory(buffer, len, delays, x, y, z, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_gif_from_memory(buffer, len, delays, x, y, z, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116__JJJJI(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_16(filename, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_16(filename, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1memory__JIJJJI(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_16_from_memory(buffer, len, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_16_from_memory(buffer, len, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1callbacks__JJJJJI(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_load_16_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_load_16_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf__JJJJI(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_loadf(filename, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_loadf(filename, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1memory__JIJJJI(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_loadf_from_memory(buffer, len, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_loadf_from_memory(buffer, len, x, y, channels_in_file, desired_channels); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1callbacks__JJJJJI(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jlong xAddress, jlong yAddress, jlong channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *channels_in_file = (int *)(intptr_t)channels_in_fileAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *channels_in_file = (int *)(uintptr_t)channels_in_fileAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_loadf_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); + return (jlong)(uintptr_t)stbi_loadf_from_callbacks(clbk, user, x, y, channels_in_file, desired_channels); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBImage_stbi_1hdr_1to_1ldr_1gamma(JNIEnv *__env, jclass clazz, jfloat gamma) { @@ -137,78 +137,78 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBImage_stbi_1ldr_1to_1hdr_1scale(JNI } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_1hdr(JNIEnv *__env, jclass clazz, jlong filenameAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_hdr(filename); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_1hdr_1from_1memory(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_hdr_from_memory(buffer, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_1hdr_1from_1callbacks(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_hdr_from_callbacks(clbk, user); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1failure_1reason(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_failure_reason(); + return (jlong)(uintptr_t)stbi_failure_reason(); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1image_1free(JNIEnv *__env, jclass clazz, jlong retval_from_stbi_loadAddress) { - void *retval_from_stbi_load = (void *)(intptr_t)retval_from_stbi_loadAddress; + void *retval_from_stbi_load = (void *)(uintptr_t)retval_from_stbi_loadAddress; UNUSED_PARAMS(__env, clazz) stbi_image_free(retval_from_stbi_load); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info__JJJJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong xAddress, jlong yAddress, jlong compAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *comp = (int *)(intptr_t)compAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *comp = (int *)(uintptr_t)compAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_info(filename, x, y, comp); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info_1from_1memory__JIJJJ(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong xAddress, jlong yAddress, jlong compAddress) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *comp = (int *)(intptr_t)compAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *comp = (int *)(uintptr_t)compAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_info_from_memory(buffer, len, x, y, comp); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info_1from_1callbacks__JJJJJ(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jlong xAddress, jlong yAddress, jlong compAddress) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; - int *x = (int *)(intptr_t)xAddress; - int *y = (int *)(intptr_t)yAddress; - int *comp = (int *)(intptr_t)compAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; + int *x = (int *)(uintptr_t)xAddress; + int *y = (int *)(uintptr_t)yAddress; + int *comp = (int *)(uintptr_t)compAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_info_from_callbacks(clbk, user, x, y, comp); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_116_1bit(JNIEnv *__env, jclass clazz, jlong filenameAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_16_bit(filename); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_116_1bit_1from_1memory(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_16_bit_from_memory(buffer, len); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1is_116_1bit_1from_1callbacks(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_is_16_bit_from_callbacks(clbk, user); } @@ -244,55 +244,55 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBImage_stbi_1set_1flip_1vertically_1 } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1malloc_1guesssize(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jint initial_size, jlong outlenAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - int *outlen = (int *)(intptr_t)outlenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + int *outlen = (int *)(uintptr_t)outlenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_zlib_decode_malloc_guesssize(buffer, len, initial_size, outlen); + return (jlong)(uintptr_t)stbi_zlib_decode_malloc_guesssize(buffer, len, initial_size, outlen); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1malloc_1guesssize_1headerflag(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jint initial_size, jlong outlenAddress, jint parse_header) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - int *outlen = (int *)(intptr_t)outlenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + int *outlen = (int *)(uintptr_t)outlenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_zlib_decode_malloc_guesssize_headerflag(buffer, len, initial_size, outlen, parse_header); + return (jlong)(uintptr_t)stbi_zlib_decode_malloc_guesssize_headerflag(buffer, len, initial_size, outlen, parse_header); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1malloc(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong outlenAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - int *outlen = (int *)(intptr_t)outlenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + int *outlen = (int *)(uintptr_t)outlenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_zlib_decode_malloc(buffer, len, outlen); + return (jlong)(uintptr_t)stbi_zlib_decode_malloc(buffer, len, outlen); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1buffer(JNIEnv *__env, jclass clazz, jlong obufferAddress, jint olen, jlong ibufferAddress, jint ilen) { - char *obuffer = (char *)(intptr_t)obufferAddress; - char const *ibuffer = (char const *)(intptr_t)ibufferAddress; + char *obuffer = (char *)(uintptr_t)obufferAddress; + char const *ibuffer = (char const *)(uintptr_t)ibufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_zlib_decode_buffer(obuffer, olen, ibuffer, ilen); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1noheader_1malloc(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong outlenAddress) { - char const *buffer = (char const *)(intptr_t)bufferAddress; - int *outlen = (int *)(intptr_t)outlenAddress; + char const *buffer = (char const *)(uintptr_t)bufferAddress; + int *outlen = (int *)(uintptr_t)outlenAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbi_zlib_decode_noheader_malloc(buffer, len, outlen); + return (jlong)(uintptr_t)stbi_zlib_decode_noheader_malloc(buffer, len, outlen); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1zlib_1decode_1noheader_1buffer(JNIEnv *__env, jclass clazz, jlong obufferAddress, jint olen, jlong ibufferAddress, jint ilen) { - char *obuffer = (char *)(intptr_t)obufferAddress; - char const *ibuffer = (char const *)(intptr_t)ibufferAddress; + char *obuffer = (char *)(uintptr_t)obufferAddress; + char const *ibuffer = (char const *)(uintptr_t)ibufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_zlib_decode_noheader_buffer(obuffer, olen, ibuffer, ilen); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load__J_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -300,13 +300,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load__J_3I_3I_3II(JNI } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1memory__JI_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -314,14 +314,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1memory__J } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1callbacks__JJ_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -329,15 +329,15 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1from_1callbacks } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1gif_1from_1memory__JIJ_3I_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jlong delaysAddress, jintArray xAddress, jintArray yAddress, jintArray zAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; - int **delays = (int **)(intptr_t)delaysAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; + int **delays = (int **)(uintptr_t)delaysAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *z = (*__env)->GetIntArrayElements(__env, zAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_gif_from_memory(buffer, len, delays, (int *)x, (int *)y, (int *)z, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_gif_from_memory(buffer, len, delays, (int *)x, (int *)y, (int *)z, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, zAddress, z, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); @@ -346,13 +346,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_1gif_1from_1memo } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116__J_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_16(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_16(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -360,13 +360,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116__J_3I_3I_3II } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1memory__JI_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_16_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_16_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -374,14 +374,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1memor } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1callbacks__JJ_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_load_16_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_load_16_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -389,13 +389,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1load_116_1from_1callb } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf__J_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_loadf(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_loadf(filename, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -403,13 +403,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf__J_3I_3I_3II(JN } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1memory__JI_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_loadf_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_loadf_from_memory(buffer, len, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -417,14 +417,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1memory__ } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1callbacks__JJ_3I_3I_3II(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jintArray xAddress, jintArray yAddress, jintArray channels_in_fileAddress, jint desired_channels) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; jlong __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); jint *channels_in_file = (*__env)->GetIntArrayElements(__env, channels_in_fileAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbi_loadf_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); + __result = (jlong)(uintptr_t)stbi_loadf_from_callbacks(clbk, user, (int *)x, (int *)y, (int *)channels_in_file, desired_channels); (*__env)->ReleaseIntArrayElements(__env, channels_in_fileAddress, channels_in_file, 0); (*__env)->ReleaseIntArrayElements(__env, yAddress, y, 0); (*__env)->ReleaseIntArrayElements(__env, xAddress, x, 0); @@ -432,7 +432,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1loadf_1from_1callback } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info__J_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray xAddress, jintArray yAddress, jintArray compAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; jint __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); @@ -446,7 +446,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info__J_3I_3I_3I(JNIEn } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info_1from_1memory__JI_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong bufferAddress, jint len, jintArray xAddress, jintArray yAddress, jintArray compAddress) { - stbi_uc const *buffer = (stbi_uc const *)(intptr_t)bufferAddress; + stbi_uc const *buffer = (stbi_uc const *)(uintptr_t)bufferAddress; jint __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); @@ -460,8 +460,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info_1from_1memory__JI } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImage_nstbi_1info_1from_1callbacks__JJ_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong clbkAddress, jlong userAddress, jintArray xAddress, jintArray yAddress, jintArray compAddress) { - stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(intptr_t)clbkAddress; - void *user = (void *)(intptr_t)userAddress; + stbi_io_callbacks const *clbk = (stbi_io_callbacks const *)(uintptr_t)clbkAddress; + void *user = (void *)(uintptr_t)userAddress; jint __result; jint *x = (*__env)->GetIntArrayElements(__env, xAddress, NULL); jint *y = (*__env)->GetIntArrayElements(__env, yAddress, NULL); diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageResize.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageResize.c index f623a72ceb..f1a5675126 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageResize.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageResize.c @@ -17,77 +17,77 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint8(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels) { - unsigned char const *input_pixels = (unsigned char const *)(intptr_t)input_pixelsAddress; - unsigned char *output_pixels = (unsigned char *)(intptr_t)output_pixelsAddress; + unsigned char const *input_pixels = (unsigned char const *)(uintptr_t)input_pixelsAddress; + unsigned char *output_pixels = (unsigned char *)(uintptr_t)output_pixelsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_uint8(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1float__JIIIJIIII(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels) { - float const *input_pixels = (float const *)(intptr_t)input_pixelsAddress; - float *output_pixels = (float *)(intptr_t)output_pixelsAddress; + float const *input_pixels = (float const *)(uintptr_t)input_pixelsAddress; + float *output_pixels = (float *)(uintptr_t)output_pixelsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_float(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint8_1srgb(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags) { - unsigned char const *input_pixels = (unsigned char const *)(intptr_t)input_pixelsAddress; - unsigned char *output_pixels = (unsigned char *)(intptr_t)output_pixelsAddress; + unsigned char const *input_pixels = (unsigned char const *)(uintptr_t)input_pixelsAddress; + unsigned char *output_pixels = (unsigned char *)(uintptr_t)output_pixelsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_uint8_srgb(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels, alpha_channel, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint8_1srgb_1edgemode(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode) { - unsigned char const *input_pixels = (unsigned char const *)(intptr_t)input_pixelsAddress; - unsigned char *output_pixels = (unsigned char *)(intptr_t)output_pixelsAddress; + unsigned char const *input_pixels = (unsigned char const *)(uintptr_t)input_pixelsAddress; + unsigned char *output_pixels = (unsigned char *)(uintptr_t)output_pixelsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_uint8_srgb_edgemode(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels, alpha_channel, flags, (stbir_edge)edge_wrap_mode); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint8_1generic(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode, jint filter, jint space, jlong alloc_contextAddress) { - unsigned char const *input_pixels = (unsigned char const *)(intptr_t)input_pixelsAddress; - unsigned char *output_pixels = (unsigned char *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + unsigned char const *input_pixels = (unsigned char const *)(uintptr_t)input_pixelsAddress; + unsigned char *output_pixels = (unsigned char *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_uint8_generic(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels, alpha_channel, flags, (stbir_edge)edge_wrap_mode, (stbir_filter)filter, (stbir_colorspace)space, alloc_context); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint16_1generic__JIIIJIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode, jint filter, jint space, jlong alloc_contextAddress) { - stbir_uint16 const *input_pixels = (stbir_uint16 const *)(intptr_t)input_pixelsAddress; - stbir_uint16 *output_pixels = (stbir_uint16 *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + stbir_uint16 const *input_pixels = (stbir_uint16 const *)(uintptr_t)input_pixelsAddress; + stbir_uint16 *output_pixels = (stbir_uint16 *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_uint16_generic(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels, alpha_channel, flags, (stbir_edge)edge_wrap_mode, (stbir_filter)filter, (stbir_colorspace)space, alloc_context); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1float_1generic__JIIIJIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode, jint filter, jint space, jlong alloc_contextAddress) { - float const *input_pixels = (float const *)(intptr_t)input_pixelsAddress; - float *output_pixels = (float *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + float const *input_pixels = (float const *)(uintptr_t)input_pixelsAddress; + float *output_pixels = (float *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_float_generic(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, num_channels, alpha_channel, flags, (stbir_edge)edge_wrap_mode, (stbir_filter)filter, (stbir_colorspace)space, alloc_context); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint datatype, jint num_channels, jint alpha_channel, jint flags, jint edge_mode_horizontal, jint edge_mode_vertical, jint filter_horizontal, jint filter_vertical, jint space, jlong alloc_contextAddress) { - void const *input_pixels = (void const *)(intptr_t)input_pixelsAddress; - void *output_pixels = (void *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + void const *input_pixels = (void const *)(uintptr_t)input_pixelsAddress; + void *output_pixels = (void *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, (stbir_datatype)datatype, num_channels, alpha_channel, flags, (stbir_edge)edge_mode_horizontal, (stbir_edge)edge_mode_vertical, (stbir_filter)filter_horizontal, (stbir_filter)filter_vertical, (stbir_colorspace)space, alloc_context); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1subpixel(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint datatype, jint num_channels, jint alpha_channel, jint flags, jint edge_mode_horizontal, jint edge_mode_vertical, jint filter_horizontal, jint filter_vertical, jint space, jlong alloc_contextAddress, jfloat x_scale, jfloat y_scale, jfloat x_offset, jfloat y_offset) { - void const *input_pixels = (void const *)(intptr_t)input_pixelsAddress; - void *output_pixels = (void *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + void const *input_pixels = (void const *)(uintptr_t)input_pixelsAddress; + void *output_pixels = (void *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_subpixel(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, (stbir_datatype)datatype, num_channels, alpha_channel, flags, (stbir_edge)edge_mode_horizontal, (stbir_edge)edge_mode_vertical, (stbir_filter)filter_horizontal, (stbir_filter)filter_vertical, (stbir_colorspace)space, alloc_context, x_scale, y_scale, x_offset, y_offset); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1region(JNIEnv *__env, jclass clazz, jlong input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jlong output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint datatype, jint num_channels, jint alpha_channel, jint flags, jint edge_mode_horizontal, jint edge_mode_vertical, jint filter_horizontal, jint filter_vertical, jint space, jlong alloc_contextAddress, jfloat s0, jfloat t0, jfloat s1, jfloat t1) { - void const *input_pixels = (void const *)(intptr_t)input_pixelsAddress; - void *output_pixels = (void *)(intptr_t)output_pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + void const *input_pixels = (void const *)(uintptr_t)input_pixelsAddress; + void *output_pixels = (void *)(uintptr_t)output_pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbir_resize_region(input_pixels, input_w, input_h, input_stride_in_bytes, output_pixels, output_w, output_h, output_stride_in_bytes, (stbir_datatype)datatype, num_channels, alpha_channel, flags, (stbir_edge)edge_mode_horizontal, (stbir_edge)edge_mode_vertical, (stbir_filter)filter_horizontal, (stbir_filter)filter_vertical, (stbir_colorspace)space, alloc_context, s0, t0, s1, t1); } @@ -104,7 +104,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1float__ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint16_1generic___3SIII_3SIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jshortArray input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jshortArray output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode, jint filter, jint space, jlong alloc_contextAddress) { - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; jint __result; jshort *input_pixels = (*__env)->GetShortArrayElements(__env, input_pixelsAddress, NULL); jshort *output_pixels = (*__env)->GetShortArrayElements(__env, output_pixelsAddress, NULL); @@ -116,7 +116,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1uint16_ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageResize_nstbir_1resize_1float_1generic___3FIII_3FIIIIIIIIIJ(JNIEnv *__env, jclass clazz, jfloatArray input_pixelsAddress, jint input_w, jint input_h, jint input_stride_in_bytes, jfloatArray output_pixelsAddress, jint output_w, jint output_h, jint output_stride_in_bytes, jint num_channels, jint alpha_channel, jint flags, jint edge_wrap_mode, jint filter, jint space, jlong alloc_contextAddress) { - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; jint __result; jfloat *input_pixels = (*__env)->GetFloatArrayElements(__env, input_pixelsAddress, NULL); jfloat *output_pixels = (*__env)->GetFloatArrayElements(__env, output_pixelsAddress, NULL); diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageWrite.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageWrite.c index 76c1e80222..1bb03487b9 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageWrite.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBImageWrite.c @@ -22,96 +22,96 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1png(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jlong dataAddress, jint stride_in_bytes) { - char const *filename = (char const *)(intptr_t)filenameAddress; - void const *data = (void const *)(intptr_t)dataAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_png(filename, w, h, comp, data, stride_in_bytes); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1png_1compression_1level(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&stbi_write_png_compression_level; + return (jlong)(uintptr_t)&stbi_write_png_compression_level; } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1force_1png_1filter(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&stbi_write_force_png_filter; + return (jlong)(uintptr_t)&stbi_write_force_png_filter; } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1zlib_1compress(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&stbi_zlib_compress; + return (jlong)(uintptr_t)&stbi_zlib_compress; } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1bmp(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jlong dataAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - void const *data = (void const *)(intptr_t)dataAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_bmp(filename, w, h, comp, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1tga(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jlong dataAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - void const *data = (void const *)(intptr_t)dataAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_tga(filename, w, h, comp, data); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1tga_1with_1rle(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)&stbi_write_tga_with_rle; + return (jlong)(uintptr_t)&stbi_write_tga_with_rle; } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1hdr__JIIIJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jlong dataAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - float const *data = (float const *)(intptr_t)dataAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + float const *data = (float const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_hdr(filename, w, h, comp, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1jpg(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jlong dataAddress, jint quality) { - char const *filename = (char const *)(intptr_t)filenameAddress; - void const *data = (void const *)(intptr_t)dataAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_jpg(filename, w, h, comp, data, quality); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1png_1to_1func(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jlong dataAddress, jint stride_in_bytes) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; - void const *data = (void const *)(intptr_t)dataAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_png_to_func(func, context, w, h, comp, data, stride_in_bytes); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1bmp_1to_1func(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jlong dataAddress) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; - void const *data = (void const *)(intptr_t)dataAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_bmp_to_func(func, context, w, h, comp, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1tga_1to_1func(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jlong dataAddress) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; - void const *data = (void const *)(intptr_t)dataAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_tga_to_func(func, context, w, h, comp, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1hdr_1to_1func__JJIIIJ(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jlong dataAddress) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; - float const *data = (float const *)(intptr_t)dataAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; + float const *data = (float const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_hdr_to_func(func, context, w, h, comp, data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1jpg_1to_1func(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jlong dataAddress, jint quality) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; - void const *data = (void const *)(intptr_t)dataAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbi_write_jpg_to_func(func, context, w, h, comp, data, quality); } @@ -122,7 +122,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1flip_1vertically_ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1hdr__JIII_3F(JNIEnv *__env, jclass clazz, jlong filenameAddress, jint w, jint h, jint comp, jfloatArray dataAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; jint __result; jfloat *data = (*__env)->GetFloatArrayElements(__env, dataAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -132,8 +132,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1hdr__JIII_ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBImageWrite_nstbi_1write_1hdr_1to_1func__JJIII_3F(JNIEnv *__env, jclass clazz, jlong funcAddress, jlong contextAddress, jint w, jint h, jint comp, jfloatArray dataAddress) { - stbi_write_func *func = (stbi_write_func *)(intptr_t)funcAddress; - void *context = (void *)(intptr_t)contextAddress; + stbi_write_func *func = (stbi_write_func *)(uintptr_t)funcAddress; + void *context = (void *)(uintptr_t)contextAddress; jint __result; jfloat *data = (*__env)->GetFloatArrayElements(__env, dataAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBRectPack.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBRectPack.c index ad6d9a4d5b..5d5e4351ba 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBRectPack.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBRectPack.c @@ -13,27 +13,27 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBRectPack_nstbrp_1pack_1rects(JNIEnv *__env, jclass clazz, jlong contextAddress, jlong rectsAddress, jint num_rects) { - stbrp_context *context = (stbrp_context *)(intptr_t)contextAddress; - stbrp_rect *rects = (stbrp_rect *)(intptr_t)rectsAddress; + stbrp_context *context = (stbrp_context *)(uintptr_t)contextAddress; + stbrp_rect *rects = (stbrp_rect *)(uintptr_t)rectsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbrp_pack_rects(context, rects, num_rects); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBRectPack_nstbrp_1init_1target(JNIEnv *__env, jclass clazz, jlong contextAddress, jint width, jint height, jlong nodesAddress, jint num_nodes) { - stbrp_context *context = (stbrp_context *)(intptr_t)contextAddress; - stbrp_node *nodes = (stbrp_node *)(intptr_t)nodesAddress; + stbrp_context *context = (stbrp_context *)(uintptr_t)contextAddress; + stbrp_node *nodes = (stbrp_node *)(uintptr_t)nodesAddress; UNUSED_PARAMS(__env, clazz) stbrp_init_target(context, width, height, nodes, num_nodes); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBRectPack_nstbrp_1setup_1allow_1out_1of_1mem(JNIEnv *__env, jclass clazz, jlong contextAddress, jint allow_out_of_mem) { - stbrp_context *context = (stbrp_context *)(intptr_t)contextAddress; + stbrp_context *context = (stbrp_context *)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) stbrp_setup_allow_out_of_mem(context, allow_out_of_mem); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBRectPack_nstbrp_1setup_1heuristic(JNIEnv *__env, jclass clazz, jlong contextAddress, jint heuristic) { - stbrp_context *context = (stbrp_context *)(intptr_t)contextAddress; + stbrp_context *context = (stbrp_context *)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) stbrp_setup_heuristic(context, heuristic); } diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTTFontinfo.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTTFontinfo.c index 6cc0b8747b..abae674164 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTTFontinfo.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTTFontinfo.c @@ -17,7 +17,7 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTTFontinfo_offsets(JNIEnv *__env, jclass clazz, jlong bufferAddress) { - jint *buffer = (jint *)(intptr_t)bufferAddress; + jint *buffer = (jint *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTruetype.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTruetype.c index 1ce29bb824..0fcfc56aed 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTruetype.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBTruetype.c @@ -18,472 +18,472 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1BakeFontBitmap(JNIEnv *__env, jclass clazz, jlong dataAddress, jint offset, jfloat pixel_height, jlong pixelsAddress, jint pw, jint ph, jint first_char, jint num_chars, jlong chardataAddress) { - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; - unsigned char *pixels = (unsigned char *)(intptr_t)pixelsAddress; - stbtt_bakedchar *chardata = (stbtt_bakedchar *)(intptr_t)chardataAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; + unsigned char *pixels = (unsigned char *)(uintptr_t)pixelsAddress; + stbtt_bakedchar *chardata = (stbtt_bakedchar *)(uintptr_t)chardataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_BakeFontBitmap(data, offset, pixel_height, pixels, pw, ph, first_char, num_chars, chardata); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetBakedQuad__JIIIJJJI(JNIEnv *__env, jclass clazz, jlong chardataAddress, jint pw, jint ph, jint char_index, jlong xposAddress, jlong yposAddress, jlong qAddress, jint opengl_fillrule) { - stbtt_bakedchar const *chardata = (stbtt_bakedchar const *)(intptr_t)chardataAddress; - float *xpos = (float *)(intptr_t)xposAddress; - float *ypos = (float *)(intptr_t)yposAddress; - stbtt_aligned_quad *q = (stbtt_aligned_quad *)(intptr_t)qAddress; + stbtt_bakedchar const *chardata = (stbtt_bakedchar const *)(uintptr_t)chardataAddress; + float *xpos = (float *)(uintptr_t)xposAddress; + float *ypos = (float *)(uintptr_t)yposAddress; + stbtt_aligned_quad *q = (stbtt_aligned_quad *)(uintptr_t)qAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetBakedQuad(chardata, pw, ph, char_index, xpos, ypos, q, opengl_fillrule); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetScaledFontVMetrics__JIFJJJ(JNIEnv *__env, jclass clazz, jlong fontdataAddress, jint index, jfloat size, jlong ascentAddress, jlong descentAddress, jlong lineGapAddress) { - unsigned char const *fontdata = (unsigned char const *)(intptr_t)fontdataAddress; - float *ascent = (float *)(intptr_t)ascentAddress; - float *descent = (float *)(intptr_t)descentAddress; - float *lineGap = (float *)(intptr_t)lineGapAddress; + unsigned char const *fontdata = (unsigned char const *)(uintptr_t)fontdataAddress; + float *ascent = (float *)(uintptr_t)ascentAddress; + float *descent = (float *)(uintptr_t)descentAddress; + float *lineGap = (float *)(uintptr_t)lineGapAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetScaledFontVMetrics(fontdata, index, size, ascent, descent, lineGap); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackBegin(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong pixelsAddress, jint width, jint height, jint stride_in_bytes, jint padding, jlong alloc_contextAddress) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - unsigned char *pixels = (unsigned char *)(intptr_t)pixelsAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + unsigned char *pixels = (unsigned char *)(uintptr_t)pixelsAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_PackBegin(spc, pixels, width, height, stride_in_bytes, padding, alloc_context); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackEnd(JNIEnv *__env, jclass clazz, jlong spcAddress) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; UNUSED_PARAMS(__env, clazz) stbtt_PackEnd(spc); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackFontRange(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong fontdataAddress, jint font_index, jfloat font_size, jint first_unicode_char_in_range, jint num_chars_in_range, jlong chardata_for_rangeAddress) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - unsigned char const *fontdata = (unsigned char const *)(intptr_t)fontdataAddress; - stbtt_packedchar *chardata_for_range = (stbtt_packedchar *)(intptr_t)chardata_for_rangeAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + unsigned char const *fontdata = (unsigned char const *)(uintptr_t)fontdataAddress; + stbtt_packedchar *chardata_for_range = (stbtt_packedchar *)(uintptr_t)chardata_for_rangeAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_PackFontRange(spc, fontdata, font_index, font_size, first_unicode_char_in_range, num_chars_in_range, chardata_for_range); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackFontRanges(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong fontdataAddress, jint font_index, jlong rangesAddress, jint num_ranges) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - unsigned char const *fontdata = (unsigned char const *)(intptr_t)fontdataAddress; - stbtt_pack_range *ranges = (stbtt_pack_range *)(intptr_t)rangesAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + unsigned char const *fontdata = (unsigned char const *)(uintptr_t)fontdataAddress; + stbtt_pack_range *ranges = (stbtt_pack_range *)(uintptr_t)rangesAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_PackFontRanges(spc, fontdata, font_index, ranges, num_ranges); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackSetOversampling(JNIEnv *__env, jclass clazz, jlong spcAddress, jint h_oversample, jint v_oversample) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; UNUSED_PARAMS(__env, clazz) stbtt_PackSetOversampling(spc, (unsigned int)h_oversample, (unsigned int)v_oversample); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackSetSkipMissingCodepoints(JNIEnv *__env, jclass clazz, jlong spcAddress, jint skip) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; UNUSED_PARAMS(__env, clazz) stbtt_PackSetSkipMissingCodepoints(spc, skip); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetPackedQuad__JIIIJJJI(JNIEnv *__env, jclass clazz, jlong chardataAddress, jint pw, jint ph, jint char_index, jlong xposAddress, jlong yposAddress, jlong qAddress, jint align_to_integer) { - stbtt_packedchar const *chardata = (stbtt_packedchar const *)(intptr_t)chardataAddress; - float *xpos = (float *)(intptr_t)xposAddress; - float *ypos = (float *)(intptr_t)yposAddress; - stbtt_aligned_quad *q = (stbtt_aligned_quad *)(intptr_t)qAddress; + stbtt_packedchar const *chardata = (stbtt_packedchar const *)(uintptr_t)chardataAddress; + float *xpos = (float *)(uintptr_t)xposAddress; + float *ypos = (float *)(uintptr_t)yposAddress; + stbtt_aligned_quad *q = (stbtt_aligned_quad *)(uintptr_t)qAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetPackedQuad(chardata, pw, ph, char_index, xpos, ypos, q, align_to_integer); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackFontRangesGatherRects(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong infoAddress, jlong rangesAddress, jint num_ranges, jlong rectsAddress) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - stbtt_fontinfo *info = (stbtt_fontinfo *)(intptr_t)infoAddress; - stbtt_pack_range *ranges = (stbtt_pack_range *)(intptr_t)rangesAddress; - stbrp_rect *rects = (stbrp_rect *)(intptr_t)rectsAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + stbtt_fontinfo *info = (stbtt_fontinfo *)(uintptr_t)infoAddress; + stbtt_pack_range *ranges = (stbtt_pack_range *)(uintptr_t)rangesAddress; + stbrp_rect *rects = (stbrp_rect *)(uintptr_t)rectsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_PackFontRangesGatherRects(spc, info, ranges, num_ranges, rects); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackFontRangesPackRects(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong rectsAddress, jint num_rects) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - stbrp_rect *rects = (stbrp_rect *)(intptr_t)rectsAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + stbrp_rect *rects = (stbrp_rect *)(uintptr_t)rectsAddress; UNUSED_PARAMS(__env, clazz) stbtt_PackFontRangesPackRects(spc, rects, num_rects); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1PackFontRangesRenderIntoRects(JNIEnv *__env, jclass clazz, jlong spcAddress, jlong infoAddress, jlong rangesAddress, jint num_ranges, jlong rectsAddress) { - stbtt_pack_context *spc = (stbtt_pack_context *)(intptr_t)spcAddress; - stbtt_fontinfo *info = (stbtt_fontinfo *)(intptr_t)infoAddress; - stbtt_pack_range *ranges = (stbtt_pack_range *)(intptr_t)rangesAddress; - stbrp_rect *rects = (stbrp_rect *)(intptr_t)rectsAddress; + stbtt_pack_context *spc = (stbtt_pack_context *)(uintptr_t)spcAddress; + stbtt_fontinfo *info = (stbtt_fontinfo *)(uintptr_t)infoAddress; + stbtt_pack_range *ranges = (stbtt_pack_range *)(uintptr_t)rangesAddress; + stbrp_rect *rects = (stbrp_rect *)(uintptr_t)rectsAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_PackFontRangesRenderIntoRects(spc, info, ranges, num_ranges, rects); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetNumberOfFonts(JNIEnv *__env, jclass clazz, jlong dataAddress) { - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetNumberOfFonts(data); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontOffsetForIndex(JNIEnv *__env, jclass clazz, jlong dataAddress, jint index) { - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetFontOffsetForIndex(data, index); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1InitFont(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong dataAddress, jint offset) { - stbtt_fontinfo *info = (stbtt_fontinfo *)(intptr_t)infoAddress; - unsigned char const *data = (unsigned char const *)(intptr_t)dataAddress; + stbtt_fontinfo *info = (stbtt_fontinfo *)(uintptr_t)infoAddress; + unsigned char const *data = (unsigned char const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_InitFont(info, data, offset); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FindGlyphIndex(JNIEnv *__env, jclass clazz, jlong infoAddress, jint unicode_codepoint) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_FindGlyphIndex(info, unicode_codepoint); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1ScaleForPixelHeight(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat pixels) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)stbtt_ScaleForPixelHeight(info, pixels); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1ScaleForMappingEmToPixels(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat pixels) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)stbtt_ScaleForMappingEmToPixels(info, pixels); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetrics__JJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong ascentAddress, jlong descentAddress, jlong lineGapAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *ascent = (int *)(intptr_t)ascentAddress; - int *descent = (int *)(intptr_t)descentAddress; - int *lineGap = (int *)(intptr_t)lineGapAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *ascent = (int *)(uintptr_t)ascentAddress; + int *descent = (int *)(uintptr_t)descentAddress; + int *lineGap = (int *)(uintptr_t)lineGapAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetFontVMetrics(info, ascent, descent, lineGap); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetricsOS2__JJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong typoAscentAddress, jlong typoDescentAddress, jlong typoLineGapAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *typoAscent = (int *)(intptr_t)typoAscentAddress; - int *typoDescent = (int *)(intptr_t)typoDescentAddress; - int *typoLineGap = (int *)(intptr_t)typoLineGapAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *typoAscent = (int *)(uintptr_t)typoAscentAddress; + int *typoDescent = (int *)(uintptr_t)typoDescentAddress; + int *typoLineGap = (int *)(uintptr_t)typoLineGapAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetFontVMetricsOS2(info, typoAscent, typoDescent, typoLineGap); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontBoundingBox__JJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong x0Address, jlong y0Address, jlong x1Address, jlong y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *x0 = (int *)(intptr_t)x0Address; - int *y0 = (int *)(intptr_t)y0Address; - int *x1 = (int *)(intptr_t)x1Address; - int *y1 = (int *)(intptr_t)y1Address; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *x0 = (int *)(uintptr_t)x0Address; + int *y0 = (int *)(uintptr_t)y0Address; + int *x1 = (int *)(uintptr_t)x1Address; + int *y1 = (int *)(uintptr_t)y1Address; UNUSED_PARAMS(__env, clazz) stbtt_GetFontBoundingBox(info, x0, y0, x1, y1); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointHMetrics__JIJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jint codepoint, jlong advanceWidthAddress, jlong leftSideBearingAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *advanceWidth = (int *)(intptr_t)advanceWidthAddress; - int *leftSideBearing = (int *)(intptr_t)leftSideBearingAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *advanceWidth = (int *)(uintptr_t)advanceWidthAddress; + int *leftSideBearing = (int *)(uintptr_t)leftSideBearingAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetCodepointHMetrics(info, codepoint, advanceWidth, leftSideBearing); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointKernAdvance(JNIEnv *__env, jclass clazz, jlong infoAddress, jint ch1, jint ch2) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetCodepointKernAdvance(info, ch1, ch2); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBox__JIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jint codepoint, jlong x0Address, jlong y0Address, jlong x1Address, jlong y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *x0 = (int *)(intptr_t)x0Address; - int *y0 = (int *)(intptr_t)y0Address; - int *x1 = (int *)(intptr_t)x1Address; - int *y1 = (int *)(intptr_t)y1Address; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *x0 = (int *)(uintptr_t)x0Address; + int *y0 = (int *)(uintptr_t)y0Address; + int *x1 = (int *)(uintptr_t)x1Address; + int *y1 = (int *)(uintptr_t)y1Address; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetCodepointBox(info, codepoint, x0, y0, x1, y1); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphHMetrics__JIJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index, jlong advanceWidthAddress, jlong leftSideBearingAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *advanceWidth = (int *)(intptr_t)advanceWidthAddress; - int *leftSideBearing = (int *)(intptr_t)leftSideBearingAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *advanceWidth = (int *)(uintptr_t)advanceWidthAddress; + int *leftSideBearing = (int *)(uintptr_t)leftSideBearingAddress; UNUSED_PARAMS(__env, clazz) stbtt_GetGlyphHMetrics(info, glyph_index, advanceWidth, leftSideBearing); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphKernAdvance(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph1, jint glyph2) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetGlyphKernAdvance(info, glyph1, glyph2); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBox__JIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index, jlong x0Address, jlong y0Address, jlong x1Address, jlong y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *x0 = (int *)(intptr_t)x0Address; - int *y0 = (int *)(intptr_t)y0Address; - int *x1 = (int *)(intptr_t)x1Address; - int *y1 = (int *)(intptr_t)y1Address; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *x0 = (int *)(uintptr_t)x0Address; + int *y0 = (int *)(uintptr_t)y0Address; + int *x1 = (int *)(uintptr_t)x1Address; + int *y1 = (int *)(uintptr_t)y1Address; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetGlyphBox(info, glyph_index, x0, y0, x1, y1); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetKerningTableLength(JNIEnv *__env, jclass clazz, jlong infoAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetKerningTableLength(info); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetKerningTable(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong tableAddress, jint table_length) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - stbtt_kerningentry *table = (stbtt_kerningentry *)(intptr_t)tableAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + stbtt_kerningentry *table = (stbtt_kerningentry *)(uintptr_t)tableAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetKerningTable(info, table, table_length); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1IsGlyphEmpty(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_IsGlyphEmpty(info, glyph_index); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointShape(JNIEnv *__env, jclass clazz, jlong infoAddress, jint unicode_codepoint, jlong verticesAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - stbtt_vertex **vertices = (stbtt_vertex **)(intptr_t)verticesAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + stbtt_vertex **vertices = (stbtt_vertex **)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetCodepointShape(info, unicode_codepoint, vertices); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphShape(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index, jlong verticesAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - stbtt_vertex **vertices = (stbtt_vertex **)(intptr_t)verticesAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + stbtt_vertex **vertices = (stbtt_vertex **)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetGlyphShape(info, glyph_index, vertices); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FreeShape(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong verticesAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - stbtt_vertex *vertices = (stbtt_vertex *)(intptr_t)verticesAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + stbtt_vertex *vertices = (stbtt_vertex *)(uintptr_t)verticesAddress; UNUSED_PARAMS(__env, clazz) stbtt_FreeShape(info, vertices); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FindSVGDoc(JNIEnv *__env, jclass clazz, jlong infoAddress, jint gl) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_FindSVGDoc(info, gl); + return (jlong)(uintptr_t)stbtt_FindSVGDoc(info, gl); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointSVG(JNIEnv *__env, jclass clazz, jlong infoAddress, jint unicode_codepoint, jlong svgAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - char const **svg = (char const **)(intptr_t)svgAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + char const **svg = (char const **)(uintptr_t)svgAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetCodepointSVG(info, unicode_codepoint, svg); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphSVG(JNIEnv *__env, jclass clazz, jlong infoAddress, jint gl, jlong svgAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - char const **svg = (char const **)(intptr_t)svgAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + char const **svg = (char const **)(uintptr_t)svgAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_GetGlyphSVG(info, gl, svg); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FreeBitmap(JNIEnv *__env, jclass clazz, jlong bitmapAddress, jlong userdataAddress) { - unsigned char *bitmap = (unsigned char *)(intptr_t)bitmapAddress; - void *userdata = (void *)(intptr_t)userdataAddress; + unsigned char *bitmap = (unsigned char *)(uintptr_t)bitmapAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; UNUSED_PARAMS(__env, clazz) stbtt_FreeBitmap(bitmap, userdata); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmap__JFFIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jint codepoint, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetCodepointBitmap(info, scale_x, scale_y, codepoint, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetCodepointBitmap(info, scale_x, scale_y, codepoint, width, height, xoff, yoff); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapSubpixel__JFFFFIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint codepoint, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, codepoint, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, codepoint, width, height, xoff, yoff); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeCodepointBitmap(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jint codepoint) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeCodepointBitmap(info, output, out_w, out_h, out_stride, scale_x, scale_y, codepoint); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeCodepointBitmapSubpixel(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint codepoint) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeCodepointBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, codepoint); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeCodepointBitmapSubpixelPrefilter__JJIIIFFFFIIJJI(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint oversample_x, jint oversample_y, jlong sub_xAddress, jlong sub_yAddress, jint codepoint) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; - float *sub_x = (float *)(intptr_t)sub_xAddress; - float *sub_y = (float *)(intptr_t)sub_yAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; + float *sub_x = (float *)(uintptr_t)sub_xAddress; + float *sub_y = (float *)(uintptr_t)sub_yAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeCodepointBitmapSubpixelPrefilter(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, oversample_x, oversample_y, sub_x, sub_y, codepoint); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapBox__JIFFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jint codepoint, jfloat scale_x, jfloat scale_y, jlong ix0Address, jlong iy0Address, jlong ix1Address, jlong iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *ix0 = (int *)(intptr_t)ix0Address; - int *iy0 = (int *)(intptr_t)iy0Address; - int *ix1 = (int *)(intptr_t)ix1Address; - int *iy1 = (int *)(intptr_t)iy1Address; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *ix0 = (int *)(uintptr_t)ix0Address; + int *iy0 = (int *)(uintptr_t)iy0Address; + int *ix1 = (int *)(uintptr_t)ix1Address; + int *iy1 = (int *)(uintptr_t)iy1Address; UNUSED_PARAMS(__env, clazz) stbtt_GetCodepointBitmapBox(font, codepoint, scale_x, scale_y, ix0, iy0, ix1, iy1); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapBoxSubpixel__JIFFFFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jint codepoint, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jlong ix0Address, jlong iy0Address, jlong ix1Address, jlong iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *ix0 = (int *)(intptr_t)ix0Address; - int *iy0 = (int *)(intptr_t)iy0Address; - int *ix1 = (int *)(intptr_t)ix1Address; - int *iy1 = (int *)(intptr_t)iy1Address; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *ix0 = (int *)(uintptr_t)ix0Address; + int *iy0 = (int *)(uintptr_t)iy0Address; + int *ix1 = (int *)(uintptr_t)ix1Address; + int *iy1 = (int *)(uintptr_t)iy1Address; UNUSED_PARAMS(__env, clazz) stbtt_GetCodepointBitmapBoxSubpixel(font, codepoint, scale_x, scale_y, shift_x, shift_y, ix0, iy0, ix1, iy1); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmap__JFFIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jint glyph, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetGlyphBitmap(info, scale_x, scale_y, glyph, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetGlyphBitmap(info, scale_x, scale_y, glyph, width, height, xoff, yoff); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapSubpixel__JFFFFIJJJJ(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint glyph, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, glyph, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, glyph, width, height, xoff, yoff); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeGlyphBitmap(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jint glyph) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeGlyphBitmap(info, output, out_w, out_h, out_stride, scale_x, scale_y, glyph); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeGlyphBitmapSubpixel(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint glyph) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, glyph); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeGlyphBitmapSubpixelPrefilter__JJIIIFFFFIIJJI(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint oversample_x, jint oversample_y, jlong sub_xAddress, jlong sub_yAddress, jint glyph) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; - float *sub_x = (float *)(intptr_t)sub_xAddress; - float *sub_y = (float *)(intptr_t)sub_yAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; + float *sub_x = (float *)(uintptr_t)sub_xAddress; + float *sub_y = (float *)(uintptr_t)sub_yAddress; UNUSED_PARAMS(__env, clazz) stbtt_MakeGlyphBitmapSubpixelPrefilter(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, oversample_x, oversample_y, sub_x, sub_y, glyph); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBox__JIFFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jint glyph, jfloat scale_x, jfloat scale_y, jlong ix0Address, jlong iy0Address, jlong ix1Address, jlong iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *ix0 = (int *)(intptr_t)ix0Address; - int *iy0 = (int *)(intptr_t)iy0Address; - int *ix1 = (int *)(intptr_t)ix1Address; - int *iy1 = (int *)(intptr_t)iy1Address; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *ix0 = (int *)(uintptr_t)ix0Address; + int *iy0 = (int *)(uintptr_t)iy0Address; + int *ix1 = (int *)(uintptr_t)ix1Address; + int *iy1 = (int *)(uintptr_t)iy1Address; UNUSED_PARAMS(__env, clazz) stbtt_GetGlyphBitmapBox(font, glyph, scale_x, scale_y, ix0, iy0, ix1, iy1); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBoxSubpixel__JIFFFFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jint glyph, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jlong ix0Address, jlong iy0Address, jlong ix1Address, jlong iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *ix0 = (int *)(intptr_t)ix0Address; - int *iy0 = (int *)(intptr_t)iy0Address; - int *ix1 = (int *)(intptr_t)ix1Address; - int *iy1 = (int *)(intptr_t)iy1Address; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *ix0 = (int *)(uintptr_t)ix0Address; + int *iy0 = (int *)(uintptr_t)iy0Address; + int *ix1 = (int *)(uintptr_t)ix1Address; + int *iy1 = (int *)(uintptr_t)iy1Address; UNUSED_PARAMS(__env, clazz) stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y, shift_x, shift_y, ix0, iy0, ix1, iy1); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1Rasterize(JNIEnv *__env, jclass clazz, jlong resultAddress, jfloat flatness_in_pixels, jlong verticesAddress, jint num_verts, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint x_off, jint y_off, jint invert, jlong alloc_contextAddress) { - stbtt__bitmap *result = (stbtt__bitmap *)(intptr_t)resultAddress; - stbtt_vertex *vertices = (stbtt_vertex *)(intptr_t)verticesAddress; - void *alloc_context = (void *)(intptr_t)alloc_contextAddress; + stbtt__bitmap *result = (stbtt__bitmap *)(uintptr_t)resultAddress; + stbtt_vertex *vertices = (stbtt_vertex *)(uintptr_t)verticesAddress; + void *alloc_context = (void *)(uintptr_t)alloc_contextAddress; UNUSED_PARAMS(__env, clazz) stbtt_Rasterize(result, flatness_in_pixels, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, x_off, y_off, invert, alloc_context); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FreeSDF(JNIEnv *__env, jclass clazz, jlong bitmapAddress, jlong userdataAddress) { - unsigned char *bitmap = (unsigned char *)(intptr_t)bitmapAddress; - void *userdata = (void *)(intptr_t)userdataAddress; + unsigned char *bitmap = (unsigned char *)(uintptr_t)bitmapAddress; + void *userdata = (void *)(uintptr_t)userdataAddress; UNUSED_PARAMS(__env, clazz) stbtt_FreeSDF(bitmap, userdata); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphSDF__JFIIBFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jfloat scale, jint glyph, jint padding, jbyte onedge_value, jfloat pixel_dist_scale, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetGlyphSDF(font, scale, glyph, padding, (unsigned char)onedge_value, pixel_dist_scale, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetGlyphSDF(font, scale, glyph, padding, (unsigned char)onedge_value, pixel_dist_scale, width, height, xoff, yoff); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointSDF__JFIIBFJJJJ(JNIEnv *__env, jclass clazz, jlong fontAddress, jfloat scale, jint codepoint, jint padding, jbyte onedge_value, jfloat pixel_dist_scale, jlong widthAddress, jlong heightAddress, jlong xoffAddress, jlong yoffAddress) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - int *xoff = (int *)(intptr_t)xoffAddress; - int *yoff = (int *)(intptr_t)yoffAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + int *xoff = (int *)(uintptr_t)xoffAddress; + int *yoff = (int *)(uintptr_t)yoffAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetCodepointSDF(font, scale, codepoint, padding, (unsigned char)onedge_value, pixel_dist_scale, width, height, xoff, yoff); + return (jlong)(uintptr_t)stbtt_GetCodepointSDF(font, scale, codepoint, padding, (unsigned char)onedge_value, pixel_dist_scale, width, height, xoff, yoff); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1FindMatchingFont(JNIEnv *__env, jclass clazz, jlong fontdataAddress, jlong nameAddress, jint flags) { - unsigned char const *fontdata = (unsigned char const *)(intptr_t)fontdataAddress; - char const *name = (char const *)(intptr_t)nameAddress; + unsigned char const *fontdata = (unsigned char const *)(uintptr_t)fontdataAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_FindMatchingFont(fontdata, name, flags); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1CompareUTF8toUTF16_1bigendian(JNIEnv *__env, jclass clazz, jlong s1Address, jint len1, jlong s2Address, jint len2) { - char const *s1 = (char const *)(intptr_t)s1Address; - char const *s2 = (char const *)(intptr_t)s2Address; + char const *s1 = (char const *)(uintptr_t)s1Address; + char const *s2 = (char const *)(uintptr_t)s2Address; UNUSED_PARAMS(__env, clazz) return (jint)stbtt_CompareUTF8toUTF16_bigendian(s1, len1, s2, len2); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontNameString(JNIEnv *__env, jclass clazz, jlong fontAddress, jlong lengthAddress, jint platformID, jint encodingID, jint languageID, jint nameID) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; - int *length = (int *)(intptr_t)lengthAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; + int *length = (int *)(uintptr_t)lengthAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stbtt_GetFontNameString(font, length, platformID, encodingID, languageID, nameID); + return (jlong)(uintptr_t)stbtt_GetFontNameString(font, length, platformID, encodingID, languageID, nameID); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetBakedQuad__JIII_3F_3FJI(JNIEnv *__env, jclass clazz, jlong chardataAddress, jint pw, jint ph, jint char_index, jfloatArray xposAddress, jfloatArray yposAddress, jlong qAddress, jint opengl_fillrule) { - stbtt_bakedchar const *chardata = (stbtt_bakedchar const *)(intptr_t)chardataAddress; - stbtt_aligned_quad *q = (stbtt_aligned_quad *)(intptr_t)qAddress; + stbtt_bakedchar const *chardata = (stbtt_bakedchar const *)(uintptr_t)chardataAddress; + stbtt_aligned_quad *q = (stbtt_aligned_quad *)(uintptr_t)qAddress; jfloat *xpos = (*__env)->GetFloatArrayElements(__env, xposAddress, NULL); jfloat *ypos = (*__env)->GetFloatArrayElements(__env, yposAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -493,7 +493,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetBakedQuad__JIII } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetScaledFontVMetrics__JIF_3F_3F_3F(JNIEnv *__env, jclass clazz, jlong fontdataAddress, jint index, jfloat size, jfloatArray ascentAddress, jfloatArray descentAddress, jfloatArray lineGapAddress) { - unsigned char const *fontdata = (unsigned char const *)(intptr_t)fontdataAddress; + unsigned char const *fontdata = (unsigned char const *)(uintptr_t)fontdataAddress; jfloat *ascent = (*__env)->GetFloatArrayElements(__env, ascentAddress, NULL); jfloat *descent = (*__env)->GetFloatArrayElements(__env, descentAddress, NULL); jfloat *lineGap = (*__env)->GetFloatArrayElements(__env, lineGapAddress, NULL); @@ -505,8 +505,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetScaledFontVMetr } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetPackedQuad__JIII_3F_3FJI(JNIEnv *__env, jclass clazz, jlong chardataAddress, jint pw, jint ph, jint char_index, jfloatArray xposAddress, jfloatArray yposAddress, jlong qAddress, jint align_to_integer) { - stbtt_packedchar const *chardata = (stbtt_packedchar const *)(intptr_t)chardataAddress; - stbtt_aligned_quad *q = (stbtt_aligned_quad *)(intptr_t)qAddress; + stbtt_packedchar const *chardata = (stbtt_packedchar const *)(uintptr_t)chardataAddress; + stbtt_aligned_quad *q = (stbtt_aligned_quad *)(uintptr_t)qAddress; jfloat *xpos = (*__env)->GetFloatArrayElements(__env, xposAddress, NULL); jfloat *ypos = (*__env)->GetFloatArrayElements(__env, yposAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -516,7 +516,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetPackedQuad__JII } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetrics__J_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jintArray ascentAddress, jintArray descentAddress, jintArray lineGapAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint *ascent = ascentAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ascentAddress, NULL); jint *descent = descentAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, descentAddress, NULL); jint *lineGap = lineGapAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, lineGapAddress, NULL); @@ -528,7 +528,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetrics__J } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetricsOS2__J_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jintArray typoAscentAddress, jintArray typoDescentAddress, jintArray typoLineGapAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint __result; jint *typoAscent = typoAscentAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, typoAscentAddress, NULL); jint *typoDescent = typoDescentAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, typoDescentAddress, NULL); @@ -542,7 +542,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontVMetricsOS2 } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontBoundingBox__J_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jintArray x0Address, jintArray y0Address, jintArray x1Address, jintArray y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint *x0 = (*__env)->GetIntArrayElements(__env, x0Address, NULL); jint *y0 = (*__env)->GetIntArrayElements(__env, y0Address, NULL); jint *x1 = (*__env)->GetIntArrayElements(__env, x1Address, NULL); @@ -556,7 +556,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetFontBoundingBox } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointHMetrics__JI_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jint codepoint, jintArray advanceWidthAddress, jintArray leftSideBearingAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint *advanceWidth = advanceWidthAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, advanceWidthAddress, NULL); jint *leftSideBearing = leftSideBearingAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, leftSideBearingAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -566,7 +566,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointHMetri } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBox__JI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jint codepoint, jintArray x0Address, jintArray y0Address, jintArray x1Address, jintArray y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint __result; jint *x0 = x0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, x0Address, NULL); jint *y0 = y0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, y0Address, NULL); @@ -582,7 +582,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBox__J } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphHMetrics__JI_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index, jintArray advanceWidthAddress, jintArray leftSideBearingAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint *advanceWidth = advanceWidthAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, advanceWidthAddress, NULL); jint *leftSideBearing = leftSideBearingAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, leftSideBearingAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -592,7 +592,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphHMetrics__ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBox__JI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jint glyph_index, jintArray x0Address, jintArray y0Address, jintArray x1Address, jintArray y1Address) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jint __result; jint *x0 = x0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, x0Address, NULL); jint *y0 = y0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, y0Address, NULL); @@ -608,14 +608,14 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBox__JI_3I } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmap__JFFI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jint codepoint, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = xoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = yoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetCodepointBitmap(info, scale_x, scale_y, codepoint, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetCodepointBitmap(info, scale_x, scale_y, codepoint, (int *)width, (int *)height, (int *)xoff, (int *)yoff); if (yoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); } if (xoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); } (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); @@ -624,14 +624,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitma } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapSubpixel__JFFFFI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint codepoint, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = xoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = yoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, codepoint, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, codepoint, (int *)width, (int *)height, (int *)xoff, (int *)yoff); if (yoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); } if (xoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); } (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); @@ -640,8 +640,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitma } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeCodepointBitmapSubpixelPrefilter__JJIIIFFFFII_3F_3FI(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint oversample_x, jint oversample_y, jfloatArray sub_xAddress, jfloatArray sub_yAddress, jint codepoint) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; jfloat *sub_x = (*__env)->GetFloatArrayElements(__env, sub_xAddress, NULL); jfloat *sub_y = (*__env)->GetFloatArrayElements(__env, sub_yAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -651,7 +651,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeCodepointBitma } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapBox__JIFF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jint codepoint, jfloat scale_x, jfloat scale_y, jintArray ix0Address, jintArray iy0Address, jintArray ix1Address, jintArray iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jint *ix0 = ix0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix0Address, NULL); jint *iy0 = iy0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, iy0Address, NULL); jint *ix1 = ix1Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix1Address, NULL); @@ -665,7 +665,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmap } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmapBoxSubpixel__JIFFFF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jint codepoint, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jintArray ix0Address, jintArray iy0Address, jintArray ix1Address, jintArray iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jint *ix0 = ix0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix0Address, NULL); jint *iy0 = iy0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, iy0Address, NULL); jint *ix1 = ix1Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix1Address, NULL); @@ -679,14 +679,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointBitmap } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmap__JFFI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jint glyph, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = xoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = yoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetGlyphBitmap(info, scale_x, scale_y, glyph, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetGlyphBitmap(info, scale_x, scale_y, glyph, (int *)width, (int *)height, (int *)xoff, (int *)yoff); if (yoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); } if (xoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); } (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); @@ -695,14 +695,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmap__J } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapSubpixel__JFFFFI_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong infoAddress, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint glyph, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = xoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = yoffAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, glyph, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, shift_x, shift_y, glyph, (int *)width, (int *)height, (int *)xoff, (int *)yoff); if (yoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); } if (xoff != NULL) { (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); } (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); @@ -711,8 +711,8 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapSub } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeGlyphBitmapSubpixelPrefilter__JJIIIFFFFII_3F_3FI(JNIEnv *__env, jclass clazz, jlong infoAddress, jlong outputAddress, jint out_w, jint out_h, jint out_stride, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jint oversample_x, jint oversample_y, jfloatArray sub_xAddress, jfloatArray sub_yAddress, jint glyph) { - stbtt_fontinfo const *info = (stbtt_fontinfo const *)(intptr_t)infoAddress; - unsigned char *output = (unsigned char *)(intptr_t)outputAddress; + stbtt_fontinfo const *info = (stbtt_fontinfo const *)(uintptr_t)infoAddress; + unsigned char *output = (unsigned char *)(uintptr_t)outputAddress; jfloat *sub_x = (*__env)->GetFloatArrayElements(__env, sub_xAddress, NULL); jfloat *sub_y = (*__env)->GetFloatArrayElements(__env, sub_yAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -722,7 +722,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1MakeGlyphBitmapSub } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBox__JIFF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jint glyph, jfloat scale_x, jfloat scale_y, jintArray ix0Address, jintArray iy0Address, jintArray ix1Address, jintArray iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jint *ix0 = ix0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix0Address, NULL); jint *iy0 = iy0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, iy0Address, NULL); jint *ix1 = ix1Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix1Address, NULL); @@ -736,7 +736,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBox_ } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBoxSubpixel__JIFFFF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jint glyph, jfloat scale_x, jfloat scale_y, jfloat shift_x, jfloat shift_y, jintArray ix0Address, jintArray iy0Address, jintArray ix1Address, jintArray iy1Address) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jint *ix0 = ix0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix0Address, NULL); jint *iy0 = iy0Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, iy0Address, NULL); jint *ix1 = ix1Address == NULL ? NULL : (*__env)->GetIntArrayElements(__env, ix1Address, NULL); @@ -750,14 +750,14 @@ JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphBitmapBoxS } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphSDF__JFIIBF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jfloat scale, jint glyph, jint padding, jbyte onedge_value, jfloat pixel_dist_scale, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetGlyphSDF(font, scale, glyph, padding, (unsigned char)onedge_value, pixel_dist_scale, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetGlyphSDF(font, scale, glyph, padding, (unsigned char)onedge_value, pixel_dist_scale, (int *)width, (int *)height, (int *)xoff, (int *)yoff); (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); @@ -766,14 +766,14 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetGlyphSDF__JFII } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBTruetype_nstbtt_1GetCodepointSDF__JFIIBF_3I_3I_3I_3I(JNIEnv *__env, jclass clazz, jlong fontAddress, jfloat scale, jint codepoint, jint padding, jbyte onedge_value, jfloat pixel_dist_scale, jintArray widthAddress, jintArray heightAddress, jintArray xoffAddress, jintArray yoffAddress) { - stbtt_fontinfo const *font = (stbtt_fontinfo const *)(intptr_t)fontAddress; + stbtt_fontinfo const *font = (stbtt_fontinfo const *)(uintptr_t)fontAddress; jlong __result; jint *width = (*__env)->GetIntArrayElements(__env, widthAddress, NULL); jint *height = (*__env)->GetIntArrayElements(__env, heightAddress, NULL); jint *xoff = (*__env)->GetIntArrayElements(__env, xoffAddress, NULL); jint *yoff = (*__env)->GetIntArrayElements(__env, yoffAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stbtt_GetCodepointSDF(font, scale, codepoint, padding, (unsigned char)onedge_value, pixel_dist_scale, (int *)width, (int *)height, (int *)xoff, (int *)yoff); + __result = (jlong)(uintptr_t)stbtt_GetCodepointSDF(font, scale, codepoint, padding, (unsigned char)onedge_value, pixel_dist_scale, (int *)width, (int *)height, (int *)xoff, (int *)yoff); (*__env)->ReleaseIntArrayElements(__env, yoffAddress, yoff, 0); (*__env)->ReleaseIntArrayElements(__env, xoffAddress, xoff, 0); (*__env)->ReleaseIntArrayElements(__env, heightAddress, height, 0); diff --git a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBVorbis.c b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBVorbis.c index d683fbd84b..f3f20d84d4 100644 --- a/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBVorbis.c +++ b/modules/lwjgl/stb/src/generated/c/org_lwjgl_stb_STBVorbis.c @@ -14,197 +14,197 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1info(JNIEnv *__env, jclass clazz, jlong fAddress, jlong __result) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) - *((stb_vorbis_info*)(intptr_t)__result) = stb_vorbis_get_info(f); + *((stb_vorbis_info*)(uintptr_t)__result) = stb_vorbis_get_info(f); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1comment(JNIEnv *__env, jclass clazz, jlong fAddress, jlong __result) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) - *((stb_vorbis_comment*)(intptr_t)__result) = stb_vorbis_get_comment(f); + *((stb_vorbis_comment*)(uintptr_t)__result) = stb_vorbis_get_comment(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1error(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_error(f); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1close(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) stb_vorbis_close(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1sample_1offset(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_sample_offset(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1file_1offset(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_file_offset(f); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1pushdata__JIJJJ(JNIEnv *__env, jclass clazz, jlong datablockAddress, jint datablock_length_in_bytes, jlong datablock_memory_consumed_in_bytesAddress, jlong errorAddress, jlong alloc_bufferAddress) { - unsigned char const *datablock = (unsigned char const *)(intptr_t)datablockAddress; - int *datablock_memory_consumed_in_bytes = (int *)(intptr_t)datablock_memory_consumed_in_bytesAddress; - int *error = (int *)(intptr_t)errorAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + unsigned char const *datablock = (unsigned char const *)(uintptr_t)datablockAddress; + int *datablock_memory_consumed_in_bytes = (int *)(uintptr_t)datablock_memory_consumed_in_bytesAddress; + int *error = (int *)(uintptr_t)errorAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stb_vorbis_open_pushdata(datablock, datablock_length_in_bytes, datablock_memory_consumed_in_bytes, error, alloc_buffer); + return (jlong)(uintptr_t)stb_vorbis_open_pushdata(datablock, datablock_length_in_bytes, datablock_memory_consumed_in_bytes, error, alloc_buffer); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1frame_1pushdata__JJIJJJ(JNIEnv *__env, jclass clazz, jlong fAddress, jlong datablockAddress, jint datablock_length_in_bytes, jlong channelsAddress, jlong outputAddress, jlong samplesAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - unsigned char const *datablock = (unsigned char const *)(intptr_t)datablockAddress; - int *channels = (int *)(intptr_t)channelsAddress; - float ***output = (float ***)(intptr_t)outputAddress; - int *samples = (int *)(intptr_t)samplesAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + unsigned char const *datablock = (unsigned char const *)(uintptr_t)datablockAddress; + int *channels = (int *)(uintptr_t)channelsAddress; + float ***output = (float ***)(uintptr_t)outputAddress; + int *samples = (int *)(uintptr_t)samplesAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_decode_frame_pushdata(f, datablock, datablock_length_in_bytes, channels, output, samples); } JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1flush_1pushdata(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) stb_vorbis_flush_pushdata(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1filename__JJJJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong channelsAddress, jlong sample_rateAddress, jlong outputAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *channels = (int *)(intptr_t)channelsAddress; - int *sample_rate = (int *)(intptr_t)sample_rateAddress; - short **output = (short **)(intptr_t)outputAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *channels = (int *)(uintptr_t)channelsAddress; + int *sample_rate = (int *)(uintptr_t)sample_rateAddress; + short **output = (short **)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_decode_filename(filename, channels, sample_rate, output); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1memory__JIJJJ(JNIEnv *__env, jclass clazz, jlong memAddress, jint len, jlong channelsAddress, jlong sample_rateAddress, jlong outputAddress) { - unsigned char const *mem = (unsigned char const *)(intptr_t)memAddress; - int *channels = (int *)(intptr_t)channelsAddress; - int *sample_rate = (int *)(intptr_t)sample_rateAddress; - short **output = (short **)(intptr_t)outputAddress; + unsigned char const *mem = (unsigned char const *)(uintptr_t)memAddress; + int *channels = (int *)(uintptr_t)channelsAddress; + int *sample_rate = (int *)(uintptr_t)sample_rateAddress; + short **output = (short **)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_decode_memory(mem, len, channels, sample_rate, output); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1memory__JIJJ(JNIEnv *__env, jclass clazz, jlong memAddress, jint len, jlong errorAddress, jlong alloc_bufferAddress) { - unsigned char const *mem = (unsigned char const *)(intptr_t)memAddress; - int *error = (int *)(intptr_t)errorAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + unsigned char const *mem = (unsigned char const *)(uintptr_t)memAddress; + int *error = (int *)(uintptr_t)errorAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stb_vorbis_open_memory(mem, len, error, alloc_buffer); + return (jlong)(uintptr_t)stb_vorbis_open_memory(mem, len, error, alloc_buffer); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1filename__JJJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong errorAddress, jlong alloc_bufferAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - int *error = (int *)(intptr_t)errorAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + int *error = (int *)(uintptr_t)errorAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)stb_vorbis_open_filename(filename, error, alloc_buffer); + return (jlong)(uintptr_t)stb_vorbis_open_filename(filename, error, alloc_buffer); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1seek_1frame(JNIEnv *__env, jclass clazz, jlong fAddress, jint sample_number) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_seek_frame(f, (unsigned int)sample_number); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1seek(JNIEnv *__env, jclass clazz, jlong fAddress, jint sample_number) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_seek(f, (unsigned int)sample_number); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1seek_1start(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_seek_start(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1stream_1length_1in_1samples(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_stream_length_in_samples(f); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1stream_1length_1in_1seconds(JNIEnv *__env, jclass clazz, jlong fAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)stb_vorbis_stream_length_in_seconds(f); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1float__JJJ(JNIEnv *__env, jclass clazz, jlong fAddress, jlong channelsAddress, jlong outputAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - int *channels = (int *)(intptr_t)channelsAddress; - float ***output = (float ***)(intptr_t)outputAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + int *channels = (int *)(uintptr_t)channelsAddress; + float ***output = (float ***)(uintptr_t)outputAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_frame_float(f, channels, output); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1short(JNIEnv *__env, jclass clazz, jlong fAddress, jint num_c, jlong bufferAddress, jint num_samples) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - short **buffer = (short **)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + short **buffer = (short **)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_frame_short(f, num_c, buffer, num_samples); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1short_1interleaved__JIJI(JNIEnv *__env, jclass clazz, jlong fAddress, jint num_c, jlong bufferAddress, jint num_shorts) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - short *buffer = (short *)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + short *buffer = (short *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_frame_short_interleaved(f, num_c, buffer, num_shorts); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1float(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jlong bufferAddress, jint num_samples) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - float **buffer = (float **)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + float **buffer = (float **)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_samples_float(f, channels, buffer, num_samples); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1float_1interleaved__JIJI(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jlong bufferAddress, jint num_floats) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - float *buffer = (float *)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + float *buffer = (float *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_samples_float_interleaved(f, channels, buffer, num_floats); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1short(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jlong bufferAddress, jint num_samples) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - short **buffer = (short **)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + short **buffer = (short **)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_samples_short(f, channels, buffer, num_samples); } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1short_1interleaved__JIJI(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jlong bufferAddress, jint num_shorts) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - short *buffer = (short *)(intptr_t)bufferAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + short *buffer = (short *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)stb_vorbis_get_samples_short_interleaved(f, channels, buffer, num_shorts); } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1pushdata__JI_3I_3IJ(JNIEnv *__env, jclass clazz, jlong datablockAddress, jint datablock_length_in_bytes, jintArray datablock_memory_consumed_in_bytesAddress, jintArray errorAddress, jlong alloc_bufferAddress) { - unsigned char const *datablock = (unsigned char const *)(intptr_t)datablockAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + unsigned char const *datablock = (unsigned char const *)(uintptr_t)datablockAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; jlong __result; jint *datablock_memory_consumed_in_bytes = (*__env)->GetIntArrayElements(__env, datablock_memory_consumed_in_bytesAddress, NULL); jint *error = (*__env)->GetIntArrayElements(__env, errorAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stb_vorbis_open_pushdata(datablock, datablock_length_in_bytes, (int *)datablock_memory_consumed_in_bytes, (int *)error, alloc_buffer); + __result = (jlong)(uintptr_t)stb_vorbis_open_pushdata(datablock, datablock_length_in_bytes, (int *)datablock_memory_consumed_in_bytes, (int *)error, alloc_buffer); (*__env)->ReleaseIntArrayElements(__env, errorAddress, error, 0); (*__env)->ReleaseIntArrayElements(__env, datablock_memory_consumed_in_bytesAddress, datablock_memory_consumed_in_bytes, 0); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1frame_1pushdata__JJI_3IJ_3I(JNIEnv *__env, jclass clazz, jlong fAddress, jlong datablockAddress, jint datablock_length_in_bytes, jintArray channelsAddress, jlong outputAddress, jintArray samplesAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - unsigned char const *datablock = (unsigned char const *)(intptr_t)datablockAddress; - float ***output = (float ***)(intptr_t)outputAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + unsigned char const *datablock = (unsigned char const *)(uintptr_t)datablockAddress; + float ***output = (float ***)(uintptr_t)outputAddress; jint __result; jint *channels = channelsAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, channelsAddress, NULL); jint *samples = (*__env)->GetIntArrayElements(__env, samplesAddress, NULL); @@ -216,8 +216,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1frame_ } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1filename__J_3I_3IJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray channelsAddress, jintArray sample_rateAddress, jlong outputAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - short **output = (short **)(intptr_t)outputAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + short **output = (short **)(uintptr_t)outputAddress; jint __result; jint *channels = (*__env)->GetIntArrayElements(__env, channelsAddress, NULL); jint *sample_rate = (*__env)->GetIntArrayElements(__env, sample_rateAddress, NULL); @@ -229,8 +229,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1filena } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1memory__JI_3I_3IJ(JNIEnv *__env, jclass clazz, jlong memAddress, jint len, jintArray channelsAddress, jintArray sample_rateAddress, jlong outputAddress) { - unsigned char const *mem = (unsigned char const *)(intptr_t)memAddress; - short **output = (short **)(intptr_t)outputAddress; + unsigned char const *mem = (unsigned char const *)(uintptr_t)memAddress; + short **output = (short **)(uintptr_t)outputAddress; jint __result; jint *channels = (*__env)->GetIntArrayElements(__env, channelsAddress, NULL); jint *sample_rate = (*__env)->GetIntArrayElements(__env, sample_rateAddress, NULL); @@ -242,30 +242,30 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1decode_1memory } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1memory__JI_3IJ(JNIEnv *__env, jclass clazz, jlong memAddress, jint len, jintArray errorAddress, jlong alloc_bufferAddress) { - unsigned char const *mem = (unsigned char const *)(intptr_t)memAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + unsigned char const *mem = (unsigned char const *)(uintptr_t)memAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; jlong __result; jint *error = (*__env)->GetIntArrayElements(__env, errorAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stb_vorbis_open_memory(mem, len, (int *)error, alloc_buffer); + __result = (jlong)(uintptr_t)stb_vorbis_open_memory(mem, len, (int *)error, alloc_buffer); (*__env)->ReleaseIntArrayElements(__env, errorAddress, error, 0); return __result; } JNIEXPORT jlong JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1open_1filename__J_3IJ(JNIEnv *__env, jclass clazz, jlong filenameAddress, jintArray errorAddress, jlong alloc_bufferAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(intptr_t)alloc_bufferAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + stb_vorbis_alloc const *alloc_buffer = (stb_vorbis_alloc const *)(uintptr_t)alloc_bufferAddress; jlong __result; jint *error = (*__env)->GetIntArrayElements(__env, errorAddress, NULL); UNUSED_PARAMS(__env, clazz) - __result = (jlong)(intptr_t)stb_vorbis_open_filename(filename, (int *)error, alloc_buffer); + __result = (jlong)(uintptr_t)stb_vorbis_open_filename(filename, (int *)error, alloc_buffer); (*__env)->ReleaseIntArrayElements(__env, errorAddress, error, 0); return __result; } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1float__J_3IJ(JNIEnv *__env, jclass clazz, jlong fAddress, jintArray channelsAddress, jlong outputAddress) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; - float ***output = (float ***)(intptr_t)outputAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; + float ***output = (float ***)(uintptr_t)outputAddress; jint __result; jint *channels = channelsAddress == NULL ? NULL : (*__env)->GetIntArrayElements(__env, channelsAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -275,7 +275,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1fl } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1short_1interleaved__JI_3SI(JNIEnv *__env, jclass clazz, jlong fAddress, jint num_c, jshortArray bufferAddress, jint num_shorts) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; jint __result; jshort *buffer = (*__env)->GetShortArrayElements(__env, bufferAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -285,7 +285,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1frame_1sh } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1float_1interleaved__JI_3FI(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jfloatArray bufferAddress, jint num_floats) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; jint __result; jfloat *buffer = (*__env)->GetFloatArrayElements(__env, bufferAddress, NULL); UNUSED_PARAMS(__env, clazz) @@ -295,7 +295,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1 } JNIEXPORT jint JNICALL Java_org_lwjgl_stb_STBVorbis_nstb_1vorbis_1get_1samples_1short_1interleaved__JI_3SI(JNIEnv *__env, jclass clazz, jlong fAddress, jint channels, jshortArray bufferAddress, jint num_shorts) { - stb_vorbis *f = (stb_vorbis *)(intptr_t)fAddress; + stb_vorbis *f = (stb_vorbis *)(uintptr_t)fAddress; jint __result; jshort *buffer = (*__env)->GetShortArrayElements(__env, bufferAddress, NULL); UNUSED_PARAMS(__env, clazz) diff --git a/modules/lwjgl/tinyexr/src/generated/c/org_lwjgl_util_tinyexr_TinyEXR.c b/modules/lwjgl/tinyexr/src/generated/c/org_lwjgl_util_tinyexr_TinyEXR.c index 6264d015eb..6f8fa11ad4 100644 --- a/modules/lwjgl/tinyexr/src/generated/c/org_lwjgl_util_tinyexr_TinyEXR.c +++ b/modules/lwjgl/tinyexr/src/generated/c/org_lwjgl_util_tinyexr_TinyEXR.c @@ -11,196 +11,196 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadEXRWithLayer(JNIEnv *__env, jclass clazz, jlong out_rgbaAddress, jlong widthAddress, jlong heightAddress, jlong filenameAddress, jlong layer_nameAddress, jlong errAddress) { - float **out_rgba = (float **)(intptr_t)out_rgbaAddress; - int *width = (int *)(intptr_t)widthAddress; - int *height = (int *)(intptr_t)heightAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const *layer_name = (char const *)(intptr_t)layer_nameAddress; - char const **err = (char const **)(intptr_t)errAddress; + float **out_rgba = (float **)(uintptr_t)out_rgbaAddress; + int *width = (int *)(uintptr_t)widthAddress; + int *height = (int *)(uintptr_t)heightAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const *layer_name = (char const *)(uintptr_t)layer_nameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadEXRWithLayer(out_rgba, width, height, filename, layer_name, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nEXRLayers(JNIEnv *__env, jclass clazz, jlong filenameAddress, jlong layer_namesAddress, jlong num_layersAddress, jlong errAddress) { - char const *filename = (char const *)(intptr_t)filenameAddress; - char const ***layer_names = (char const ***)(intptr_t)layer_namesAddress; - int *num_layers = (int *)(intptr_t)num_layersAddress; - char const **err = (char const **)(intptr_t)errAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const ***layer_names = (char const ***)(uintptr_t)layer_namesAddress; + int *num_layers = (int *)(uintptr_t)num_layersAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)EXRLayers(filename, layer_names, num_layers, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nEXRNumLevels(JNIEnv *__env, jclass clazz, jlong exr_imageAddress) { - EXRImage const *exr_image = (EXRImage const *)(intptr_t)exr_imageAddress; + EXRImage const *exr_image = (EXRImage const *)(uintptr_t)exr_imageAddress; UNUSED_PARAMS(__env, clazz) return (jint)EXRNumLevels(exr_image); } JNIEXPORT void JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nInitEXRHeader(JNIEnv *__env, jclass clazz, jlong exr_headerAddress) { - EXRHeader *exr_header = (EXRHeader *)(intptr_t)exr_headerAddress; + EXRHeader *exr_header = (EXRHeader *)(uintptr_t)exr_headerAddress; UNUSED_PARAMS(__env, clazz) InitEXRHeader(exr_header); } JNIEXPORT void JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nEXRSetNameAttr(JNIEnv *__env, jclass clazz, jlong exr_headerAddress, jlong nameAddress) { - EXRHeader *exr_header = (EXRHeader *)(intptr_t)exr_headerAddress; - char const *name = (char const *)(intptr_t)nameAddress; + EXRHeader *exr_header = (EXRHeader *)(uintptr_t)exr_headerAddress; + char const *name = (char const *)(uintptr_t)nameAddress; UNUSED_PARAMS(__env, clazz) EXRSetNameAttr(exr_header, name); } JNIEXPORT void JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nInitEXRImage(JNIEnv *__env, jclass clazz, jlong exr_imageAddress) { - EXRImage *exr_image = (EXRImage *)(intptr_t)exr_imageAddress; + EXRImage *exr_image = (EXRImage *)(uintptr_t)exr_imageAddress; UNUSED_PARAMS(__env, clazz) InitEXRImage(exr_image); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nFreeEXRHeader(JNIEnv *__env, jclass clazz, jlong exr_headerAddress) { - EXRHeader *exr_header = (EXRHeader *)(intptr_t)exr_headerAddress; + EXRHeader *exr_header = (EXRHeader *)(uintptr_t)exr_headerAddress; UNUSED_PARAMS(__env, clazz) return (jint)FreeEXRHeader(exr_header); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nFreeEXRImage(JNIEnv *__env, jclass clazz, jlong exr_imageAddress) { - EXRImage *exr_image = (EXRImage *)(intptr_t)exr_imageAddress; + EXRImage *exr_image = (EXRImage *)(uintptr_t)exr_imageAddress; UNUSED_PARAMS(__env, clazz) return (jint)FreeEXRImage(exr_image); } JNIEXPORT void JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nFreeEXRErrorMessage(JNIEnv *__env, jclass clazz, jlong msgAddress) { - char const *msg = (char const *)(intptr_t)msgAddress; + char const *msg = (char const *)(uintptr_t)msgAddress; UNUSED_PARAMS(__env, clazz) FreeEXRErrorMessage(msg); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRVersionFromFile(JNIEnv *__env, jclass clazz, jlong versionAddress, jlong filenameAddress) { - EXRVersion *version = (EXRVersion *)(intptr_t)versionAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; + EXRVersion *version = (EXRVersion *)(uintptr_t)versionAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRVersionFromFile(version, filename); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRVersionFromMemory(JNIEnv *__env, jclass clazz, jlong versionAddress, jlong memoryAddress, jlong size) { - EXRVersion *version = (EXRVersion *)(intptr_t)versionAddress; - unsigned char const *memory = (unsigned char const *)(intptr_t)memoryAddress; + EXRVersion *version = (EXRVersion *)(uintptr_t)versionAddress; + unsigned char const *memory = (unsigned char const *)(uintptr_t)memoryAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRVersionFromMemory(version, memory, (size_t)size); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRHeaderFromFile(JNIEnv *__env, jclass clazz, jlong headerAddress, jlong versionAddress, jlong filenameAddress, jlong errAddress) { - EXRHeader *header = (EXRHeader *)(intptr_t)headerAddress; - EXRVersion const *version = (EXRVersion const *)(intptr_t)versionAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRHeader *header = (EXRHeader *)(uintptr_t)headerAddress; + EXRVersion const *version = (EXRVersion const *)(uintptr_t)versionAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRHeaderFromFile(header, version, filename, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRHeaderFromMemory(JNIEnv *__env, jclass clazz, jlong headerAddress, jlong versionAddress, jlong memoryAddress, jlong size, jlong errAddress) { - EXRHeader *header = (EXRHeader *)(intptr_t)headerAddress; - EXRVersion const *version = (EXRVersion const *)(intptr_t)versionAddress; - unsigned char const *memory = (unsigned char const *)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRHeader *header = (EXRHeader *)(uintptr_t)headerAddress; + EXRVersion const *version = (EXRVersion const *)(uintptr_t)versionAddress; + unsigned char const *memory = (unsigned char const *)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRHeaderFromMemory(header, version, memory, (size_t)size, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRMultipartHeaderFromFile(JNIEnv *__env, jclass clazz, jlong headersAddress, jlong num_headersAddress, jlong versionAddress, jlong filenameAddress, jlong errAddress) { - EXRHeader ***headers = (EXRHeader ***)(intptr_t)headersAddress; - int *num_headers = (int *)(intptr_t)num_headersAddress; - EXRVersion const *version = (EXRVersion const *)(intptr_t)versionAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRHeader ***headers = (EXRHeader ***)(uintptr_t)headersAddress; + int *num_headers = (int *)(uintptr_t)num_headersAddress; + EXRVersion const *version = (EXRVersion const *)(uintptr_t)versionAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRMultipartHeaderFromFile(headers, num_headers, version, filename, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nParseEXRMultipartHeaderFromMemory(JNIEnv *__env, jclass clazz, jlong headersAddress, jlong num_headersAddress, jlong versionAddress, jlong memoryAddress, jlong size, jlong errAddress) { - EXRHeader ***headers = (EXRHeader ***)(intptr_t)headersAddress; - int *num_headers = (int *)(intptr_t)num_headersAddress; - EXRVersion const *version = (EXRVersion const *)(intptr_t)versionAddress; - unsigned char const *memory = (unsigned char const *)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRHeader ***headers = (EXRHeader ***)(uintptr_t)headersAddress; + int *num_headers = (int *)(uintptr_t)num_headersAddress; + EXRVersion const *version = (EXRVersion const *)(uintptr_t)versionAddress; + unsigned char const *memory = (unsigned char const *)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)ParseEXRMultipartHeaderFromMemory(headers, num_headers, version, memory, (size_t)size, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadEXRImageFromFile(JNIEnv *__env, jclass clazz, jlong imageAddress, jlong headerAddress, jlong filenameAddress, jlong errAddress) { - EXRImage *image = (EXRImage *)(intptr_t)imageAddress; - EXRHeader const *header = (EXRHeader const *)(intptr_t)headerAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage *image = (EXRImage *)(uintptr_t)imageAddress; + EXRHeader const *header = (EXRHeader const *)(uintptr_t)headerAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadEXRImageFromFile(image, header, filename, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadEXRImageFromMemory(JNIEnv *__env, jclass clazz, jlong imageAddress, jlong headerAddress, jlong memoryAddress, jlong size, jlong errAddress) { - EXRImage *image = (EXRImage *)(intptr_t)imageAddress; - EXRHeader const *header = (EXRHeader const *)(intptr_t)headerAddress; - unsigned char const *memory = (unsigned char const *)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage *image = (EXRImage *)(uintptr_t)imageAddress; + EXRHeader const *header = (EXRHeader const *)(uintptr_t)headerAddress; + unsigned char const *memory = (unsigned char const *)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadEXRImageFromMemory(image, header, memory, (size_t)size, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadEXRMultipartImageFromFile(JNIEnv *__env, jclass clazz, jlong imagesAddress, jlong headersAddress, jint num_parts, jlong filenameAddress, jlong errAddress) { - EXRImage *images = (EXRImage *)(intptr_t)imagesAddress; - EXRHeader const **headers = (EXRHeader const **)(intptr_t)headersAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage *images = (EXRImage *)(uintptr_t)imagesAddress; + EXRHeader const **headers = (EXRHeader const **)(uintptr_t)headersAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadEXRMultipartImageFromFile(images, headers, (unsigned int)num_parts, filename, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadEXRMultipartImageFromMemory(JNIEnv *__env, jclass clazz, jlong imagesAddress, jlong headersAddress, jint num_parts, jlong memoryAddress, jlong size, jlong errAddress) { - EXRImage *images = (EXRImage *)(intptr_t)imagesAddress; - EXRHeader const **headers = (EXRHeader const **)(intptr_t)headersAddress; - unsigned char const *memory = (unsigned char const *)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage *images = (EXRImage *)(uintptr_t)imagesAddress; + EXRHeader const **headers = (EXRHeader const **)(uintptr_t)headersAddress; + unsigned char const *memory = (unsigned char const *)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadEXRMultipartImageFromMemory(images, headers, (unsigned int)num_parts, memory, (size_t)size, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nSaveEXRImageToFile(JNIEnv *__env, jclass clazz, jlong imageAddress, jlong exr_headerAddress, jlong filenameAddress, jlong errAddress) { - EXRImage const *image = (EXRImage const *)(intptr_t)imageAddress; - EXRHeader const *exr_header = (EXRHeader const *)(intptr_t)exr_headerAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage const *image = (EXRImage const *)(uintptr_t)imageAddress; + EXRHeader const *exr_header = (EXRHeader const *)(uintptr_t)exr_headerAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)SaveEXRImageToFile(image, exr_header, filename, err); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nSaveEXRImageToMemory(JNIEnv *__env, jclass clazz, jlong imageAddress, jlong exr_headerAddress, jlong memoryAddress, jlong errAddress) { - EXRImage const *image = (EXRImage const *)(intptr_t)imageAddress; - EXRHeader const *exr_header = (EXRHeader const *)(intptr_t)exr_headerAddress; - unsigned char **memory = (unsigned char **)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage const *image = (EXRImage const *)(uintptr_t)imageAddress; + EXRHeader const *exr_header = (EXRHeader const *)(uintptr_t)exr_headerAddress; + unsigned char **memory = (unsigned char **)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jlong)SaveEXRImageToMemory(image, exr_header, memory, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nSaveEXRMultipartImageToFile(JNIEnv *__env, jclass clazz, jlong imagesAddress, jlong exr_headersAddress, jint num_parts, jlong filenameAddress, jlong errAddress) { - EXRImage const *images = (EXRImage const *)(intptr_t)imagesAddress; - EXRHeader const **exr_headers = (EXRHeader const **)(intptr_t)exr_headersAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage const *images = (EXRImage const *)(uintptr_t)imagesAddress; + EXRHeader const **exr_headers = (EXRHeader const **)(uintptr_t)exr_headersAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)SaveEXRMultipartImageToFile(images, exr_headers, (unsigned int)num_parts, filename, err); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nSaveEXRMultipartImageToMemory(JNIEnv *__env, jclass clazz, jlong imagesAddress, jlong exr_headersAddress, jint num_parts, jlong memoryAddress, jlong errAddress) { - EXRImage const *images = (EXRImage const *)(intptr_t)imagesAddress; - EXRHeader const **exr_headers = (EXRHeader const **)(intptr_t)exr_headersAddress; - unsigned char **memory = (unsigned char **)(intptr_t)memoryAddress; - char const **err = (char const **)(intptr_t)errAddress; + EXRImage const *images = (EXRImage const *)(uintptr_t)imagesAddress; + EXRHeader const **exr_headers = (EXRHeader const **)(uintptr_t)exr_headersAddress; + unsigned char **memory = (unsigned char **)(uintptr_t)memoryAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jlong)SaveEXRMultipartImageToMemory(images, exr_headers, (unsigned int)num_parts, memory, err); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyexr_TinyEXR_nLoadDeepEXR(JNIEnv *__env, jclass clazz, jlong out_imageAddress, jlong filenameAddress, jlong errAddress) { - DeepImage *out_image = (DeepImage *)(intptr_t)out_imageAddress; - char const *filename = (char const *)(intptr_t)filenameAddress; - char const **err = (char const **)(intptr_t)errAddress; + DeepImage *out_image = (DeepImage *)(uintptr_t)out_imageAddress; + char const *filename = (char const *)(uintptr_t)filenameAddress; + char const **err = (char const **)(uintptr_t)errAddress; UNUSED_PARAMS(__env, clazz) return (jint)LoadDeepEXR(out_image, filename, err); } diff --git a/modules/lwjgl/tinyfd/src/generated/c/org_lwjgl_util_tinyfd_TinyFileDialogs.c b/modules/lwjgl/tinyfd/src/generated/c/org_lwjgl_util_tinyfd_TinyFileDialogs.c index eac9aedcc8..b0d5ff456b 100644 --- a/modules/lwjgl/tinyfd/src/generated/c/org_lwjgl_util_tinyfd_TinyFileDialogs.c +++ b/modules/lwjgl/tinyfd/src/generated/c/org_lwjgl_util_tinyfd_TinyFileDialogs.c @@ -9,19 +9,19 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1getGlobalChar(JNIEnv *__env, jclass clazz, jlong aCharVariableNameAddress) { - char const *aCharVariableName = (char const *)(intptr_t)aCharVariableNameAddress; + char const *aCharVariableName = (char const *)(uintptr_t)aCharVariableNameAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_getGlobalChar(aCharVariableName); + return (jlong)(uintptr_t)tinyfd_getGlobalChar(aCharVariableName); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1getGlobalInt(JNIEnv *__env, jclass clazz, jlong aIntVariableNameAddress) { - char const *aIntVariableName = (char const *)(intptr_t)aIntVariableNameAddress; + char const *aIntVariableName = (char const *)(uintptr_t)aIntVariableNameAddress; UNUSED_PARAMS(__env, clazz) return (jint)tinyfd_getGlobalInt(aIntVariableName); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1setGlobalInt(JNIEnv *__env, jclass clazz, jlong aIntVariableNameAddress, jint aValue) { - char const *aIntVariableName = (char const *)(intptr_t)aIntVariableNameAddress; + char const *aIntVariableName = (char const *)(uintptr_t)aIntVariableNameAddress; UNUSED_PARAMS(__env, clazz) return (jint)tinyfd_setGlobalInt(aIntVariableName, aValue); } @@ -32,62 +32,62 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_tinyfd_1beep(J } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1notifyPopup(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aMessageAddress, jlong aIconTypeAddress) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aMessage = (char const *)(intptr_t)aMessageAddress; - char const *aIconType = (char const *)(intptr_t)aIconTypeAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aMessage = (char const *)(uintptr_t)aMessageAddress; + char const *aIconType = (char const *)(uintptr_t)aIconTypeAddress; UNUSED_PARAMS(__env, clazz) return (jint)tinyfd_notifyPopup(aTitle, aMessage, aIconType); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1messageBox(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aMessageAddress, jlong aDialogTypeAddress, jlong aIconTypeAddress, jint aDefaultButton) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aMessage = (char const *)(intptr_t)aMessageAddress; - char const *aDialogType = (char const *)(intptr_t)aDialogTypeAddress; - char const *aIconType = (char const *)(intptr_t)aIconTypeAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aMessage = (char const *)(uintptr_t)aMessageAddress; + char const *aDialogType = (char const *)(uintptr_t)aDialogTypeAddress; + char const *aIconType = (char const *)(uintptr_t)aIconTypeAddress; UNUSED_PARAMS(__env, clazz) return (jint)tinyfd_messageBox(aTitle, aMessage, aDialogType, aIconType, aDefaultButton); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1inputBox(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aMessageAddress, jlong aDefaultInputAddress) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aMessage = (char const *)(intptr_t)aMessageAddress; - char const *aDefaultInput = (char const *)(intptr_t)aDefaultInputAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aMessage = (char const *)(uintptr_t)aMessageAddress; + char const *aDefaultInput = (char const *)(uintptr_t)aDefaultInputAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_inputBox(aTitle, aMessage, aDefaultInput); + return (jlong)(uintptr_t)tinyfd_inputBox(aTitle, aMessage, aDefaultInput); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1saveFileDialog(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aDefaultPathAndFileAddress, jint aNumOfFilterPatterns, jlong aFilterPatternsAddress, jlong aSingleFilterDescriptionAddress) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aDefaultPathAndFile = (char const *)(intptr_t)aDefaultPathAndFileAddress; - char const * const *aFilterPatterns = (char const * const *)(intptr_t)aFilterPatternsAddress; - char const *aSingleFilterDescription = (char const *)(intptr_t)aSingleFilterDescriptionAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aDefaultPathAndFile = (char const *)(uintptr_t)aDefaultPathAndFileAddress; + char const * const *aFilterPatterns = (char const * const *)(uintptr_t)aFilterPatternsAddress; + char const *aSingleFilterDescription = (char const *)(uintptr_t)aSingleFilterDescriptionAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_saveFileDialog(aTitle, aDefaultPathAndFile, aNumOfFilterPatterns, aFilterPatterns, aSingleFilterDescription); + return (jlong)(uintptr_t)tinyfd_saveFileDialog(aTitle, aDefaultPathAndFile, aNumOfFilterPatterns, aFilterPatterns, aSingleFilterDescription); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1openFileDialog(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aDefaultPathAndFileAddress, jint aNumOfFilterPatterns, jlong aFilterPatternsAddress, jlong aSingleFilterDescriptionAddress, jint aAllowMultipleSelects) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aDefaultPathAndFile = (char const *)(intptr_t)aDefaultPathAndFileAddress; - char const * const *aFilterPatterns = (char const * const *)(intptr_t)aFilterPatternsAddress; - char const *aSingleFilterDescription = (char const *)(intptr_t)aSingleFilterDescriptionAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aDefaultPathAndFile = (char const *)(uintptr_t)aDefaultPathAndFileAddress; + char const * const *aFilterPatterns = (char const * const *)(uintptr_t)aFilterPatternsAddress; + char const *aSingleFilterDescription = (char const *)(uintptr_t)aSingleFilterDescriptionAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_openFileDialog(aTitle, aDefaultPathAndFile, aNumOfFilterPatterns, aFilterPatterns, aSingleFilterDescription, aAllowMultipleSelects); + return (jlong)(uintptr_t)tinyfd_openFileDialog(aTitle, aDefaultPathAndFile, aNumOfFilterPatterns, aFilterPatterns, aSingleFilterDescription, aAllowMultipleSelects); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1selectFolderDialog(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aDefaultPathAddress) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aDefaultPath = (char const *)(intptr_t)aDefaultPathAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aDefaultPath = (char const *)(uintptr_t)aDefaultPathAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_selectFolderDialog(aTitle, aDefaultPath); + return (jlong)(uintptr_t)tinyfd_selectFolderDialog(aTitle, aDefaultPath); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_tinyfd_TinyFileDialogs_ntinyfd_1colorChooser(JNIEnv *__env, jclass clazz, jlong aTitleAddress, jlong aDefaultHexRGBAddress, jlong aDefaultRGBAddress, jlong aoResultRGBAddress) { - char const *aTitle = (char const *)(intptr_t)aTitleAddress; - char const *aDefaultHexRGB = (char const *)(intptr_t)aDefaultHexRGBAddress; - unsigned char *aDefaultRGB = (unsigned char *)(intptr_t)aDefaultRGBAddress; - unsigned char *aoResultRGB = (unsigned char *)(intptr_t)aoResultRGBAddress; + char const *aTitle = (char const *)(uintptr_t)aTitleAddress; + char const *aDefaultHexRGB = (char const *)(uintptr_t)aDefaultHexRGBAddress; + unsigned char *aDefaultRGB = (unsigned char *)(uintptr_t)aDefaultRGBAddress; + unsigned char *aoResultRGB = (unsigned char *)(uintptr_t)aoResultRGBAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)tinyfd_colorChooser(aTitle, aDefaultHexRGB, aDefaultRGB, aoResultRGB); + return (jlong)(uintptr_t)tinyfd_colorChooser(aTitle, aDefaultHexRGB, aDefaultRGB, aoResultRGB); } EXTERN_C_EXIT diff --git a/modules/lwjgl/tootle/src/generated/c/org_lwjgl_util_tootle_Tootle.cpp b/modules/lwjgl/tootle/src/generated/c/org_lwjgl_util_tootle_Tootle.cpp index 27bb5a6d1a..e0b2174497 100644 --- a/modules/lwjgl/tootle/src/generated/c/org_lwjgl_util_tootle_Tootle.cpp +++ b/modules/lwjgl/tootle/src/generated/c/org_lwjgl_util_tootle_Tootle.cpp @@ -14,39 +14,39 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_TootleInit(JNIEnv *__en } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleOptimizeVCache(JNIEnv *__env, jclass clazz, jlong pnIBAddress, jint nFaces, jint nVertices, jint nCacheSize, jlong pnIBOutAddress, jlong pnFaceRemapOutAddress, jint eVCacheOptimizer) { - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnFaceRemapOut = (unsigned int *)(intptr_t)pnFaceRemapOutAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnFaceRemapOut = (unsigned int *)(uintptr_t)pnFaceRemapOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleOptimizeVCache(pnIB, (unsigned int)nFaces, (unsigned int)nVertices, (unsigned int)nCacheSize, pnIBOut, pnFaceRemapOut, (TootleVCacheOptimizer)eVCacheOptimizer); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleClusterMesh(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jint nTargetClusters, jlong pnClusteredIBOutAddress, jlong pnFaceClustersOutAddress, jlong pnFaceRemapOutAddress) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - unsigned int *pnClusteredIBOut = (unsigned int *)(intptr_t)pnClusteredIBOutAddress; - unsigned int *pnFaceClustersOut = (unsigned int *)(intptr_t)pnFaceClustersOutAddress; - unsigned int *pnFaceRemapOut = (unsigned int *)(intptr_t)pnFaceRemapOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + unsigned int *pnClusteredIBOut = (unsigned int *)(uintptr_t)pnClusteredIBOutAddress; + unsigned int *pnFaceClustersOut = (unsigned int *)(uintptr_t)pnFaceClustersOutAddress; + unsigned int *pnFaceRemapOut = (unsigned int *)(uintptr_t)pnFaceRemapOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleClusterMesh(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, (unsigned int)nTargetClusters, pnClusteredIBOut, pnFaceClustersOut, pnFaceRemapOut); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleFastOptimizeVCacheAndClusterMesh(JNIEnv *__env, jclass clazz, jlong pnIBAddress, jint nFaces, jint nVertices, jint nCacheSize, jlong pnIBOutAddress, jlong pnClustersOutAddress, jlong pnNumClustersOutAddress, jfloat fAlpha) { - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnClustersOut = (unsigned int *)(intptr_t)pnClustersOutAddress; - unsigned int *pnNumClustersOut = (unsigned int *)(intptr_t)pnNumClustersOutAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnClustersOut = (unsigned int *)(uintptr_t)pnClustersOutAddress; + unsigned int *pnNumClustersOut = (unsigned int *)(uintptr_t)pnNumClustersOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleFastOptimizeVCacheAndClusterMesh(pnIB, (unsigned int)nFaces, (unsigned int)nVertices, (unsigned int)nCacheSize, pnIBOut, pnClustersOut, pnNumClustersOut, fAlpha); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleOptimizeOverdraw(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jlong pfViewpointAddress, jint nViewpoints, jint eFrontWinding, jlong pnFaceClustersAddress, jlong pnIBOutAddress, jlong pnClusterRemapOutAddress, jint eOverdrawOptimizer) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - float const *pfViewpoint = (float const *)(intptr_t)pfViewpointAddress; - unsigned int const *pnFaceClusters = (unsigned int const *)(intptr_t)pnFaceClustersAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnClusterRemapOut = (unsigned int *)(intptr_t)pnClusterRemapOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + float const *pfViewpoint = (float const *)(uintptr_t)pfViewpointAddress; + unsigned int const *pnFaceClusters = (unsigned int const *)(uintptr_t)pnFaceClustersAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnClusterRemapOut = (unsigned int *)(uintptr_t)pnClusterRemapOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleOptimizeOverdraw(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, pfViewpoint, (unsigned int)nViewpoints, (TootleFaceWinding)eFrontWinding, pnFaceClusters, pnIBOut, pnClusterRemapOut, (TootleOverdrawOptimizer)eOverdrawOptimizer); } @@ -57,56 +57,56 @@ JNIEXPORT void JNICALL Java_org_lwjgl_util_tootle_Tootle_TootleCleanup(JNIEnv *_ } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleOptimize(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jint nCacheSize, jlong pViewpointsAddress, jint nViewpoints, jint eFrontWinding, jlong pnIBOutAddress, jlong pnNumClustersOutAddress, jint eVCacheOptimizer, jint eOverdrawOptimizer) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - float const *pViewpoints = (float const *)(intptr_t)pViewpointsAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnNumClustersOut = (unsigned int *)(intptr_t)pnNumClustersOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + float const *pViewpoints = (float const *)(uintptr_t)pViewpointsAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnNumClustersOut = (unsigned int *)(uintptr_t)pnNumClustersOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleOptimize(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, (unsigned int)nCacheSize, pViewpoints, (unsigned int)nViewpoints, (TootleFaceWinding)eFrontWinding, pnIBOut, pnNumClustersOut, (TootleVCacheOptimizer)eVCacheOptimizer, (TootleOverdrawOptimizer)eOverdrawOptimizer); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleFastOptimize(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jint nCacheSize, jint eFrontWinding, jlong pnIBOutAddress, jlong pnNumClustersOutAddress, jfloat fAlpha) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnNumClustersOut = (unsigned int *)(intptr_t)pnNumClustersOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnNumClustersOut = (unsigned int *)(uintptr_t)pnNumClustersOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleFastOptimize(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, (unsigned int)nCacheSize, (TootleFaceWinding)eFrontWinding, pnIBOut, pnNumClustersOut, fAlpha); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleVCacheClusters(JNIEnv *__env, jclass clazz, jlong pnIBAddress, jint nFaces, jint nVertices, jint nCacheSize, jlong pnFaceClustersAddress, jlong pnIBOutAddress, jlong pnFaceRemapOutAddress, jint eVCacheOptimizer) { - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - unsigned int const *pnFaceClusters = (unsigned int const *)(intptr_t)pnFaceClustersAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnFaceRemapOut = (unsigned int *)(intptr_t)pnFaceRemapOutAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + unsigned int const *pnFaceClusters = (unsigned int const *)(uintptr_t)pnFaceClustersAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnFaceRemapOut = (unsigned int *)(uintptr_t)pnFaceRemapOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleVCacheClusters(pnIB, (unsigned int)nFaces, (unsigned int)nVertices, (unsigned int)nCacheSize, pnFaceClusters, pnIBOut, pnFaceRemapOut, (TootleVCacheOptimizer)eVCacheOptimizer); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleMeasureCacheEfficiency(JNIEnv *__env, jclass clazz, jlong pnIBAddress, jint nFaces, jint nCacheSize, jlong pfEfficiencyOutAddress) { - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - float *pfEfficiencyOut = (float *)(intptr_t)pfEfficiencyOutAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + float *pfEfficiencyOut = (float *)(uintptr_t)pfEfficiencyOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleMeasureCacheEfficiency(pnIB, (unsigned int)nFaces, (unsigned int)nCacheSize, pfEfficiencyOut); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleMeasureOverdraw(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jlong pfViewpointAddress, jint nViewpoints, jint eFrontWinding, jlong pfAvgODOutAddress, jlong pfMaxODOutAddress, jint eOverdrawOptimizer) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - float const *pfViewpoint = (float const *)(intptr_t)pfViewpointAddress; - float *pfAvgODOut = (float *)(intptr_t)pfAvgODOutAddress; - float *pfMaxODOut = (float *)(intptr_t)pfMaxODOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + float const *pfViewpoint = (float const *)(uintptr_t)pfViewpointAddress; + float *pfAvgODOut = (float *)(uintptr_t)pfAvgODOutAddress; + float *pfMaxODOut = (float *)(uintptr_t)pfMaxODOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleMeasureOverdraw(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, pfViewpoint, (unsigned int)nViewpoints, (TootleFaceWinding)eFrontWinding, pfAvgODOut, pfMaxODOut, (TootleOverdrawOptimizer)eOverdrawOptimizer); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_tootle_Tootle_nTootleOptimizeVertexMemory(JNIEnv *__env, jclass clazz, jlong pVBAddress, jlong pnIBAddress, jint nVertices, jint nFaces, jint nVBStride, jlong pVBOutAddress, jlong pnIBOutAddress, jlong pnVertexRemapOutAddress) { - void const *pVB = (void const *)(intptr_t)pVBAddress; - unsigned int const *pnIB = (unsigned int const *)(intptr_t)pnIBAddress; - void *pVBOut = (void *)(intptr_t)pVBOutAddress; - unsigned int *pnIBOut = (unsigned int *)(intptr_t)pnIBOutAddress; - unsigned int *pnVertexRemapOut = (unsigned int *)(intptr_t)pnVertexRemapOutAddress; + void const *pVB = (void const *)(uintptr_t)pVBAddress; + unsigned int const *pnIB = (unsigned int const *)(uintptr_t)pnIBAddress; + void *pVBOut = (void *)(uintptr_t)pVBOutAddress; + unsigned int *pnIBOut = (unsigned int *)(uintptr_t)pnIBOutAddress; + unsigned int *pnVertexRemapOut = (unsigned int *)(uintptr_t)pnVertexRemapOutAddress; UNUSED_PARAMS(__env, clazz) return (jint)TootleOptimizeVertexMemory(pVB, pnIB, (unsigned int)nVertices, (unsigned int)nFaces, (unsigned int)nVBStride, pVBOut, pnIBOut, pnVertexRemapOut); } diff --git a/modules/lwjgl/vma/src/generated/c/org_lwjgl_util_vma_Vma.cpp b/modules/lwjgl/vma/src/generated/c/org_lwjgl_util_vma_Vma.cpp index ab4d8f2351..ec55c8041c 100644 --- a/modules/lwjgl/vma/src/generated/c/org_lwjgl_util_vma_Vma.cpp +++ b/modules/lwjgl/vma/src/generated/c/org_lwjgl_util_vma_Vma.cpp @@ -26,483 +26,483 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateAllocator(JNIEnv *__env, jclass clazz, jlong pCreateInfoAddress, jlong pAllocatorAddress) { - VmaAllocatorCreateInfo const *pCreateInfo = (VmaAllocatorCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaAllocator *pAllocator = (VmaAllocator *)(intptr_t)pAllocatorAddress; + VmaAllocatorCreateInfo const *pCreateInfo = (VmaAllocatorCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaAllocator *pAllocator = (VmaAllocator *)(uintptr_t)pAllocatorAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreateAllocator(pCreateInfo, pAllocator); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDestroyAllocator(JNIEnv *__env, jclass clazz, jlong allocatorAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) vmaDestroyAllocator(allocator); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetAllocatorInfo(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pAllocatorInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocatorInfo *pAllocatorInfo = (VmaAllocatorInfo *)(intptr_t)pAllocatorInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocatorInfo *pAllocatorInfo = (VmaAllocatorInfo *)(uintptr_t)pAllocatorInfoAddress; UNUSED_PARAMS(__env, clazz) vmaGetAllocatorInfo(allocator, pAllocatorInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetPhysicalDeviceProperties(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong ppPhysicalDevicePropertiesAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkPhysicalDeviceProperties const **ppPhysicalDeviceProperties = (VkPhysicalDeviceProperties const **)(intptr_t)ppPhysicalDevicePropertiesAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkPhysicalDeviceProperties const **ppPhysicalDeviceProperties = (VkPhysicalDeviceProperties const **)(uintptr_t)ppPhysicalDevicePropertiesAddress; UNUSED_PARAMS(__env, clazz) vmaGetPhysicalDeviceProperties(allocator, ppPhysicalDeviceProperties); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetMemoryProperties(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong ppPhysicalDeviceMemoryPropertiesAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkPhysicalDeviceMemoryProperties const **ppPhysicalDeviceMemoryProperties = (VkPhysicalDeviceMemoryProperties const **)(intptr_t)ppPhysicalDeviceMemoryPropertiesAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkPhysicalDeviceMemoryProperties const **ppPhysicalDeviceMemoryProperties = (VkPhysicalDeviceMemoryProperties const **)(uintptr_t)ppPhysicalDeviceMemoryPropertiesAddress; UNUSED_PARAMS(__env, clazz) vmaGetMemoryProperties(allocator, ppPhysicalDeviceMemoryProperties); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetMemoryTypeProperties(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint memoryTypeIndex, jlong pFlagsAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkMemoryPropertyFlags *pFlags = (VkMemoryPropertyFlags *)(intptr_t)pFlagsAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkMemoryPropertyFlags *pFlags = (VkMemoryPropertyFlags *)(uintptr_t)pFlagsAddress; UNUSED_PARAMS(__env, clazz) vmaGetMemoryTypeProperties(allocator, (uint32_t)memoryTypeIndex, pFlags); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaSetCurrentFrameIndex(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint frameIndex) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) vmaSetCurrentFrameIndex(allocator, (uint32_t)frameIndex); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCalculateStats(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pStatsAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaStats *pStats = (VmaStats *)(intptr_t)pStatsAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaStats *pStats = (VmaStats *)(uintptr_t)pStatsAddress; UNUSED_PARAMS(__env, clazz) vmaCalculateStats(allocator, pStats); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetBudget(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pBudgetAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaBudget *pBudget = (VmaBudget *)(intptr_t)pBudgetAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaBudget *pBudget = (VmaBudget *)(uintptr_t)pBudgetAddress; UNUSED_PARAMS(__env, clazz) vmaGetBudget(allocator, pBudget); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBuildStatsString(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong ppStatsStringAddress, jint detailedMap) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - char **ppStatsString = (char **)(intptr_t)ppStatsStringAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + char **ppStatsString = (char **)(uintptr_t)ppStatsStringAddress; UNUSED_PARAMS(__env, clazz) vmaBuildStatsString(allocator, ppStatsString, (VkBool32)detailedMap); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFreeStatsString(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pStatsStringAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - char *pStatsString = (char *)(intptr_t)pStatsStringAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + char *pStatsString = (char *)(uintptr_t)pStatsStringAddress; UNUSED_PARAMS(__env, clazz) vmaFreeStatsString(allocator, pStatsString); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFindMemoryTypeIndex(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint memoryTypeBits, jlong pAllocationCreateInfoAddress, jlong pMemoryTypeIndexAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - uint32_t *pMemoryTypeIndex = (uint32_t *)(intptr_t)pMemoryTypeIndexAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + uint32_t *pMemoryTypeIndex = (uint32_t *)(uintptr_t)pMemoryTypeIndexAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaFindMemoryTypeIndex(allocator, (uint32_t)memoryTypeBits, pAllocationCreateInfo, pMemoryTypeIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFindMemoryTypeIndexForBufferInfo(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pBufferCreateInfoAddress, jlong pAllocationCreateInfoAddress, jlong pMemoryTypeIndexAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(intptr_t)pBufferCreateInfoAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - uint32_t *pMemoryTypeIndex = (uint32_t *)(intptr_t)pMemoryTypeIndexAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(uintptr_t)pBufferCreateInfoAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + uint32_t *pMemoryTypeIndex = (uint32_t *)(uintptr_t)pMemoryTypeIndexAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaFindMemoryTypeIndexForBufferInfo(allocator, pBufferCreateInfo, pAllocationCreateInfo, pMemoryTypeIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFindMemoryTypeIndexForImageInfo(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pImageCreateInfoAddress, jlong pAllocationCreateInfoAddress, jlong pMemoryTypeIndexAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkImageCreateInfo const *pImageCreateInfo = (VkImageCreateInfo const *)(intptr_t)pImageCreateInfoAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - uint32_t *pMemoryTypeIndex = (uint32_t *)(intptr_t)pMemoryTypeIndexAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkImageCreateInfo const *pImageCreateInfo = (VkImageCreateInfo const *)(uintptr_t)pImageCreateInfoAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + uint32_t *pMemoryTypeIndex = (uint32_t *)(uintptr_t)pMemoryTypeIndexAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaFindMemoryTypeIndexForImageInfo(allocator, pImageCreateInfo, pAllocationCreateInfo, pMemoryTypeIndex); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreatePool(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pCreateInfoAddress, jlong pPoolAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPoolCreateInfo const *pCreateInfo = (VmaPoolCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaPool *pPool = (VmaPool *)(intptr_t)pPoolAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPoolCreateInfo const *pCreateInfo = (VmaPoolCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaPool *pPool = (VmaPool *)(uintptr_t)pPoolAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreatePool(allocator, pCreateInfo, pPool); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDestroyPool(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; UNUSED_PARAMS(__env, clazz) vmaDestroyPool(allocator, pool); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetPoolStats(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress, jlong pPoolStatsAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; - VmaPoolStats *pPoolStats = (VmaPoolStats *)(intptr_t)pPoolStatsAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; + VmaPoolStats *pPoolStats = (VmaPoolStats *)(uintptr_t)pPoolStatsAddress; UNUSED_PARAMS(__env, clazz) vmaGetPoolStats(allocator, pool, pPoolStats); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaMakePoolAllocationsLost(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress, jlong pLostAllocationCountAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; - size_t *pLostAllocationCount = (size_t *)(intptr_t)pLostAllocationCountAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; + size_t *pLostAllocationCount = (size_t *)(uintptr_t)pLostAllocationCountAddress; UNUSED_PARAMS(__env, clazz) vmaMakePoolAllocationsLost(allocator, pool, pLostAllocationCount); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCheckPoolCorruption(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCheckPoolCorruption(allocator, pool); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetPoolName(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress, jlong ppNameAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; - char const **ppName = (char const **)(intptr_t)ppNameAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; + char const **ppName = (char const **)(uintptr_t)ppNameAddress; UNUSED_PARAMS(__env, clazz) vmaGetPoolName(allocator, pool, ppName); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaSetPoolName(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong poolAddress, jlong pNameAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaPool pool = (VmaPool)(intptr_t)poolAddress; - char const *pName = (char const *)(intptr_t)pNameAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaPool pool = (VmaPool)(uintptr_t)poolAddress; + char const *pName = (char const *)(uintptr_t)pNameAddress; UNUSED_PARAMS(__env, clazz) vmaSetPoolName(allocator, pool, pName); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaAllocateMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pVkMemoryRequirementsAddress, jlong pCreateInfoAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkMemoryRequirements const *pVkMemoryRequirements = (VkMemoryRequirements const *)(intptr_t)pVkMemoryRequirementsAddress; - VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkMemoryRequirements const *pVkMemoryRequirements = (VkMemoryRequirements const *)(uintptr_t)pVkMemoryRequirementsAddress; + VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaAllocateMemory(allocator, pVkMemoryRequirements, pCreateInfo, pAllocation, pAllocationInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaAllocateMemoryPages(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pVkMemoryRequirementsAddress, jlong pCreateInfoAddress, jlong allocationCount, jlong pAllocationsAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkMemoryRequirements const *pVkMemoryRequirements = (VkMemoryRequirements const *)(intptr_t)pVkMemoryRequirementsAddress; - VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaAllocation *pAllocations = (VmaAllocation *)(intptr_t)pAllocationsAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkMemoryRequirements const *pVkMemoryRequirements = (VkMemoryRequirements const *)(uintptr_t)pVkMemoryRequirementsAddress; + VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaAllocation *pAllocations = (VmaAllocation *)(uintptr_t)pAllocationsAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaAllocateMemoryPages(allocator, pVkMemoryRequirements, pCreateInfo, (size_t)allocationCount, pAllocations, pAllocationInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaAllocateMemoryForBuffer(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong buffer, jlong pCreateInfoAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaAllocateMemoryForBuffer(allocator, (VkBuffer)buffer, pCreateInfo, pAllocation, pAllocationInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaAllocateMemoryForImage(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong image, jlong pCreateInfoAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocationCreateInfo const *pCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaAllocateMemoryForImage(allocator, (VkImage)image, pCreateInfo, pAllocation, pAllocationInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFreeMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation const allocation = (VmaAllocation const)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation const allocation = (VmaAllocation const)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaFreeMemory(allocator, allocation); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFreeMemoryPages(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationCount, jlong pAllocationsAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation const *pAllocations = (VmaAllocation const *)(intptr_t)pAllocationsAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation const *pAllocations = (VmaAllocation const *)(uintptr_t)pAllocationsAddress; UNUSED_PARAMS(__env, clazz) vmaFreeMemoryPages(allocator, (size_t)allocationCount, pAllocations); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetAllocationInfo(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) vmaGetAllocationInfo(allocator, allocation, pAllocationInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaTouchAllocation(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaTouchAllocation(allocator, allocation); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaSetAllocationUserData(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong pUserDataAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; - void *pUserData = (void *)(intptr_t)pUserDataAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; + void *pUserData = (void *)(uintptr_t)pUserDataAddress; UNUSED_PARAMS(__env, clazz) vmaSetAllocationUserData(allocator, allocation, pUserData); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateLostAllocation(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pAllocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; UNUSED_PARAMS(__env, clazz) vmaCreateLostAllocation(allocator, pAllocation); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaMapMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong ppDataAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; - void **ppData = (void **)(intptr_t)ppDataAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; + void **ppData = (void **)(uintptr_t)ppDataAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaMapMemory(allocator, allocation, ppData); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaUnmapMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaUnmapMemory(allocator, allocation); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFlushAllocation(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong offset, jlong size) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaFlushAllocation(allocator, allocation, (VkDeviceSize)offset, (VkDeviceSize)size); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaInvalidateAllocation(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong offset, jlong size) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaInvalidateAllocation(allocator, allocation, (VkDeviceSize)offset, (VkDeviceSize)size); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFlushAllocations(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint allocationCount, jlong allocationsAddress, jlong offsetsAddress, jlong sizesAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation const *allocations = (VmaAllocation const *)(intptr_t)allocationsAddress; - VkDeviceSize const *offsets = (VkDeviceSize const *)(intptr_t)offsetsAddress; - VkDeviceSize const *sizes = (VkDeviceSize const *)(intptr_t)sizesAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation const *allocations = (VmaAllocation const *)(uintptr_t)allocationsAddress; + VkDeviceSize const *offsets = (VkDeviceSize const *)(uintptr_t)offsetsAddress; + VkDeviceSize const *sizes = (VkDeviceSize const *)(uintptr_t)sizesAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaFlushAllocations(allocator, (uint32_t)allocationCount, allocations, offsets, sizes); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaInvalidateAllocations(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint allocationCount, jlong allocationsAddress, jlong offsetsAddress, jlong sizesAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation const *allocations = (VmaAllocation const *)(intptr_t)allocationsAddress; - VkDeviceSize const *offsets = (VkDeviceSize const *)(intptr_t)offsetsAddress; - VkDeviceSize const *sizes = (VkDeviceSize const *)(intptr_t)sizesAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation const *allocations = (VmaAllocation const *)(uintptr_t)allocationsAddress; + VkDeviceSize const *offsets = (VkDeviceSize const *)(uintptr_t)offsetsAddress; + VkDeviceSize const *sizes = (VkDeviceSize const *)(uintptr_t)sizesAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaInvalidateAllocations(allocator, (uint32_t)allocationCount, allocations, offsets, sizes); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCheckCorruption(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jint memoryTypeBits) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCheckCorruption(allocator, (uint32_t)memoryTypeBits); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDefragmentationBegin(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pInfoAddress, jlong pStatsAddress, jlong pContextAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaDefragmentationInfo2 const *pInfo = (VmaDefragmentationInfo2 const *)(intptr_t)pInfoAddress; - VmaDefragmentationStats *pStats = (VmaDefragmentationStats *)(intptr_t)pStatsAddress; - VmaDefragmentationContext *pContext = (VmaDefragmentationContext *)(intptr_t)pContextAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaDefragmentationInfo2 const *pInfo = (VmaDefragmentationInfo2 const *)(uintptr_t)pInfoAddress; + VmaDefragmentationStats *pStats = (VmaDefragmentationStats *)(uintptr_t)pStatsAddress; + VmaDefragmentationContext *pContext = (VmaDefragmentationContext *)(uintptr_t)pContextAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaDefragmentationBegin(allocator, pInfo, pStats, pContext); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDefragmentationEnd(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong contextAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaDefragmentationContext context = (VmaDefragmentationContext)(intptr_t)contextAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaDefragmentationContext context = (VmaDefragmentationContext)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaDefragmentationEnd(allocator, context); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBeginDefragmentationPass(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong contextAddress, jlong pInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaDefragmentationContext context = (VmaDefragmentationContext)(intptr_t)contextAddress; - VmaDefragmentationPassInfo *pInfo = (VmaDefragmentationPassInfo *)(intptr_t)pInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaDefragmentationContext context = (VmaDefragmentationContext)(uintptr_t)contextAddress; + VmaDefragmentationPassInfo *pInfo = (VmaDefragmentationPassInfo *)(uintptr_t)pInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaBeginDefragmentationPass(allocator, context, pInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaEndDefragmentationPass(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong contextAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaDefragmentationContext context = (VmaDefragmentationContext)(intptr_t)contextAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaDefragmentationContext context = (VmaDefragmentationContext)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaEndDefragmentationPass(allocator, context); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDefragment(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pAllocationsAddress, jlong allocationCount, jlong pAllocationsChangedAddress, jlong pDefragmentationInfoAddress, jlong pDefragmentationStatsAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation const *pAllocations = (VmaAllocation const *)(intptr_t)pAllocationsAddress; - VkBool32 *pAllocationsChanged = (VkBool32 *)(intptr_t)pAllocationsChangedAddress; - VmaDefragmentationInfo const *pDefragmentationInfo = (VmaDefragmentationInfo const *)(intptr_t)pDefragmentationInfoAddress; - VmaDefragmentationStats *pDefragmentationStats = (VmaDefragmentationStats *)(intptr_t)pDefragmentationStatsAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation const *pAllocations = (VmaAllocation const *)(uintptr_t)pAllocationsAddress; + VkBool32 *pAllocationsChanged = (VkBool32 *)(uintptr_t)pAllocationsChangedAddress; + VmaDefragmentationInfo const *pDefragmentationInfo = (VmaDefragmentationInfo const *)(uintptr_t)pDefragmentationInfoAddress; + VmaDefragmentationStats *pDefragmentationStats = (VmaDefragmentationStats *)(uintptr_t)pDefragmentationStatsAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaDefragment(allocator, pAllocations, (size_t)allocationCount, pAllocationsChanged, pDefragmentationInfo, pDefragmentationStats); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBindBufferMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong buffer) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaBindBufferMemory(allocator, allocation, (VkBuffer)buffer); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBindBufferMemory2(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong allocationLocalOffset, jlong buffer, jlong pNextAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; - void const *pNext = (void const *)(intptr_t)pNextAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; + void const *pNext = (void const *)(uintptr_t)pNextAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaBindBufferMemory2(allocator, allocation, (VkDeviceSize)allocationLocalOffset, (VkBuffer)buffer, pNext); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBindImageMemory(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong image) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaBindImageMemory(allocator, allocation, (VkImage)image); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBindImageMemory2(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong allocationAddress, jlong allocationLocalOffset, jlong image, jlong pNextAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; - void const *pNext = (void const *)(intptr_t)pNextAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; + void const *pNext = (void const *)(uintptr_t)pNextAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaBindImageMemory2(allocator, allocation, (VkDeviceSize)allocationLocalOffset, (VkImage)image, pNext); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateBuffer(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pBufferCreateInfoAddress, jlong pAllocationCreateInfoAddress, jlong pBufferAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(intptr_t)pBufferCreateInfoAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - VkBuffer *pBuffer = (VkBuffer *)(intptr_t)pBufferAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(uintptr_t)pBufferCreateInfoAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + VkBuffer *pBuffer = (VkBuffer *)(uintptr_t)pBufferAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreateBuffer(allocator, pBufferCreateInfo, pAllocationCreateInfo, pBuffer, pAllocation, pAllocationInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateBufferWithAlignment(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pBufferCreateInfoAddress, jlong pAllocationCreateInfoAddress, jlong minAlignment, jlong pBufferAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(intptr_t)pBufferCreateInfoAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - VkBuffer *pBuffer = (VkBuffer *)(intptr_t)pBufferAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkBufferCreateInfo const *pBufferCreateInfo = (VkBufferCreateInfo const *)(uintptr_t)pBufferCreateInfoAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + VkBuffer *pBuffer = (VkBuffer *)(uintptr_t)pBufferAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreateBufferWithAlignment(allocator, pBufferCreateInfo, pAllocationCreateInfo, (VkDeviceSize)minAlignment, pBuffer, pAllocation, pAllocationInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDestroyBuffer(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong buffer, jlong allocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaDestroyBuffer(allocator, (VkBuffer)buffer, allocation); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateImage(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong pImageCreateInfoAddress, jlong pAllocationCreateInfoAddress, jlong pImageAddress, jlong pAllocationAddress, jlong pAllocationInfoAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VkImageCreateInfo const *pImageCreateInfo = (VkImageCreateInfo const *)(intptr_t)pImageCreateInfoAddress; - VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(intptr_t)pAllocationCreateInfoAddress; - VkImage *pImage = (VkImage *)(intptr_t)pImageAddress; - VmaAllocation *pAllocation = (VmaAllocation *)(intptr_t)pAllocationAddress; - VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(intptr_t)pAllocationInfoAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VkImageCreateInfo const *pImageCreateInfo = (VkImageCreateInfo const *)(uintptr_t)pImageCreateInfoAddress; + VmaAllocationCreateInfo const *pAllocationCreateInfo = (VmaAllocationCreateInfo const *)(uintptr_t)pAllocationCreateInfoAddress; + VkImage *pImage = (VkImage *)(uintptr_t)pImageAddress; + VmaAllocation *pAllocation = (VmaAllocation *)(uintptr_t)pAllocationAddress; + VmaAllocationInfo *pAllocationInfo = (VmaAllocationInfo *)(uintptr_t)pAllocationInfoAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreateImage(allocator, pImageCreateInfo, pAllocationCreateInfo, pImage, pAllocation, pAllocationInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDestroyImage(JNIEnv *__env, jclass clazz, jlong allocatorAddress, jlong image, jlong allocationAddress) { - VmaAllocator allocator = (VmaAllocator)(intptr_t)allocatorAddress; - VmaAllocation allocation = (VmaAllocation)(intptr_t)allocationAddress; + VmaAllocator allocator = (VmaAllocator)(uintptr_t)allocatorAddress; + VmaAllocation allocation = (VmaAllocation)(uintptr_t)allocationAddress; UNUSED_PARAMS(__env, clazz) vmaDestroyImage(allocator, (VkImage)image, allocation); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCreateVirtualBlock(JNIEnv *__env, jclass clazz, jlong pCreateInfoAddress, jlong pVirtualBlockAddress) { - VmaVirtualBlockCreateInfo const *pCreateInfo = (VmaVirtualBlockCreateInfo const *)(intptr_t)pCreateInfoAddress; - VmaVirtualBlock *pVirtualBlock = (VmaVirtualBlock *)(intptr_t)pVirtualBlockAddress; + VmaVirtualBlockCreateInfo const *pCreateInfo = (VmaVirtualBlockCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VmaVirtualBlock *pVirtualBlock = (VmaVirtualBlock *)(uintptr_t)pVirtualBlockAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaCreateVirtualBlock(pCreateInfo, pVirtualBlock); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaDestroyVirtualBlock(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; UNUSED_PARAMS(__env, clazz) vmaDestroyVirtualBlock(virtualBlock); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaIsVirtualBlockEmpty(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaIsVirtualBlockEmpty(virtualBlock); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaGetVirtualAllocationInfo(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong offset, jlong pVirtualAllocInfoAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - VmaVirtualAllocationInfo *pVirtualAllocInfo = (VmaVirtualAllocationInfo *)(intptr_t)pVirtualAllocInfoAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + VmaVirtualAllocationInfo *pVirtualAllocInfo = (VmaVirtualAllocationInfo *)(uintptr_t)pVirtualAllocInfoAddress; UNUSED_PARAMS(__env, clazz) vmaGetVirtualAllocationInfo(virtualBlock, (VkDeviceSize)offset, pVirtualAllocInfo); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_vma_Vma_nvmaVirtualAllocate(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong pCreateInfoAddress, jlong pOffsetAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - VmaVirtualAllocationCreateInfo const *pCreateInfo = (VmaVirtualAllocationCreateInfo const *)(intptr_t)pCreateInfoAddress; - VkDeviceSize *pOffset = (VkDeviceSize *)(intptr_t)pOffsetAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + VmaVirtualAllocationCreateInfo const *pCreateInfo = (VmaVirtualAllocationCreateInfo const *)(uintptr_t)pCreateInfoAddress; + VkDeviceSize *pOffset = (VkDeviceSize *)(uintptr_t)pOffsetAddress; UNUSED_PARAMS(__env, clazz) return (jint)vmaVirtualAllocate(virtualBlock, pCreateInfo, pOffset); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaVirtualFree(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong offset) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; UNUSED_PARAMS(__env, clazz) vmaVirtualFree(virtualBlock, (VkDeviceSize)offset); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaClearVirtualBlock(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; UNUSED_PARAMS(__env, clazz) vmaClearVirtualBlock(virtualBlock); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaSetVirtualAllocationUserData(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong offset, jlong pUserDataAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - void *pUserData = (void *)(intptr_t)pUserDataAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + void *pUserData = (void *)(uintptr_t)pUserDataAddress; UNUSED_PARAMS(__env, clazz) vmaSetVirtualAllocationUserData(virtualBlock, (VkDeviceSize)offset, pUserData); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaCalculateVirtualBlockStats(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong pStatInfoAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - VmaStatInfo *pStatInfo = (VmaStatInfo *)(intptr_t)pStatInfoAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + VmaStatInfo *pStatInfo = (VmaStatInfo *)(uintptr_t)pStatInfoAddress; UNUSED_PARAMS(__env, clazz) vmaCalculateVirtualBlockStats(virtualBlock, pStatInfo); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaBuildVirtualBlockStatsString(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong ppStatsStringAddress, jint detailedMap) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - char **ppStatsString = (char **)(intptr_t)ppStatsStringAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + char **ppStatsString = (char **)(uintptr_t)ppStatsStringAddress; UNUSED_PARAMS(__env, clazz) vmaBuildVirtualBlockStatsString(virtualBlock, ppStatsString, (VkBool32)detailedMap); } JNIEXPORT void JNICALL Java_org_lwjgl_util_vma_Vma_nvmaFreeVirtualBlockStatsString(JNIEnv *__env, jclass clazz, jlong virtualBlockAddress, jlong pStatsStringAddress) { - VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(intptr_t)virtualBlockAddress; - char *pStatsString = (char *)(intptr_t)pStatsStringAddress; + VmaVirtualBlock virtualBlock = (VmaVirtualBlock)(uintptr_t)virtualBlockAddress; + char *pStatsString = (char *)(uintptr_t)pStatsStringAddress; UNUSED_PARAMS(__env, clazz) vmaFreeVirtualBlockStatsString(virtualBlock, pStatsString); } diff --git a/modules/lwjgl/xxhash/src/generated/c/org_lwjgl_util_xxhash_XXHash.c b/modules/lwjgl/xxhash/src/generated/c/org_lwjgl_util_xxhash_XXHash.c index 3916c2c495..f705e03596 100644 --- a/modules/lwjgl/xxhash/src/generated/c/org_lwjgl_util_xxhash_XXHash.c +++ b/modules/lwjgl/xxhash/src/generated/c/org_lwjgl_util_xxhash_XXHash.c @@ -18,273 +18,273 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32(JNIEnv *__env, jclass clazz, jlong inputAddress, jlong length, jint seed) { - void const *input = (void const *)(intptr_t)inputAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32(input, (size_t)length, (XXH32_hash_t)seed); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1createState(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)XXH32_createState(); + return (jlong)(uintptr_t)XXH32_createState(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1freeState(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH32_state_t *statePtr = (XXH32_state_t *)(intptr_t)statePtrAddress; + XXH32_state_t *statePtr = (XXH32_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32_freeState(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1copyState(JNIEnv *__env, jclass clazz, jlong dst_stateAddress, jlong src_stateAddress) { - XXH32_state_t *dst_state = (XXH32_state_t *)(intptr_t)dst_stateAddress; - XXH32_state_t const *src_state = (XXH32_state_t const *)(intptr_t)src_stateAddress; + XXH32_state_t *dst_state = (XXH32_state_t *)(uintptr_t)dst_stateAddress; + XXH32_state_t const *src_state = (XXH32_state_t const *)(uintptr_t)src_stateAddress; UNUSED_PARAMS(__env, clazz) XXH32_copyState(dst_state, src_state); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1reset(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jint seed) { - XXH32_state_t *statePtr = (XXH32_state_t *)(intptr_t)statePtrAddress; + XXH32_state_t *statePtr = (XXH32_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32_reset(statePtr, (XXH32_hash_t)seed); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1update(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong inputAddress, jlong length) { - XXH32_state_t *statePtr = (XXH32_state_t *)(intptr_t)statePtrAddress; - void const *input = (void const *)(intptr_t)inputAddress; + XXH32_state_t *statePtr = (XXH32_state_t *)(uintptr_t)statePtrAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32_update(statePtr, input, (size_t)length); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1digest(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH32_state_t const *statePtr = (XXH32_state_t const *)(intptr_t)statePtrAddress; + XXH32_state_t const *statePtr = (XXH32_state_t const *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32_digest(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1canonicalFromHash(JNIEnv *__env, jclass clazz, jlong dstAddress, jint hash) { - XXH32_canonical_t *dst = (XXH32_canonical_t *)(intptr_t)dstAddress; + XXH32_canonical_t *dst = (XXH32_canonical_t *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) XXH32_canonicalFromHash(dst, (XXH32_hash_t)hash); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH32_1hashFromCanonical(JNIEnv *__env, jclass clazz, jlong srcAddress) { - XXH32_canonical_t const *src = (XXH32_canonical_t const *)(intptr_t)srcAddress; + XXH32_canonical_t const *src = (XXH32_canonical_t const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH32_hashFromCanonical(src); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64(JNIEnv *__env, jclass clazz, jlong inputAddress, jlong length, jlong seed) { - void const *input = (void const *)(intptr_t)inputAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH64(input, (size_t)length, (XXH32_hash_t)seed); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1createState(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)XXH64_createState(); + return (jlong)(uintptr_t)XXH64_createState(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1freeState(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH64_state_t *statePtr = (XXH64_state_t *)(intptr_t)statePtrAddress; + XXH64_state_t *statePtr = (XXH64_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH64_freeState(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1copyState(JNIEnv *__env, jclass clazz, jlong dst_stateAddress, jlong src_stateAddress) { - XXH64_state_t *dst_state = (XXH64_state_t *)(intptr_t)dst_stateAddress; - XXH64_state_t const *src_state = (XXH64_state_t const *)(intptr_t)src_stateAddress; + XXH64_state_t *dst_state = (XXH64_state_t *)(uintptr_t)dst_stateAddress; + XXH64_state_t const *src_state = (XXH64_state_t const *)(uintptr_t)src_stateAddress; UNUSED_PARAMS(__env, clazz) XXH64_copyState(dst_state, src_state); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1reset(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong seed) { - XXH64_state_t *statePtr = (XXH64_state_t *)(intptr_t)statePtrAddress; + XXH64_state_t *statePtr = (XXH64_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH64_reset(statePtr, (XXH32_hash_t)seed); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1update(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong inputAddress, jlong length) { - XXH64_state_t *statePtr = (XXH64_state_t *)(intptr_t)statePtrAddress; - void const *input = (void const *)(intptr_t)inputAddress; + XXH64_state_t *statePtr = (XXH64_state_t *)(uintptr_t)statePtrAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH64_update(statePtr, input, (size_t)length); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1digest(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH64_state_t const *statePtr = (XXH64_state_t const *)(intptr_t)statePtrAddress; + XXH64_state_t const *statePtr = (XXH64_state_t const *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH64_digest(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1canonicalFromHash(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong hash) { - XXH64_canonical_t *dst = (XXH64_canonical_t *)(intptr_t)dstAddress; + XXH64_canonical_t *dst = (XXH64_canonical_t *)(uintptr_t)dstAddress; UNUSED_PARAMS(__env, clazz) XXH64_canonicalFromHash(dst, (XXH32_hash_t)hash); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH64_1hashFromCanonical(JNIEnv *__env, jclass clazz, jlong srcAddress) { - XXH64_canonical_t const *src = (XXH64_canonical_t const *)(intptr_t)srcAddress; + XXH64_canonical_t const *src = (XXH64_canonical_t const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH64_hashFromCanonical(src); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len) { - void const *data = (void const *)(intptr_t)dataAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH3_64bits(data, (size_t)len); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1withSeed(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong seed) { - void const *data = (void const *)(intptr_t)dataAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH3_64bits_withSeed(data, (size_t)len, (XXH32_hash_t)seed); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1withSecret(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong secretAddress, jlong secretSize) { - void const *data = (void const *)(intptr_t)dataAddress; - void const *secret = (void const *)(intptr_t)secretAddress; + void const *data = (void const *)(uintptr_t)dataAddress; + void const *secret = (void const *)(uintptr_t)secretAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH3_64bits_withSecret(data, (size_t)len, secret, (size_t)secretSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1createState(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)XXH3_createState(); + return (jlong)(uintptr_t)XXH3_createState(); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1freeState(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_freeState(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1copyState(JNIEnv *__env, jclass clazz, jlong dst_stateAddress, jlong srct_stateAddress) { - XXH3_state_t *dst_state = (XXH3_state_t *)(intptr_t)dst_stateAddress; - XXH3_state_t const *srct_state = (XXH3_state_t const *)(intptr_t)srct_stateAddress; + XXH3_state_t *dst_state = (XXH3_state_t *)(uintptr_t)dst_stateAddress; + XXH3_state_t const *srct_state = (XXH3_state_t const *)(uintptr_t)srct_stateAddress; UNUSED_PARAMS(__env, clazz) XXH3_copyState(dst_state, srct_state); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1reset(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_64bits_reset(statePtr); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1reset_1withSeed(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong seed) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_64bits_reset_withSeed(statePtr, (XXH32_hash_t)seed); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1reset_1withSecret(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong secretAddress, jlong secretSize) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; - void const *secret = (void const *)(intptr_t)secretAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; + void const *secret = (void const *)(uintptr_t)secretAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_64bits_reset_withSecret(statePtr, secret, (size_t)secretSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1update(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong inputAddress, jlong length) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; - void const *input = (void const *)(intptr_t)inputAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_64bits_update(statePtr, input, (size_t)length); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_164bits_1digest(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH3_state_t const *statePtr = (XXH3_state_t const *)(intptr_t)statePtrAddress; + XXH3_state_t const *statePtr = (XXH3_state_t const *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jlong)XXH3_64bits_digest(statePtr); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong __result) { - void const *data = (void const *)(intptr_t)dataAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH3_128bits(data, (size_t)len); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH3_128bits(data, (size_t)len); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1withSeed(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong seed, jlong __result) { - void const *data = (void const *)(intptr_t)dataAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH3_128bits_withSeed(data, (size_t)len, (XXH32_hash_t)seed); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH3_128bits_withSeed(data, (size_t)len, (XXH32_hash_t)seed); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1withSecret(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong secretAddress, jlong secretSize, jlong __result) { - void const *data = (void const *)(intptr_t)dataAddress; - void const *secret = (void const *)(intptr_t)secretAddress; + void const *data = (void const *)(uintptr_t)dataAddress; + void const *secret = (void const *)(uintptr_t)secretAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH3_128bits_withSecret(data, (size_t)len, secret, (size_t)secretSize); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH3_128bits_withSecret(data, (size_t)len, secret, (size_t)secretSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1reset(JNIEnv *__env, jclass clazz, jlong statePtrAddress) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_128bits_reset(statePtr); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1reset_1withSeed(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong seed) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_128bits_reset_withSeed(statePtr, (XXH32_hash_t)seed); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1reset_1withSecret(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong secretAddress, jlong secretSize) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; - void const *secret = (void const *)(intptr_t)secretAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; + void const *secret = (void const *)(uintptr_t)secretAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_128bits_reset_withSecret(statePtr, secret, (size_t)secretSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1update(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong inputAddress, jlong length) { - XXH3_state_t *statePtr = (XXH3_state_t *)(intptr_t)statePtrAddress; - void const *input = (void const *)(intptr_t)inputAddress; + XXH3_state_t *statePtr = (XXH3_state_t *)(uintptr_t)statePtrAddress; + void const *input = (void const *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jint)XXH3_128bits_update(statePtr, input, (size_t)length); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1128bits_1digest(JNIEnv *__env, jclass clazz, jlong statePtrAddress, jlong __result) { - XXH3_state_t const *statePtr = (XXH3_state_t const *)(intptr_t)statePtrAddress; + XXH3_state_t const *statePtr = (XXH3_state_t const *)(uintptr_t)statePtrAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH3_128bits_digest(statePtr); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH3_128bits_digest(statePtr); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH128_1isEqual(JNIEnv *__env, jclass clazz, jlong h1Address, jlong h2Address) { - XXH128_hash_t *h1 = (XXH128_hash_t *)(intptr_t)h1Address; - XXH128_hash_t *h2 = (XXH128_hash_t *)(intptr_t)h2Address; + XXH128_hash_t *h1 = (XXH128_hash_t *)(uintptr_t)h1Address; + XXH128_hash_t *h2 = (XXH128_hash_t *)(uintptr_t)h2Address; UNUSED_PARAMS(__env, clazz) return (jint)XXH128_isEqual(*h1, *h2); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH128_1cmp(JNIEnv *__env, jclass clazz, jlong h128_1Address, jlong h128_2Address) { - void const *h128_1 = (void const *)(intptr_t)h128_1Address; - void const *h128_2 = (void const *)(intptr_t)h128_2Address; + void const *h128_1 = (void const *)(uintptr_t)h128_1Address; + void const *h128_2 = (void const *)(uintptr_t)h128_2Address; UNUSED_PARAMS(__env, clazz) return (jint)XXH128_cmp(h128_1, h128_2); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH128_1canonicalFromHash(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong hashAddress) { - XXH128_canonical_t *dst = (XXH128_canonical_t *)(intptr_t)dstAddress; - XXH128_hash_t *hash = (XXH128_hash_t *)(intptr_t)hashAddress; + XXH128_canonical_t *dst = (XXH128_canonical_t *)(uintptr_t)dstAddress; + XXH128_hash_t *hash = (XXH128_hash_t *)(uintptr_t)hashAddress; UNUSED_PARAMS(__env, clazz) XXH128_canonicalFromHash(dst, *hash); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH128_1hashFromCanonical(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong __result) { - XXH128_canonical_t const *src = (XXH128_canonical_t const *)(intptr_t)srcAddress; + XXH128_canonical_t const *src = (XXH128_canonical_t const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH128_hashFromCanonical(src); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH128_hashFromCanonical(src); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH3_1generateSecret(JNIEnv *__env, jclass clazz, jlong secretBufferAddress, jlong customSeedAddress, jlong customSeedSize) { - void *secretBuffer = (void *)(intptr_t)secretBufferAddress; - void const *customSeed = (void const *)(intptr_t)customSeedAddress; + void *secretBuffer = (void *)(uintptr_t)secretBufferAddress; + void const *customSeed = (void const *)(uintptr_t)customSeedAddress; UNUSED_PARAMS(__env, clazz) XXH3_generateSecret(secretBuffer, customSeed, (size_t)customSeedSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_xxhash_XXHash_nXXH128(JNIEnv *__env, jclass clazz, jlong dataAddress, jlong len, jlong seed, jlong __result) { - void const *data = (void const *)(intptr_t)dataAddress; + void const *data = (void const *)(uintptr_t)dataAddress; UNUSED_PARAMS(__env, clazz) - *((XXH128_hash_t*)(intptr_t)__result) = XXH128(data, (size_t)len, (XXH32_hash_t)seed); + *((XXH128_hash_t*)(uintptr_t)__result) = XXH128(data, (size_t)len, (XXH32_hash_t)seed); } EXTERN_C_EXIT diff --git a/modules/lwjgl/yoga/src/generated/c/org_lwjgl_util_yoga_Yoga.cpp b/modules/lwjgl/yoga/src/generated/c/org_lwjgl_util_yoga_Yoga.cpp index ab6b972021..34a4999f60 100644 --- a/modules/lwjgl/yoga/src/generated/c/org_lwjgl_util_yoga_Yoga.cpp +++ b/modules/lwjgl/yoga/src/generated/c/org_lwjgl_util_yoga_Yoga.cpp @@ -14,130 +14,130 @@ EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_YGNodeNew(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeNew(); + return (jlong)(uintptr_t)YGNodeNew(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeNewWithConfig(JNIEnv *__env, jclass clazz, jlong configAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeNewWithConfig(config); + return (jlong)(uintptr_t)YGNodeNewWithConfig(config); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeClone(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeClone(node); + return (jlong)(uintptr_t)YGNodeClone(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeFree(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeFree(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeFreeRecursiveWithCleanupFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong cleanupAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGNodeCleanupFunc cleanup = (YGNodeCleanupFunc)(intptr_t)cleanupAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGNodeCleanupFunc cleanup = (YGNodeCleanupFunc)(uintptr_t)cleanupAddress; UNUSED_PARAMS(__env, clazz) YGNodeFreeRecursiveWithCleanupFunc(node, cleanup); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeFreeRecursive(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeFreeRecursive(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeReset(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeReset(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeInsertChild(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong childAddress, jint index) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGNodeRef child = (YGNodeRef)(intptr_t)childAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGNodeRef child = (YGNodeRef)(uintptr_t)childAddress; UNUSED_PARAMS(__env, clazz) YGNodeInsertChild(node, child, (uint32_t)index); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSwapChild(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong childAddress, jint index) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGNodeRef child = (YGNodeRef)(intptr_t)childAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGNodeRef child = (YGNodeRef)(uintptr_t)childAddress; UNUSED_PARAMS(__env, clazz) YGNodeSwapChild(node, child, (uint32_t)index); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeRemoveChild(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong childAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGNodeRef child = (YGNodeRef)(intptr_t)childAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGNodeRef child = (YGNodeRef)(uintptr_t)childAddress; UNUSED_PARAMS(__env, clazz) YGNodeRemoveChild(node, child); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeRemoveAllChildren(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeRemoveAllChildren(node); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetChild(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint index) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeGetChild(node, (uint32_t)index); + return (jlong)(uintptr_t)YGNodeGetChild(node, (uint32_t)index); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetOwner(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeGetOwner(node); + return (jlong)(uintptr_t)YGNodeGetOwner(node); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetParent(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeGetParent(node); + return (jlong)(uintptr_t)YGNodeGetParent(node); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetChildCount(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeGetChildCount(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetChildren(JNIEnv *__env, jclass clazz, jlong ownerAddress, jlong childrenAddress, jint count) { - YGNodeRef owner = (YGNodeRef)(intptr_t)ownerAddress; - YGNodeRef const *children = (YGNodeRef const *)(intptr_t)childrenAddress; + YGNodeRef owner = (YGNodeRef)(uintptr_t)ownerAddress; + YGNodeRef const *children = (YGNodeRef const *)(uintptr_t)childrenAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetChildren(owner, children, (uint32_t)count); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetIsReferenceBaseline(JNIEnv *__env, jclass clazz, jlong nodeAddress, jboolean isReferenceBaseline) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetIsReferenceBaseline(node, (bool)isReferenceBaseline); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeIsReferenceBaseline(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeIsReferenceBaseline(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeCalculateLayout(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat availableWidth, jfloat availableHeight, jint ownerDirection) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeCalculateLayout(node, availableWidth, availableHeight, (YGDirection)ownerDirection); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeMarkDirty(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeMarkDirty(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeMarkDirtyAndPropogateToDescendants(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeMarkDirtyAndPropogateToDescendants(node); } @@ -148,634 +148,634 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_YGFloatIsUndefined(JNIE } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeCanUseCachedMeasurement(JNIEnv *__env, jclass clazz, jint widthMode, jfloat width, jint heightMode, jfloat height, jint lastWidthMode, jfloat lastWidth, jint lastHeightMode, jfloat lastHeight, jfloat lastComputedWidth, jfloat lastComputedHeight, jfloat marginRow, jfloat marginColumn, jlong configAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeCanUseCachedMeasurement((YGMeasureMode)widthMode, width, (YGMeasureMode)heightMode, height, (YGMeasureMode)lastWidthMode, lastWidth, (YGMeasureMode)lastHeightMode, lastHeight, lastComputedWidth, lastComputedHeight, marginRow, marginColumn, config); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeCopyStyle(JNIEnv *__env, jclass clazz, jlong dstNodeAddress, jlong srcNodeAddress) { - YGNodeRef dstNode = (YGNodeRef)(intptr_t)dstNodeAddress; - YGNodeRef srcNode = (YGNodeRef)(intptr_t)srcNodeAddress; + YGNodeRef dstNode = (YGNodeRef)(uintptr_t)dstNodeAddress; + YGNodeRef srcNode = (YGNodeRef)(uintptr_t)srcNodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeCopyStyle(dstNode, srcNode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetContext(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeGetContext(node); + return (jlong)(uintptr_t)YGNodeGetContext(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetContext(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong contextAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - void *context = (void *)(intptr_t)contextAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + void *context = (void *)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetContext(node, context); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetPrintTreeFlag(JNIEnv *__env, jclass clazz, jlong configAddress, jboolean enabled) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetPrintTreeFlag(config, (bool)enabled); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeHasMeasureFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeHasMeasureFunc(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetMeasureFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong measureFuncAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGMeasureFunc measureFunc = (YGMeasureFunc)(intptr_t)measureFuncAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGMeasureFunc measureFunc = (YGMeasureFunc)(uintptr_t)measureFuncAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetMeasureFunc(node, measureFunc); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeHasBaselineFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeHasBaselineFunc(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetBaselineFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong baselineFuncAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGBaselineFunc baselineFunc = (YGBaselineFunc)(intptr_t)baselineFuncAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGBaselineFunc baselineFunc = (YGBaselineFunc)(uintptr_t)baselineFuncAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetBaselineFunc(node, baselineFunc); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetDirtiedFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeGetDirtiedFunc(node); + return (jlong)(uintptr_t)YGNodeGetDirtiedFunc(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetDirtiedFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong dirtiedFuncAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGDirtiedFunc dirtiedFunc = (YGDirtiedFunc)(intptr_t)dirtiedFuncAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGDirtiedFunc dirtiedFunc = (YGDirtiedFunc)(uintptr_t)dirtiedFuncAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetDirtiedFunc(node, dirtiedFunc); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetPrintFunc(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong printFuncAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - YGPrintFunc printFunc = (YGPrintFunc)(intptr_t)printFuncAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + YGPrintFunc printFunc = (YGPrintFunc)(uintptr_t)printFuncAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetPrintFunc(node, printFunc); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetHasNewLayout(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeGetHasNewLayout(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetHasNewLayout(JNIEnv *__env, jclass clazz, jlong nodeAddress, jboolean hasNewLayout) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetHasNewLayout(node, (bool)hasNewLayout); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeGetNodeType(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeGetNodeType(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeSetNodeType(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint nodeType) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeSetNodeType(node, (YGNodeType)nodeType); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeIsDirty(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeIsDirty(node); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetDidUseLegacyFlag(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeLayoutGetDidUseLegacyFlag(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetDirection(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint direction) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetDirection(node, (YGDirection)direction); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetDirection(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetDirection(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexDirection(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint flexDirection) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexDirection(node, (YGFlexDirection)flexDirection); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlexDirection(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetFlexDirection(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetJustifyContent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint justifyContent) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetJustifyContent(node, (YGJustify)justifyContent); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetJustifyContent(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetJustifyContent(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetAlignContent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint alignContent) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetAlignContent(node, (YGAlign)alignContent); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetAlignContent(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetAlignContent(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetAlignItems(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint alignItems) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetAlignItems(node, (YGAlign)alignItems); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetAlignItems(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetAlignItems(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetAlignSelf(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint alignSelf) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetAlignSelf(node, (YGAlign)alignSelf); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetAlignSelf(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetAlignSelf(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetPositionType(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint positionType) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetPositionType(node, (YGPositionType)positionType); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetPositionType(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetPositionType(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexWrap(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint flexWrap) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexWrap(node, (YGWrap)flexWrap); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlexWrap(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetFlexWrap(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetOverflow(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint overflow) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetOverflow(node, (YGOverflow)overflow); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetOverflow(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetOverflow(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetDisplay(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint display) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetDisplay(node, (YGDisplay)display); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetDisplay(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeStyleGetDisplay(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlex(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat flex) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlex(node, flex); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlex(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeStyleGetFlex(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexGrow(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat flexGrow) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexGrow(node, flexGrow); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlexGrow(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeStyleGetFlexGrow(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexShrink(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat flexShrink) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexShrink(node, flexShrink); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlexShrink(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeStyleGetFlexShrink(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexBasis(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat flexBasis) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexBasis(node, flexBasis); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexBasisPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat flexBasis) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexBasisPercent(node, flexBasis); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetFlexBasisAuto(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetFlexBasisAuto(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetFlexBasis(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetFlexBasis(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetFlexBasis(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetPosition(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat position) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetPosition(node, (YGEdge)edge, position); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetPositionPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat position) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetPositionPercent(node, (YGEdge)edge, position); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetPosition(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetPosition(node, (YGEdge)edge); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetPosition(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMargin(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat margin) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMargin(node, (YGEdge)edge, margin); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMarginPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat margin) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMarginPercent(node, (YGEdge)edge, margin); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMarginAuto(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMarginAuto(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetMargin(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetMargin(node, (YGEdge)edge); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetMargin(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetPadding(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat padding) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetPadding(node, (YGEdge)edge, padding); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetPaddingPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat padding) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetPaddingPercent(node, (YGEdge)edge, padding); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetPadding(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetPadding(node, (YGEdge)edge); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetPadding(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetBorder(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge, jfloat border) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetBorder(node, (YGEdge)edge, border); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetBorder(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeStyleGetBorder(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat width) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetWidth(node, width); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetWidthPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat width) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetWidthPercent(node, width); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetWidthAuto(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetWidthAuto(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetWidth(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetWidth(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat height) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetHeight(node, height); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetHeightPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat height) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetHeightPercent(node, height); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetHeightAuto(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetHeightAuto(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetHeight(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetHeight(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMinWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat minWidth) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMinWidth(node, minWidth); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMinWidthPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat minWidth) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMinWidthPercent(node, minWidth); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetMinWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetMinWidth(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetMinWidth(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMinHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat minHeight) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMinHeight(node, minHeight); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMinHeightPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat minHeight) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMinHeightPercent(node, minHeight); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetMinHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetMinHeight(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetMinHeight(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMaxWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat maxWidth) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMaxWidth(node, maxWidth); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMaxWidthPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat maxWidth) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMaxWidthPercent(node, maxWidth); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetMaxWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetMaxWidth(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetMaxWidth(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMaxHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat maxHeight) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMaxHeight(node, maxHeight); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetMaxHeightPercent(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat maxHeight) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetMaxHeightPercent(node, maxHeight); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetMaxHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress, jlong __result) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGNodeStyleGetMaxHeight(node); + *((YGValue*)(uintptr_t)__result) = YGNodeStyleGetMaxHeight(node); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleSetAspectRatio(JNIEnv *__env, jclass clazz, jlong nodeAddress, jfloat aspectRatio) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) YGNodeStyleSetAspectRatio(node, aspectRatio); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeStyleGetAspectRatio(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeConstRef node = (YGNodeConstRef)(intptr_t)nodeAddress; + YGNodeConstRef node = (YGNodeConstRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeStyleGetAspectRatio(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetLeft(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetLeft(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetTop(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetTop(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetRight(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetRight(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetBottom(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetBottom(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetWidth(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetWidth(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetHeight(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetHeight(node); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetDirection(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jint)YGNodeLayoutGetDirection(node); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetHadOverflow(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeLayoutGetHadOverflow(node); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetDidLegacyStretchFlagAffectLayout(JNIEnv *__env, jclass clazz, jlong nodeAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGNodeLayoutGetDidLegacyStretchFlagAffectLayout(node); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetMargin(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetMargin(node, (YGEdge)edge); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetBorder(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetBorder(node, (YGEdge)edge); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeLayoutGetPadding(JNIEnv *__env, jclass clazz, jlong nodeAddress, jint edge) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; UNUSED_PARAMS(__env, clazz) return (jfloat)YGNodeLayoutGetPadding(node, (YGEdge)edge); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetLogger(JNIEnv *__env, jclass clazz, jlong configAddress, jlong loggerAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; - YGLogger logger = (YGLogger)(intptr_t)loggerAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; + YGLogger logger = (YGLogger)(uintptr_t)loggerAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetLogger(config, logger); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGAssert(JNIEnv *__env, jclass clazz, jboolean condition, jlong messageAddress) { - char const *message = (char const *)(intptr_t)messageAddress; + char const *message = (char const *)(uintptr_t)messageAddress; UNUSED_PARAMS(__env, clazz) YGAssert((bool)condition, message); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGAssertWithNode(JNIEnv *__env, jclass clazz, jlong nodeAddress, jboolean condition, jlong messageAddress) { - YGNodeRef node = (YGNodeRef)(intptr_t)nodeAddress; - char const *message = (char const *)(intptr_t)messageAddress; + YGNodeRef node = (YGNodeRef)(uintptr_t)nodeAddress; + char const *message = (char const *)(uintptr_t)messageAddress; UNUSED_PARAMS(__env, clazz) YGAssertWithNode(node, (bool)condition, message); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGAssertWithConfig(JNIEnv *__env, jclass clazz, jlong configAddress, jboolean condition, jlong messageAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; - char const *message = (char const *)(intptr_t)messageAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; + char const *message = (char const *)(uintptr_t)messageAddress; UNUSED_PARAMS(__env, clazz) YGAssertWithConfig(config, (bool)condition, message); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetPointScaleFactor(JNIEnv *__env, jclass clazz, jlong configAddress, jfloat pixelsInPoint) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetPointScaleFactor(config, pixelsInPoint); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetShouldDiffLayoutWithoutLegacyStretchBehaviour(JNIEnv *__env, jclass clazz, jlong configAddress, jboolean shouldDiffLayout) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetShouldDiffLayoutWithoutLegacyStretchBehaviour(config, (bool)shouldDiffLayout); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetUseLegacyStretchBehaviour(JNIEnv *__env, jclass clazz, jlong configAddress, jboolean useLegacyStretchBehaviour) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetUseLegacyStretchBehaviour(config, (bool)useLegacyStretchBehaviour); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_YGConfigNew(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGConfigNew(); + return (jlong)(uintptr_t)YGConfigNew(); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigFree(JNIEnv *__env, jclass clazz, jlong configAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigFree(config); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigCopy(JNIEnv *__env, jclass clazz, jlong destAddress, jlong srcAddress) { - YGConfigRef dest = (YGConfigRef)(intptr_t)destAddress; - YGConfigRef src = (YGConfigRef)(intptr_t)srcAddress; + YGConfigRef dest = (YGConfigRef)(uintptr_t)destAddress; + YGConfigRef src = (YGConfigRef)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) YGConfigCopy(dest, src); } @@ -786,52 +786,52 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_yoga_Yoga_YGConfigGetInstanceCount(JN } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetExperimentalFeatureEnabled(JNIEnv *__env, jclass clazz, jlong configAddress, jint feature, jboolean enabled) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetExperimentalFeatureEnabled(config, (YGExperimentalFeature)feature, (bool)enabled); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigIsExperimentalFeatureEnabled(JNIEnv *__env, jclass clazz, jlong configAddress, jint feature) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGConfigIsExperimentalFeatureEnabled(config, (YGExperimentalFeature)feature); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetUseWebDefaults(JNIEnv *__env, jclass clazz, jlong configAddress, jboolean enabled) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetUseWebDefaults(config, (bool)enabled); } JNIEXPORT jboolean JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigGetUseWebDefaults(JNIEnv *__env, jclass clazz, jlong configAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) return (jboolean)YGConfigGetUseWebDefaults(config); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetCloneNodeFunc(JNIEnv *__env, jclass clazz, jlong configAddress, jlong callbackAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; - YGCloneNodeFunc callback = (YGCloneNodeFunc)(intptr_t)callbackAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; + YGCloneNodeFunc callback = (YGCloneNodeFunc)(uintptr_t)callbackAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetCloneNodeFunc(config, callback); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_YGConfigGetDefault(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGConfigGetDefault(); + return (jlong)(uintptr_t)YGConfigGetDefault(); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigSetContext(JNIEnv *__env, jclass clazz, jlong configAddress, jlong contextAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; - void *context = (void *)(intptr_t)contextAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; + void *context = (void *)(uintptr_t)contextAddress; UNUSED_PARAMS(__env, clazz) YGConfigSetContext(config, context); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGConfigGetContext(JNIEnv *__env, jclass clazz, jlong configAddress) { - YGConfigRef config = (YGConfigRef)(intptr_t)configAddress; + YGConfigRef config = (YGConfigRef)(uintptr_t)configAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGConfigGetContext(config); + return (jlong)(uintptr_t)YGConfigGetContext(config); } JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_YGRoundValueToPixelGrid(JNIEnv *__env, jclass clazz, jdouble value, jdouble pointScaleFactor, jboolean forceCeil, jboolean forceFloor) { @@ -841,92 +841,92 @@ JNIEXPORT jfloat JNICALL Java_org_lwjgl_util_yoga_Yoga_YGRoundValueToPixelGrid(J JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGAlignToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGAlignToString((YGAlign)value); + return (jlong)(uintptr_t)YGAlignToString((YGAlign)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGDimensionToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGDimensionToString((YGDimension)value); + return (jlong)(uintptr_t)YGDimensionToString((YGDimension)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGDirectionToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGDirectionToString((YGDirection)value); + return (jlong)(uintptr_t)YGDirectionToString((YGDirection)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGDisplayToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGDisplayToString((YGDisplay)value); + return (jlong)(uintptr_t)YGDisplayToString((YGDisplay)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGEdgeToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGEdgeToString((YGEdge)value); + return (jlong)(uintptr_t)YGEdgeToString((YGEdge)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGExperimentalFeatureToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGExperimentalFeatureToString((YGExperimentalFeature)value); + return (jlong)(uintptr_t)YGExperimentalFeatureToString((YGExperimentalFeature)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGFlexDirectionToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGFlexDirectionToString((YGFlexDirection)value); + return (jlong)(uintptr_t)YGFlexDirectionToString((YGFlexDirection)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGJustifyToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGJustifyToString((YGJustify)value); + return (jlong)(uintptr_t)YGJustifyToString((YGJustify)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGLogLevelToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGLogLevelToString((YGLogLevel)value); + return (jlong)(uintptr_t)YGLogLevelToString((YGLogLevel)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGMeasureModeToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGMeasureModeToString((YGMeasureMode)value); + return (jlong)(uintptr_t)YGMeasureModeToString((YGMeasureMode)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGNodeTypeToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGNodeTypeToString((YGNodeType)value); + return (jlong)(uintptr_t)YGNodeTypeToString((YGNodeType)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGOverflowToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGOverflowToString((YGOverflow)value); + return (jlong)(uintptr_t)YGOverflowToString((YGOverflow)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGPositionTypeToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGPositionTypeToString((YGPositionType)value); + return (jlong)(uintptr_t)YGPositionTypeToString((YGPositionType)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGUnitToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGUnitToString((YGUnit)value); + return (jlong)(uintptr_t)YGUnitToString((YGUnit)value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGWrapToString(JNIEnv *__env, jclass clazz, jint value) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)YGWrapToString((YGWrap)value); + return (jlong)(uintptr_t)YGWrapToString((YGWrap)value); } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGValueAuto(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGValueAuto; + *((YGValue*)(uintptr_t)__result) = YGValueAuto; } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGValueUndefined(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGValueUndefined; + *((YGValue*)(uintptr_t)__result) = YGValueUndefined; } JNIEXPORT void JNICALL Java_org_lwjgl_util_yoga_Yoga_nYGValueZero(JNIEnv *__env, jclass clazz, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((YGValue*)(intptr_t)__result) = YGValueZero; + *((YGValue*)(uintptr_t)__result) = YGValueZero; } EXTERN_C_EXIT diff --git a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zdict.c b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zdict.c index 4e8ea241d3..231379d358 100644 --- a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zdict.c +++ b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zdict.c @@ -12,15 +12,15 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1trainFromBuffer(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_trainFromBuffer(dictBuffer, (size_t)dictBufferCapacity, samplesBuffer, samplesSizes, (unsigned int)nbSamples); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1getDictID(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZDICT_getDictID(dictBuffer, (size_t)dictSize); } @@ -32,51 +32,51 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1isError(JNIEnv *__ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1getErrorName(JNIEnv *__env, jclass clazz, jlong errorCode) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZDICT_getErrorName((size_t)errorCode); + return (jlong)(uintptr_t)ZDICT_getErrorName((size_t)errorCode); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1trainFromBuffer_1cover(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples, jlong parametersAddress) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; - ZDICT_cover_params_t *parameters = (ZDICT_cover_params_t *)(intptr_t)parametersAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; + ZDICT_cover_params_t *parameters = (ZDICT_cover_params_t *)(uintptr_t)parametersAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_trainFromBuffer_cover(dictBuffer, (size_t)dictBufferCapacity, samplesBuffer, samplesSizes, (unsigned int)nbSamples, *parameters); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1optimizeTrainFromBuffer_1cover(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples, jlong parametersAddress) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; - ZDICT_cover_params_t *parameters = (ZDICT_cover_params_t *)(intptr_t)parametersAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; + ZDICT_cover_params_t *parameters = (ZDICT_cover_params_t *)(uintptr_t)parametersAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_optimizeTrainFromBuffer_cover(dictBuffer, (size_t)dictBufferCapacity, samplesBuffer, samplesSizes, (unsigned int)nbSamples, parameters); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1trainFromBuffer_1fastCover(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples, jlong parametersAddress) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; - ZDICT_fastCover_params_t *parameters = (ZDICT_fastCover_params_t *)(intptr_t)parametersAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; + ZDICT_fastCover_params_t *parameters = (ZDICT_fastCover_params_t *)(uintptr_t)parametersAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_trainFromBuffer_fastCover(dictBuffer, (size_t)dictBufferCapacity, samplesBuffer, samplesSizes, (unsigned)nbSamples, *parameters); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1optimizeTrainFromBuffer_1fastCover(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples, jlong parametersAddress) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; - ZDICT_fastCover_params_t *parameters = (ZDICT_fastCover_params_t *)(intptr_t)parametersAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; + ZDICT_fastCover_params_t *parameters = (ZDICT_fastCover_params_t *)(uintptr_t)parametersAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_optimizeTrainFromBuffer_fastCover(dictBuffer, (size_t)dictBufferCapacity, samplesBuffer, samplesSizes, (unsigned int)nbSamples, parameters); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zdict_nZDICT_1finalizeDictionary(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictBufferCapacity, jlong dictContentAddress, jlong dictContentSize, jlong samplesBufferAddress, jlong samplesSizesAddress, jint nbSamples, jlong parametersAddress) { - void *dictBuffer = (void *)(intptr_t)dictBufferAddress; - void const *dictContent = (void const *)(intptr_t)dictContentAddress; - void const *samplesBuffer = (void const *)(intptr_t)samplesBufferAddress; - size_t const *samplesSizes = (size_t const *)(intptr_t)samplesSizesAddress; - ZDICT_params_t *parameters = (ZDICT_params_t *)(intptr_t)parametersAddress; + void *dictBuffer = (void *)(uintptr_t)dictBufferAddress; + void const *dictContent = (void const *)(uintptr_t)dictContentAddress; + void const *samplesBuffer = (void const *)(uintptr_t)samplesBufferAddress; + size_t const *samplesSizes = (size_t const *)(uintptr_t)samplesSizesAddress; + ZDICT_params_t *parameters = (ZDICT_params_t *)(uintptr_t)parametersAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZDICT_finalizeDictionary(dictBuffer, (size_t)dictBufferCapacity, dictContent, (size_t)dictContentSize, samplesBuffer, samplesSizes, (unsigned int)nbSamples, *parameters); } diff --git a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zstd.c b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zstd.c index ec596b3d57..535e414ac2 100644 --- a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zstd.c +++ b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_Zstd.c @@ -18,31 +18,31 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1versionNumber(JNIEnv JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1versionString(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_versionString(); + return (jlong)(uintptr_t)ZSTD_versionString(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compress(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jint compressionLevel) { - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compress(dst, (size_t)dstCapacity, src, (size_t)srcSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1decompress(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong compressedSize) { - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompress(dst, (size_t)dstCapacity, src, (size_t)compressedSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getFrameContentSize(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_getFrameContentSize(src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1findFrameCompressedSize(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_findFrameCompressedSize(src, (size_t)srcSize); } @@ -59,7 +59,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1isError(JNIEnv *__en JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getErrorName(JNIEnv *__env, jclass clazz, jlong code) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_getErrorName((size_t)code); + return (jlong)(uintptr_t)ZSTD_getErrorName((size_t)code); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1minCLevel(JNIEnv *__env, jclass clazz) { @@ -79,105 +79,105 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1defaultCLevel(JNIEnv JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1createCCtx(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCCtx(); + return (jlong)(uintptr_t)ZSTD_createCCtx(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeCCtx(JNIEnv *__env, jclass clazz, jlong cctxAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeCCtx(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compressCCtx(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jint compressionLevel) { - ZSTD_CCtx *ctx = (ZSTD_CCtx *)(intptr_t)ctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *ctx = (ZSTD_CCtx *)(uintptr_t)ctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressCCtx(ctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1createDCtx(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDCtx(); + return (jlong)(uintptr_t)ZSTD_createDCtx(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeDCtx(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeDCtx(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1decompressDCtx(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_DCtx *ctx = (ZSTD_DCtx *)(intptr_t)ctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_DCtx *ctx = (ZSTD_DCtx *)(uintptr_t)ctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressDCtx(ctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1cParam_1getBounds(JNIEnv *__env, jclass clazz, jint cParam, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((ZSTD_bounds*)(intptr_t)__result) = ZSTD_cParam_getBounds((ZSTD_cParameter)cParam); + *((ZSTD_bounds*)(uintptr_t)__result) = ZSTD_cParam_getBounds((ZSTD_cParameter)cParam); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1setParameter(JNIEnv *__env, jclass clazz, jlong cctxAddress, jint param, jint value) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_setParameter(cctx, (ZSTD_cParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1setPledgedSrcSize(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong pledgedSrcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_setPledgedSrcSize(cctx, (unsigned long long)pledgedSrcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1reset(JNIEnv *__env, jclass clazz, jlong cctxAddress, jint reset) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_reset(cctx, (ZSTD_ResetDirective)reset); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compress2(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compress2(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1dParam_1getBounds(JNIEnv *__env, jclass clazz, jint dParam, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((ZSTD_bounds*)(intptr_t)__result) = ZSTD_dParam_getBounds((ZSTD_dParameter)dParam); + *((ZSTD_bounds*)(uintptr_t)__result) = ZSTD_dParam_getBounds((ZSTD_dParameter)dParam); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1DCtx_1setParameter(JNIEnv *__env, jclass clazz, jlong dctxAddress, jint param, jint value) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_setParameter(dctx, (ZSTD_dParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1DCtx_1reset(JNIEnv *__env, jclass clazz, jlong dctxAddress, jint reset) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_reset(dctx, (ZSTD_ResetDirective)reset); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1createCStream(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCStream(); + return (jlong)(uintptr_t)ZSTD_createCStream(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeCStream(JNIEnv *__env, jclass clazz, jlong zcsAddress) { - ZSTD_CStream *zcs = (ZSTD_CStream *)(intptr_t)zcsAddress; + ZSTD_CStream *zcs = (ZSTD_CStream *)(uintptr_t)zcsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeCStream(zcs); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compressStream2(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong outputAddress, jlong inputAddress, jint endOp) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_outBuffer *output = (ZSTD_outBuffer *)(intptr_t)outputAddress; - ZSTD_inBuffer *input = (ZSTD_inBuffer *)(intptr_t)inputAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_outBuffer *output = (ZSTD_outBuffer *)(uintptr_t)outputAddress; + ZSTD_inBuffer *input = (ZSTD_inBuffer *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressStream2(cctx, output, input, (ZSTD_EndDirective)endOp); } @@ -194,19 +194,19 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1CStreamOutSize(JNIEn JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1createDStream(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDStream(); + return (jlong)(uintptr_t)ZSTD_createDStream(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeDStream(JNIEnv *__env, jclass clazz, jlong zdsAddress) { - ZSTD_DStream *zds = (ZSTD_DStream *)(intptr_t)zdsAddress; + ZSTD_DStream *zds = (ZSTD_DStream *)(uintptr_t)zdsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeDStream(zds); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1decompressStream(JNIEnv *__env, jclass clazz, jlong zdsAddress, jlong outputAddress, jlong inputAddress) { - ZSTD_DStream *zds = (ZSTD_DStream *)(intptr_t)zdsAddress; - ZSTD_outBuffer *output = (ZSTD_outBuffer *)(intptr_t)outputAddress; - ZSTD_inBuffer *input = (ZSTD_inBuffer *)(intptr_t)inputAddress; + ZSTD_DStream *zds = (ZSTD_DStream *)(uintptr_t)zdsAddress; + ZSTD_outBuffer *output = (ZSTD_outBuffer *)(uintptr_t)outputAddress; + ZSTD_inBuffer *input = (ZSTD_inBuffer *)(uintptr_t)inputAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressStream(zds, output, input); } @@ -222,163 +222,163 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1DStreamOutSize(JNIEn } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compress_1usingDict(JNIEnv *__env, jclass clazz, jlong ctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jlong dictAddress, jlong dictSize, jint compressionLevel) { - ZSTD_CCtx *ctx = (ZSTD_CCtx *)(intptr_t)ctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_CCtx *ctx = (ZSTD_CCtx *)(uintptr_t)ctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compress_usingDict(ctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, dict, (size_t)dictSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1decompress_1usingDict(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jlong dictAddress, jlong dictSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompress_usingDict(dctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1createCDict(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize, jint compressionLevel) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCDict(dictBuffer, (size_t)dictSize, compressionLevel); + return (jlong)(uintptr_t)ZSTD_createCDict(dictBuffer, (size_t)dictSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeCDict(JNIEnv *__env, jclass clazz, jlong CDictAddress) { - ZSTD_CDict *CDict = (ZSTD_CDict *)(intptr_t)CDictAddress; + ZSTD_CDict *CDict = (ZSTD_CDict *)(uintptr_t)CDictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeCDict(CDict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1compress_1usingCDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jlong cdictAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; - ZSTD_CDict const *cdict = (ZSTD_CDict const *)(intptr_t)cdictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + ZSTD_CDict const *cdict = (ZSTD_CDict const *)(uintptr_t)cdictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compress_usingCDict(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, cdict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1createDDict(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDDict(dictBuffer, (size_t)dictSize); + return (jlong)(uintptr_t)ZSTD_createDDict(dictBuffer, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_ZSTD_1freeDDict(JNIEnv *__env, jclass clazz, jlong ddictAddress) { - ZSTD_DDict *ddict = (ZSTD_DDict *)(intptr_t)ddictAddress; + ZSTD_DDict *ddict = (ZSTD_DDict *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeDDict(ddict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1decompress_1usingDDict(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jlong ddictAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; - ZSTD_DDict const *ddict = (ZSTD_DDict const *)(intptr_t)ddictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + ZSTD_DDict const *ddict = (ZSTD_DDict const *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompress_usingDDict(dctx, dst, (size_t)dstCapacity, src, (size_t)srcSize, ddict); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getDictID_1fromDict(JNIEnv *__env, jclass clazz, jlong dictAddress, jlong dictSize) { - void const *dict = (void const *)(intptr_t)dictAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_getDictID_fromDict(dict, (size_t)dictSize); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getDictID_1fromCDict(JNIEnv *__env, jclass clazz, jlong cdictAddress) { - ZSTD_CDict const *cdict = (ZSTD_CDict const *)(intptr_t)cdictAddress; + ZSTD_CDict const *cdict = (ZSTD_CDict const *)(uintptr_t)cdictAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_getDictID_fromCDict(cdict); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getDictID_1fromDDict(JNIEnv *__env, jclass clazz, jlong ddictAddress) { - ZSTD_DDict const *ddict = (ZSTD_DDict const *)(intptr_t)ddictAddress; + ZSTD_DDict const *ddict = (ZSTD_DDict const *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_getDictID_fromDDict(ddict); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1getDictID_1fromFrame(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_getDictID_fromFrame(src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1loadDictionary(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dictAddress, jlong dictSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_loadDictionary(cctx, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1refCDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong cdictAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_CDict const *cdict = (ZSTD_CDict const *)(intptr_t)cdictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_CDict const *cdict = (ZSTD_CDict const *)(uintptr_t)cdictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_refCDict(cctx, cdict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1CCtx_1refPrefix(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong prefixAddress, jlong prefixSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *prefix = (void const *)(intptr_t)prefixAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *prefix = (void const *)(uintptr_t)prefixAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_refPrefix(cctx, prefix, (size_t)prefixSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1DCtx_1loadDictionary(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dictAddress, jlong dictSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_loadDictionary(dctx, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1DCtx_1refDDict(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong ddictAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - ZSTD_DDict const *ddict = (ZSTD_DDict const *)(intptr_t)ddictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + ZSTD_DDict const *ddict = (ZSTD_DDict const *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_refDDict(dctx, ddict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1DCtx_1refPrefix(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong prefixAddress, jlong prefixSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *prefix = (void const *)(intptr_t)prefixAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *prefix = (void const *)(uintptr_t)prefixAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_refPrefix(dctx, prefix, (size_t)prefixSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1CCtx(JNIEnv *__env, jclass clazz, jlong cctxAddress) { - ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(intptr_t)cctxAddress; + ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_CCtx(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1DCtx(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - ZSTD_DCtx const *dctx = (ZSTD_DCtx const *)(intptr_t)dctxAddress; + ZSTD_DCtx const *dctx = (ZSTD_DCtx const *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_DCtx(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1CStream(JNIEnv *__env, jclass clazz, jlong zcsAddress) { - ZSTD_CStream const *zcs = (ZSTD_CStream const *)(intptr_t)zcsAddress; + ZSTD_CStream const *zcs = (ZSTD_CStream const *)(uintptr_t)zcsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_CStream(zcs); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1DStream(JNIEnv *__env, jclass clazz, jlong zdsAddress) { - ZSTD_DStream const *zds = (ZSTD_DStream const *)(intptr_t)zdsAddress; + ZSTD_DStream const *zds = (ZSTD_DStream const *)(uintptr_t)zdsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_DStream(zds); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1CDict(JNIEnv *__env, jclass clazz, jlong cdictAddress) { - ZSTD_CDict const *cdict = (ZSTD_CDict const *)(intptr_t)cdictAddress; + ZSTD_CDict const *cdict = (ZSTD_CDict const *)(uintptr_t)cdictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_CDict(cdict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_Zstd_nZSTD_1sizeof_1DDict(JNIEnv *__env, jclass clazz, jlong ddictAddress) { - ZSTD_DDict const *ddict = (ZSTD_DDict const *)(intptr_t)ddictAddress; + ZSTD_DDict const *ddict = (ZSTD_DDict const *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_sizeof_DDict(ddict); } diff --git a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdErrors.c b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdErrors.c index 9d9247588f..1a8a89724c 100644 --- a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdErrors.c +++ b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdErrors.c @@ -15,7 +15,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_ZstdErrors_ZSTD_1getErrorCode(JN JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdErrors_nZSTD_1getErrorString(JNIEnv *__env, jclass clazz, jint code) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_getErrorString((ZSTD_ErrorCode)code); + return (jlong)(uintptr_t)ZSTD_getErrorString((ZSTD_ErrorCode)code); } EXTERN_C_EXIT diff --git a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdX.c b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdX.c index 2d2a2a8a5f..076624e106 100644 --- a/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdX.c +++ b/modules/lwjgl/zstd/src/generated/c/org_lwjgl_util_zstd_ZstdX.c @@ -12,49 +12,49 @@ ENABLE_WARNINGS() EXTERN_C_ENTER JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1findDecompressedSize(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_findDecompressedSize(src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressBound(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressBound(src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1frameHeaderSize(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_frameHeaderSize(src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1generateSequences(JNIEnv *__env, jclass clazz, jlong zcAddress, jlong outSeqsAddress, jlong outSeqsSize, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx *zc = (ZSTD_CCtx *)(intptr_t)zcAddress; - ZSTD_Sequence *outSeqs = (ZSTD_Sequence *)(intptr_t)outSeqsAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *zc = (ZSTD_CCtx *)(uintptr_t)zcAddress; + ZSTD_Sequence *outSeqs = (ZSTD_Sequence *)(uintptr_t)outSeqsAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_generateSequences(zc, outSeqs, (size_t)outSeqsSize, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1mergeBlockDelimiters(JNIEnv *__env, jclass clazz, jlong sequencesAddress, jlong seqsSize) { - ZSTD_Sequence *sequences = (ZSTD_Sequence *)(intptr_t)sequencesAddress; + ZSTD_Sequence *sequences = (ZSTD_Sequence *)(uintptr_t)sequencesAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_mergeBlockDelimiters(sequences, (size_t)seqsSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressSequences(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstSize, jlong inSeqsAddress, jlong inSeqsSize, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx * const cctx = (ZSTD_CCtx * const)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - ZSTD_Sequence const *inSeqs = (ZSTD_Sequence const *)(intptr_t)inSeqsAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx * const cctx = (ZSTD_CCtx * const)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + ZSTD_Sequence const *inSeqs = (ZSTD_Sequence const *)(uintptr_t)inSeqsAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressSequences(cctx, dst, (size_t)dstSize, inSeqs, (size_t)inSeqsSize, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1writeSkippableFrame(JNIEnv *__env, jclass clazz, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize, jint magicVariant) { - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_writeSkippableFrame(dst, (size_t)dstCapacity, src, (size_t)srcSize, (unsigned)magicVariant); } @@ -65,13 +65,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1estimateCCtxSize(JN } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateCCtxSize_1usingCParams(JNIEnv *__env, jclass clazz, jlong cParamsAddress) { - ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(intptr_t)cParamsAddress; + ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(uintptr_t)cParamsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateCCtxSize_usingCParams(*cParams); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateCCtxSize_1usingCCtxParams(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(intptr_t)paramsAddress; + ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateCCtxSize_usingCCtxParams(params); } @@ -87,13 +87,13 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1estimateCStreamSize } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateCStreamSize_1usingCParams(JNIEnv *__env, jclass clazz, jlong cParamsAddress) { - ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(intptr_t)cParamsAddress; + ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(uintptr_t)cParamsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateCStreamSize_usingCParams(*cParams); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateCStreamSize_1usingCCtxParams(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(intptr_t)paramsAddress; + ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateCStreamSize_usingCCtxParams(params); } @@ -104,7 +104,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1estimateDStreamSize } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateDStreamSize_1fromFrame(JNIEnv *__env, jclass clazz, jlong srcAddress, jlong srcSize) { - void const *src = (void const *)(intptr_t)srcAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateDStreamSize_fromFrame(src, (size_t)srcSize); } @@ -115,7 +115,7 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1estimateCDictSize(J } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1estimateCDictSize_1advanced(JNIEnv *__env, jclass clazz, jlong dictSize, jlong cParamsAddress, jint dictLoadMethod) { - ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(intptr_t)cParamsAddress; + ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(uintptr_t)cParamsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_estimateCDictSize_advanced((size_t)dictSize, *cParams, (ZSTD_dictLoadMethod_e)dictLoadMethod); } @@ -126,346 +126,346 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1estimateDDictSize(J } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticCCtx(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize) { - void *workspace = (void *)(intptr_t)workspaceAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticCCtx(workspace, (size_t)workspaceSize); + return (jlong)(uintptr_t)ZSTD_initStaticCCtx(workspace, (size_t)workspaceSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticCStream(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize) { - void *workspace = (void *)(intptr_t)workspaceAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticCStream(workspace, (size_t)workspaceSize); + return (jlong)(uintptr_t)ZSTD_initStaticCStream(workspace, (size_t)workspaceSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticDCtx(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize) { - void *workspace = (void *)(intptr_t)workspaceAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticDCtx(workspace, (size_t)workspaceSize); + return (jlong)(uintptr_t)ZSTD_initStaticDCtx(workspace, (size_t)workspaceSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticDStream(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize) { - void *workspace = (void *)(intptr_t)workspaceAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticDStream(workspace, (size_t)workspaceSize); + return (jlong)(uintptr_t)ZSTD_initStaticDStream(workspace, (size_t)workspaceSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticCDict(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType, jlong cParamsAddress) { - void *workspace = (void *)(intptr_t)workspaceAddress; - void const *dict = (void const *)(intptr_t)dictAddress; - ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(intptr_t)cParamsAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; + ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(uintptr_t)cParamsAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticCDict(workspace, (size_t)workspaceSize, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *cParams); + return (jlong)(uintptr_t)ZSTD_initStaticCDict(workspace, (size_t)workspaceSize, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *cParams); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1initStaticDDict(JNIEnv *__env, jclass clazz, jlong workspaceAddress, jlong workspaceSize, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType) { - void *workspace = (void *)(intptr_t)workspaceAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + void *workspace = (void *)(uintptr_t)workspaceAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_initStaticDDict(workspace, (size_t)workspaceSize, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType); + return (jlong)(uintptr_t)ZSTD_initStaticDDict(workspace, (size_t)workspaceSize, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createCCtx_1advanced(JNIEnv *__env, jclass clazz, jlong customMemAddress) { - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCCtx_advanced(*customMem); + return (jlong)(uintptr_t)ZSTD_createCCtx_advanced(*customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createCStream_1advanced(JNIEnv *__env, jclass clazz, jlong customMemAddress) { - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCStream_advanced(*customMem); + return (jlong)(uintptr_t)ZSTD_createCStream_advanced(*customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createDCtx_1advanced(JNIEnv *__env, jclass clazz, jlong customMemAddress) { - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDCtx_advanced(*customMem); + return (jlong)(uintptr_t)ZSTD_createDCtx_advanced(*customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createDStream_1advanced(JNIEnv *__env, jclass clazz, jlong customMemAddress) { - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDStream_advanced(*customMem); + return (jlong)(uintptr_t)ZSTD_createDStream_advanced(*customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createCDict_1advanced(JNIEnv *__env, jclass clazz, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType, jlong cParamsAddress, jlong customMemAddress) { - void const *dict = (void const *)(intptr_t)dictAddress; - ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(intptr_t)cParamsAddress; - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; + ZSTD_compressionParameters *cParams = (ZSTD_compressionParameters *)(uintptr_t)cParamsAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCDict_advanced(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *cParams, *customMem); + return (jlong)(uintptr_t)ZSTD_createCDict_advanced(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *cParams, *customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1createThreadPool(JNIEnv *__env, jclass clazz, jlong numThreads) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createThreadPool((size_t)numThreads); + return (jlong)(uintptr_t)ZSTD_createThreadPool((size_t)numThreads); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1freeThreadPool(JNIEnv *__env, jclass clazz, jlong poolAddress) { - ZSTD_threadPool *pool = (ZSTD_threadPool *)(intptr_t)poolAddress; + ZSTD_threadPool *pool = (ZSTD_threadPool *)(uintptr_t)poolAddress; UNUSED_PARAMS(__env, clazz) ZSTD_freeThreadPool(pool); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1refThreadPool(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong poolAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_threadPool *pool = (ZSTD_threadPool *)(intptr_t)poolAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_threadPool *pool = (ZSTD_threadPool *)(uintptr_t)poolAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_refThreadPool(cctx, pool); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createCDict_1advanced2(JNIEnv *__env, jclass clazz, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType, jlong cctxParamsAddress, jlong customMemAddress) { - void const *dict = (void const *)(intptr_t)dictAddress; - ZSTD_CCtx_params const *cctxParams = (ZSTD_CCtx_params const *)(intptr_t)cctxParamsAddress; - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; + ZSTD_CCtx_params const *cctxParams = (ZSTD_CCtx_params const *)(uintptr_t)cctxParamsAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCDict_advanced2(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, cctxParams, *customMem); + return (jlong)(uintptr_t)ZSTD_createCDict_advanced2(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, cctxParams, *customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createDDict_1advanced(JNIEnv *__env, jclass clazz, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType, jlong customMemAddress) { - void const *dict = (void const *)(intptr_t)dictAddress; - ZSTD_customMem *customMem = (ZSTD_customMem *)(intptr_t)customMemAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; + ZSTD_customMem *customMem = (ZSTD_customMem *)(uintptr_t)customMemAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDDict_advanced(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *customMem); + return (jlong)(uintptr_t)ZSTD_createDDict_advanced(dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType, *customMem); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createCDict_1byReference(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize, jint compressionLevel) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCDict_byReference(dictBuffer, (size_t)dictSize, compressionLevel); + return (jlong)(uintptr_t)ZSTD_createCDict_byReference(dictBuffer, (size_t)dictSize, compressionLevel); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getCParams(JNIEnv *__env, jclass clazz, jint compressionLevel, jlong estimatedSrcSize, jlong dictSize, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((ZSTD_compressionParameters*)(intptr_t)__result) = ZSTD_getCParams(compressionLevel, (unsigned long long)estimatedSrcSize, (size_t)dictSize); + *((ZSTD_compressionParameters*)(uintptr_t)__result) = ZSTD_getCParams(compressionLevel, (unsigned long long)estimatedSrcSize, (size_t)dictSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getParams(JNIEnv *__env, jclass clazz, jint compressionLevel, jlong estimatedSrcSize, jlong dictSize, jlong __result) { UNUSED_PARAMS(__env, clazz) - *((ZSTD_parameters*)(intptr_t)__result) = ZSTD_getParams(compressionLevel, (unsigned long long)estimatedSrcSize, (size_t)dictSize); + *((ZSTD_parameters*)(uintptr_t)__result) = ZSTD_getParams(compressionLevel, (unsigned long long)estimatedSrcSize, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1checkCParams(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ZSTD_compressionParameters *params = (ZSTD_compressionParameters *)(intptr_t)paramsAddress; + ZSTD_compressionParameters *params = (ZSTD_compressionParameters *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_checkCParams(*params); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1adjustCParams(JNIEnv *__env, jclass clazz, jlong cParAddress, jlong srcSize, jlong dictSize, jlong __result) { - ZSTD_compressionParameters *cPar = (ZSTD_compressionParameters *)(intptr_t)cParAddress; + ZSTD_compressionParameters *cPar = (ZSTD_compressionParameters *)(uintptr_t)cParAddress; UNUSED_PARAMS(__env, clazz) - *((ZSTD_compressionParameters*)(intptr_t)__result) = ZSTD_adjustCParams(*cPar, (unsigned long long)srcSize, (size_t)dictSize); + *((ZSTD_compressionParameters*)(uintptr_t)__result) = ZSTD_adjustCParams(*cPar, (unsigned long long)srcSize, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1loadDictionary_1byReference(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dictAddress, jlong dictSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_loadDictionary_byReference(cctx, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1loadDictionary_1advanced(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_loadDictionary_advanced(cctx, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1refPrefix_1advanced(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong prefixAddress, jlong prefixSize, jint dictContentType) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *prefix = (void const *)(intptr_t)prefixAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *prefix = (void const *)(uintptr_t)prefixAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_refPrefix_advanced(cctx, prefix, (size_t)prefixSize, (ZSTD_dictContentType_e)dictContentType); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1getParameter(JNIEnv *__env, jclass clazz, jlong cctxAddress, jint param, jlong valueAddress) { - ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(intptr_t)cctxAddress; - int *value = (int *)(intptr_t)valueAddress; + ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(uintptr_t)cctxAddress; + int *value = (int *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_getParameter(cctx, (ZSTD_cParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1createCCtxParams(JNIEnv *__env, jclass clazz) { UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createCCtxParams(); + return (jlong)(uintptr_t)ZSTD_createCCtxParams(); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1freeCCtxParams(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(intptr_t)paramsAddress; + ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_freeCCtxParams(params); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtxParams_1reset(JNIEnv *__env, jclass clazz, jlong paramsAddress) { - ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(intptr_t)paramsAddress; + ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtxParams_reset(params); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtxParams_1init(JNIEnv *__env, jclass clazz, jlong cctxParamsAddress, jint compressionLevel) { - ZSTD_CCtx_params *cctxParams = (ZSTD_CCtx_params *)(intptr_t)cctxParamsAddress; + ZSTD_CCtx_params *cctxParams = (ZSTD_CCtx_params *)(uintptr_t)cctxParamsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtxParams_init(cctxParams, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtxParams_1init_1advanced(JNIEnv *__env, jclass clazz, jlong cctxParamsAddress, jlong paramsAddress) { - ZSTD_CCtx_params *cctxParams = (ZSTD_CCtx_params *)(intptr_t)cctxParamsAddress; - ZSTD_parameters *params = (ZSTD_parameters *)(intptr_t)paramsAddress; + ZSTD_CCtx_params *cctxParams = (ZSTD_CCtx_params *)(uintptr_t)cctxParamsAddress; + ZSTD_parameters *params = (ZSTD_parameters *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtxParams_init_advanced(cctxParams, *params); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtxParams_1setParameter(JNIEnv *__env, jclass clazz, jlong paramsAddress, jint param, jint value) { - ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(intptr_t)paramsAddress; + ZSTD_CCtx_params *params = (ZSTD_CCtx_params *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtxParams_setParameter(params, (ZSTD_cParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtxParams_1getParameter(JNIEnv *__env, jclass clazz, jlong paramsAddress, jint param, jlong valueAddress) { - ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(intptr_t)paramsAddress; - int *value = (int *)(intptr_t)valueAddress; + ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(uintptr_t)paramsAddress; + int *value = (int *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtxParams_getParameter(params, (ZSTD_cParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1CCtx_1setParametersUsingCCtxParams(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong paramsAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(intptr_t)paramsAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_CCtx_params const *params = (ZSTD_CCtx_params const *)(uintptr_t)paramsAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_CCtx_setParametersUsingCCtxParams(cctx, params); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressStream2_1simpleArgs(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong dstPosAddress, jlong srcAddress, jlong srcSize, jlong srcPosAddress, jint endOp) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - size_t *dstPos = (size_t *)(intptr_t)dstPosAddress; - void const *src = (void const *)(intptr_t)srcAddress; - size_t *srcPos = (size_t *)(intptr_t)srcPosAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + size_t *dstPos = (size_t *)(uintptr_t)dstPosAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + size_t *srcPos = (size_t *)(uintptr_t)srcPosAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressStream2_simpleArgs(cctx, dst, (size_t)dstCapacity, dstPos, src, (size_t)srcSize, srcPos, (ZSTD_EndDirective)endOp); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1isFrame(JNIEnv *__env, jclass clazz, jlong bufferAddress, jlong size) { - void const *buffer = (void const *)(intptr_t)bufferAddress; + void const *buffer = (void const *)(uintptr_t)bufferAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_isFrame(buffer, (size_t)size); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1createDDict_1byReference(JNIEnv *__env, jclass clazz, jlong dictBufferAddress, jlong dictSize) { - void const *dictBuffer = (void const *)(intptr_t)dictBufferAddress; + void const *dictBuffer = (void const *)(uintptr_t)dictBufferAddress; UNUSED_PARAMS(__env, clazz) - return (jlong)(intptr_t)ZSTD_createDDict_byReference(dictBuffer, (size_t)dictSize); + return (jlong)(uintptr_t)ZSTD_createDDict_byReference(dictBuffer, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1DCtx_1loadDictionary_1byReference(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dictAddress, jlong dictSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_loadDictionary_byReference(dctx, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1DCtx_1loadDictionary_1advanced(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dictAddress, jlong dictSize, jint dictLoadMethod, jint dictContentType) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_loadDictionary_advanced(dctx, dict, (size_t)dictSize, (ZSTD_dictLoadMethod_e)dictLoadMethod, (ZSTD_dictContentType_e)dictContentType); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1DCtx_1refPrefix_1advanced(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong prefixAddress, jlong prefixSize, jint dictContentType) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *prefix = (void const *)(intptr_t)prefixAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *prefix = (void const *)(uintptr_t)prefixAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_refPrefix_advanced(dctx, prefix, (size_t)prefixSize, (ZSTD_dictContentType_e)dictContentType); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1DCtx_1setMaxWindowSize(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong maxWindowSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_setMaxWindowSize(dctx, (size_t)maxWindowSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1DCtx_1getParameter(JNIEnv *__env, jclass clazz, jlong dctxAddress, jint param, jlong valueAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - int *value = (int *)(intptr_t)valueAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + int *value = (int *)(uintptr_t)valueAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_DCtx_getParameter(dctx, (ZSTD_dParameter)param, value); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressStream_1simpleArgs(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstAddress, jlong dstCapacity, jlong dstPosAddress, jlong srcAddress, jlong srcSize, jlong srcPosAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - size_t *dstPos = (size_t *)(intptr_t)dstPosAddress; - void const *src = (void const *)(intptr_t)srcAddress; - size_t *srcPos = (size_t *)(intptr_t)srcPosAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + size_t *dstPos = (size_t *)(uintptr_t)dstPosAddress; + void const *src = (void const *)(uintptr_t)srcAddress; + size_t *srcPos = (size_t *)(uintptr_t)srcPosAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressStream_simpleArgs(dctx, dst, (size_t)dstCapacity, dstPos, src, (size_t)srcSize, srcPos); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getFrameProgression(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong __result) { - ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(intptr_t)cctxAddress; + ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) - *((ZSTD_frameProgression*)(intptr_t)__result) = ZSTD_getFrameProgression(cctx); + *((ZSTD_frameProgression*)(uintptr_t)__result) = ZSTD_getFrameProgression(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1toFlushNow(JNIEnv *__env, jclass clazz, jlong cctxAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_toFlushNow(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressBegin(JNIEnv *__env, jclass clazz, jlong cctxAddress, jint compressionLevel) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressBegin(cctx, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressBegin_1usingDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dictAddress, jlong dictSize, jint compressionLevel) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressBegin_usingDict(cctx, dict, (size_t)dictSize, compressionLevel); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressBegin_1usingCDict(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong cdictAddress) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_CDict const *cdict = (ZSTD_CDict const *)(intptr_t)cdictAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_CDict const *cdict = (ZSTD_CDict const *)(uintptr_t)cdictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressBegin_usingCDict(cctx, cdict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1copyCCtx(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong preparedCCtxAddress, jlong pledgedSrcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - ZSTD_CCtx const *preparedCCtx = (ZSTD_CCtx const *)(intptr_t)preparedCCtxAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + ZSTD_CCtx const *preparedCCtx = (ZSTD_CCtx const *)(uintptr_t)preparedCCtxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_copyCCtx(cctx, preparedCCtx, (unsigned long long)pledgedSrcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressContinue(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressContinue(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressEnd(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressEnd(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getFrameHeader(JNIEnv *__env, jclass clazz, jlong zfhPtrAddress, jlong srcAddress, jlong srcSize) { - ZSTD_frameHeader *zfhPtr = (ZSTD_frameHeader *)(intptr_t)zfhPtrAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_frameHeader *zfhPtr = (ZSTD_frameHeader *)(uintptr_t)zfhPtrAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_getFrameHeader(zfhPtr, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getFrameHeader_1advanced(JNIEnv *__env, jclass clazz, jlong zfhPtrAddress, jlong srcAddress, jlong srcSize, jint format) { - ZSTD_frameHeader *zfhPtr = (ZSTD_frameHeader *)(intptr_t)zfhPtrAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_frameHeader *zfhPtr = (ZSTD_frameHeader *)(uintptr_t)zfhPtrAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_getFrameHeader_advanced(zfhPtr, src, (size_t)srcSize, (ZSTD_format_e)format); } @@ -476,77 +476,77 @@ JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_ZSTD_1decodingBufferSize_ } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressBegin(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressBegin(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressBegin_1usingDict(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dictAddress, jlong dictSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *dict = (void const *)(intptr_t)dictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *dict = (void const *)(uintptr_t)dictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressBegin_usingDict(dctx, dict, (size_t)dictSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressBegin_1usingDDict(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong ddictAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - ZSTD_DDict const *ddict = (ZSTD_DDict const *)(intptr_t)ddictAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + ZSTD_DDict const *ddict = (ZSTD_DDict const *)(uintptr_t)ddictAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressBegin_usingDDict(dctx, ddict); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1nextSrcSizeToDecompress(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_nextSrcSizeToDecompress(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressContinue(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressContinue(dctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT void JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1copyDCtx(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong preparedDCtxAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - ZSTD_DCtx const *preparedDCtx = (ZSTD_DCtx const *)(intptr_t)preparedDCtxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + ZSTD_DCtx const *preparedDCtx = (ZSTD_DCtx const *)(uintptr_t)preparedDCtxAddress; UNUSED_PARAMS(__env, clazz) ZSTD_copyDCtx(dctx, preparedDCtx); } JNIEXPORT jint JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1nextInputType(JNIEnv *__env, jclass clazz, jlong dctxAddress) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; UNUSED_PARAMS(__env, clazz) return (jint)ZSTD_nextInputType(dctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1getBlockSize(JNIEnv *__env, jclass clazz, jlong cctxAddress) { - ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(intptr_t)cctxAddress; + ZSTD_CCtx const *cctx = (ZSTD_CCtx const *)(uintptr_t)cctxAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_getBlockSize(cctx); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1compressBlock(JNIEnv *__env, jclass clazz, jlong cctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_CCtx *cctx = (ZSTD_CCtx *)(intptr_t)cctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_CCtx *cctx = (ZSTD_CCtx *)(uintptr_t)cctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_compressBlock(cctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1decompressBlock(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong dstAddress, jlong dstCapacity, jlong srcAddress, jlong srcSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void *dst = (void *)(intptr_t)dstAddress; - void const *src = (void const *)(intptr_t)srcAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void *dst = (void *)(uintptr_t)dstAddress; + void const *src = (void const *)(uintptr_t)srcAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_decompressBlock(dctx, dst, (size_t)dstCapacity, src, (size_t)srcSize); } JNIEXPORT jlong JNICALL Java_org_lwjgl_util_zstd_ZstdX_nZSTD_1insertBlock(JNIEnv *__env, jclass clazz, jlong dctxAddress, jlong blockStartAddress, jlong blockSize) { - ZSTD_DCtx *dctx = (ZSTD_DCtx *)(intptr_t)dctxAddress; - void const *blockStart = (void const *)(intptr_t)blockStartAddress; + ZSTD_DCtx *dctx = (ZSTD_DCtx *)(uintptr_t)dctxAddress; + void const *blockStart = (void const *)(uintptr_t)blockStartAddress; UNUSED_PARAMS(__env, clazz) return (jlong)ZSTD_insertBlock(dctx, blockStart, (size_t)blockSize); }