mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
I'm not the smartest.
This commit is contained in:
parent
3660aec56e
commit
c5505c234a
|
@ -20,8 +20,8 @@
|
||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2017-10-03 12:11:17.678787 UTC
|
// Generated 2017-10-03 12:26:06.843171 UTC
|
||||||
// This header was generated with sol v2.18.4 (revision 22d9905)
|
// This header was generated with sol v2.18.4 (revision 3660aec)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
|
@ -8326,7 +8326,7 @@ namespace stack {
|
||||||
tracking.use(1);
|
tracking.use(1);
|
||||||
void* memory = lua_touserdata(L, index);
|
void* memory = lua_touserdata(L, index);
|
||||||
memory = detail::align_user<T>(memory);
|
memory = detail::align_user<T>(memory);
|
||||||
return *static_cast<std::remove_reference_t<T>*>();
|
return *static_cast<std::remove_reference_t<T>*>(memory);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -383,7 +383,7 @@ namespace stack {
|
||||||
tracking.use(1);
|
tracking.use(1);
|
||||||
void* memory = lua_touserdata(L, index);
|
void* memory = lua_touserdata(L, index);
|
||||||
memory = detail::align_user<T>(memory);
|
memory = detail::align_user<T>(memory);
|
||||||
return *static_cast<std::remove_reference_t<T>*>();
|
return *static_cast<std::remove_reference_t<T>*>(memory);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user