From f3c33c751154e9d6af359cd6a2805d6f56aff5fc Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 23 Mar 2011 14:57:16 -0500 Subject: [PATCH] swigall --- .../languages/mod_managed/freeswitch_wrap.cxx | 18 ++++++++++++++++++ src/mod/languages/mod_managed/managed/swig.cs | 15 +++++++++++++++ src/mod/languages/mod_perl/mod_perl_wrap.cpp | 6 +++--- 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 9930183ebc..b3ce7997b9 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -9606,6 +9606,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_set_high_priority() { } +SWIGEXPORT int SWIGSTDCALL CSharp_set_normal_priority() { + int jresult ; + int32_t result; + + result = (int32_t)set_normal_priority(); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_change_user_group(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; @@ -9929,6 +9939,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_monotonic(int jarg1) { } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_timerfd(int jarg1) { + switch_bool_t arg1 ; + + arg1 = (switch_bool_t)jarg1; + switch_time_set_timerfd(arg1); +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_nanosleep(int jarg1) { switch_bool_t arg1 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index b41381d203..08e2e08e13 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -2124,6 +2124,11 @@ public class freeswitch { return ret; } + public static int set_normal_priority() { + int ret = freeswitchPINVOKE.set_normal_priority(); + return ret; + } + public static int change_user_group(string user, string group) { int ret = freeswitchPINVOKE.change_user_group(user, group); return ret; @@ -2265,6 +2270,10 @@ public class freeswitch { freeswitchPINVOKE.switch_time_set_monotonic((int)enable); } + public static void switch_time_set_timerfd(switch_bool_t enable) { + freeswitchPINVOKE.switch_time_set_timerfd((int)enable); + } + public static void switch_time_set_nanosleep(switch_bool_t enable) { freeswitchPINVOKE.switch_time_set_nanosleep((int)enable); } @@ -8058,6 +8067,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_set_high_priority")] public static extern int set_high_priority(); + [DllImport("mod_managed", EntryPoint="CSharp_set_normal_priority")] + public static extern int set_normal_priority(); + [DllImport("mod_managed", EntryPoint="CSharp_change_user_group")] public static extern int change_user_group(string jarg1, string jarg2); @@ -8145,6 +8157,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_monotonic")] public static extern void switch_time_set_monotonic(int jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_timerfd")] + public static extern void switch_time_set_timerfd(int jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_nanosleep")] public static extern void switch_time_set_nanosleep(int jarg1); diff --git a/src/mod/languages/mod_perl/mod_perl_wrap.cpp b/src/mod/languages/mod_perl/mod_perl_wrap.cpp index 9be038585a..079bec0866 100644 --- a/src/mod/languages/mod_perl/mod_perl_wrap.cpp +++ b/src/mod/languages/mod_perl/mod_perl_wrap.cpp @@ -9899,17 +9899,17 @@ XS(SWIG_init) { SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu"); SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API"); SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t"); - /*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { + /*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { + /*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; - /*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { + /*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK))); SvREADONLY_on(sv);