From cc6a7d74df7ad6be2df61cb3748e2db8200338a3 Mon Sep 17 00:00:00 2001 From: Michael Giagnocavo Date: Thu, 4 Sep 2008 22:39:29 +0000 Subject: [PATCH] Update mod_mono for Win32 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9451 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../languages/mod_mono/freeswitch_wrap.cxx | 24 +- src/mod/languages/mod_mono/mod_mono.vcproj | 4 +- src/mod/languages/mod_mono/mono.def | 727 + src/mod/languages/mod_mono/runswig.cmd | 7 +- .../mod_mono_managed/mod_mono_managed.csproj | 260 +- src/mod/languages/mod_mono_managed/swig.cs | 23528 ++++++++++++++++ 6 files changed, 24268 insertions(+), 282 deletions(-) create mode 100644 src/mod/languages/mod_mono/mono.def create mode 100644 src/mod/languages/mod_mono_managed/swig.cs diff --git a/src/mod/languages/mod_mono/freeswitch_wrap.cxx b/src/mod/languages/mod_mono/freeswitch_wrap.cxx index fe9eadda3f..008b818b9f 100644 --- a/src/mod/languages/mod_mono/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_mono/freeswitch_wrap.cxx @@ -15347,15 +15347,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_init(void * jarg1, void * jarg2 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_presence(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_presence(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; arg1 = (switch_channel_t *)jarg1; arg2 = (char *)jarg2; arg3 = (char *)jarg3; - switch_channel_presence(arg1,(char const *)arg2,(char const *)arg3); + arg4 = (char *)jarg4; + switch_channel_presence(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); } @@ -21238,24 +21240,6 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function_removable(void * jarg1, unsigned long jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ; - switch_xml_section_t arg2 ; - void *arg3 = (void *) 0 ; - switch_xml_binding_t **arg4 = (switch_xml_binding_t **) 0 ; - switch_status_t result; - - arg1 = (switch_xml_search_function_t)jarg1; - arg2 = (switch_xml_section_t)jarg2; - arg3 = (void *)jarg3; - arg4 = (switch_xml_binding_t **)jarg4; - result = (switch_status_t)switch_xml_bind_search_function_removable(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_unbind_search_function(void * jarg1) { int jresult ; switch_xml_binding_t **arg1 = (switch_xml_binding_t **) 0 ; diff --git a/src/mod/languages/mod_mono/mod_mono.vcproj b/src/mod/languages/mod_mono/mod_mono.vcproj index e007045432..d890ca2ebb 100644 --- a/src/mod/languages/mod_mono/mod_mono.vcproj +++ b/src/mod/languages/mod_mono/mod_mono.vcproj @@ -42,7 +42,7 @@ ..\mod_mono_managed\swig\freeswitchPINVOKE_fixed.cs \ No newline at end of file +del swig.csx +for %%X in (*.cs) do type %%X >> swig.csx +move swig.csx ..\mod_mono_managed\swig.cs +del *.cs +REM ..\mod_mono_managed\swigStringFix ..\mod_mono_managed\swig\freeswitchPINVOKE.cs > ..\mod_mono_managed\swig\freeswitchPINVOKE_fixed.cs \ No newline at end of file diff --git a/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj b/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj index e187e76b7e..2ae3e92550 100644 --- a/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj +++ b/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj @@ -3,7 +3,7 @@ Debug AnyCPU - 9.0.21022 + 9.0.30729 2.0 {834E2B2F-5483-4B80-8FE3-FE48FF76E5C0} Library @@ -59,263 +59,7 @@ - - - - - - Code - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +