Replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_OVERLAY__HPP__
|
||||
#define __JABYENGINE_OVERLAY__HPP__
|
||||
#pragma once
|
||||
#include "../AutoLBA/auto_lba.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
@@ -7,5 +6,4 @@ namespace JabyEngine {
|
||||
|
||||
// Can be used to create dummy values to trick LZ4 into compressing an uncompressed overlay
|
||||
#define __create_dummy_fill(length) static const uint8_t __section(".keep.dummy") __used DummyFilling[length] = {0x0}
|
||||
}
|
||||
#endif //!__JABYENGINE_OVERLAY__HPP__
|
||||
}
|
@@ -1,10 +1,8 @@
|
||||
#ifndef __JABYENGINE_OVERLAY_DECLARATION__HPP__
|
||||
#define __JABYENGINE_OVERLAY_DECLARATION__HPP__
|
||||
#pragma once
|
||||
|
||||
// No include here because this header should be included in a namespace and we don't want multiple namespace definitions of OverlayHeader and OverlayLBA
|
||||
|
||||
#include "../AutoLBA/auto_lba_declaration.hpp"
|
||||
|
||||
#define __declare_overlay_header(function, enum_struct) \
|
||||
__declare_lba_header(enum_struct)
|
||||
#endif //!__JABYENGINE_OVERLAY_DECLARATION__HPP__
|
||||
__declare_lba_header(enum_struct)
|
Reference in New Issue
Block a user