mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Q_Q
This commit is contained in:
parent
8fa48627c6
commit
f70edf5686
|
@ -105,7 +105,11 @@ namespace function_detail {
|
||||||
|
|
||||||
template <typename F, F fx>
|
template <typename F, F fx>
|
||||||
inline int c_call(lua_State* L) {
|
inline int c_call(lua_State* L) {
|
||||||
return detail::static_trampoline<(&function_detail::call_wrapper_entry<F, fx>)>(L);
|
#ifdef __clang
|
||||||
|
return detail::trampoline(L, function_detail::call_wrapper_entry<F, fx>);
|
||||||
|
#else
|
||||||
|
return detail::static_trampoline<(&function_detail::call_wrapper_entry<F, fx>)>(L);
|
||||||
|
#endif // fuck you clang :<
|
||||||
}
|
}
|
||||||
} // sol
|
} // sol
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user