Code clean up + replace some wstring instances with utf8 (#640)

This commit is contained in:
Exzap 2023-01-29 12:53:31 +00:00 committed by GitHub
parent ca79a6aa0d
commit f3ff919be2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 163 additions and 641 deletions

View file

@ -85,7 +85,6 @@
namespace fs = std::filesystem;
#include "enumFlags.h"
#include "zstring_view.h"
// base types
using uint64 = uint64_t;
@ -98,11 +97,6 @@ using sint32 = int32_t;
using sint16 = int16_t;
using sint8 = int8_t;
using MPTR = uint32;
using MPTR_UINT8 = uint32;
using MPTR_UINT16 = uint32;
using MPTR_UINT32 = uint32;
// types with explicit big endian order
#include "betype.h"
@ -289,8 +283,6 @@ inline unsigned char _addcarry_u64(unsigned char carry, unsigned long long a, un
// MEMPTR
#include "Common/MemPtr.h"
#define MPTR_NULL (0)
template <typename T1, typename T2>
constexpr bool HAS_FLAG(T1 flags, T2 test_flag) { return (flags & (T1)test_flag) == (T1)test_flag; }
template <typename T1, typename T2>