mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
[ntcore] Add ntcoreffi binary (#4471)
Co-authored-by: Peter Johnson <johnson.peter@gmail.com>
This commit is contained in:
11
ntcoreffi/src/main/native/c/ntcoreffi.c
Normal file
11
ntcoreffi/src/main/native/c/ntcoreffi.c
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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.
|
||||
|
||||
#define AddFunctionToLink(FuncName) \
|
||||
extern void FuncName(void); \
|
||||
FuncName()
|
||||
|
||||
void DoNotCallMeImOnlyForLinking(void) {
|
||||
#include "ExportedSymbols.h"
|
||||
}
|
||||
Reference in New Issue
Block a user