diff --git a/src/mod/languages/mod_mono/freeswitch.i b/src/mod/languages/mod_mono/freeswitch.i index 15dce77ae6..1d5b917963 100644 --- a/src/mod/languages/mod_mono/freeswitch.i +++ b/src/mod/languages/mod_mono/freeswitch.i @@ -74,6 +74,10 @@ %rename (GetUuid) CoreSession::get_uuid; %rename (HookState) CoreSession::hook_state; %rename (InternalSession) CoreSession::session; +%rename (Speak) CoreSession::speak; +%rename (SetTtsParameters) CoreSession::set_tts_parms; +%rename (SetAutoHangup) CoreSession::setAutoHangup; + %rename (Serialize) Event::serialize; %rename (SetPriority) Event::setPriority; diff --git a/src/mod/languages/mod_mono/freeswitch_mono.cpp b/src/mod/languages/mod_mono/freeswitch_mono.cpp index e28fb5ad24..ecebf73be8 100644 --- a/src/mod/languages/mod_mono/freeswitch_mono.cpp +++ b/src/mod/languages/mod_mono/freeswitch_mono.cpp @@ -74,6 +74,8 @@ MonoSession::~MonoSession() switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); setAutoHangup(0); } + // Don't let any callbacks use this CoreSession anymore + switch_channel_set_private(channel, "CoreSession", NULL); } } diff --git a/src/mod/languages/mod_mono/freeswitch_mono.h b/src/mod/languages/mod_mono/freeswitch_mono.h index f85ec445c9..3bc17bc7e1 100644 --- a/src/mod/languages/mod_mono/freeswitch_mono.h +++ b/src/mod/languages/mod_mono/freeswitch_mono.h @@ -64,7 +64,7 @@ public: MonoSession(); MonoSession(char *uuid); MonoSession(switch_core_session_t *session); - ~MonoSession(); + virtual ~MonoSession(); virtual bool begin_allow_threads(); virtual bool end_allow_threads(); diff --git a/src/mod/languages/mod_mono_managed/Loader.cs b/src/mod/languages/mod_mono_managed/Loader.cs index 95e4da5aef..4d7c0bc377 100644 --- a/src/mod/languages/mod_mono_managed/Loader.cs +++ b/src/mod/languages/mod_mono_managed/Loader.cs @@ -227,7 +227,7 @@ namespace FreeSWITCH if (fType == null) return false; using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) { - session.setAutoHangup(false); + session.SetAutoHangup(false); try { var f = (AppFunction)Activator.CreateInstance(fType); f.RunInternal(session, args); diff --git a/src/mod/languages/mod_mono_managed/swig/CoreSession.cs b/src/mod/languages/mod_mono_managed/swig/CoreSession.cs index f7f79118c4..adce65bd72 100644 --- a/src/mod/languages/mod_mono_managed/swig/CoreSession.cs +++ b/src/mod/languages/mod_mono_managed/swig/CoreSession.cs @@ -157,13 +157,13 @@ public class CoreSession : IDisposable { return ret; } - public int speak(string text) { - int ret = freeswitchPINVOKE.CoreSession_speak(swigCPtr, text); + public int Speak(string text) { + int ret = freeswitchPINVOKE.CoreSession_Speak(swigCPtr, text); return ret; } - public void set_tts_parms(string tts_name, string voice_name) { - freeswitchPINVOKE.CoreSession_set_tts_parms(swigCPtr, tts_name, voice_name); + public void SetTtsParameters(string tts_name, string voice_name) { + freeswitchPINVOKE.CoreSession_SetTtsParameters(swigCPtr, tts_name, voice_name); } public int CollectDigits(int timeout) { @@ -206,8 +206,8 @@ public class CoreSession : IDisposable { return ret; } - public int setAutoHangup(bool val) { - int ret = freeswitchPINVOKE.CoreSession_setAutoHangup(swigCPtr, val); + public int SetAutoHangup(bool val) { + int ret = freeswitchPINVOKE.CoreSession_SetAutoHangup(swigCPtr, val); return ret; } diff --git a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs index 86810fcbaf..4c44b67649 100644 --- a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs +++ b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs @@ -187,26 +187,26 @@ class freeswitchPINVOKE { [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_PEN_get")] public static extern IntPtr __FREESWITCH_PEN_get(); - public static string FREESWITCH_PEN_get(){ -var _ptr = __FREESWITCH_PEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_PEN_get(){ +var _ptr = __FREESWITCH_PEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_OID_PREFIX_get")] public static extern IntPtr __FREESWITCH_OID_PREFIX_get(); - public static string FREESWITCH_OID_PREFIX_get(){ -var _ptr = __FREESWITCH_OID_PREFIX_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_OID_PREFIX_get(){ +var _ptr = __FREESWITCH_OID_PREFIX_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_ITAD_get")] public static extern IntPtr __FREESWITCH_ITAD_get(); - public static string FREESWITCH_ITAD_get(){ -var _ptr = __FREESWITCH_ITAD_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_ITAD_get(){ +var _ptr = __FREESWITCH_ITAD_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp___EXTENSIONS___get")] @@ -217,18 +217,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")] public static extern IntPtr __SWITCH_BLANK_STRING_get(); - public static string SWITCH_BLANK_STRING_get(){ -var _ptr = __SWITCH_BLANK_STRING_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BLANK_STRING_get(){ +var _ptr = __SWITCH_BLANK_STRING_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_ESC_get")] public static extern IntPtr __SWITCH_SEQ_ESC_get(); - public static string SWITCH_SEQ_ESC_get(){ -var _ptr = __SWITCH_SEQ_ESC_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_ESC_get(){ +var _ptr = __SWITCH_SEQ_ESC_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_get")] @@ -236,10 +236,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_STR_get")] public static extern IntPtr __SWITCH_SEQ_HOME_CHAR_STR_get(); - public static string SWITCH_SEQ_HOME_CHAR_STR_get(){ -var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_HOME_CHAR_STR_get(){ +var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get")] @@ -247,18 +247,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); - public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); - public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get")] @@ -269,314 +269,314 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARSCR_CHAR_get(); - public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){ -var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){ +var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_AND_COLOR_get")] public static extern IntPtr __SWITCH_SEQ_AND_COLOR_get(); - public static string SWITCH_SEQ_AND_COLOR_get(){ -var _ptr = __SWITCH_SEQ_AND_COLOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_AND_COLOR_get(){ +var _ptr = __SWITCH_SEQ_AND_COLOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_END_COLOR_get")] public static extern IntPtr __SWITCH_SEQ_END_COLOR_get(); - public static string SWITCH_SEQ_END_COLOR_get(){ -var _ptr = __SWITCH_SEQ_END_COLOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_END_COLOR_get(){ +var _ptr = __SWITCH_SEQ_END_COLOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLACK_get")] public static extern IntPtr __SWITCH_SEQ_F_BLACK_get(); - public static string SWITCH_SEQ_F_BLACK_get(){ -var _ptr = __SWITCH_SEQ_F_BLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_BLACK_get(){ +var _ptr = __SWITCH_SEQ_F_BLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_RED_get")] public static extern IntPtr __SWITCH_SEQ_F_RED_get(); - public static string SWITCH_SEQ_F_RED_get(){ -var _ptr = __SWITCH_SEQ_F_RED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_RED_get(){ +var _ptr = __SWITCH_SEQ_F_RED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_GREEN_get")] public static extern IntPtr __SWITCH_SEQ_F_GREEN_get(); - public static string SWITCH_SEQ_F_GREEN_get(){ -var _ptr = __SWITCH_SEQ_F_GREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_GREEN_get(){ +var _ptr = __SWITCH_SEQ_F_GREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_YELLOW_get")] public static extern IntPtr __SWITCH_SEQ_F_YELLOW_get(); - public static string SWITCH_SEQ_F_YELLOW_get(){ -var _ptr = __SWITCH_SEQ_F_YELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_YELLOW_get(){ +var _ptr = __SWITCH_SEQ_F_YELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLUE_get")] public static extern IntPtr __SWITCH_SEQ_F_BLUE_get(); - public static string SWITCH_SEQ_F_BLUE_get(){ -var _ptr = __SWITCH_SEQ_F_BLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_BLUE_get(){ +var _ptr = __SWITCH_SEQ_F_BLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_MAGEN_get")] public static extern IntPtr __SWITCH_SEQ_F_MAGEN_get(); - public static string SWITCH_SEQ_F_MAGEN_get(){ -var _ptr = __SWITCH_SEQ_F_MAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_MAGEN_get(){ +var _ptr = __SWITCH_SEQ_F_MAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_CYAN_get")] public static extern IntPtr __SWITCH_SEQ_F_CYAN_get(); - public static string SWITCH_SEQ_F_CYAN_get(){ -var _ptr = __SWITCH_SEQ_F_CYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_CYAN_get(){ +var _ptr = __SWITCH_SEQ_F_CYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_WHITE_get")] public static extern IntPtr __SWITCH_SEQ_F_WHITE_get(); - public static string SWITCH_SEQ_F_WHITE_get(){ -var _ptr = __SWITCH_SEQ_F_WHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_WHITE_get(){ +var _ptr = __SWITCH_SEQ_F_WHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLACK_get")] public static extern IntPtr __SWITCH_SEQ_B_BLACK_get(); - public static string SWITCH_SEQ_B_BLACK_get(){ -var _ptr = __SWITCH_SEQ_B_BLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_BLACK_get(){ +var _ptr = __SWITCH_SEQ_B_BLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_RED_get")] public static extern IntPtr __SWITCH_SEQ_B_RED_get(); - public static string SWITCH_SEQ_B_RED_get(){ -var _ptr = __SWITCH_SEQ_B_RED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_RED_get(){ +var _ptr = __SWITCH_SEQ_B_RED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_GREEN_get")] public static extern IntPtr __SWITCH_SEQ_B_GREEN_get(); - public static string SWITCH_SEQ_B_GREEN_get(){ -var _ptr = __SWITCH_SEQ_B_GREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_GREEN_get(){ +var _ptr = __SWITCH_SEQ_B_GREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_YELLOW_get")] public static extern IntPtr __SWITCH_SEQ_B_YELLOW_get(); - public static string SWITCH_SEQ_B_YELLOW_get(){ -var _ptr = __SWITCH_SEQ_B_YELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_YELLOW_get(){ +var _ptr = __SWITCH_SEQ_B_YELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLUE_get")] public static extern IntPtr __SWITCH_SEQ_B_BLUE_get(); - public static string SWITCH_SEQ_B_BLUE_get(){ -var _ptr = __SWITCH_SEQ_B_BLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_BLUE_get(){ +var _ptr = __SWITCH_SEQ_B_BLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_MAGEN_get")] public static extern IntPtr __SWITCH_SEQ_B_MAGEN_get(); - public static string SWITCH_SEQ_B_MAGEN_get(){ -var _ptr = __SWITCH_SEQ_B_MAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_MAGEN_get(){ +var _ptr = __SWITCH_SEQ_B_MAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_CYAN_get")] public static extern IntPtr __SWITCH_SEQ_B_CYAN_get(); - public static string SWITCH_SEQ_B_CYAN_get(){ -var _ptr = __SWITCH_SEQ_B_CYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_CYAN_get(){ +var _ptr = __SWITCH_SEQ_B_CYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_WHITE_get")] public static extern IntPtr __SWITCH_SEQ_B_WHITE_get(); - public static string SWITCH_SEQ_B_WHITE_get(){ -var _ptr = __SWITCH_SEQ_B_WHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_WHITE_get(){ +var _ptr = __SWITCH_SEQ_B_WHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLACK_get")] public static extern IntPtr __SWITCH_SEQ_FBLACK_get(); - public static string SWITCH_SEQ_FBLACK_get(){ -var _ptr = __SWITCH_SEQ_FBLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FBLACK_get(){ +var _ptr = __SWITCH_SEQ_FBLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FRED_get")] public static extern IntPtr __SWITCH_SEQ_FRED_get(); - public static string SWITCH_SEQ_FRED_get(){ -var _ptr = __SWITCH_SEQ_FRED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FRED_get(){ +var _ptr = __SWITCH_SEQ_FRED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FGREEN_get")] public static extern IntPtr __SWITCH_SEQ_FGREEN_get(); - public static string SWITCH_SEQ_FGREEN_get(){ -var _ptr = __SWITCH_SEQ_FGREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FGREEN_get(){ +var _ptr = __SWITCH_SEQ_FGREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FYELLOW_get")] public static extern IntPtr __SWITCH_SEQ_FYELLOW_get(); - public static string SWITCH_SEQ_FYELLOW_get(){ -var _ptr = __SWITCH_SEQ_FYELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FYELLOW_get(){ +var _ptr = __SWITCH_SEQ_FYELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLUE_get")] public static extern IntPtr __SWITCH_SEQ_FBLUE_get(); - public static string SWITCH_SEQ_FBLUE_get(){ -var _ptr = __SWITCH_SEQ_FBLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FBLUE_get(){ +var _ptr = __SWITCH_SEQ_FBLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FMAGEN_get")] public static extern IntPtr __SWITCH_SEQ_FMAGEN_get(); - public static string SWITCH_SEQ_FMAGEN_get(){ -var _ptr = __SWITCH_SEQ_FMAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FMAGEN_get(){ +var _ptr = __SWITCH_SEQ_FMAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FCYAN_get")] public static extern IntPtr __SWITCH_SEQ_FCYAN_get(); - public static string SWITCH_SEQ_FCYAN_get(){ -var _ptr = __SWITCH_SEQ_FCYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FCYAN_get(){ +var _ptr = __SWITCH_SEQ_FCYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FWHITE_get")] public static extern IntPtr __SWITCH_SEQ_FWHITE_get(); - public static string SWITCH_SEQ_FWHITE_get(){ -var _ptr = __SWITCH_SEQ_FWHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FWHITE_get(){ +var _ptr = __SWITCH_SEQ_FWHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLACK_get")] public static extern IntPtr __SWITCH_SEQ_BBLACK_get(); - public static string SWITCH_SEQ_BBLACK_get(){ -var _ptr = __SWITCH_SEQ_BBLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BBLACK_get(){ +var _ptr = __SWITCH_SEQ_BBLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BRED_get")] public static extern IntPtr __SWITCH_SEQ_BRED_get(); - public static string SWITCH_SEQ_BRED_get(){ -var _ptr = __SWITCH_SEQ_BRED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BRED_get(){ +var _ptr = __SWITCH_SEQ_BRED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BGREEN_get")] public static extern IntPtr __SWITCH_SEQ_BGREEN_get(); - public static string SWITCH_SEQ_BGREEN_get(){ -var _ptr = __SWITCH_SEQ_BGREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BGREEN_get(){ +var _ptr = __SWITCH_SEQ_BGREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BYELLOW_get")] public static extern IntPtr __SWITCH_SEQ_BYELLOW_get(); - public static string SWITCH_SEQ_BYELLOW_get(){ -var _ptr = __SWITCH_SEQ_BYELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BYELLOW_get(){ +var _ptr = __SWITCH_SEQ_BYELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLUE_get")] public static extern IntPtr __SWITCH_SEQ_BBLUE_get(); - public static string SWITCH_SEQ_BBLUE_get(){ -var _ptr = __SWITCH_SEQ_BBLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BBLUE_get(){ +var _ptr = __SWITCH_SEQ_BBLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BMAGEN_get")] public static extern IntPtr __SWITCH_SEQ_BMAGEN_get(); - public static string SWITCH_SEQ_BMAGEN_get(){ -var _ptr = __SWITCH_SEQ_BMAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BMAGEN_get(){ +var _ptr = __SWITCH_SEQ_BMAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BCYAN_get")] public static extern IntPtr __SWITCH_SEQ_BCYAN_get(); - public static string SWITCH_SEQ_BCYAN_get(){ -var _ptr = __SWITCH_SEQ_BCYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BCYAN_get(){ +var _ptr = __SWITCH_SEQ_BCYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BWHITE_get")] public static extern IntPtr __SWITCH_SEQ_BWHITE_get(); - public static string SWITCH_SEQ_BWHITE_get(){ -var _ptr = __SWITCH_SEQ_BWHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BWHITE_get(){ +var _ptr = __SWITCH_SEQ_BWHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_get")] public static extern IntPtr __SWITCH_SEQ_HOME_get(); - public static string SWITCH_SEQ_HOME_get(){ -var _ptr = __SWITCH_SEQ_HOME_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_HOME_get(){ +var _ptr = __SWITCH_SEQ_HOME_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINE_get(); - public static string SWITCH_SEQ_CLEARLINE_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINE_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_get(); - public static string SWITCH_SEQ_CLEARLINEEND_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINEEND_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINEEND_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINEEND_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARSCR_get(); - public static string SWITCH_SEQ_CLEARSCR_get(){ -var _ptr = __SWITCH_SEQ_CLEARSCR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARSCR_get(){ +var _ptr = __SWITCH_SEQ_CLEARSCR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")] @@ -587,354 +587,354 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PATH_SEPARATOR_get")] public static extern IntPtr __SWITCH_PATH_SEPARATOR_get(); - public static string SWITCH_PATH_SEPARATOR_get(){ -var _ptr = __SWITCH_PATH_SEPARATOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PATH_SEPARATOR_get(){ +var _ptr = __SWITCH_PATH_SEPARATOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")] public static extern IntPtr __SWITCH_URL_SEPARATOR_get(); - public static string SWITCH_URL_SEPARATOR_get(){ -var _ptr = __SWITCH_URL_SEPARATOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_URL_SEPARATOR_get(){ +var _ptr = __SWITCH_URL_SEPARATOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")] public static extern IntPtr __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); - public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){ -var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){ +var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")] public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); - public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){ -var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")] public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); - public static string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(){ -var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")] public static extern IntPtr __SWITCH_CALL_TIMEOUT_VARIABLE_get(); - public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){ -var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){ +var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLDING_UUID_VARIABLE_get")] public static extern IntPtr __SWITCH_HOLDING_UUID_VARIABLE_get(); - public static string SWITCH_HOLDING_UUID_VARIABLE_get(){ -var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HOLDING_UUID_VARIABLE_get(){ +var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get")] public static extern IntPtr __SWITCH_API_BRIDGE_END_VARIABLE_get(); - public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){ -var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){ +var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")] public static extern IntPtr __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); - public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){ -var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){ +var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")] public static extern IntPtr __SWITCH_PROCESS_CDR_VARIABLE_get(); - public static string SWITCH_PROCESS_CDR_VARIABLE_get(){ -var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROCESS_CDR_VARIABLE_get(){ +var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); - public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get")] public static extern IntPtr __SWITCH_CHANNEL_NAME_VARIABLE_get(); - public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){ -var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_UUID_VARIABLE_get(); - public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get")] public static extern IntPtr __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); - public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){ -var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){ +var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get")] public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); - public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){ -var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){ +var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get")] public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); - public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){ -var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){ +var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get")] public static extern IntPtr __SWITCH_BYPASS_MEDIA_VARIABLE_get(); - public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){ -var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){ +var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get")] public static extern IntPtr __SWITCH_PROXY_MEDIA_VARIABLE_get(); - public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){ -var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){ +var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get")] public static extern IntPtr __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); - public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){ -var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){ +var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get")] public static extern IntPtr __SWITCH_HOLD_MUSIC_VARIABLE_get(); - public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){ -var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){ +var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXPORT_VARS_VARIABLE_get")] public static extern IntPtr __SWITCH_EXPORT_VARS_VARIABLE_get(); - public static string SWITCH_EXPORT_VARS_VARIABLE_get(){ -var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXPORT_VARS_VARIABLE_get(){ +var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_R_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_R_SDP_VARIABLE_get(); - public static string SWITCH_R_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_R_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_R_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_R_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_L_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_L_SDP_VARIABLE_get(); - public static string SWITCH_L_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_L_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_L_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_L_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_B_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_B_SDP_VARIABLE_get(); - public static string SWITCH_B_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_B_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_B_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_B_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_VARIABLE_get(); - public static string SWITCH_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); - public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get")] public static extern IntPtr __SWITCH_SIGNAL_BOND_VARIABLE_get(); - public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){ -var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){ +var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_VARIABLE_get")] public static extern IntPtr __SWITCH_ORIGINATOR_VARIABLE_get(); - public static string SWITCH_ORIGINATOR_VARIABLE_get(){ -var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ORIGINATOR_VARIABLE_get(){ +var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get")] public static extern IntPtr __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); - public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){ -var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){ +var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); - public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); - public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); - public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); - public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); - public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); - public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); - public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); - public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); - public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")] public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); - public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){ -var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){ +var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get")] public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); - public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){ -var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){ +var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")] public static extern IntPtr __SWITCH_MAX_FORWARDS_VARIABLE_get(); - public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){ -var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){ +var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")] public static extern IntPtr __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); - public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){ -var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){ +var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SPEECH_KEY_get")] public static extern IntPtr __SWITCH_SPEECH_KEY_get(); - public static string SWITCH_SPEECH_KEY_get(){ -var _ptr = __SWITCH_SPEECH_KEY_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SPEECH_KEY_get(){ +var _ptr = __SWITCH_SPEECH_KEY_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_UUID_BRIDGE_get")] public static extern IntPtr __SWITCH_UUID_BRIDGE_get(); - public static string SWITCH_UUID_BRIDGE_get(){ -var _ptr = __SWITCH_UUID_BRIDGE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_UUID_BRIDGE_get(){ +var _ptr = __SWITCH_UUID_BRIDGE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BITS_PER_BYTE_get")] @@ -1047,10 +1047,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_base_dir_get")] public static extern IntPtr __switch_directories_base_dir_get(HandleRef jarg1); - public static string switch_directories_base_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_base_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_base_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_base_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_set")] @@ -1058,10 +1058,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_get")] public static extern IntPtr __switch_directories_mod_dir_get(HandleRef jarg1); - public static string switch_directories_mod_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_mod_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_mod_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_mod_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_set")] @@ -1069,10 +1069,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_get")] public static extern IntPtr __switch_directories_conf_dir_get(HandleRef jarg1); - public static string switch_directories_conf_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_conf_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_conf_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_conf_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_set")] @@ -1080,10 +1080,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_get")] public static extern IntPtr __switch_directories_log_dir_get(HandleRef jarg1); - public static string switch_directories_log_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_log_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_log_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_log_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_set")] @@ -1091,10 +1091,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_get")] public static extern IntPtr __switch_directories_db_dir_get(HandleRef jarg1); - public static string switch_directories_db_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_db_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_db_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_db_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_set")] @@ -1102,10 +1102,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_get")] public static extern IntPtr __switch_directories_script_dir_get(HandleRef jarg1); - public static string switch_directories_script_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_script_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_script_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_script_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_set")] @@ -1113,10 +1113,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_get")] public static extern IntPtr __switch_directories_temp_dir_get(HandleRef jarg1); - public static string switch_directories_temp_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_temp_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_temp_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_temp_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_set")] @@ -1124,10 +1124,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_get")] public static extern IntPtr __switch_directories_htdocs_dir_get(HandleRef jarg1); - public static string switch_directories_htdocs_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_htdocs_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_htdocs_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_htdocs_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_set")] @@ -1135,10 +1135,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_get")] public static extern IntPtr __switch_directories_grammar_dir_get(HandleRef jarg1); - public static string switch_directories_grammar_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_grammar_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_grammar_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_grammar_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_set")] @@ -1146,10 +1146,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_get")] public static extern IntPtr __switch_directories_storage_dir_get(HandleRef jarg1); - public static string switch_directories_storage_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_storage_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_storage_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_storage_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_directories")] @@ -1340,10 +1340,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_name")] public static extern IntPtr __switch_core_db_column_name(HandleRef jarg1, int jarg2); - public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){ -var _ptr = __switch_core_db_column_name(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){ +var _ptr = __switch_core_db_column_name(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_count")] @@ -1351,10 +1351,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_errmsg")] public static extern IntPtr __switch_core_db_errmsg(HandleRef jarg1); - public static string switch_core_db_errmsg(HandleRef jarg1){ -var _ptr = __switch_core_db_errmsg(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_db_errmsg(HandleRef jarg1){ +var _ptr = __switch_core_db_errmsg(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_exec")] @@ -1488,10 +1488,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_mprintf")] public static extern IntPtr __switch_mprintf(string jarg1); - public static string switch_mprintf(string jarg1){ -var _ptr = __switch_mprintf(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_mprintf(string jarg1){ +var _ptr = __switch_mprintf(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_regex_compile")] @@ -1571,10 +1571,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_app_get")] public static extern IntPtr __switch_app_log_app_get(HandleRef jarg1); - public static string switch_app_log_app_get(HandleRef jarg1){ -var _ptr = __switch_app_log_app_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_app_log_app_get(HandleRef jarg1){ +var _ptr = __switch_app_log_app_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_set")] @@ -1582,10 +1582,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_get")] public static extern IntPtr __switch_app_log_arg_get(HandleRef jarg1); - public static string switch_app_log_arg_get(HandleRef jarg1){ -var _ptr = __switch_app_log_arg_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_app_log_arg_get(HandleRef jarg1){ +var _ptr = __switch_app_log_arg_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_next_set")] @@ -1605,10 +1605,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_from_get")] public static extern IntPtr __switch_core_session_message_from_get(HandleRef jarg1); - public static string switch_core_session_message_from_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_from_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_from_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_from_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_message_id_set")] @@ -1628,10 +1628,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_get")] public static extern IntPtr __switch_core_session_message_string_arg_get(HandleRef jarg1); - public static string switch_core_session_message_string_arg_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_string_arg_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_string_arg_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_string_arg_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_size_set")] @@ -1663,10 +1663,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_get")] public static extern IntPtr __switch_core_session_message_string_reply_get(HandleRef jarg1); - public static string switch_core_session_message_string_reply_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_string_reply_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_string_reply_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_string_reply_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_size_set")] @@ -1845,42 +1845,42 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_permanent_strdup")] public static extern IntPtr __switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4); - public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){ -var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){ +var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_session_strdup")] public static extern IntPtr __switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ -var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ +var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_strdup")] public static extern IntPtr __switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ -var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ +var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_sprintf")] public static extern IntPtr __switch_core_session_sprintf(HandleRef jarg1, string jarg2); - public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){ -var _ptr = __switch_core_session_sprintf(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){ +var _ptr = __switch_core_session_sprintf(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_sprintf")] public static extern IntPtr __switch_core_sprintf(HandleRef jarg1, string jarg2); - public static string switch_core_sprintf(HandleRef jarg1, string jarg2){ -var _ptr = __switch_core_sprintf(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_sprintf(HandleRef jarg1, string jarg2){ +var _ptr = __switch_core_sprintf(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_pool")] @@ -1912,18 +1912,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_uuid")] public static extern IntPtr __switch_core_session_get_uuid(HandleRef jarg1); - public static string switch_core_session_get_uuid(HandleRef jarg1){ -var _ptr = __switch_core_session_get_uuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_get_uuid(HandleRef jarg1){ +var _ptr = __switch_core_session_get_uuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_uuid")] public static extern IntPtr __switch_core_get_uuid(); - public static string switch_core_get_uuid(){ -var _ptr = __switch_core_get_uuid(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_get_uuid(){ +var _ptr = __switch_core_get_uuid(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_locate")] @@ -1931,10 +1931,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_variable")] public static extern IntPtr __switch_core_get_variable(string jarg1); - public static string switch_core_get_variable(string jarg1){ -var _ptr = __switch_core_get_variable(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_get_variable(string jarg1){ +var _ptr = __switch_core_get_variable(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_set_variable")] @@ -2161,10 +2161,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CORE_DB_get")] public static extern IntPtr __SWITCH_CORE_DB_get(); - public static string SWITCH_CORE_DB_get(){ -var _ptr = __SWITCH_CORE_DB_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CORE_DB_get(){ +var _ptr = __SWITCH_CORE_DB_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_file_open")] @@ -2304,10 +2304,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_ext2type")] public static extern IntPtr __switch_core_mime_ext2type(string jarg1); - public static string switch_core_mime_ext2type(string jarg1){ -var _ptr = __switch_core_mime_ext2type(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_mime_ext2type(string jarg1){ +var _ptr = __switch_core_mime_ext2type(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_add_type")] @@ -2390,10 +2390,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_amp_encode")] public static extern IntPtr __switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3); - public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){ -var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){ +var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_is_digit_string")] @@ -2407,18 +2407,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_get_addr")] public static extern IntPtr __get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3); - public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){ -var _ptr = __get_addr(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){ +var _ptr = __get_addr(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_priority_name")] public static extern IntPtr __switch_priority_name(int jarg1); - public static string switch_priority_name(int jarg1){ -var _ptr = __switch_priority_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_priority_name(int jarg1){ +var _ptr = __switch_priority_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_rfc2833_to_char")] @@ -2429,10 +2429,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_clean_string")] public static extern IntPtr __switch_clean_string(string jarg1); - public static string switch_clean_string(string jarg1){ -var _ptr = __switch_clean_string(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_clean_string(string jarg1){ +var _ptr = __switch_clean_string(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_strstr")] @@ -2449,26 +2449,26 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_strip_spaces")] public static extern IntPtr __switch_strip_spaces(string jarg1); - public static string switch_strip_spaces(string jarg1){ -var _ptr = __switch_strip_spaces(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_strip_spaces(string jarg1){ +var _ptr = __switch_strip_spaces(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_separate_paren_args")] public static extern IntPtr __switch_separate_paren_args(string jarg1); - public static string switch_separate_paren_args(string jarg1){ -var _ptr = __switch_separate_paren_args(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_separate_paren_args(string jarg1){ +var _ptr = __switch_separate_paren_args(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_stristr")] public static extern IntPtr __switch_stristr(string jarg1, string jarg2); - public static string switch_stristr(string jarg1, string jarg2){ -var _ptr = __switch_stristr(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_stristr(string jarg1, string jarg2){ +var _ptr = __switch_stristr(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_is_lan_addr")] @@ -2476,10 +2476,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_replace_char")] public static extern IntPtr __switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4); - public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){ -var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){ +var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_ast2regex")] @@ -2487,10 +2487,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_escape_char")] public static extern IntPtr __switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4); - public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){ -var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){ +var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_socket_waitfor")] @@ -2498,18 +2498,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_cut_path")] public static extern IntPtr __switch_cut_path(string jarg1); - public static string switch_cut_path(string jarg1){ -var _ptr = __switch_cut_path(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_cut_path(string jarg1){ +var _ptr = __switch_cut_path(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_string_replace")] public static extern IntPtr __switch_string_replace(string jarg1, string jarg2, string jarg3); - public static string switch_string_replace(string jarg1, string jarg2, string jarg3){ -var _ptr = __switch_string_replace(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_string_replace(string jarg1, string jarg2, string jarg3){ +var _ptr = __switch_string_replace(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_string_match")] @@ -2520,10 +2520,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_url_decode")] public static extern IntPtr __switch_url_decode(string jarg1); - public static string switch_url_decode(string jarg1){ -var _ptr = __switch_url_decode(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_url_decode(string jarg1){ +var _ptr = __switch_url_decode(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_simple_email")] @@ -2531,10 +2531,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_find_end_paren")] public static extern IntPtr __switch_find_end_paren(string jarg1, char jarg2, char jarg3); - public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){ -var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){ +var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_parse_cidr")] @@ -2557,10 +2557,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_username_get")] public static extern IntPtr __switch_caller_profile_username_get(HandleRef jarg1); - public static string switch_caller_profile_username_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_username_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_username_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_username_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_set")] @@ -2568,10 +2568,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_get")] public static extern IntPtr __switch_caller_profile_dialplan_get(HandleRef jarg1); - public static string switch_caller_profile_dialplan_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_dialplan_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_dialplan_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_dialplan_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_set")] @@ -2579,10 +2579,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_get")] public static extern IntPtr __switch_caller_profile_caller_id_name_get(HandleRef jarg1); - public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_caller_id_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_caller_id_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_set")] @@ -2590,10 +2590,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_get")] public static extern IntPtr __switch_caller_profile_caller_id_number_get(HandleRef jarg1); - public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_caller_id_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_caller_id_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_ton_set")] @@ -2613,10 +2613,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_network_addr_get")] public static extern IntPtr __switch_caller_profile_network_addr_get(HandleRef jarg1); - public static string switch_caller_profile_network_addr_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_network_addr_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_network_addr_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_network_addr_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_set")] @@ -2624,10 +2624,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_get")] public static extern IntPtr __switch_caller_profile_ani_get(HandleRef jarg1); - public static string switch_caller_profile_ani_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_ani_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_ani_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_ani_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_ton_set")] @@ -2647,10 +2647,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_aniii_get")] public static extern IntPtr __switch_caller_profile_aniii_get(HandleRef jarg1); - public static string switch_caller_profile_aniii_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_aniii_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_aniii_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_aniii_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_set")] @@ -2658,10 +2658,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_get")] public static extern IntPtr __switch_caller_profile_rdnis_get(HandleRef jarg1); - public static string switch_caller_profile_rdnis_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_rdnis_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_rdnis_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_rdnis_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_set")] @@ -2681,10 +2681,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_get")] public static extern IntPtr __switch_caller_profile_destination_number_get(HandleRef jarg1); - public static string switch_caller_profile_destination_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_destination_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_destination_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_destination_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_set")] @@ -2704,10 +2704,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_source_get")] public static extern IntPtr __switch_caller_profile_source_get(HandleRef jarg1); - public static string switch_caller_profile_source_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_source_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_source_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_source_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_set")] @@ -2715,10 +2715,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_get")] public static extern IntPtr __switch_caller_profile_chan_name_get(HandleRef jarg1); - public static string switch_caller_profile_chan_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_chan_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_chan_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_chan_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_set")] @@ -2726,10 +2726,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_get")] public static extern IntPtr __switch_caller_profile_uuid_get(HandleRef jarg1); - public static string switch_caller_profile_uuid_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_uuid_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_uuid_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_uuid_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_set")] @@ -2737,10 +2737,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_get")] public static extern IntPtr __switch_caller_profile_context_get(HandleRef jarg1); - public static string switch_caller_profile_context_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_context_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_context_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_context_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_set")] @@ -2748,10 +2748,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_get")] public static extern IntPtr __switch_caller_profile_profile_index_get(HandleRef jarg1); - public static string switch_caller_profile_profile_index_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_profile_index_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_profile_index_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_profile_index_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")] @@ -2807,10 +2807,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_name_get")] public static extern IntPtr __switch_caller_application_application_name_get(HandleRef jarg1); - public static string switch_caller_application_application_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_application_application_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_application_application_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_application_application_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_set")] @@ -2818,10 +2818,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_get")] public static extern IntPtr __switch_caller_application_application_data_get(HandleRef jarg1); - public static string switch_caller_application_application_data_get(HandleRef jarg1){ -var _ptr = __switch_caller_application_application_data_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_application_application_data_get(HandleRef jarg1){ +var _ptr = __switch_caller_application_application_data_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_function_set")] @@ -2847,10 +2847,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_name_get")] public static extern IntPtr __switch_caller_extension_extension_name_get(HandleRef jarg1); - public static string switch_caller_extension_extension_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_extension_extension_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_extension_extension_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_extension_extension_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_set")] @@ -2858,10 +2858,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_get")] public static extern IntPtr __switch_caller_extension_extension_number_get(HandleRef jarg1); - public static string switch_caller_extension_extension_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_extension_extension_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_extension_extension_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_extension_extension_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_current_application_set")] @@ -2908,10 +2908,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_get_field_by_name")] public static extern IntPtr __switch_caller_get_field_by_name(HandleRef jarg1, string jarg2); - public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){ -var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){ +var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_new")] @@ -2937,10 +2937,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_frame_source_get")] public static extern IntPtr __switch_frame_source_get(HandleRef jarg1); - public static string switch_frame_source_get(HandleRef jarg1){ -var _ptr = __switch_frame_source_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_frame_source_get(HandleRef jarg1){ +var _ptr = __switch_frame_source_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_frame_packet_set")] @@ -3242,10 +3242,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_interface_name_get")] public static extern IntPtr __switch_endpoint_interface_interface_name_get(HandleRef jarg1); - public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_endpoint_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_endpoint_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_io_routines_set")] @@ -3343,10 +3343,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_interface_name_get")] public static extern IntPtr __switch_timer_interface_interface_name_get(HandleRef jarg1); - public static string switch_timer_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_timer_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_timer_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_timer_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_timer_init_set")] @@ -3402,10 +3402,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_interface_name_get")] public static extern IntPtr __switch_dialplan_interface_interface_name_get(HandleRef jarg1); - public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_dialplan_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_dialplan_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_set")] @@ -3431,10 +3431,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_interface_name_get")] public static extern IntPtr __switch_file_interface_interface_name_get(HandleRef jarg1); - public static string switch_file_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_file_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_file_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_file_open_set")] @@ -3598,10 +3598,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_handler_get")] public static extern IntPtr __switch_file_handle_handler_get(HandleRef jarg1); - public static string switch_file_handle_handler_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_handler_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_handler_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_handler_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_pos_set")] @@ -3681,10 +3681,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_file_get")] public static extern IntPtr __switch_file_handle_file_get(HandleRef jarg1); - public static string switch_file_handle_file_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_file_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_file_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_file_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_set")] @@ -3692,10 +3692,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_get")] public static extern IntPtr __switch_file_handle_func_get(HandleRef jarg1); - public static string switch_file_handle_func_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_func_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_func_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_func_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_line_set")] @@ -3715,10 +3715,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_interface_name_get")] public static extern IntPtr __switch_asr_interface_interface_name_get(HandleRef jarg1); - public static string switch_asr_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_asr_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_asr_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_asr_open_set")] @@ -3804,10 +3804,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_name_get")] public static extern IntPtr __switch_asr_handle_name_get(HandleRef jarg1); - public static string switch_asr_handle_name_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_name_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_set")] @@ -3815,10 +3815,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_get")] public static extern IntPtr __switch_asr_handle_codec_get(HandleRef jarg1); - public static string switch_asr_handle_codec_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_codec_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_codec_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_codec_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_rate_set")] @@ -3832,10 +3832,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_grammar_get")] public static extern IntPtr __switch_asr_handle_grammar_get(HandleRef jarg1); - public static string switch_asr_handle_grammar_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_grammar_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_grammar_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_grammar_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_set")] @@ -3843,10 +3843,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_get")] public static extern IntPtr __switch_asr_handle_param_get(HandleRef jarg1); - public static string switch_asr_handle_param_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_param_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_param_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_param_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_memory_pool_set")] @@ -3872,10 +3872,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_interface_name_get")] public static extern IntPtr __switch_speech_interface_interface_name_get(HandleRef jarg1); - public static string switch_speech_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_speech_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_speech_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_speech_open_set")] @@ -3955,10 +3955,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_name_get")] public static extern IntPtr __switch_speech_handle_name_get(HandleRef jarg1); - public static string switch_speech_handle_name_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_name_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_rate_set")] @@ -3984,10 +3984,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_voice_get")] public static extern IntPtr __switch_speech_handle_voice_get(HandleRef jarg1); - public static string switch_speech_handle_voice_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_voice_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_voice_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_voice_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_set")] @@ -3995,10 +3995,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_get")] public static extern IntPtr __switch_speech_handle_engine_get(HandleRef jarg1); - public static string switch_speech_handle_engine_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_engine_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_engine_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_engine_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_set")] @@ -4006,10 +4006,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_get")] public static extern IntPtr __switch_speech_handle_param_get(HandleRef jarg1); - public static string switch_speech_handle_param_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_param_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_param_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_param_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_memory_pool_set")] @@ -4035,10 +4035,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_interface_name_get")] public static extern IntPtr __switch_say_interface_interface_name_get(HandleRef jarg1); - public static string switch_say_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_say_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_say_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_say_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_say_function_set")] @@ -4064,10 +4064,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_interface_name_get")] public static extern IntPtr __switch_chat_interface_interface_name_get(HandleRef jarg1); - public static string switch_chat_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_chat_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_chat_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_chat_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_chat_send_set")] @@ -4093,10 +4093,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_relative_oid_get")] public static extern IntPtr __switch_management_interface_relative_oid_get(HandleRef jarg1); - public static string switch_management_interface_relative_oid_get(HandleRef jarg1){ -var _ptr = __switch_management_interface_relative_oid_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_management_interface_relative_oid_get(HandleRef jarg1){ +var _ptr = __switch_management_interface_relative_oid_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_management_function_set")] @@ -4122,10 +4122,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_interface_name_get")] public static extern IntPtr __switch_directory_interface_interface_name_get(HandleRef jarg1); - public static string switch_directory_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_directory_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directory_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_directory_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_directory_open_set")] @@ -4319,10 +4319,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_in_get")] public static extern IntPtr __switch_codec_fmtp_in_get(HandleRef jarg1); - public static string switch_codec_fmtp_in_get(HandleRef jarg1){ -var _ptr = __switch_codec_fmtp_in_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_fmtp_in_get(HandleRef jarg1){ +var _ptr = __switch_codec_fmtp_in_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_set")] @@ -4330,10 +4330,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_get")] public static extern IntPtr __switch_codec_fmtp_out_get(HandleRef jarg1); - public static string switch_codec_fmtp_out_get(HandleRef jarg1){ -var _ptr = __switch_codec_fmtp_out_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_fmtp_out_get(HandleRef jarg1){ +var _ptr = __switch_codec_fmtp_out_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_codec_settings_set")] @@ -4389,10 +4389,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_iananame_get")] public static extern IntPtr __switch_codec_implementation_iananame_get(HandleRef jarg1); - public static string switch_codec_implementation_iananame_get(HandleRef jarg1){ -var _ptr = __switch_codec_implementation_iananame_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_implementation_iananame_get(HandleRef jarg1){ +var _ptr = __switch_codec_implementation_iananame_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_set")] @@ -4400,10 +4400,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_get")] public static extern IntPtr __switch_codec_implementation_fmtp_get(HandleRef jarg1); - public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){ -var _ptr = __switch_codec_implementation_fmtp_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){ +var _ptr = __switch_codec_implementation_fmtp_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_set")] @@ -4513,10 +4513,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_interface_name_get")] public static extern IntPtr __switch_codec_interface_interface_name_get(HandleRef jarg1); - public static string switch_codec_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_codec_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_codec_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_implementations_set")] @@ -4548,10 +4548,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_interface_name_get")] public static extern IntPtr __switch_application_interface_interface_name_get(HandleRef jarg1); - public static string switch_application_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_application_function_set")] @@ -4565,10 +4565,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_long_desc_get")] public static extern IntPtr __switch_application_interface_long_desc_get(HandleRef jarg1); - public static string switch_application_interface_long_desc_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_long_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_long_desc_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_long_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_set")] @@ -4576,10 +4576,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_get")] public static extern IntPtr __switch_application_interface_short_desc_get(HandleRef jarg1); - public static string switch_application_interface_short_desc_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_short_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_short_desc_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_short_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_set")] @@ -4587,10 +4587,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_get")] public static extern IntPtr __switch_application_interface_syntax_get(HandleRef jarg1); - public static string switch_application_interface_syntax_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_syntax_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_syntax_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_syntax_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_flags_set")] @@ -4616,10 +4616,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_interface_name_get")] public static extern IntPtr __switch_api_interface_interface_name_get(HandleRef jarg1); - public static string switch_api_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_set")] @@ -4627,10 +4627,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_get")] public static extern IntPtr __switch_api_interface_desc_get(HandleRef jarg1); - public static string switch_api_interface_desc_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_desc_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_function_set")] @@ -4644,10 +4644,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_syntax_get")] public static extern IntPtr __switch_api_interface_syntax_get(HandleRef jarg1); - public static string switch_api_interface_syntax_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_syntax_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_syntax_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_syntax_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_next_set")] @@ -4745,10 +4745,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_cause2str")] public static extern IntPtr __switch_channel_cause2str(int jarg1); - public static string switch_channel_cause2str(int jarg1){ -var _ptr = __switch_channel_cause2str(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_cause2str(int jarg1){ +var _ptr = __switch_channel_cause2str(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_timetable")] @@ -4786,10 +4786,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_uuid")] public static extern IntPtr __switch_channel_get_uuid(HandleRef jarg1); - public static string switch_channel_get_uuid(HandleRef jarg1){ -var _ptr = __switch_channel_get_uuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_uuid(HandleRef jarg1){ +var _ptr = __switch_channel_get_uuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_variable")] @@ -4800,18 +4800,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable_partner")] public static extern IntPtr __switch_channel_get_variable_partner(HandleRef jarg1, string jarg2); - public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable")] public static extern IntPtr __switch_channel_get_variable(HandleRef jarg1, string jarg2); - public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_get_variable(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_get_variable(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_variable_first")] @@ -4882,10 +4882,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_name")] public static extern IntPtr __switch_channel_get_name(HandleRef jarg1); - public static string switch_channel_get_name(HandleRef jarg1){ -var _ptr = __switch_channel_get_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_name(HandleRef jarg1){ +var _ptr = __switch_channel_get_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_hangup")] @@ -4911,10 +4911,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_state_name")] public static extern IntPtr __switch_channel_state_name(int jarg1); - public static string switch_channel_state_name(int jarg1){ -var _ptr = __switch_channel_state_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_state_name(int jarg1){ +var _ptr = __switch_channel_state_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_name_state")] @@ -4925,18 +4925,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_expand_variables")] public static extern IntPtr __switch_channel_expand_variables(HandleRef jarg1, string jarg2); - public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_expand_variables(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_expand_variables(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_build_param_string")] public static extern IntPtr __switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3); - public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){ -var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){ +var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_timestamps")] @@ -4998,10 +4998,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_name_get")] public static extern IntPtr __switch_event_header_name_get(HandleRef jarg1); - public static string switch_event_header_name_get(HandleRef jarg1){ -var _ptr = __switch_event_header_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_header_name_get(HandleRef jarg1){ +var _ptr = __switch_event_header_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_set")] @@ -5009,10 +5009,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_get")] public static extern IntPtr __switch_event_header_value_get(HandleRef jarg1); - public static string switch_event_header_value_get(HandleRef jarg1){ -var _ptr = __switch_event_header_value_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_header_value_get(HandleRef jarg1){ +var _ptr = __switch_event_header_value_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_next_set")] @@ -5032,10 +5032,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_owner_get")] public static extern IntPtr __switch_event_subclass_owner_get(HandleRef jarg1); - public static string switch_event_subclass_owner_get(HandleRef jarg1){ -var _ptr = __switch_event_subclass_owner_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_subclass_owner_get(HandleRef jarg1){ +var _ptr = __switch_event_subclass_owner_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_set")] @@ -5043,10 +5043,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_get")] public static extern IntPtr __switch_event_subclass_name_get(HandleRef jarg1); - public static string switch_event_subclass_name_get(HandleRef jarg1){ -var _ptr = __switch_event_subclass_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_subclass_name_get(HandleRef jarg1){ +var _ptr = __switch_event_subclass_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_event_subclass")] @@ -5072,10 +5072,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_owner_get")] public static extern IntPtr __switch_event_owner_get(HandleRef jarg1); - public static string switch_event_owner_get(HandleRef jarg1){ -var _ptr = __switch_event_owner_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_owner_get(HandleRef jarg1){ +var _ptr = __switch_event_owner_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_set")] @@ -5101,10 +5101,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_body_get")] public static extern IntPtr __switch_event_body_get(HandleRef jarg1); - public static string switch_event_body_get(HandleRef jarg1){ -var _ptr = __switch_event_body_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_body_get(HandleRef jarg1){ +var _ptr = __switch_event_body_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_bind_user_data_set")] @@ -5142,10 +5142,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_id_get")] public static extern IntPtr __switch_event_node_id_get(HandleRef jarg1); - public static string switch_event_node_id_get(HandleRef jarg1){ -var _ptr = __switch_event_node_id_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_node_id_get(HandleRef jarg1){ +var _ptr = __switch_event_node_id_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_event_id_set")] @@ -5198,18 +5198,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_header")] public static extern IntPtr __switch_event_get_header(HandleRef jarg1, string jarg2); - public static string switch_event_get_header(HandleRef jarg1, string jarg2){ -var _ptr = __switch_event_get_header(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_get_header(HandleRef jarg1, string jarg2){ +var _ptr = __switch_event_get_header(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_body")] public static extern IntPtr __switch_event_get_body(HandleRef jarg1); - public static string switch_event_get_body(HandleRef jarg1){ -var _ptr = __switch_event_get_body(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_get_body(HandleRef jarg1){ +var _ptr = __switch_event_get_body(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_add_header_string")] @@ -5232,10 +5232,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_name")] public static extern IntPtr __switch_event_name(int jarg1); - public static string switch_event_name(int jarg1){ -var _ptr = __switch_event_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_name(int jarg1){ +var _ptr = __switch_event_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_name_event")] @@ -5252,10 +5252,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_expand_headers")] public static extern IntPtr __switch_event_expand_headers(HandleRef jarg1, string jarg2); - public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){ -var _ptr = __switch_event_expand_headers(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){ +var _ptr = __switch_event_expand_headers(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_create_pres_in_detailed")] @@ -5266,10 +5266,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_build_param_string")] public static extern IntPtr __switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3); - public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){ -var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){ +var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_audio_resampler_t_resampler_set")] @@ -5406,10 +5406,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_get")] public static extern IntPtr __switch_unicast_conninfo_local_ip_get(HandleRef jarg1); - public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){ -var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){ +var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_port_set")] @@ -5423,10 +5423,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_get")] public static extern IntPtr __switch_unicast_conninfo_remote_ip_get(HandleRef jarg1); - public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){ -var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){ +var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_set")] @@ -5746,18 +5746,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_32_get")] public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_32_get(); - public static string SWITCH_RTP_CRYPTO_KEY_32_get(){ -var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_RTP_CRYPTO_KEY_32_get(){ +var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_80_get")] public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_80_get(); - public static string SWITCH_RTP_CRYPTO_KEY_80_get(){ -var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_RTP_CRYPTO_KEY_80_get(){ +var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")] @@ -5933,10 +5933,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_data_get")] public static extern IntPtr __switch_log_node_t_data_get(HandleRef jarg1); - public static string switch_log_node_t_data_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_data_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_data_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_data_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_set")] @@ -5944,10 +5944,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_get")] public static extern IntPtr __switch_log_node_t_file_get(HandleRef jarg1); - public static string switch_log_node_t_file_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_file_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_file_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_file_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_line_set")] @@ -5961,10 +5961,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_func_get")] public static extern IntPtr __switch_log_node_t_func_get(HandleRef jarg1); - public static string switch_log_node_t_func_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_func_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_func_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_func_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_level_set")] @@ -5984,10 +5984,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_content_get")] public static extern IntPtr __switch_log_node_t_content_get(HandleRef jarg1); - public static string switch_log_node_t_content_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_content_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_content_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_content_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_set")] @@ -5995,10 +5995,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_get")] public static extern IntPtr __switch_log_node_t_userdata_get(HandleRef jarg1); - public static string switch_log_node_t_userdata_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_userdata_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_userdata_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_userdata_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_log_node_t")] @@ -6018,10 +6018,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_level2str")] public static extern IntPtr __switch_log_level2str(int jarg1); - public static string switch_log_level2str(int jarg1){ -var _ptr = __switch_log_level2str(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_level2str(int jarg1){ +var _ptr = __switch_log_level2str(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_str2level")] @@ -6038,10 +6038,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_name_get")] public static extern IntPtr __switch_xml_name_get(HandleRef jarg1); - public static string switch_xml_name_get(HandleRef jarg1){ -var _ptr = __switch_xml_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_name_get(HandleRef jarg1){ +var _ptr = __switch_xml_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_set")] @@ -6055,10 +6055,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_txt_get")] public static extern IntPtr __switch_xml_txt_get(HandleRef jarg1); - public static string switch_xml_txt_get(HandleRef jarg1){ -var _ptr = __switch_xml_txt_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_txt_get(HandleRef jarg1){ +var _ptr = __switch_xml_txt_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_set")] @@ -6066,10 +6066,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_get")] public static extern IntPtr __switch_xml_free_path_get(HandleRef jarg1); - public static string switch_xml_free_path_get(HandleRef jarg1){ -var _ptr = __switch_xml_free_path_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_free_path_get(HandleRef jarg1){ +var _ptr = __switch_xml_free_path_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_off_set")] @@ -6143,18 +6143,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr")] public static extern IntPtr __switch_xml_attr(HandleRef jarg1, string jarg2); - public static string switch_xml_attr(HandleRef jarg1, string jarg2){ -var _ptr = __switch_xml_attr(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_attr(HandleRef jarg1, string jarg2){ +var _ptr = __switch_xml_attr(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_soft")] public static extern IntPtr __switch_xml_attr_soft(HandleRef jarg1, string jarg2); - public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){ -var _ptr = __switch_xml_attr_soft(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){ +var _ptr = __switch_xml_attr_soft(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_get")] @@ -6162,18 +6162,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml")] public static extern IntPtr __switch_xml_toxml(HandleRef jarg1, int jarg2); - public static string switch_xml_toxml(HandleRef jarg1, int jarg2){ -var _ptr = __switch_xml_toxml(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_toxml(HandleRef jarg1, int jarg2){ +var _ptr = __switch_xml_toxml(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml_buf")] public static extern IntPtr __switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); - public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){ -var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){ +var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_pi")] @@ -6184,10 +6184,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_error")] public static extern IntPtr __switch_xml_error(HandleRef jarg1); - public static string switch_xml_error(HandleRef jarg1){ -var _ptr = __switch_xml_error(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_error(HandleRef jarg1){ +var _ptr = __switch_xml_error(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_new")] @@ -6630,10 +6630,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_group_get")] public static extern IntPtr __switch_scheduler_task_group_get(HandleRef jarg1); - public static string switch_scheduler_task_group_get(HandleRef jarg1){ -var _ptr = __switch_scheduler_task_group_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_scheduler_task_group_get(HandleRef jarg1){ +var _ptr = __switch_scheduler_task_group_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_set")] @@ -6680,10 +6680,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_path_get")] public static extern IntPtr __switch_config_path_get(HandleRef jarg1); - public static string switch_config_path_get(HandleRef jarg1){ -var _ptr = __switch_config_path_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_path_get(HandleRef jarg1){ +var _ptr = __switch_config_path_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_set")] @@ -6691,10 +6691,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_get")] public static extern IntPtr __switch_config_category_get(HandleRef jarg1); - public static string switch_config_category_get(HandleRef jarg1){ -var _ptr = __switch_config_category_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_category_get(HandleRef jarg1){ +var _ptr = __switch_config_category_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_set")] @@ -6702,10 +6702,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_get")] public static extern IntPtr __switch_config_section_get(HandleRef jarg1); - public static string switch_config_section_get(HandleRef jarg1){ -var _ptr = __switch_config_section_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_section_get(HandleRef jarg1){ +var _ptr = __switch_config_section_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_set")] @@ -6713,10 +6713,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_get")] public static extern IntPtr __switch_config_buf_get(HandleRef jarg1); - public static string switch_config_buf_get(HandleRef jarg1){ -var _ptr = __switch_config_buf_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_buf_get(HandleRef jarg1){ +var _ptr = __switch_config_buf_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_lineno_set")] @@ -6784,18 +6784,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Api_Execute")] public static extern IntPtr __Api_Execute(HandleRef jarg1, string jarg2, string jarg3); - public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){ -var _ptr = __Api_Execute(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){ +var _ptr = __Api_Execute(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Api_ExecuteString")] public static extern IntPtr __Api_ExecuteString(HandleRef jarg1, string jarg2); - public static string Api_ExecuteString(HandleRef jarg1, string jarg2){ -var _ptr = __Api_ExecuteString(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Api_ExecuteString(HandleRef jarg1, string jarg2){ +var _ptr = __Api_ExecuteString(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_function_set")] @@ -6821,10 +6821,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_funcargs_get")] public static extern IntPtr __input_callback_state_t_funcargs_get(HandleRef jarg1); - public static string input_callback_state_t_funcargs_get(HandleRef jarg1){ -var _ptr = __input_callback_state_t_funcargs_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string input_callback_state_t_funcargs_get(HandleRef jarg1){ +var _ptr = __input_callback_state_t_funcargs_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_input_callback_state_t")] @@ -6847,10 +6847,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Stream_get_data")] public static extern IntPtr __Stream_get_data(HandleRef jarg1); - public static string Stream_get_data(HandleRef jarg1){ -var _ptr = __Stream_get_data(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Stream_get_data(HandleRef jarg1){ +var _ptr = __Stream_get_data(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_InternalEvent_set")] @@ -6864,10 +6864,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_serialized_string_get")] public static extern IntPtr __Event_serialized_string_get(HandleRef jarg1); - public static string Event_serialized_string_get(HandleRef jarg1){ -var _ptr = __Event_serialized_string_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_serialized_string_get(HandleRef jarg1){ +var _ptr = __Event_serialized_string_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_mine_set")] @@ -6887,10 +6887,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_Serialize")] public static extern IntPtr __Event_Serialize(HandleRef jarg1, string jarg2); - public static string Event_Serialize(HandleRef jarg1, string jarg2){ -var _ptr = __Event_Serialize(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_Serialize(HandleRef jarg1, string jarg2){ +var _ptr = __Event_Serialize(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_SetPriority")] @@ -6898,26 +6898,26 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetHeader")] public static extern IntPtr __Event_GetHeader(HandleRef jarg1, string jarg2); - public static string Event_GetHeader(HandleRef jarg1, string jarg2){ -var _ptr = __Event_GetHeader(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetHeader(HandleRef jarg1, string jarg2){ +var _ptr = __Event_GetHeader(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetBody")] public static extern IntPtr __Event_GetBody(HandleRef jarg1); - public static string Event_GetBody(HandleRef jarg1){ -var _ptr = __Event_GetBody(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetBody(HandleRef jarg1){ +var _ptr = __Event_GetBody(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetEventType")] public static extern IntPtr __Event_GetEventType(HandleRef jarg1); - public static string Event_GetEventType(HandleRef jarg1){ -var _ptr = __Event_GetEventType(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetEventType(HandleRef jarg1){ +var _ptr = __Event_GetEventType(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_AddBody")] @@ -6991,10 +6991,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetVariable")] public static extern IntPtr __CoreSession_GetVariable(HandleRef jarg1, string jarg2); - public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){ -var _ptr = __CoreSession_GetVariable(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){ +var _ptr = __CoreSession_GetVariable(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Say")] @@ -7012,21 +7012,21 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Originate")] public static extern int CoreSession_Originate(HandleRef jarg1, HandleRef jarg2, string jarg3, int jarg4); - [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_speak")] - public static extern int CoreSession_speak(HandleRef jarg1, string jarg2); + [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Speak")] + public static extern int CoreSession_Speak(HandleRef jarg1, string jarg2); - [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_set_tts_parms")] - public static extern void CoreSession_set_tts_parms(HandleRef jarg1, string jarg2, string jarg3); + [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_SetTtsParameters")] + public static extern void CoreSession_SetTtsParameters(HandleRef jarg1, string jarg2, string jarg3); [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_CollectDigits")] public static extern int CoreSession_CollectDigits(HandleRef jarg1, int jarg2); [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetDigits")] public static extern IntPtr __CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4); - public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){ -var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){ +var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Transfer")] @@ -7034,18 +7034,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_read")] public static extern IntPtr __CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6); - public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){ -var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){ +var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")] public static extern IntPtr __CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){ -var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){ +var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_StreamFile")] @@ -7057,8 +7057,8 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_flushDigits")] public static extern int CoreSession_flushDigits(HandleRef jarg1); - [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_setAutoHangup")] - public static extern int CoreSession_setAutoHangup(HandleRef jarg1, bool jarg2); + [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_SetAutoHangup")] + public static extern int CoreSession_SetAutoHangup(HandleRef jarg1, bool jarg2); [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")] public static extern bool CoreSession_Ready(HandleRef jarg1); @@ -7083,10 +7083,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_getXMLCDR")] public static extern IntPtr __CoreSession_getXMLCDR(HandleRef jarg1); - public static string CoreSession_getXMLCDR(HandleRef jarg1){ -var _ptr = __CoreSession_getXMLCDR(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_getXMLCDR(HandleRef jarg1){ +var _ptr = __CoreSession_getXMLCDR(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_begin_allow_threads")] @@ -7097,10 +7097,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetUuid")] public static extern IntPtr __CoreSession_GetUuid(HandleRef jarg1); - public static string CoreSession_GetUuid(HandleRef jarg1){ -var _ptr = __CoreSession_GetUuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetUuid(HandleRef jarg1){ +var _ptr = __CoreSession_GetUuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_get_cb_args")]