Replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_LINKED_ELEMENTS_HPP__
|
||||
#define __JABYENGINE_LINKED_ELEMENTS_HPP__
|
||||
#pragma once
|
||||
#include "../../Auxiliary/bits.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
@@ -89,6 +88,4 @@ namespace JabyEngine {
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !__JABYENGINE_LINKED_ELEMENTS_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
|
||||
#define __JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
|
||||
#pragma once
|
||||
#include "../../System/IOPorts/gpu_io.hpp"
|
||||
#include "linked_elements.hpp"
|
||||
#include "primitive_support_types.hpp"
|
||||
@@ -16,6 +15,4 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !__JABYENGINE_PRIMITIVE_GPU_COMMANDS_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
|
||||
#define __JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
|
||||
#pragma once
|
||||
#include "linked_elements.hpp"
|
||||
#include "primitive_support_types.hpp"
|
||||
|
||||
@@ -107,6 +106,4 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_PRIMITIVE_LINE_TYPES_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
|
||||
#define __JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
|
||||
#pragma once
|
||||
#include "linked_elements.hpp"
|
||||
#include "primitive_support_types.hpp"
|
||||
|
||||
@@ -366,5 +365,4 @@ namespace JabyEngine {
|
||||
static_assert(sizeof(POLY_G4) == 32);
|
||||
static_assert(sizeof(POLY_GT4) == 48);
|
||||
}
|
||||
}
|
||||
#endif // !__JABYENGINE_PRIMITIVE_POLY_TYPES_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
|
||||
#define __JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
|
||||
#pragma once
|
||||
#include "linked_elements.hpp"
|
||||
#include "primitive_support_types.hpp"
|
||||
|
||||
@@ -126,6 +125,4 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_PRIMITIVE_RECTANGLE_TYPES_HPP__
|
||||
}
|
@@ -1,10 +1,8 @@
|
||||
#ifndef __JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
|
||||
#define __JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
|
||||
#pragma once
|
||||
#include "../../Auxiliary/type_traits.hpp"
|
||||
#include "../../System/IOPorts/gpu_io.hpp"
|
||||
#include "../gpu_types.hpp"
|
||||
|
||||
|
||||
namespace JabyEngine {
|
||||
namespace GPU {
|
||||
namespace internal {
|
||||
@@ -89,6 +87,4 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_PRIMITIVE_SUPPORT_TYPES_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_GPU_HPP__
|
||||
#define __JABYENGINE_GPU_HPP__
|
||||
#pragma once
|
||||
#include "../Auxiliary/type_traits.hpp"
|
||||
#include "../System/IOPorts/gpu_io.hpp"
|
||||
#include "gpu_primitives.hpp"
|
||||
@@ -60,5 +59,4 @@ namespace JabyEngine {
|
||||
|
||||
uint8_t swap_buffers_vsync(uint8_t syncs, bool clear_screen = true);
|
||||
}
|
||||
}
|
||||
#endif //!__JABYENGINE_GPU_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_GPU_PRIMITIVES_HPP__
|
||||
#define __JABYENGINE_GPU_PRIMITIVES_HPP__
|
||||
#pragma once
|
||||
#include "../Auxiliary/literals.hpp"
|
||||
#include "Primitives/primitive_gpu_commands.hpp"
|
||||
#include "Primitives/primitive_line_types.hpp"
|
||||
@@ -312,6 +311,4 @@ namespace JabyEngine {
|
||||
return creator_template<GPU::SPRT>(area, page, color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !__JABYENGINE_GPU_PRIMITIVES_HPP__
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_GPU_TYPES_HPP__
|
||||
#define __JABYENGINE_GPU_TYPES_HPP__
|
||||
#pragma once
|
||||
#include "../Auxiliary/bits.hpp"
|
||||
#include "../jabyengine_defines.h"
|
||||
|
||||
@@ -222,5 +221,4 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif //!__JABYENGINE_GPU_TYPES_HPP__
|
||||
}
|
Reference in New Issue
Block a user