swigall
This commit is contained in:
parent
c80ab8b034
commit
74f386bf94
|
@ -2129,6 +2129,46 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_LOST_BURST_CAPTURE_get___()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_uint31_t_value_set___(void * jarg1, unsigned int jarg2) {
|
||||||
|
switch_uint31_t *arg1 = (switch_uint31_t *) 0 ;
|
||||||
|
unsigned int arg2 ;
|
||||||
|
|
||||||
|
arg1 = (switch_uint31_t *)jarg1;
|
||||||
|
arg2 = (unsigned int)jarg2;
|
||||||
|
if (arg1) (arg1)->value = arg2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_uint31_t_value_get___(void * jarg1) {
|
||||||
|
unsigned int jresult ;
|
||||||
|
switch_uint31_t *arg1 = (switch_uint31_t *) 0 ;
|
||||||
|
unsigned int result;
|
||||||
|
|
||||||
|
arg1 = (switch_uint31_t *)jarg1;
|
||||||
|
result = (unsigned int) ((arg1)->value);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_uint31_t___() {
|
||||||
|
void * jresult ;
|
||||||
|
switch_uint31_t *result = 0 ;
|
||||||
|
|
||||||
|
result = (switch_uint31_t *)new switch_uint31_t();
|
||||||
|
jresult = (void *)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_uint31_t___(void * jarg1) {
|
||||||
|
switch_uint31_t *arg1 = (switch_uint31_t *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_uint31_t *)jarg1;
|
||||||
|
delete arg1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___(void * jarg1, char jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___(void * jarg1, char jarg2) {
|
||||||
switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ;
|
switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ;
|
||||||
char arg2 ;
|
char arg2 ;
|
||||||
|
@ -23521,6 +23561,16 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_memory_usage_strea
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rand___() {
|
||||||
|
int jresult ;
|
||||||
|
int result;
|
||||||
|
|
||||||
|
result = (int)switch_rand();
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_set___(void * jarg1, char * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_set___(void * jarg1, char * jarg2) {
|
||||||
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
|
|
|
@ -11585,6 +11585,11 @@ else
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static int switch_rand() {
|
||||||
|
int ret = freeswitchPINVOKE.switch_rand();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||||
global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||||
switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||||
|
@ -15975,6 +15980,18 @@ class freeswitchPINVOKE {
|
||||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_LOST_BURST_CAPTURE_get___")]
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_LOST_BURST_CAPTURE_get___")]
|
||||||
public static extern int LOST_BURST_CAPTURE_get();
|
public static extern int LOST_BURST_CAPTURE_get();
|
||||||
|
|
||||||
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_uint31_t_value_set___")]
|
||||||
|
public static extern void switch_uint31_t_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
|
||||||
|
|
||||||
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_uint31_t_value_get___")]
|
||||||
|
public static extern uint switch_uint31_t_value_get(global::System.Runtime.InteropServices.HandleRef jarg1);
|
||||||
|
|
||||||
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_uint31_t___")]
|
||||||
|
public static extern global::System.IntPtr new_switch_uint31_t();
|
||||||
|
|
||||||
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_uint31_t___")]
|
||||||
|
public static extern void delete_switch_uint31_t(global::System.Runtime.InteropServices.HandleRef jarg1);
|
||||||
|
|
||||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___")]
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___")]
|
||||||
public static extern void switch_dtmf_t_digit_set(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2);
|
public static extern void switch_dtmf_t_digit_set(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2);
|
||||||
|
|
||||||
|
@ -21099,6 +21116,9 @@ class freeswitchPINVOKE {
|
||||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_memory_usage_stream___")]
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_memory_usage_stream___")]
|
||||||
public static extern string switch_memory_usage_stream(global::System.Runtime.InteropServices.HandleRef jarg1);
|
public static extern string switch_memory_usage_stream(global::System.Runtime.InteropServices.HandleRef jarg1);
|
||||||
|
|
||||||
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rand___")]
|
||||||
|
public static extern int switch_rand();
|
||||||
|
|
||||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_set___")]
|
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_set___")]
|
||||||
public static extern void profile_node_t_var_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
|
public static extern void profile_node_t_var_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
|
||||||
|
|
||||||
|
@ -47333,6 +47353,64 @@ public class switch_timer_interface : global::System.IDisposable {
|
||||||
|
|
||||||
namespace FreeSWITCH.Native {
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
|
public class switch_uint31_t : global::System.IDisposable {
|
||||||
|
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
|
||||||
|
protected bool swigCMemOwn;
|
||||||
|
|
||||||
|
internal switch_uint31_t(global::System.IntPtr cPtr, bool cMemoryOwn) {
|
||||||
|
swigCMemOwn = cMemoryOwn;
|
||||||
|
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_uint31_t obj) {
|
||||||
|
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
|
||||||
|
}
|
||||||
|
|
||||||
|
~switch_uint31_t() {
|
||||||
|
Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Dispose() {
|
||||||
|
lock(this) {
|
||||||
|
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
|
||||||
|
if (swigCMemOwn) {
|
||||||
|
swigCMemOwn = false;
|
||||||
|
freeswitchPINVOKE.delete_switch_uint31_t(swigCPtr);
|
||||||
|
}
|
||||||
|
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
|
||||||
|
}
|
||||||
|
global::System.GC.SuppressFinalize(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public uint value {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_uint31_t_value_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
uint ret = freeswitchPINVOKE.switch_uint31_t_value_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public switch_uint31_t() : this(freeswitchPINVOKE.new_switch_uint31_t(), true) {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated />
|
||||||
|
//
|
||||||
|
// This file was automatically generated by SWIG (http://www.swig.org).
|
||||||
|
// Version 3.0.12
|
||||||
|
//
|
||||||
|
// Do not make changes to this file unless you know what you are doing--modify
|
||||||
|
// the SWIG interface file instead.
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
public class switch_unicast_conninfo : global::System.IDisposable {
|
public class switch_unicast_conninfo : global::System.IDisposable {
|
||||||
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
|
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
|
||||||
protected bool swigCMemOwn;
|
protected bool swigCMemOwn;
|
||||||
|
|
Loading…
Reference in New Issue