@@ -32,58 +32,58 @@ static int tolua_collect_LuaResult_int64_t_ (lua_State* tolua_S)
32
32
return 0 ;
33
33
}
34
34
35
- static int tolua_collect_std__vector_uint64_t_ (lua_State* tolua_S)
35
+ static int tolua_collect_std__vector_std__string_ (lua_State* tolua_S)
36
36
{
37
- std::vector<uint64_t >* self = (std::vector<uint64_t >*) tolua_tousertype (tolua_S,1 ,0 );
37
+ std::vector<std::string >* self = (std::vector<std::string >*) tolua_tousertype (tolua_S,1 ,0 );
38
38
Mtolua_delete (self);
39
39
return 0 ;
40
40
}
41
41
42
- static int tolua_collect_CRole (lua_State* tolua_S)
42
+ static int tolua_collect_std__vector_uint64_t_ (lua_State* tolua_S)
43
43
{
44
- CRole * self = (CRole *) tolua_tousertype (tolua_S,1 ,0 );
44
+ std::vector< uint64_t > * self = (std::vector< uint64_t > *) tolua_tousertype (tolua_S,1 ,0 );
45
45
Mtolua_delete (self);
46
46
return 0 ;
47
47
}
48
48
49
- static int tolua_collect_LuaResult_double_ (lua_State* tolua_S)
49
+ static int tolua_collect_std__vector_int64_t_ (lua_State* tolua_S)
50
50
{
51
- LuaResult< double >* self = (LuaResult< double >*) tolua_tousertype (tolua_S,1 ,0 );
51
+ std::vector< int64_t >* self = (std::vector< int64_t >*) tolua_tousertype (tolua_S,1 ,0 );
52
52
Mtolua_delete (self);
53
53
return 0 ;
54
54
}
55
55
56
- static int tolua_collect_LuaResult_std__string_ (lua_State* tolua_S)
56
+ static int tolua_collect_LuaResult_int_ (lua_State* tolua_S)
57
57
{
58
- LuaResult<std::string >* self = (LuaResult<std::string >*) tolua_tousertype (tolua_S,1 ,0 );
58
+ LuaResult<int >* self = (LuaResult<int >*) tolua_tousertype (tolua_S,1 ,0 );
59
59
Mtolua_delete (self);
60
60
return 0 ;
61
61
}
62
62
63
- static int tolua_collect_LuaResult_uint64_t_ (lua_State* tolua_S)
63
+ static int tolua_collect_STaskInfo (lua_State* tolua_S)
64
64
{
65
- LuaResult< uint64_t > * self = (LuaResult< uint64_t > *) tolua_tousertype (tolua_S,1 ,0 );
65
+ STaskInfo * self = (STaskInfo *) tolua_tousertype (tolua_S,1 ,0 );
66
66
Mtolua_delete (self);
67
67
return 0 ;
68
68
}
69
69
70
- static int tolua_collect_std__vector_std__string_ (lua_State* tolua_S)
70
+ static int tolua_collect_LuaResult_std__string_ (lua_State* tolua_S)
71
71
{
72
- std::vector <std::string>* self = (std::vector <std::string>*) tolua_tousertype (tolua_S,1 ,0 );
72
+ LuaResult <std::string>* self = (LuaResult <std::string>*) tolua_tousertype (tolua_S,1 ,0 );
73
73
Mtolua_delete (self);
74
74
return 0 ;
75
75
}
76
76
77
- static int tolua_collect_std__vector_int64_t_ (lua_State* tolua_S)
77
+ static int tolua_collect_std__vector_double_ (lua_State* tolua_S)
78
78
{
79
- std::vector<int64_t >* self = (std::vector<int64_t >*) tolua_tousertype (tolua_S,1 ,0 );
79
+ std::vector<double >* self = (std::vector<double >*) tolua_tousertype (tolua_S,1 ,0 );
80
80
Mtolua_delete (self);
81
81
return 0 ;
82
82
}
83
83
84
- static int tolua_collect_std__vector_double_ (lua_State* tolua_S)
84
+ static int tolua_collect_CRole (lua_State* tolua_S)
85
85
{
86
- std::vector< double > * self = (std::vector< double > *) tolua_tousertype (tolua_S,1 ,0 );
86
+ CRole * self = (CRole *) tolua_tousertype (tolua_S,1 ,0 );
87
87
Mtolua_delete (self);
88
88
return 0 ;
89
89
}
@@ -102,9 +102,9 @@ static int tolua_collect_std__vector_int_ (lua_State* tolua_S)
102
102
return 0 ;
103
103
}
104
104
105
- static int tolua_collect_STaskInfo (lua_State* tolua_S)
105
+ static int tolua_collect_LuaResult_uint64_t_ (lua_State* tolua_S)
106
106
{
107
- STaskInfo * self = (STaskInfo *) tolua_tousertype (tolua_S,1 ,0 );
107
+ LuaResult< uint64_t > * self = (LuaResult< uint64_t > *) tolua_tousertype (tolua_S,1 ,0 );
108
108
Mtolua_delete (self);
109
109
return 0 ;
110
110
}
@@ -116,9 +116,9 @@ static int tolua_collect_SPos (lua_State* tolua_S)
116
116
return 0 ;
117
117
}
118
118
119
- static int tolua_collect_LuaResult_int_ (lua_State* tolua_S)
119
+ static int tolua_collect_LuaResult_double_ (lua_State* tolua_S)
120
120
{
121
- LuaResult<int >* self = (LuaResult<int >*) tolua_tousertype (tolua_S,1 ,0 );
121
+ LuaResult<double >* self = (LuaResult<double >*) tolua_tousertype (tolua_S,1 ,0 );
122
122
Mtolua_delete (self);
123
123
return 0 ;
124
124
}
@@ -130,32 +130,32 @@ static void tolua_reg_types (lua_State* tolua_S)
130
130
{
131
131
tolua_usertype (tolua_S," LuaResult<int64_t>" );
132
132
Mtolua_typeid< LuaResult<int64_t > >(tolua_S, " LuaResult<int64_t>" );
133
- tolua_usertype (tolua_S," std::vector<uint64_t>" );
134
- Mtolua_typeid< std::vector<uint64_t > >(tolua_S, " std::vector<uint64_t>" );
135
- tolua_usertype (tolua_S," CRole" );
136
- Mtolua_typeid< CRole >(tolua_S, " CRole" );
137
- tolua_usertype (tolua_S," LuaResult<double>" );
138
- Mtolua_typeid< LuaResult<double > >(tolua_S, " LuaResult<double>" );
139
- tolua_usertype (tolua_S," LuaResult<std::string>" );
140
- Mtolua_typeid< LuaResult<std::string> >(tolua_S, " LuaResult<std::string>" );
141
- tolua_usertype (tolua_S," LuaResult<uint64_t>" );
142
- Mtolua_typeid< LuaResult<uint64_t > >(tolua_S, " LuaResult<uint64_t>" );
143
133
tolua_usertype (tolua_S," std::vector<std::string>" );
144
134
Mtolua_typeid< std::vector<std::string> >(tolua_S, " std::vector<std::string>" );
135
+ tolua_usertype (tolua_S," std::vector<uint64_t>" );
136
+ Mtolua_typeid< std::vector<uint64_t > >(tolua_S, " std::vector<uint64_t>" );
145
137
tolua_usertype (tolua_S," std::vector<int64_t>" );
146
138
Mtolua_typeid< std::vector<int64_t > >(tolua_S, " std::vector<int64_t>" );
139
+ tolua_usertype (tolua_S," LuaResult<int>" );
140
+ Mtolua_typeid< LuaResult<int > >(tolua_S, " LuaResult<int>" );
141
+ tolua_usertype (tolua_S," STaskInfo" );
142
+ Mtolua_typeid< STaskInfo >(tolua_S, " STaskInfo" );
143
+ tolua_usertype (tolua_S," LuaResult<std::string>" );
144
+ Mtolua_typeid< LuaResult<std::string> >(tolua_S, " LuaResult<std::string>" );
147
145
tolua_usertype (tolua_S," std::vector<double>" );
148
146
Mtolua_typeid< std::vector<double > >(tolua_S, " std::vector<double>" );
147
+ tolua_usertype (tolua_S," CRole" );
148
+ Mtolua_typeid< CRole >(tolua_S, " CRole" );
149
149
tolua_usertype (tolua_S," CObj" );
150
150
Mtolua_typeid< CObj >(tolua_S, " CObj" );
151
151
tolua_usertype (tolua_S," std::vector<int>" );
152
152
Mtolua_typeid< std::vector<int > >(tolua_S, " std::vector<int>" );
153
- tolua_usertype (tolua_S," STaskInfo " );
154
- Mtolua_typeid< STaskInfo >(tolua_S, " STaskInfo " );
153
+ tolua_usertype (tolua_S," LuaResult<uint64_t> " );
154
+ Mtolua_typeid< LuaResult< uint64_t > >(tolua_S, " LuaResult<uint64_t> " );
155
155
tolua_usertype (tolua_S," SPos" );
156
156
Mtolua_typeid< SPos >(tolua_S, " SPos" );
157
- tolua_usertype (tolua_S," LuaResult<int >" );
158
- Mtolua_typeid< LuaResult<int > >(tolua_S, " LuaResult<int >" );
157
+ tolua_usertype (tolua_S," LuaResult<double >" );
158
+ Mtolua_typeid< LuaResult<double > >(tolua_S, " LuaResult<double >" );
159
159
}
160
160
161
161
/* get function: value of class LuaResult<int> */
0 commit comments