Skip to content

Commit

Permalink
swigall
Browse files Browse the repository at this point in the history
  • Loading branch information
andywolk committed Dec 22, 2023
1 parent 86cbda9 commit 6ae8ce6
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/mod/languages/mod_managed/freeswitch_wrap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -45237,6 +45237,50 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_ready_get_
}


SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_responsive_set___(void * jarg1, unsigned char jarg2) {
icand_s *arg1 = (icand_s *) 0 ;
uint8_t arg2 ;

arg1 = (icand_s *)jarg1;
arg2 = (uint8_t)jarg2;
if (arg1) (arg1)->responsive = arg2;
}


SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_responsive_get___(void * jarg1) {
unsigned char jresult ;
icand_s *arg1 = (icand_s *) 0 ;
uint8_t result;

arg1 = (icand_s *)jarg1;
result = (uint8_t) ((arg1)->responsive);
jresult = result;
return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_use_candidate_set___(void * jarg1, unsigned char jarg2) {
icand_s *arg1 = (icand_s *) 0 ;
uint8_t arg2 ;

arg1 = (icand_s *)jarg1;
arg2 = (uint8_t)jarg2;
if (arg1) (arg1)->use_candidate = arg2;
}


SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_use_candidate_get___(void * jarg1) {
unsigned char jresult ;
icand_s *arg1 = (icand_s *) 0 ;
uint8_t result;

arg1 = (icand_s *)jarg1;
result = (uint8_t) ((arg1)->use_candidate);
jresult = result;
return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_icand_t___() {
void * jresult ;
icand_s *result = 0 ;
Expand Down
32 changes: 32 additions & 0 deletions src/mod/languages/mod_managed/managed/swig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26316,6 +26316,18 @@ protected class SWIGStringHelper {
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_ready_get___")]
public static extern byte icand_t_ready_get(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_responsive_set___")]
public static extern void icand_t_responsive_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2);

[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_responsive_get___")]
public static extern byte icand_t_responsive_get(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_use_candidate_set___")]
public static extern void icand_t_use_candidate_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2);

[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_use_candidate_get___")]
public static extern byte icand_t_use_candidate_get(global::System.Runtime.InteropServices.HandleRef jarg1);

[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_icand_t___")]
public static extern global::System.IntPtr new_icand_t();

Expand Down Expand Up @@ -28339,6 +28351,26 @@ public class icand_t : global::System.IDisposable {
}
}

public byte responsive {
set {
freeswitchPINVOKE.icand_t_responsive_set(swigCPtr, value);
}
get {
byte ret = freeswitchPINVOKE.icand_t_responsive_get(swigCPtr);
return ret;
}
}

public byte use_candidate {
set {
freeswitchPINVOKE.icand_t_use_candidate_set(swigCPtr, value);
}
get {
byte ret = freeswitchPINVOKE.icand_t_use_candidate_get(swigCPtr);
return ret;
}
}

public icand_t() : this(freeswitchPINVOKE.new_icand_t(), true) {
}

Expand Down

0 comments on commit 6ae8ce6

Please sign in to comment.