Skip to content

Commit 1b58716

Browse files
authored
Merge pull request #2561 from signalwire/swigall
swigall
2 parents 344150d + 6e8f30e commit 1b58716

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/mod/languages/mod_managed/freeswitch_wrap.cxx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,6 +3401,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_MANAGEMENT_BUFFER
34013401
}
34023402

34033403

3404+
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RAND_MAX_get___() {
3405+
int jresult ;
3406+
int result;
3407+
3408+
result = (int)(0x7fff);
3409+
jresult = result;
3410+
return jresult;
3411+
}
3412+
3413+
34043414
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_start_set___(void * jarg1, long long jarg2) {
34053415
error_period *arg1 = (error_period *) 0 ;
34063416
int64_t arg2 ;

src/mod/languages/mod_managed/managed/swig.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15184,6 +15184,7 @@ public static switch_status_t dtmf_callback(SWIGTYPE_p_switch_core_session sessi
1518415184
public static readonly int SWITCH_MAX_STATE_HANDLERS = freeswitchPINVOKE.SWITCH_MAX_STATE_HANDLERS_get();
1518515185
public static readonly int SWITCH_CORE_QUEUE_LEN = freeswitchPINVOKE.SWITCH_CORE_QUEUE_LEN_get();
1518615186
public static readonly int SWITCH_MAX_MANAGEMENT_BUFFER_LEN = freeswitchPINVOKE.SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get();
15187+
public static readonly int SWITCH_RAND_MAX = freeswitchPINVOKE.SWITCH_RAND_MAX_get();
1518715188
public static readonly int SWITCH_RTP_CNG_PAYLOAD = freeswitchPINVOKE.SWITCH_RTP_CNG_PAYLOAD_get();
1518815189
public static readonly int SWITCH_MEDIA_TYPE_TOTAL = freeswitchPINVOKE.SWITCH_MEDIA_TYPE_TOTAL_get();
1518915190
public static readonly int SWITCH_SOCK_INVALID = freeswitchPINVOKE.SWITCH_SOCK_INVALID_get();
@@ -16292,6 +16293,9 @@ static SWIGStringHelper() {
1629216293
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get___")]
1629316294
public static extern int SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get();
1629416295

16296+
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RAND_MAX_get___")]
16297+
public static extern int SWITCH_RAND_MAX_get();
16298+
1629516299
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_start_set___")]
1629616300
public static extern void switch_error_period_t_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
1629716301

0 commit comments

Comments
 (0)