1
0
mirror of synced 2024-11-15 03:27:40 +01:00
ImHex/plugins/libimhex/include/hex.hpp

32 lines
699 B
C++
Raw Normal View History

#pragma once
#include <cstdint>
#include <hex/helpers/lang.hpp>
using namespace hex::lang_literals;
constexpr static const auto ImHexApiURL = "https://api.werwolv.net/imhex";
constexpr static const auto GitHubApiURL = "https://api.github.com/repos/WerWolv/ImHex";
using u8 = std::uint8_t;
using u16 = std::uint16_t;
using u32 = std::uint32_t;
using u64 = std::uint64_t;
using u128 = __uint128_t;
using s8 = std::int8_t;
using s16 = std::int16_t;
using s32 = std::int32_t;
using s64 = std::int64_t;
using s128 = __int128_t;
2021-08-29 22:15:18 +02:00
struct Region {
u64 address;
size_t size;
};
2020-12-21 12:38:30 +01:00
#ifdef OS_WINDOWS
#define MAGIC_PATH_SEPARATOR ";"
#else
#define MAGIC_PATH_SEPARATOR ":"
#endif