Replace include guards with pragma once

This commit is contained in:
Jaby
2023-10-05 21:40:04 +02:00
parent 19f8303d99
commit db1bbec06e
42 changed files with 83 additions and 193 deletions

View File

@@ -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)