swig vs2010

This commit is contained in:
Jeff Lenk 2010-08-24 13:02:57 -05:00
parent 8ec9e21490
commit c4a9f9e78b
2 changed files with 77 additions and 2 deletions

View File

@ -1371,6 +1371,16 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_VARIABLE_get() {
}
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get() {
char * jresult ;
char *result = 0 ;
result = (char *)("last_bridge_to");
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get() {
char * jresult ;
char *result = 0 ;
@ -11045,6 +11055,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_spaces(char * jarg1) {
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_whitespace(char * jarg1) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
result = (char *)switch_strip_whitespace((char const *)arg1);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_commas(char * jarg1, char * jarg2, void * jarg3) {
char * jresult ;
char *arg1 = (char *) 0 ;
@ -12304,6 +12326,28 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_next_get(void * jarg1
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_direction_set(void * jarg1, int jarg2) {
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
switch_call_direction_t arg2 ;
arg1 = (switch_caller_profile *)jarg1;
arg2 = (switch_call_direction_t)jarg2;
if (arg1) (arg1)->direction = arg2;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_direction_get(void * jarg1) {
int jresult ;
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
switch_call_direction_t result;
arg1 = (switch_caller_profile *)jarg1;
result = (switch_call_direction_t) ((arg1)->direction);
jresult = result;
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() {
void * jresult ;
switch_caller_profile *result = 0 ;

View File

@ -2638,6 +2638,11 @@ public class freeswitch {
return ret;
}
public static string switch_strip_whitespace(string str) {
string ret = freeswitchPINVOKE.switch_strip_whitespace(str);
return ret;
}
public static string switch_strip_commas(string arg0, string arg1, SWIGTYPE_p_switch_size_t len) {
string ret = freeswitchPINVOKE.switch_strip_commas(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(len));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@ -4990,6 +4995,7 @@ public class freeswitch {
public static readonly string SWITCH_L_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_L_SDP_VARIABLE_get();
public static readonly string SWITCH_B_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_B_SDP_VARIABLE_get();
public static readonly string SWITCH_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_VARIABLE_get();
public static readonly string SWITCH_LAST_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_LAST_BRIDGE_VARIABLE_get();
public static readonly string SWITCH_SIGNAL_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
public static readonly string SWITCH_SIGNAL_BOND_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BOND_VARIABLE_get();
public static readonly string SWITCH_ORIGINATOR_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATOR_VARIABLE_get();
@ -5586,6 +5592,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")]
public static extern string SWITCH_BRIDGE_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get")]
public static extern string SWITCH_LAST_BRIDGE_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")]
public static extern string SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
@ -7905,6 +7914,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_spaces")]
public static extern string switch_strip_spaces(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_whitespace")]
public static extern string switch_strip_whitespace(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_commas")]
public static extern string switch_strip_commas(string jarg1, string jarg2, HandleRef jarg3);
@ -8178,6 +8190,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_get")]
public static extern IntPtr switch_caller_profile_next_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_set")]
public static extern void switch_caller_profile_direction_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")]
public static extern int switch_caller_profile_direction_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")]
public static extern IntPtr new_switch_caller_profile();
@ -20143,6 +20161,16 @@ public class switch_caller_profile : IDisposable {
}
}
public switch_call_direction_t direction {
set {
freeswitchPINVOKE.switch_caller_profile_direction_set(swigCPtr, (int)value);
}
get {
switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_caller_profile_direction_get(swigCPtr);
return ret;
}
}
public switch_caller_profile() : this(freeswitchPINVOKE.new_switch_caller_profile(), true) {
}
@ -21819,7 +21847,9 @@ namespace FreeSWITCH.Native {
SCF_CALIBRATE_CLOCK = (1 << 8),
SCF_USE_HEAVY_TIMING = (1 << 9),
SCF_USE_CLOCK_RT = (1 << 10),
SCF_VERBOSE_EVENTS = (1 << 11)
SCF_VERBOSE_EVENTS = (1 << 11),
SCF_USE_WIN32_MONOTONIC = (1 << 12),
SCF_AUTO_SCHEMAS = (1 << 13)
}
}
@ -25654,7 +25684,8 @@ namespace FreeSWITCH.Native {
[System.Flags] public enum switch_io_flag_enum_t {
SWITCH_IO_FLAG_NONE = 0,
SWITCH_IO_FLAG_NOBLOCK = (1 << 0)
SWITCH_IO_FLAG_NOBLOCK = (1 << 0),
SWITCH_IO_FLAG_SINGLE_READ = (1 << 1)
}
}