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