[Freeswitch-svn] [commit] r10411 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed

FreeSWITCH SVN anthm at freeswitch.org
Fri Nov 14 15:31:41 PST 2008


Author: anthm
Date: Fri Nov 14 18:31:41 2008
New Revision: 10411

Log:
swigall

Modified:
   freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
   freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs

Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	Fri Nov 14 18:31:41 2008
@@ -7401,14 +7401,25 @@
 }
 
 
-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;

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	Fri Nov 14 18:31:41 2008
@@ -1913,8 +1913,13 @@
     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 @@
   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 @@
 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;
 



More information about the Freeswitch-svn mailing list