2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2018-05-11 12:38:23 -07:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include "hal/Types.h"
|
2018-05-11 12:38:23 -07:00
|
|
|
#include "jni.h"
|
|
|
|
|
|
|
|
|
|
typedef HAL_Handle SIM_JniHandle;
|
|
|
|
|
|
2020-12-28 01:19:59 -08:00
|
|
|
namespace hal::sim {
|
2018-05-11 12:38:23 -07:00
|
|
|
JavaVM* GetJVM();
|
|
|
|
|
|
|
|
|
|
jmethodID GetNotifyCallback();
|
|
|
|
|
jmethodID GetBufferCallback();
|
|
|
|
|
jmethodID GetConstBufferCallback();
|
|
|
|
|
jmethodID GetSpiReadAutoReceiveBufferCallback();
|
2020-12-28 01:19:59 -08:00
|
|
|
} // namespace hal::sim
|