From 3d9545c1b59f7a5cfd9c2544795a78c76cd10e78 Mon Sep 17 00:00:00 2001
From: Anthony Minessale <anthony.minessale@gmail.com>
Date: Sat, 4 Oct 2008 06:40:55 +0000
Subject: [PATCH] update swig

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9826 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 .../languages/mod_managed/freeswitch_wrap.cxx | 46 ---------
 src/mod/languages/mod_managed/managed/swig.cs | 94 -------------------
 2 files changed, 140 deletions(-)

diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx
index 62ce14e0d9..c1faf80e7d 100644
--- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx
+++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx
@@ -25598,52 +25598,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ManagedSession(void * jarg1) {
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_ManagedSession_dtmfDelegate_set(void * jarg1, void * jarg2) {
-  ManagedSession *arg1 = (ManagedSession *) 0 ;
-  inputFunction arg2 = (inputFunction) 0 ;
-  
-  arg1 = (ManagedSession *)jarg1; 
-  arg2 = (inputFunction)jarg2; 
-  if (arg1) (arg1)->dtmfDelegate = arg2;
-  
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ManagedSession_dtmfDelegate_get(void * jarg1) {
-  void * jresult ;
-  ManagedSession *arg1 = (ManagedSession *) 0 ;
-  inputFunction result;
-  
-  arg1 = (ManagedSession *)jarg1; 
-  result = (inputFunction) ((arg1)->dtmfDelegate);
-  jresult = (void *)result; 
-  return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ManagedSession_hangupDelegate_set(void * jarg1, void * jarg2) {
-  ManagedSession *arg1 = (ManagedSession *) 0 ;
-  hangupFunction arg2 = (hangupFunction) 0 ;
-  
-  arg1 = (ManagedSession *)jarg1; 
-  arg2 = (hangupFunction)jarg2; 
-  if (arg1) (arg1)->hangupDelegate = arg2;
-  
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ManagedSession_hangupDelegate_get(void * jarg1) {
-  void * jresult ;
-  ManagedSession *arg1 = (ManagedSession *) 0 ;
-  hangupFunction result;
-  
-  arg1 = (ManagedSession *)jarg1; 
-  result = (hangupFunction) ((arg1)->hangupDelegate);
-  jresult = (void *)result; 
-  return jresult;
-}
-
-
 SWIGEXPORT CoreSession * SWIGSTDCALL CSharp_ManagedSessionUpcast(ManagedSession *objectRef) {
     return (CoreSession *)objectRef;
 }
diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs
index c5cac52eb8..13eb5dfd7a 100644
--- a/src/mod/languages/mod_managed/managed/swig.cs
+++ b/src/mod/languages/mod_managed/managed/swig.cs
@@ -10082,18 +10082,6 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_delete_ManagedSession")]
   public static extern void delete_ManagedSession(HandleRef jarg1);
 
-  [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_dtmfDelegate_set")]
-  public static extern void ManagedSession_dtmfDelegate_set(HandleRef jarg1, HandleRef jarg2);
-
-  [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_dtmfDelegate_get")]
-  public static extern IntPtr ManagedSession_dtmfDelegate_get(HandleRef jarg1);
-
-  [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_hangupDelegate_set")]
-  public static extern void ManagedSession_hangupDelegate_set(HandleRef jarg1, HandleRef jarg2);
-
-  [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_hangupDelegate_get")]
-  public static extern IntPtr ManagedSession_hangupDelegate_get(HandleRef jarg1);
-
   [DllImport("mod_managed", EntryPoint="CSharp_ManagedSessionUpcast")]
   public static extern IntPtr ManagedSessionUpcast(IntPtr objectRef);
 }
@@ -10293,28 +10281,6 @@ public partial class ManagedSession : CoreSession {
   public ManagedSession(SWIGTYPE_p_switch_core_session session) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_2(SWIGTYPE_p_switch_core_session.getCPtr(session)), true) {
   }
 
-  public SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char dtmfDelegate {
-    set {
-      freeswitchPINVOKE.ManagedSession_dtmfDelegate_set(swigCPtr, SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char.getCPtr(value));
-    } 
-    get {
-      IntPtr cPtr = freeswitchPINVOKE.ManagedSession_dtmfDelegate_get(swigCPtr);
-      SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char(cPtr, false);
-      return ret;
-    } 
-  }
-
-  public SWIGTYPE_p_f_void__void hangupDelegate {
-    set {
-      freeswitchPINVOKE.ManagedSession_hangupDelegate_set(swigCPtr, SWIGTYPE_p_f_void__void.getCPtr(value));
-    } 
-    get {
-      IntPtr cPtr = freeswitchPINVOKE.ManagedSession_hangupDelegate_get(swigCPtr);
-      SWIGTYPE_p_f_void__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__void(cPtr, false);
-      return ret;
-    } 
-  }
-
 }
 
 }
@@ -12267,36 +12233,6 @@ namespace FreeSWITCH.Native {
 using System;
 using System.Runtime.InteropServices;
 
-public class SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char {
-  private HandleRef swigCPtr;
-
-  internal SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char(IntPtr cPtr, bool futureUse) {
-    swigCPtr = new HandleRef(this, cPtr);
-  }
-
-  protected SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char() {
-    swigCPtr = new HandleRef(null, IntPtr.Zero);
-  }
-
-  internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_enum_switch_input_type_t__p_char 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_f_p_void_int_p_p_char_p_p_char__int {
   private HandleRef swigCPtr;
 
@@ -12387,36 +12323,6 @@ namespace FreeSWITCH.Native {
 using System;
 using System.Runtime.InteropServices;
 
-public class SWIGTYPE_p_f_void__void {
-  private HandleRef swigCPtr;
-
-  internal SWIGTYPE_p_f_void__void(IntPtr cPtr, bool futureUse) {
-    swigCPtr = new HandleRef(this, cPtr);
-  }
-
-  protected SWIGTYPE_p_f_void__void() {
-    swigCPtr = new HandleRef(null, IntPtr.Zero);
-  }
-
-  internal static HandleRef getCPtr(SWIGTYPE_p_f_void__void 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_HashElem {
   private HandleRef swigCPtr;