mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
swigall
This commit is contained in:
parent
95d36ac321
commit
d6dfab2955
@ -39256,6 +39256,29 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(vo
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;
|
||||
unsigned long arg2 ;
|
||||
|
||||
arg1 = (switch_scheduler_task *)jarg1;
|
||||
arg2 = (unsigned long)jarg2;
|
||||
if (arg1) (arg1)->hash = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;
|
||||
unsigned long result;
|
||||
|
||||
arg1 = (switch_scheduler_task *)jarg1;
|
||||
result = (unsigned long) ((arg1)->hash);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() {
|
||||
void * jresult ;
|
||||
switch_scheduler_task *result = 0 ;
|
||||
|
@ -16096,6 +16096,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_get")]
|
||||
public static extern uint switch_scheduler_task_task_id_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_set")]
|
||||
public static extern void switch_scheduler_task_hash_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_get")]
|
||||
public static extern uint switch_scheduler_task_hash_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_scheduler_task")]
|
||||
public static extern IntPtr new_switch_scheduler_task();
|
||||
|
||||
@ -34489,6 +34495,16 @@ public class switch_scheduler_task : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public uint hash {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_scheduler_task_hash_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
uint ret = freeswitchPINVOKE.switch_scheduler_task_hash_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_scheduler_task() : this(freeswitchPINVOKE.new_switch_scheduler_task(), true) {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user