2020-11-10 15:26:38 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
2021-09-09 01:56:48 +02:00
|
|
|
#include <cstddef>
|
2020-11-10 15:26:38 +01:00
|
|
|
|
2021-08-29 14:18:45 +02:00
|
|
|
constexpr static const auto ImHexApiURL = "https://api.werwolv.net/imhex";
|
|
|
|
constexpr static const auto GitHubApiURL = "https://api.github.com/repos/WerWolv/ImHex";
|
|
|
|
|
2020-11-10 15:26:38 +01:00
|
|
|
using u8 = std::uint8_t;
|
|
|
|
using u16 = std::uint16_t;
|
|
|
|
using u32 = std::uint32_t;
|
|
|
|
using u64 = std::uint64_t;
|
|
|
|
using u128 = __uint128_t;
|
|
|
|
|
2020-11-10 16:24:48 +01:00
|
|
|
using s8 = std::int8_t;
|
|
|
|
using s16 = std::int16_t;
|
|
|
|
using s32 = std::int32_t;
|
|
|
|
using s64 = std::int64_t;
|
2020-11-10 15:26:38 +01:00
|
|
|
using s128 = __int128_t;
|
|
|
|
|
2021-09-09 01:56:48 +02:00
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
struct Region {
|
|
|
|
u64 address;
|
|
|
|
size_t size;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|