mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Moved C++ header includes out of extern "C" and added missing C header includes (#1053)
This commit is contained in:
committed by
Peter Johnson
parent
6729a7d6b1
commit
01d8d0c795
@@ -10,7 +10,11 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
#else
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
#else
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#include <wpi/deprecated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
#else
|
||||
#include <cstddef>
|
||||
#endif
|
||||
|
||||
/** Typedefs */
|
||||
typedef int NT_Bool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user