From ab1bbcf7ac86f4e43710c66552dd6e64d71360f8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 31 Oct 2008 17:14:48 +0000 Subject: [PATCH] swigall git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10209 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../languages/mod_managed/freeswitch_wrap.cxx | 24 ------------------- src/mod/languages/mod_managed/managed/swig.cs | 19 ++------------- 2 files changed, 2 insertions(+), 41 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 95eb43020c..ce1adaa484 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -4664,30 +4664,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_destroy() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_signal_lock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_signal_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_signal_unlock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_signal_unlock(arg1); - jresult = result; - return jresult; -} - - SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 913e442b26..8755a977d2 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -970,16 +970,6 @@ public class freeswitch { return ret; } - public static switch_status_t switch_core_session_signal_lock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_signal_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_signal_unlock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_signal_unlock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - public static switch_status_t switch_core_session_read_lock(SWIGTYPE_p_switch_core_session session) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); return ret; @@ -5271,12 +5261,6 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_core_destroy")] public static extern int switch_core_destroy(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_lock")] - public static extern int switch_core_session_signal_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_unlock")] - public static extern int switch_core_session_signal_unlock(HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock")] public static extern int switch_core_session_read_lock(HandleRef jarg1); @@ -22730,7 +22714,8 @@ public enum switch_status_t { SWITCH_STATUS_NOTFOUND, SWITCH_STATUS_UNLOAD, SWITCH_STATUS_NOUNLOAD, - SWITCH_STATUS_IGNORE + SWITCH_STATUS_IGNORE, + SWITCH_STATUS_NOT_INITALIZED } }