Skip to content

Commit

Permalink
fix jni_util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Aug 16, 2024
1 parent d5d63eb commit f98265b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions wpiutil/src/main/native/include/wpi/jni_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -595,11 +595,11 @@ inline jbooleanArray MakeJBooleanArray(JNIEnv* env, std::span<const bool> 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

Expand Down

0 comments on commit f98265b

Please sign in to comment.