update single

This commit is contained in:
ThePhD 2018-04-01 21:52:29 -04:00
parent 612c1232e2
commit 81912b6dd4
2 changed files with 6 additions and 6 deletions

View File

@ -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 2018-03-30 08:50:17.354157 UTC // Generated 2018-04-02 01:52:16.411607 UTC
// This header was generated with sol v2.19.5 (revision 035c2f8) // This header was generated with sol v2.19.5 (revision 612c123)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -7685,7 +7685,7 @@ namespace sol {
} }
template <typename T, typename F> template <typename T, typename F>
inline void modify_unique_usertype_as(stack_object obj, F&& f) { inline void modify_unique_usertype_as(const stack_reference& obj, F&& f) {
typedef unique_usertype_traits<T> u_traits; typedef unique_usertype_traits<T> u_traits;
void* raw = lua_touserdata(obj.lua_state(), obj.stack_index()); void* raw = lua_touserdata(obj.lua_state(), obj.stack_index());
void* ptr_memory = detail::align_usertype_pointer(raw); void* ptr_memory = detail::align_usertype_pointer(raw);
@ -7696,7 +7696,7 @@ namespace sol {
} }
template <typename F> template <typename F>
inline void modify_unique_usertype(stack_object obj, F&& f) { inline void modify_unique_usertype(const stack_reference& obj, F&& f) {
typedef meta::bind_traits<meta::unqualified_t<F>> bt; typedef meta::bind_traits<meta::unqualified_t<F>> bt;
typedef typename bt::template arg_at<0> T; typedef typename bt::template arg_at<0> T;
modify_unique_usertype_as<meta::unqualified_t<T>>(obj, std::forward<F>(f)); modify_unique_usertype_as<meta::unqualified_t<T>>(obj, std::forward<F>(f));

View File

@ -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 2018-03-30 08:50:17.586274 UTC // Generated 2018-04-02 01:52:17.091762 UTC
// This header was generated with sol v2.19.5 (revision 035c2f8) // This header was generated with sol v2.19.5 (revision 612c123)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP