mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
eat a dick gcc 4.9
This commit is contained in:
parent
1dfeb1dc7c
commit
1593ca00af
@ -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 2016-09-18 02:22:48.336425 UTC
|
// Generated 2016-09-18 02:39:04.820718 UTC
|
||||||
// This header was generated with sol v2.14.0 (revision 132ff87)
|
// This header was generated with sol v2.14.0 (revision 1dfeb1d)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
@ -9625,8 +9625,9 @@ namespace sol {
|
|||||||
typedef std::tuple<clean_type_t<Tn> ...> Tuple;
|
typedef std::tuple<clean_type_t<Tn> ...> Tuple;
|
||||||
template <std::size_t Idx>
|
template <std::size_t Idx>
|
||||||
struct check_binding : is_variable_binding<meta::unqualified_tuple_element_t<Idx, Tuple>> {};
|
struct check_binding : is_variable_binding<meta::unqualified_tuple_element_t<Idx, Tuple>> {};
|
||||||
|
typedef std::unordered_map<std::string, usertype_detail::find_call_pair> mapping_t;
|
||||||
Tuple functions;
|
Tuple functions;
|
||||||
std::unordered_map<std::string, usertype_detail::find_call_pair> mapping;
|
mapping_t mapping;
|
||||||
lua_CFunction indexfunc;
|
lua_CFunction indexfunc;
|
||||||
lua_CFunction newindexfunc;
|
lua_CFunction newindexfunc;
|
||||||
lua_CFunction destructfunc;
|
lua_CFunction destructfunc;
|
||||||
@ -9752,15 +9753,14 @@ namespace sol {
|
|||||||
baseclasscheck(nullptr), baseclasscast(nullptr),
|
baseclasscheck(nullptr), baseclasscast(nullptr),
|
||||||
mustindex(contains_variable() || contains_index()), secondarymeta(contains_variable()),
|
mustindex(contains_variable() || contains_index()), secondarymeta(contains_variable()),
|
||||||
hasequals(false), hasless(false), haslessequals(false) {
|
hasequals(false), hasless(false), haslessequals(false) {
|
||||||
mapping.insert(
|
std::initializer_list<typename mapping_t::value_type> ilist{ {
|
||||||
{ {
|
|
||||||
std::pair<std::string, usertype_detail::find_call_pair>(
|
std::pair<std::string, usertype_detail::find_call_pair>(
|
||||||
usertype_detail::make_string(std::get<I * 2>(functions)),
|
usertype_detail::make_string(std::get<I * 2>(functions)),
|
||||||
usertype_detail::find_call_pair( &usertype_metatable::real_find_call<I * 2, I * 2 + 1, false>,
|
usertype_detail::find_call_pair(&usertype_metatable::real_find_call<I * 2, I * 2 + 1, false>,
|
||||||
&usertype_metatable::real_find_call<I * 2, I * 2 + 1, true> )
|
&usertype_metatable::real_find_call<I * 2, I * 2 + 1, true>)
|
||||||
)
|
)
|
||||||
}... }
|
}... };
|
||||||
);
|
mapping.insert(ilist);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <std::size_t I0, std::size_t I1, bool is_index>
|
template <std::size_t I0, std::size_t I1, bool is_index>
|
||||||
|
@ -235,8 +235,9 @@ namespace sol {
|
|||||||
typedef std::tuple<clean_type_t<Tn> ...> Tuple;
|
typedef std::tuple<clean_type_t<Tn> ...> Tuple;
|
||||||
template <std::size_t Idx>
|
template <std::size_t Idx>
|
||||||
struct check_binding : is_variable_binding<meta::unqualified_tuple_element_t<Idx, Tuple>> {};
|
struct check_binding : is_variable_binding<meta::unqualified_tuple_element_t<Idx, Tuple>> {};
|
||||||
|
typedef std::unordered_map<std::string, usertype_detail::find_call_pair> mapping_t;
|
||||||
Tuple functions;
|
Tuple functions;
|
||||||
std::unordered_map<std::string, usertype_detail::find_call_pair> mapping;
|
mapping_t mapping;
|
||||||
lua_CFunction indexfunc;
|
lua_CFunction indexfunc;
|
||||||
lua_CFunction newindexfunc;
|
lua_CFunction newindexfunc;
|
||||||
lua_CFunction destructfunc;
|
lua_CFunction destructfunc;
|
||||||
@ -362,15 +363,14 @@ namespace sol {
|
|||||||
baseclasscheck(nullptr), baseclasscast(nullptr),
|
baseclasscheck(nullptr), baseclasscast(nullptr),
|
||||||
mustindex(contains_variable() || contains_index()), secondarymeta(contains_variable()),
|
mustindex(contains_variable() || contains_index()), secondarymeta(contains_variable()),
|
||||||
hasequals(false), hasless(false), haslessequals(false) {
|
hasequals(false), hasless(false), haslessequals(false) {
|
||||||
mapping.insert(
|
std::initializer_list<typename mapping_t::value_type> ilist{ {
|
||||||
{ {
|
|
||||||
std::pair<std::string, usertype_detail::find_call_pair>(
|
std::pair<std::string, usertype_detail::find_call_pair>(
|
||||||
usertype_detail::make_string(std::get<I * 2>(functions)),
|
usertype_detail::make_string(std::get<I * 2>(functions)),
|
||||||
usertype_detail::find_call_pair( &usertype_metatable::real_find_call<I * 2, I * 2 + 1, false>,
|
usertype_detail::find_call_pair(&usertype_metatable::real_find_call<I * 2, I * 2 + 1, false>,
|
||||||
&usertype_metatable::real_find_call<I * 2, I * 2 + 1, true> )
|
&usertype_metatable::real_find_call<I * 2, I * 2 + 1, true>)
|
||||||
)
|
)
|
||||||
}... }
|
}... };
|
||||||
);
|
mapping.insert(ilist);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <std::size_t I0, std::size_t I1, bool is_index>
|
template <std::size_t I0, std::size_t I1, bool is_index>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user