From f98265b8a7adea9f498da6e8c2e0676784f1d715 Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Fri, 16 Aug 2024 09:16:46 +0800 Subject: [PATCH] fix jni_util.h --- .../src/main/native/include/wpi/jni_util.h | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/wpiutil/src/main/native/include/wpi/jni_util.h b/wpiutil/src/main/native/include/wpi/jni_util.h index f3418423911..642f12b9967 100644 --- a/wpiutil/src/main/native/include/wpi/jni_util.h +++ b/wpiutil/src/main/native/include/wpi/jni_util.h @@ -196,13 +196,13 @@ struct ArrayHelper {}; } \ }; -WPI_JNI_ARRAYHELPER(jboolean, Boolean) -WPI_JNI_ARRAYHELPER(jbyte, Byte) -WPI_JNI_ARRAYHELPER(jshort, Short) -WPI_JNI_ARRAYHELPER(jint, Int) -WPI_JNI_ARRAYHELPER(jlong, Long) -WPI_JNI_ARRAYHELPER(jfloat, Float) -WPI_JNI_ARRAYHELPER(jdouble, Double) +WPI_JNI_ARRAYHELPER(jboolean, Boolean); +WPI_JNI_ARRAYHELPER(jbyte, Byte); +WPI_JNI_ARRAYHELPER(jshort, Short); +WPI_JNI_ARRAYHELPER(jint, Int); +WPI_JNI_ARRAYHELPER(jlong, Long); +WPI_JNI_ARRAYHELPER(jfloat, Float); +WPI_JNI_ARRAYHELPER(jdouble, Double); #undef WPI_JNI_ARRAYHELPER @@ -595,11 +595,11 @@ inline jbooleanArray MakeJBooleanArray(JNIEnv* env, std::span arr) { return jarr; \ } -WPI_JNI_MAKEJARRAY(jboolean, Boolean) -WPI_JNI_MAKEJARRAY(jbyte, Byte) -WPI_JNI_MAKEJARRAY(jshort, Short) -WPI_JNI_MAKEJARRAY(jfloat, Float) -WPI_JNI_MAKEJARRAY(jdouble, Double) +WPI_JNI_MAKEJARRAY(jboolean, Boolean); +WPI_JNI_MAKEJARRAY(jbyte, Byte); +WPI_JNI_MAKEJARRAY(jshort, Short); +WPI_JNI_MAKEJARRAY(jfloat, Float); +WPI_JNI_MAKEJARRAY(jdouble, Double); #undef WPI_JNI_MAKEJARRAY