mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
21 lines
367 B
C++
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);
|
|
}
|
|
}
|