(web) add cplusplus guards for material header
This commit is contained in:
@@ -3,11 +3,15 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#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
|
||||
|
||||
@@ -3,11 +3,16 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user