mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-08 13:21:51 +00:00
swigall
This commit is contained in:
@@ -5113,6 +5113,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
static int _wrap_CoreSession_set_tts_params(lua_State* L) {
|
||||
int SWIG_arg = -1;
|
||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
|
||||
SWIG_check_num_args("set_tts_params",3,3)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("set_tts_params",1,"CoreSession *");
|
||||
if(!lua_isstring(L,2)) SWIG_fail_arg("set_tts_params",2,"char *");
|
||||
if(!lua_isstring(L,3)) SWIG_fail_arg("set_tts_params",3,"char *");
|
||||
|
||||
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
||||
SWIG_fail_ptr("CoreSession_set_tts_params",1,SWIGTYPE_p_CoreSession);
|
||||
}
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
arg3 = (char *)lua_tostring(L, 3);
|
||||
(arg1)->set_tts_params(arg2,arg3);
|
||||
SWIG_arg=0;
|
||||
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
|
||||
fail:
|
||||
lua_error(L);
|
||||
return SWIG_arg;
|
||||
}
|
||||
|
||||
|
||||
static int _wrap_CoreSession_collectDigits__SWIG_0(lua_State* L) {
|
||||
int SWIG_arg = -1;
|
||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||
@@ -6135,6 +6165,7 @@ static swig_lua_method swig_CoreSession_methods[] = {
|
||||
{"setDTMFCallback", _wrap_CoreSession_setDTMFCallback},
|
||||
{"speak", _wrap_CoreSession_speak},
|
||||
{"set_tts_parms", _wrap_CoreSession_set_tts_parms},
|
||||
{"set_tts_params", _wrap_CoreSession_set_tts_params},
|
||||
{"collectDigits", _wrap_CoreSession_collectDigits},
|
||||
{"getDigits", _wrap_CoreSession_getDigits},
|
||||
{"transfer", _wrap_CoreSession_transfer},
|
||||
|
||||
Reference in New Issue
Block a user