From ae7fe7d4c47415563153c4f41abd12009d6c8ab0 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 10 Dec 2009 01:44:26 +0000 Subject: [PATCH] swigall git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15866 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_managed/freeswitch_wrap.cxx | 6 ++++-- src/mod/languages/mod_managed/managed/swig.cs | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index a8befde7a8..46ae163ea3 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -6870,15 +6870,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_private_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_private_event(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; + switch_bool_t arg3 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_session_queue_private_event(arg1,arg2); + arg3 = (switch_bool_t)jarg3; + result = (switch_status_t)switch_core_session_queue_private_event(arg1,arg2,arg3); jresult = result; return jresult; } diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 842cb81b54..765d964cff 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -1434,8 +1434,8 @@ public class freeswitch { return ret; } - public static switch_status_t switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); + public static switch_status_t switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1, switch_bool_t priority) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1), (int)priority); return ret; } @@ -6497,7 +6497,7 @@ class freeswitchPINVOKE { public static extern int switch_core_session_dequeue_event(HandleRef jarg1, HandleRef jarg2, int jarg3); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_private_event")] - public static extern int switch_core_session_queue_private_event(HandleRef jarg1, HandleRef jarg2); + public static extern int switch_core_session_queue_private_event(HandleRef jarg1, HandleRef jarg2, int jarg3); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_private_event_count")] public static extern uint switch_core_session_private_event_count(HandleRef jarg1); @@ -19181,6 +19181,7 @@ public enum switch_channel_flag_t { CF_UNICAST, CF_VIDEO, CF_EVENT_LOCK, + CF_EVENT_LOCK_PRI, CF_RESET, CF_ORIGINATING, CF_STOP_BROADCAST, @@ -24893,7 +24894,8 @@ namespace FreeSWITCH.Native { SMF_LOOP = (1 << 4), SMF_HOLD_BLEG = (1 << 5), SMF_IMMEDIATE = (1 << 6), - SMF_EXEC_INLINE = (1 << 7) + SMF_EXEC_INLINE = (1 << 7), + SMF_PRIORITY = (1 << 8) } }