add guards for material headers
This commit is contained in:
@@ -3,12 +3,16 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
#endif
|
||||||
extern const uint8_t GIZMO_PACKAGE[];
|
extern const uint8_t GIZMO_PACKAGE[];
|
||||||
extern int GIZMO_GIZMO_OFFSET;
|
extern int GIZMO_GIZMO_OFFSET;
|
||||||
extern int GIZMO_GIZMO_SIZE;
|
extern int GIZMO_GIZMO_SIZE;
|
||||||
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#define GIZMO_GIZMO_DATA (GIZMO_PACKAGE + GIZMO_GIZMO_OFFSET)
|
#define GIZMO_GIZMO_DATA (GIZMO_PACKAGE + GIZMO_GIZMO_OFFSET)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -3,12 +3,16 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
#endif
|
||||||
extern const uint8_t IMAGE_PACKAGE[];
|
extern const uint8_t IMAGE_PACKAGE[];
|
||||||
extern int IMAGE_IMAGE_OFFSET;
|
extern int IMAGE_IMAGE_OFFSET;
|
||||||
extern int IMAGE_IMAGE_SIZE;
|
extern int IMAGE_IMAGE_SIZE;
|
||||||
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#define IMAGE_IMAGE_DATA (IMAGE_PACKAGE + IMAGE_IMAGE_OFFSET)
|
#define IMAGE_IMAGE_DATA (IMAGE_PACKAGE + IMAGE_IMAGE_OFFSET)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user