mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
gotta have it on both sides yo
This commit is contained in:
parent
f70edf5686
commit
9b65fb9f93
|
@ -105,7 +105,7 @@ namespace function_detail {
|
|||
|
||||
template <typename F, F fx>
|
||||
inline int c_call(lua_State* L) {
|
||||
#ifdef __clang
|
||||
#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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user