stop myself from derping out

This commit is contained in:
ThePhD 2018-02-22 21:31:28 -05:00
parent 32cadc0990
commit 12139b8cfb
3 changed files with 4 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-02-22 23:33:52.230658 UTC // Generated 2018-02-23 02:31:12.878607 UTC
// This header was generated with sol v2.19.4 (revision e8a8da0) // This header was generated with sol v2.19.4 (revision 32cadc0)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -17147,7 +17147,6 @@ namespace sol {
#else #else
typedef decltype(std::declval<T>().size()) R; typedef decltype(std::declval<T>().size()) R;
using sz_func = R(T::*)()const; using sz_func = R(T::*)()const;
const char* name = to_string(meta_function::length).c_str();
l[index] = luaL_Reg{ name, &c_call<decltype(static_cast<sz_func>(&T::size)), static_cast<sz_func>(&T::size)> }; l[index] = luaL_Reg{ name, &c_call<decltype(static_cast<sz_func>(&T::size)), static_cast<sz_func>(&T::size)> };
#endif #endif
++index; ++index;

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-02-22 23:33:52.546198 UTC // Generated 2018-02-23 02:31:13.591197 UTC
// This header was generated with sol v2.19.4 (revision e8a8da0) // This header was generated with sol v2.19.4 (revision 32cadc0)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP

View File

@ -157,7 +157,6 @@ namespace sol {
#else #else
typedef decltype(std::declval<T>().size()) R; typedef decltype(std::declval<T>().size()) R;
using sz_func = R(T::*)()const; using sz_func = R(T::*)()const;
const char* name = to_string(meta_function::length).c_str();
l[index] = luaL_Reg{ name, &c_call<decltype(static_cast<sz_func>(&T::size)), static_cast<sz_func>(&T::size)> }; l[index] = luaL_Reg{ name, &c_call<decltype(static_cast<sz_func>(&T::size)), static_cast<sz_func>(&T::size)> };
#endif #endif
++index; ++index;