diff --git a/thermion_dart/native/include/material/grid.h b/thermion_dart/native/include/material/grid.h index 58dbdbd3..d2a15846 100644 --- a/thermion_dart/native/include/material/grid.h +++ b/thermion_dart/native/include/material/grid.h @@ -3,11 +3,15 @@ #include +#ifdef __cplusplus extern "C" { +#endif extern const uint8_t GRID_PACKAGE[]; extern int GRID_GRID_OFFSET; extern int GRID_GRID_SIZE; +#ifdef __cplusplus } +#endif #define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET) #endif diff --git a/thermion_dart/native/include/material/outline.h b/thermion_dart/native/include/material/outline.h index 0b9cc973..a1634ba4 100644 --- a/thermion_dart/native/include/material/outline.h +++ b/thermion_dart/native/include/material/outline.h @@ -3,11 +3,16 @@ #include +#ifdef __cplusplus extern "C" { +#endif extern const uint8_t OUTLINE_PACKAGE[]; extern int OUTLINE_OUTLINE_OFFSET; extern int OUTLINE_OUTLINE_SIZE; +#ifdef __cplusplus } +#endif + #define OUTLINE_OUTLINE_DATA (OUTLINE_PACKAGE + OUTLINE_OUTLINE_OFFSET) #endif