mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This is the changes made by Patrick Plenefisch converting the native code to use CMake and the CMake Maven Plugin, as opposed to the native Maven plugin. This is to allow for compatibility with newer versions of the GCC toolchain. All the cpp sources were moved from maven style directories to cpp style directories for CMake. Change-Id: I67f5e3608948f37c83b0990d232105a3784f8593
114 lines
2.9 KiB
C++
114 lines
2.9 KiB
C++
#include <jni.h>
|
|
#include <assert.h>
|
|
#include "Log.h"
|
|
|
|
#include "edu_wpi_first_wpilibj_hal_InterruptJNI.h"
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: initializeInterrupts
|
|
* Signature: (IBLjava/nio/IntBuffer;)Ljava/nio/ByteBuffer;
|
|
*/
|
|
JNIEXPORT jobject JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_initializeInterrupts
|
|
(JNIEnv *, jclass, jint, jbyte, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: cleanInterrupts
|
|
* Signature: (Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_cleanInterrupts
|
|
(JNIEnv *, jclass, jobject, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: waitForInterrupt
|
|
* Signature: (Ljava/nio/ByteBuffer;DLjava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_waitForInterrupt
|
|
(JNIEnv *, jclass, jobject, jdouble, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: enableInterrupts
|
|
* Signature: (Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_enableInterrupts
|
|
(JNIEnv *, jclass, jobject, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: disableInterrupts
|
|
* Signature: (Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_disableInterrupts
|
|
(JNIEnv *, jclass, jobject, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: readInterruptTimestamp
|
|
* Signature: (Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;)D
|
|
*/
|
|
JNIEXPORT jdouble JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_readInterruptTimestamp
|
|
(JNIEnv *, jclass, jobject, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: requestInterrupts
|
|
* Signature: (Ljava/nio/ByteBuffer;BIBLjava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_requestInterrupts
|
|
(JNIEnv *, jclass, jobject, jbyte, jint, jbyte, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: attachInterruptHandler
|
|
* Signature: (Ljava/nio/ByteBuffer;Ledu/wpi/first/wpilibj/hal/InterruptJNI/InterruptHandlerFunction;Ljava/nio/ByteBuffer;Ljava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_attachInterruptHandler
|
|
(JNIEnv *, jclass, jobject, jobject, jobject, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|
|
|
|
/*
|
|
* Class: edu_wpi_first_wpilibj_hal_InterruptJNI
|
|
* Method: setInterruptUpSourceEdge
|
|
* Signature: (Ljava/nio/ByteBuffer;BBLjava/nio/IntBuffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_edu_wpi_first_wpilibj_hal_InterruptJNI_setInterruptUpSourceEdge
|
|
(JNIEnv *, jclass, jobject, jbyte, jbyte, jobject)
|
|
{
|
|
assert(false);
|
|
|
|
}
|