(web) add cplusplus guards for material header
This commit is contained in:
@@ -3,11 +3,15 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
extern const uint8_t GRID_PACKAGE[];
|
extern const uint8_t GRID_PACKAGE[];
|
||||||
extern int GRID_GRID_OFFSET;
|
extern int GRID_GRID_OFFSET;
|
||||||
extern int GRID_GRID_SIZE;
|
extern int GRID_GRID_SIZE;
|
||||||
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET)
|
#define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -3,11 +3,16 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
extern const uint8_t OUTLINE_PACKAGE[];
|
extern const uint8_t OUTLINE_PACKAGE[];
|
||||||
extern int OUTLINE_OUTLINE_OFFSET;
|
extern int OUTLINE_OUTLINE_OFFSET;
|
||||||
extern int OUTLINE_OUTLINE_SIZE;
|
extern int OUTLINE_OUTLINE_SIZE;
|
||||||
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OUTLINE_OUTLINE_DATA (OUTLINE_PACKAGE + OUTLINE_OUTLINE_OFFSET)
|
#define OUTLINE_OUTLINE_DATA (OUTLINE_PACKAGE + OUTLINE_OUTLINE_OFFSET)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user