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

21 lines
367 B
C++

#pragma once
#include <dlfcn.h>
namespace geode {
struct PlatformInfo {
void* m_so;
};
}
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);
}
}