This commit is contained in:
altalk23 2022-03-08 10:40:56 +03:00
commit eaec17986b

View file

@ -126,13 +126,6 @@ namespace geode {
template <typename T>
inline void exportAPIFunction(std::string const& selector, T ptr) {
if constexpr (std::is_member_function_pointer_v<decltype(ptr)>) {
// why does this need reference cast
// aaaaaaaa i hate you msvc
// why did you need to make member function
// pointers all different sizes everyone
// hates you stop with this quirkiness
// please i beg you im a cute girl
// listen to me
exportAPIFunctionInternal(selector, cast::reference_cast<unknownmemfn_t>(ptr));
}
else {