Update the name table and make sure there are pairs and next metamethod entries.

This commit is contained in:
ThePhD 2017-02-01 06:29:45 -05:00
parent c7deb82535
commit 8d6f304bad
2 changed files with 30 additions and 4 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script.
// Generated 2017-01-31 02:39:50.081811 UTC
// This header was generated with sol v2.15.7 (revision ee8716f)
// Generated 2017-02-01 11:29:19.754104 UTC
// This header was generated with sol v2.15.7 (revision c7deb82)
// https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP
@ -3384,6 +3384,8 @@ namespace sol {
bitwise_and,
bitwise_or,
bitwise_xor,
pairs,
next
};
typedef meta_function meta_method;
@ -3393,7 +3395,7 @@ namespace sol {
"__newindex",
} };
const std::array<std::string, 21> meta_function_names = { {
const std::array<std::string, 29> meta_function_names = { {
"new",
"__index",
"__newindex",
@ -3414,6 +3416,17 @@ namespace sol {
"__lt",
"__le",
"__gc",
"__idiv",
"__shl",
"__shr",
"__bnot",
"__band",
"__bor",
"__bxor",
"__pairs",
"__next"
} };
inline const std::string& name_of(meta_function mf) {

View File

@ -402,6 +402,8 @@ namespace sol {
bitwise_and,
bitwise_or,
bitwise_xor,
pairs,
next
};
typedef meta_function meta_method;
@ -411,7 +413,7 @@ namespace sol {
"__newindex",
} };
const std::array<std::string, 21> meta_function_names = { {
const std::array<std::string, 29> meta_function_names = { {
"new",
"__index",
"__newindex",
@ -432,6 +434,17 @@ namespace sol {
"__lt",
"__le",
"__gc",
"__idiv",
"__shl",
"__shr",
"__bnot",
"__band",
"__bor",
"__bxor",
"__pairs",
"__next"
} };
inline const std::string& name_of(meta_function mf) {