We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
extern "C"{
Arduino.h
1 parent 0428ad8 commit 5897ecdCopy full SHA for 5897ecd
cores/arduino/Arduino.h
@@ -89,6 +89,10 @@ void yield(void);
89
#undef abs
90
#endif
91
92
+#if defined(__cplusplus)
93
+}; // extern "C"
94
+#endif
95
+
96
#define min(a,b) ((a)<(b)?(a):(b))
97
#define max(a,b) ((a)>(b)?(a):(b))
98
#define abs(x) ((x)>0?(x):-(x))
@@ -126,6 +130,10 @@ typedef unsigned int word;
126
130
typedef bool boolean;
127
131
typedef uint8_t byte;
128
132
133
134
+extern "C"{
135
136
129
137
void init(void);
138
void initVariant(void);
139
0 commit comments