mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
fix ccmenuitemsprite virtuals
This commit is contained in:
parent
c4af616a2a
commit
877b644962
1 changed files with 2 additions and 8 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "ItaniumCast.hpp"
|
||||
|
||||
namespace geode {
|
||||
struct PlatformInfo {
|
||||
void* m_so;
|
||||
|
@ -11,11 +13,3 @@ namespace geode {
|
|||
namespace geode::base {
|
||||
/*GEODE_NOINLINE inline*/ uintptr_t get();
|
||||
}
|
||||
|
||||
namespace geode::cast {
|
||||
template <class After, class Before>
|
||||
After typeinfo_cast(Before ptr) {
|
||||
// yall have symbols smh
|
||||
return dynamic_cast<After>(ptr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue