This commit is contained in:
Andrey Volk 2021-07-31 00:54:08 +00:00
parent 5fb39d2828
commit 41470742b2
2 changed files with 7 additions and 5 deletions

View File

@ -21127,15 +21127,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_get_addr_int___(void * jarg1
} }
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cmp_addr___(void * jarg1, void * jarg2) { SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cmp_addr___(void * jarg1, void * jarg2, int jarg3) {
int jresult ; int jresult ;
switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ;
switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ;
switch_bool_t arg3 ;
int result; int result;
arg1 = (switch_sockaddr_t *)jarg1; arg1 = (switch_sockaddr_t *)jarg1;
arg2 = (switch_sockaddr_t *)jarg2; arg2 = (switch_sockaddr_t *)jarg2;
result = (int)switch_cmp_addr(arg1,arg2); arg3 = (switch_bool_t)jarg3;
result = (int)switch_cmp_addr(arg1,arg2,arg3);
jresult = result; jresult = result;
return jresult; return jresult;
} }

View File

@ -10952,8 +10952,8 @@ else
return ret; return ret;
} }
public static int switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t sa1, SWIGTYPE_p_switch_sockaddr_t sa2) { public static int switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t sa1, SWIGTYPE_p_switch_sockaddr_t sa2, switch_bool_t ip_only) {
int ret = freeswitchPINVOKE.switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa1), SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa2)); int ret = freeswitchPINVOKE.switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa1), SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa2), (int)ip_only);
return ret; return ret;
} }
@ -20482,7 +20482,7 @@ class freeswitchPINVOKE {
public static extern int get_addr_int(global::System.Runtime.InteropServices.HandleRef jarg1); public static extern int get_addr_int(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cmp_addr___")] [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cmp_addr___")]
public static extern int switch_cmp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); public static extern int switch_cmp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cp_addr___")] [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cp_addr___")]
public static extern int switch_cp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); public static extern int switch_cp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);