- Fixed header include guards
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#define FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#ifndef FENNEC_FILESYSTEM_DETAIL_CTYPE_H
|
||||
#define FENNEC_FILESYSTEM_DETAIL_CTYPE_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#endif // FENNEC_FILESYSTEM_DETAIL_CTYPE_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_IO_FILE_H
|
||||
#define FENNEC_LANGPROC_IO_FILE_H
|
||||
#ifndef FENNEC_FILESYSTEM_FILE_H
|
||||
#define FENNEC_FILESYSTEM_FILE_H
|
||||
|
||||
#include <fennec/filesystem/path.h>
|
||||
|
||||
@@ -319,4 +319,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_IO_FILE_H
|
||||
#endif // FENNEC_FILESYSTEM_FILE_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_IO_PATH_H
|
||||
#define FENNEC_LANGPROC_IO_PATH_H
|
||||
#ifndef FENNEC_FILESYSTEM_PATH_H
|
||||
#define FENNEC_FILESYSTEM_PATH_H
|
||||
|
||||
#include <fennec/filesystem/path.h>
|
||||
#include <fennec/string/string.h>
|
||||
@@ -331,4 +331,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_IO_PATH_H
|
||||
#endif // FENNEC_FILESYSTEM_PATH_H
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANG_STRINGS_DETAIL_FORMAT_H
|
||||
#define FENNEC_LANG_STRINGS_DETAIL_FORMAT_H
|
||||
#ifndef FENNEC_FORMAT_DETAIL_FORMAT_H
|
||||
#define FENNEC_FORMAT_DETAIL_FORMAT_H
|
||||
|
||||
#include <fennec/memory/pointers.h>
|
||||
#include <fennec/format/formatter.h>
|
||||
@@ -147,4 +147,4 @@ constexpr bool _isfmt_f(char c) {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_STRINGS_DETAIL_FORMAT_H
|
||||
#endif // FENNEC_FORMAT_DETAIL_FORMAT_H
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANG_STRINGS_FORMAT_H
|
||||
#define FENNEC_LANG_STRINGS_FORMAT_H
|
||||
#ifndef FENNEC_FORMAT_FORMAT_H
|
||||
#define FENNEC_FORMAT_FORMAT_H
|
||||
|
||||
#include <fennec/string/string.h>
|
||||
|
||||
@@ -271,4 +271,4 @@ string format(const cstring& str, ArgsT&&...args) {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_STRINGS_FORMAT_H
|
||||
#endif // FENNEC_FORMAT_FORMAT_H
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANG_FORMAT_FORMAT_ARG_H
|
||||
#define FENNEC_LANG_FORMAT_FORMAT_ARG_H
|
||||
#ifndef FENNEC_FORMAT_FORMAT_ARG_H
|
||||
#define FENNEC_FORMAT_FORMAT_ARG_H
|
||||
|
||||
#include <fennec/lang/types.h>
|
||||
|
||||
@@ -46,4 +46,4 @@ struct format_arg {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_FORMAT_FORMAT_ARG_H
|
||||
#endif // FENNEC_FORMAT_FORMAT_ARG_H
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANG_FORMAT_FORMATTER_H
|
||||
#define FENNEC_LANG_FORMAT_FORMATTER_H
|
||||
#ifndef FENNEC_FORMAT_FORMATTER_H
|
||||
#define FENNEC_FORMAT_FORMATTER_H
|
||||
|
||||
#include <fennec/string/string.h>
|
||||
#include <fennec/format/format_arg.h>
|
||||
@@ -208,4 +208,4 @@ struct formatter<BoolT> {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_FORMAT_FORMATTER_H
|
||||
#endif // FENNEC_FORMAT_FORMATTER_H
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANGPROC_FORMAT_TOKENIZER_H
|
||||
#define FENNEC_LANGPROC_FORMAT_TOKENIZER_H
|
||||
#ifndef FENNEC_INTERPRET_TOKENIZER_H
|
||||
#define FENNEC_INTERPRET_TOKENIZER_H
|
||||
|
||||
#include <fennec/containers/list.h>
|
||||
#include <fennec/containers/map.h>
|
||||
@@ -109,4 +109,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_FORMAT_TOKENIZER_H
|
||||
#endif // FENNEC_INTERPRET_TOKENIZER_H
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_LANGCPP_DETAIL_DECLVAL_H
|
||||
#define FENNEC_LANGCPP_DETAIL_DECLVAL_H
|
||||
#ifndef FENNEC_LANG_DETAIL_DECLVAL_H
|
||||
#define FENNEC_LANG_DETAIL_DECLVAL_H
|
||||
|
||||
#include <fennec/lang/constants.h>
|
||||
|
||||
@@ -43,4 +43,4 @@ template<typename T> struct _declval_protector : bool_constant<false> {};
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGCPP_DETAIL_DECLVAL_H
|
||||
#endif // FENNEC_LANG_DETAIL_DECLVAL_H
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANG_BYTES_H
|
||||
#define FENNEC_LANG_BYTES_H
|
||||
#ifndef FENNEC_MEMORY_BYTES_H
|
||||
#define FENNEC_MEMORY_BYTES_H
|
||||
|
||||
#include <fennec/lang/assert.h>
|
||||
#include <fennec/lang/types.h>
|
||||
@@ -186,4 +186,4 @@ struct hash<byte_array> {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_BYTES_H
|
||||
#endif // FENNEC_MEMORY_BYTES_H
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
///
|
||||
///
|
||||
|
||||
#ifndef FENNEC_PLATFORM_INTERFACE_GFXCONTEXT_H
|
||||
#define FENNEC_PLATFORM_INTERFACE_GFXCONTEXT_H
|
||||
#ifndef FENNEC_RENDERERS_INTERFACE_GFXCONTEXT_H
|
||||
#define FENNEC_RENDERERS_INTERFACE_GFXCONTEXT_H
|
||||
|
||||
#include <fennec/lang/types.h>
|
||||
#include <fennec/string/string.h>
|
||||
@@ -57,4 +57,4 @@ class gfxsubpass {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_PLATFORM_INTERFACE_GFXCONTEXT_H
|
||||
#endif // FENNEC_RENDERERS_INTERFACE_GFXCONTEXT_H
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANG_DETAIL_TYPEUUID_H
|
||||
#define FENNEC_LANG_DETAIL_TYPEUUID_H
|
||||
#ifndef FENNEC_RTTI_DETAIL_TYPEUUID_H
|
||||
#define FENNEC_RTTI_DETAIL_TYPEUUID_H
|
||||
|
||||
#include <fennec/lang/types.h>
|
||||
|
||||
@@ -32,4 +32,4 @@ FENNEC_NO_INLINE uint64_t _typeuuid() {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_DETAIL_TYPEUUID_H
|
||||
#endif // FENNEC_RTTI_DETAIL_TYPEUUID_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANG_TYPEUUID_H
|
||||
#define FENNEC_LANG_TYPEUUID_H
|
||||
#ifndef FENNEC_RTTI_TYPEUUID_H
|
||||
#define FENNEC_RTTI_TYPEUUID_H
|
||||
|
||||
#include <fennec/lang/types.h>
|
||||
#include <fennec/rtti/detail/_typeid.h>
|
||||
@@ -39,4 +39,4 @@ FENNEC_NO_INLINE uint64_t typeuuid() {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANG_TYPEUUID_H
|
||||
#endif // FENNEC_RTTI_TYPEUUID_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_CORE_SCENE_H
|
||||
#define FENNEC_CORE_SCENE_H
|
||||
#ifndef FENNEC_SCENE_SCENE_H
|
||||
#define FENNEC_SCENE_SCENE_H
|
||||
|
||||
#include <fennec/containers/rdtree.h>
|
||||
#include <fennec/string/string.h>
|
||||
@@ -56,4 +56,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_CORE_SCENE_H
|
||||
#endif // FENNEC_SCENE_SCENE_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_CSTRING_H
|
||||
#define FENNEC_LANGPROC_STRINGS_CSTRING_H
|
||||
#ifndef FENNEC_STRING_CSTRING_H
|
||||
#define FENNEC_STRING_CSTRING_H
|
||||
|
||||
#include <fennec/string/detail/_ctype.h>
|
||||
#include <fennec/memory/detail/_string.h>
|
||||
@@ -367,4 +367,4 @@ struct hash<cstring> : hash<byte_array> {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_CSTRING_H
|
||||
#endif // FENNEC_STRING_CSTRING_H
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#define FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#ifndef FENNEC_STRING_DETAIL_CTYPE_H
|
||||
#define FENNEC_STRING_DETAIL_CTYPE_H
|
||||
|
||||
#include <ctype.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#endif // FENNEC_STRING_DETAIL_CTYPE_H
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#define FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#ifndef FENNEC_STRING_DETAIL_CTYPE_H
|
||||
#define FENNEC_STRING_DETAIL_CTYPE_H
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_DETAIL_CTYPE_H
|
||||
#endif // FENNEC_STRING_DETAIL_CTYPE_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_LOCALE_H
|
||||
#define FENNEC_LANGPROC_STRINGS_LOCALE_H
|
||||
#ifndef FENNEC_STRING_LOCALE_H
|
||||
#define FENNEC_STRING_LOCALE_H
|
||||
|
||||
#include <fennec/string/detail/_locale.h>
|
||||
|
||||
@@ -41,4 +41,4 @@ using ::localeconv;
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_LOCALE_H
|
||||
#endif // FENNEC_STRING_LOCALE_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_STRING_H
|
||||
#define FENNEC_LANGPROC_STRINGS_STRING_H
|
||||
#ifndef FENNEC_STRING_STRING_H
|
||||
#define FENNEC_STRING_STRING_H
|
||||
|
||||
#include <fennec/string/cstring.h>
|
||||
|
||||
@@ -474,4 +474,4 @@ struct hash<string> : hash<byte_array> {
|
||||
}
|
||||
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_STRING_H
|
||||
#endif // FENNEC_STRING_STRING_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_STRINGS_wcstring_H
|
||||
#define FENNEC_LANGPROC_STRINGS_wcstring_H
|
||||
#ifndef FENNEC_STRING_wcstring_H
|
||||
#define FENNEC_STRING_wcstring_H
|
||||
|
||||
#include <fennec/string/detail/_ctype.h>
|
||||
#include <fennec/memory/detail/_string.h>
|
||||
@@ -351,4 +351,4 @@ struct hash<wcstring> : hash<byte_array> {
|
||||
|
||||
}
|
||||
|
||||
#endif // FENNEC_LANGPROC_STRINGS_wcstring_H
|
||||
#endif // FENNEC_STRING_wcstring_H
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
// =====================================================================================================================
|
||||
|
||||
#ifndef FENNEC_LANGPROC_wstringS_WSTRING_H
|
||||
#define FENNEC_LANGPROC_wstringS_WSTRING_H
|
||||
#ifndef FENNEC_STRING_WSTRING_H
|
||||
#define FENNEC_STRING_WSTRING_H
|
||||
|
||||
#include <fennec/string/detail/_ctype.h>
|
||||
#include <fennec/string/wcstring.h>
|
||||
@@ -448,4 +448,4 @@ struct hash<wstring> : hash<byte_array> {
|
||||
}
|
||||
|
||||
|
||||
#endif // FENNEC_LANGPROC_wstringS_WSTRING_H
|
||||
#endif // FENNEC_STRING_WSTRING_H
|
||||
|
||||
Reference in New Issue
Block a user