[wpiutil] Fix WPIUtilJNI.now() implementation (#2640)

This commit is contained in:
Matt
2020-08-16 19:40:11 -07:00
committed by GitHub
parent ef5e0c2e75
commit 73047d8b35
2 changed files with 21 additions and 2 deletions

View File

@@ -27,12 +27,12 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) {
JNIEXPORT void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved) {}
/*
* Class: edu_wpi_first_networktables_NetworkTablesJNI
* Class: edu_wpi_first_wpiutil_WPIUtilJNI
* Method: now
* Signature: ()J
*/
JNIEXPORT jlong JNICALL
Java_edu_wpi_first_networktables_NetworkTablesJNI_now
Java_edu_wpi_first_wpiutil_WPIUtilJNI_now
(JNIEnv*, jclass)
{
return wpi::Now();