mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
merge
This commit is contained in:
commit
eaec17986b
1 changed files with 0 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue