mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Adds gradle task to fix NI libraries whenever new ones are added. (#325)
Generates genlinks, and modifies headers to make them self contained
This commit is contained in:
committed by
Peter Johnson
parent
81212d80c6
commit
861726cefa
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_AI_h__
|
||||
#define __nFRC_2017_17_0_2_AI_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_AO_h__
|
||||
#define __nFRC_2017_17_0_2_AO_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Accel_h__
|
||||
#define __nFRC_2017_17_0_2_Accel_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Accumulator_h__
|
||||
#define __nFRC_2017_17_0_2_Accumulator_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Alarm_h__
|
||||
#define __nFRC_2017_17_0_2_Alarm_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_AnalogTrigger_h__
|
||||
#define __nFRC_2017_17_0_2_AnalogTrigger_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_BIST_h__
|
||||
#define __nFRC_2017_17_0_2_BIST_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Counter_h__
|
||||
#define __nFRC_2017_17_0_2_Counter_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_DIO_h__
|
||||
#define __nFRC_2017_17_0_2_DIO_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_DMA_h__
|
||||
#define __nFRC_2017_17_0_2_DMA_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Encoder_h__
|
||||
#define __nFRC_2017_17_0_2_Encoder_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Global_h__
|
||||
#define __nFRC_2017_17_0_2_Global_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Interrupt_h__
|
||||
#define __nFRC_2017_17_0_2_Interrupt_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_PWM_h__
|
||||
#define __nFRC_2017_17_0_2_PWM_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Power_h__
|
||||
#define __nFRC_2017_17_0_2_Power_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_Relay_h__
|
||||
#define __nFRC_2017_17_0_2_Relay_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_SPI_h__
|
||||
#define __nFRC_2017_17_0_2_SPI_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
#ifndef __nFRC_2017_17_0_2_SysWatchdog_h__
|
||||
#define __nFRC_2017_17_0_2_SysWatchdog_h__
|
||||
|
||||
#include "tSystemInterface.h"
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
#ifndef __FRC_COMM_H__
|
||||
#define __FRC_COMM_H__
|
||||
|
||||
#ifdef WIN32
|
||||
# include <vxWorks_compat.h>
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
#ifdef USE_THRIFT
|
||||
# define EXPORT_FUNC
|
||||
# else
|
||||
@@ -33,7 +33,7 @@
|
||||
#define ERR_FRCSystem_NetCommNotResponding -44049
|
||||
#define ERR_FRCSystem_NoDSConnection -44018
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
# define __DEPRECATED__ __declspec(deprecated)
|
||||
#else
|
||||
# define __DEPRECATED__ __attribute__((__deprecated__))
|
||||
@@ -129,7 +129,7 @@ extern "C" {
|
||||
int EXPORT_FUNC FRC_NetworkCommunication_sendError(int isError, int32_t errorCode, int isLVCode,
|
||||
const char *details, const char *location, const char *callStack);
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
void EXPORT_FUNC setNewDataSem(HANDLE);
|
||||
#elif defined (__vxworks)
|
||||
void EXPORT_FUNC setNewDataSem(SEM_ID);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef __LoadOut_h__
|
||||
#define __LoadOut_h__
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include <vxWorks_compat.h>
|
||||
#define EXPORT_FUNC __declspec(dllexport) __cdecl
|
||||
#elif defined (__vxworks)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef __UsageReporting_h__
|
||||
#define __UsageReporting_h__
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include <stdint.h>
|
||||
#define EXPORT_FUNC __declspec(dllexport) __cdecl
|
||||
#elif defined (__vxworks)
|
||||
|
||||
Reference in New Issue
Block a user