specify poly as the desired type

This commit is contained in:
ThePhD 2018-03-02 10:09:30 -05:00
parent 94a63902a7
commit 1e5c256394
3 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-02 02:30:38.238868 UTC // Generated 2018-03-02 15:09:13.996712 UTC
// This header was generated with sol v2.19.4 (revision 9bddce6) // This header was generated with sol v2.19.4 (revision 94a6390)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -7902,7 +7902,7 @@ namespace stack {
bool success = !lua_isnone(L, index); bool success = !lua_isnone(L, index);
if (!success) { if (!success) {
// expected type, actual type // expected type, actual type
handler(L, index, type::none, type_of(L, index), ""); handler(L, index, type::poly, type_of(L, index), "");
} }
return success; return success;
} }

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-02 02:30:38.527883 UTC // Generated 2018-03-02 15:09:14.750440 UTC
// This header was generated with sol v2.19.4 (revision 9bddce6) // This header was generated with sol v2.19.4 (revision 94a6390)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP

View File

@ -242,7 +242,7 @@ namespace stack {
bool success = !lua_isnone(L, index); bool success = !lua_isnone(L, index);
if (!success) { if (!success) {
// expected type, actual type // expected type, actual type
handler(L, index, type::none, type_of(L, index), ""); handler(L, index, type::poly, type_of(L, index), "");
} }
return success; return success;
} }