Replace include guards with pragma once

This commit is contained in:
Jaby
2023-10-05 21:40:04 +02:00
committed by Jaby
parent d2d5e8c1c0
commit f975df6698
42 changed files with 83 additions and 193 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_IOPORT_HPP__
#define __JABYENGINE_IOPORT_HPP__
#pragma once
#include "../../Auxiliary/types.hpp"
#include "../../Auxiliary/bits.hpp"
@@ -116,5 +115,4 @@ namespace JabyEngine {
#define __declare_io_port_w_type(cv, type, name, adr) __declare_value_at(cv, ::JabyEngine::IOPort<type>, name, adr)
#define __declare_io_port(cv, name, adr) __declare_io_port_w_type(cv, struct name, name, adr)
#define __declare_io_port_array(cv, name, size, adr) __declare_array_at(cv, struct name, name, size, adr)
}
#endif //!__JABYENGINE_IOPORT_HPP__
}