[mod_lua] reswig
This commit is contained in:
parent
d6a7bb9ee5
commit
7d2befa5fa
|
@ -9720,6 +9720,38 @@ fail:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static int _wrap_Dbh_query_rows(lua_State* L) {
|
||||||
|
int SWIG_arg = 0;
|
||||||
|
LUA::Dbh *arg1 = (LUA::Dbh *) 0 ;
|
||||||
|
lua_State *arg2 = (lua_State *) 0 ;
|
||||||
|
char *arg3 = (char *) 0 ;
|
||||||
|
DbhQueryRowsReturn result;
|
||||||
|
|
||||||
|
arg2 = L;
|
||||||
|
SWIG_check_num_args("LUA::Dbh::query_rows",2,2)
|
||||||
|
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("LUA::Dbh::query_rows",1,"LUA::Dbh *");
|
||||||
|
if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("LUA::Dbh::query_rows",2,"char *");
|
||||||
|
|
||||||
|
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_LUA__Dbh,0))){
|
||||||
|
SWIG_fail_ptr("Dbh_query_rows",1,SWIGTYPE_p_LUA__Dbh);
|
||||||
|
}
|
||||||
|
|
||||||
|
arg3 = (char *)lua_tostring(L, 2);
|
||||||
|
switch_assert(arg1);
|
||||||
|
result = (arg1)->query_rows(arg2,arg3);
|
||||||
|
{
|
||||||
|
SWIG_arg += result;
|
||||||
|
}
|
||||||
|
return SWIG_arg;
|
||||||
|
|
||||||
|
if(0) SWIG_fail;
|
||||||
|
|
||||||
|
fail:
|
||||||
|
lua_error(L);
|
||||||
|
return SWIG_arg;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static int _wrap_Dbh_affected_rows(lua_State* L) {
|
static int _wrap_Dbh_affected_rows(lua_State* L) {
|
||||||
int SWIG_arg = 0;
|
int SWIG_arg = 0;
|
||||||
LUA::Dbh *arg1 = (LUA::Dbh *) 0 ;
|
LUA::Dbh *arg1 = (LUA::Dbh *) 0 ;
|
||||||
|
@ -9839,6 +9871,7 @@ static swig_lua_method swig_Dbh_methods[]= {
|
||||||
{ "connected", _wrap_Dbh_connected},
|
{ "connected", _wrap_Dbh_connected},
|
||||||
{ "test_reactive", _wrap_Dbh_test_reactive},
|
{ "test_reactive", _wrap_Dbh_test_reactive},
|
||||||
{ "query", _wrap_Dbh_query},
|
{ "query", _wrap_Dbh_query},
|
||||||
|
{ "query_rows", _wrap_Dbh_query_rows},
|
||||||
{ "affected_rows", _wrap_Dbh_affected_rows},
|
{ "affected_rows", _wrap_Dbh_affected_rows},
|
||||||
{ "last_error", _wrap_Dbh_last_error},
|
{ "last_error", _wrap_Dbh_last_error},
|
||||||
{ "clear_error", _wrap_Dbh_clear_error},
|
{ "clear_error", _wrap_Dbh_clear_error},
|
||||||
|
|
Loading…
Reference in New Issue