mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-10 12:04:36 -04:00
fix messageboxfix
This commit is contained in:
parent
f91bad2acc
commit
92099a9ba5
3 changed files with 6 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
namespace { namespace format_strings {
|
||||
|
||||
char const* declare_address = R"GEN(
|
||||
GEODE_INLINE GEODE_HIDDEN inline static uintptr_t address{index}() {{
|
||||
GEODE_INLINE GEODE_HIDDEN static uintptr_t address{index}() {{
|
||||
static uintptr_t ret = {address};
|
||||
return ret;
|
||||
}}
|
||||
|
|
|
@ -90,7 +90,7 @@ namespace std {
|
|||
|
||||
#define GEODE_PLATFORM_TARGET PlatformID::MacOS
|
||||
#define GEODE_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define GEODE_INLINE __attribute__((always_inline))
|
||||
#define GEODE_INLINE inline __attribute__((always_inline))
|
||||
#define GEODE_VIRTUAL_CONSTEXPR constexpr
|
||||
#define GEODE_NOINLINE __attribute__((noinline))
|
||||
|
||||
|
@ -109,7 +109,7 @@ namespace std {
|
|||
|
||||
#define GEODE_PLATFORM_TARGET PlatformID::iOS
|
||||
#define GEODE_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define GEODE_INLINE __attribute__((always_inline))
|
||||
#define GEODE_INLINE inline __attribute__((always_inline))
|
||||
#define GEODE_VIRTUAL_CONSTEXPR constexpr
|
||||
#define GEODE_NOINLINE __attribute__((noinline))
|
||||
|
||||
|
@ -128,7 +128,7 @@ namespace std {
|
|||
|
||||
#define GEODE_PLATFORM_TARGET PlatformID::Android
|
||||
#define GEODE_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define GEODE_INLINE __attribute__((always_inline))
|
||||
#define GEODE_INLINE inline __attribute__((always_inline))
|
||||
#define GEODE_VIRTUAL_CONSTEXPR constexpr
|
||||
#define GEODE_NOINLINE __attribute__((noinline))
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#ifdef GEODE_IS_WINDOWS
|
||||
#include <Geode/loader/Mod.hpp>
|
||||
#include <Geode/modify/InternalMacros.hpp>
|
||||
|
||||
USE_GEODE_NAMESPACE();
|
||||
using geode::core::meta::x86::Thiscall;
|
||||
|
|
Loading…
Add table
Reference in a new issue