gotta have it on both sides yo

This commit is contained in:
ThePhD 2016-05-20 05:39:34 -04:00
parent f70edf5686
commit 9b65fb9f93

View File

@ -105,7 +105,7 @@ 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) {
#ifdef __clang #ifdef __clang__
return detail::trampoline(L, function_detail::call_wrapper_entry<F, fx>); return detail::trampoline(L, function_detail::call_wrapper_entry<F, fx>);
#else #else
return detail::static_trampoline<(&function_detail::call_wrapper_entry<F, fx>)>(L); return detail::static_trampoline<(&function_detail::call_wrapper_entry<F, fx>)>(L);