git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10411 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-14 23:31:41 +00:00
parent 2ed601f934
commit 0a198ddded
2 changed files with 55 additions and 6 deletions

View File

@ -7401,14 +7401,25 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_system(char * jarg1, int jarg2) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(unsigned long jarg1) {
uint32_t arg1 ;
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(void * jarg1) {
switch_interval_time_t arg1 ;
switch_interval_time_t *argp1 ;
arg1 = (uint32_t)jarg1;
argp1 = (switch_interval_time_t *)jarg1;
if (!argp1) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_interval_time_t", 0);
return ;
}
arg1 = *argp1;
switch_cond_yield(arg1);
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_next() {
switch_cond_next();
}
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
int jresult ;
int result;

View File

@ -1913,8 +1913,13 @@ public class freeswitch {
return ret;
}
public static void switch_cond_yield(uint ms) {
freeswitchPINVOKE.switch_cond_yield(ms);
public static void switch_cond_yield(SWIGTYPE_p_switch_interval_time_t t) {
freeswitchPINVOKE.switch_cond_yield(SWIGTYPE_p_switch_interval_time_t.getCPtr(t));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
public static void switch_cond_next() {
freeswitchPINVOKE.switch_cond_next();
}
public static void switch_console_loop() {
@ -5918,7 +5923,10 @@ class freeswitchPINVOKE {
public static extern int switch_system(string jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_cond_yield")]
public static extern void switch_cond_yield(uint jarg1);
public static extern void switch_cond_yield(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")]
public static extern void switch_cond_next();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
public static extern int SWITCH_CMD_CHUNK_LEN_get();
@ -13990,6 +13998,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_interval_time_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_switch_interval_time_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_switch_interval_time_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_switch_interval_time_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_ivr_action_t {
private HandleRef swigCPtr;