geode/loader/include/Geode/platform/android.hpp

22 lines
367 B
C++
Raw Normal View History

2022-07-30 12:24:03 -04:00
#pragma once
#include <dlfcn.h>
namespace geode {
struct PlatformInfo {
void* m_so;
};
}
2022-07-30 12:24:03 -04:00
namespace geode::base {
/*GEODE_NOINLINE inline*/ uintptr_t get();
2022-07-30 12:24:03 -04:00
}
namespace geode::cast {
template <class After, class Before>
After typeinfo_cast(Before ptr) {
// yall have symbols smh
return dynamic_cast<After>(ptr);
}
}