rework C includes in C++

This commit is contained in:
Philippe Teuwen
2020-05-03 12:46:46 +02:00
parent 19be62f7e6
commit ed1fb14f5f
7 changed files with 39 additions and 8 deletions

View File

@@ -13,6 +13,10 @@
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
void AppendGraph(bool redraw, uint16_t clock, int bit);
size_t ClearGraph(bool redraw);
bool HasGraphData(void);
@@ -38,4 +42,7 @@ extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
extern size_t GraphTraceLen;
extern int s_Buff[MAX_GRAPH_TRACE_LEN];
#ifdef __cplusplus
}
#endif
#endif