FS-11351: [swig] fix windows build with swig3 for mod_managed and fix make swigall

This commit is contained in:
Mike Jerris 2018-08-24 18:56:58 +00:00
parent 63bf70dd24
commit 515bbdc881
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
cd src/mod/languages/mod_lua cd src/mod/languages/mod_lua
make swigclean make swigclean
make lua_wrap make mod_lua_wrap.cpp
cd ../../../.. cd ../../../..
cd src/mod/languages/mod_perl cd src/mod/languages/mod_perl

View File

@ -28,7 +28,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback_real = NULL;
public delegate string SWIGStringDelegate(string message); public delegate string SWIGStringDelegate(string message);
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
[DllImport("$dllimport", EntryPoint="SWIGRegisterStringCallback_$module")] [global::System.Runtime.InteropServices.DllImport("$dllimport", EntryPoint="SWIGRegisterStringCallback_$module")]
public static extern void SWIGRegisterStringCallback_$module(SWIGStringDelegate stringDelegate); public static extern void SWIGRegisterStringCallback_$module(SWIGStringDelegate stringDelegate);
static string CreateString(string cString) { static string CreateString(string cString) {

View File

@ -14696,7 +14696,7 @@ class freeswitchPINVOKE {
public delegate string SWIGStringDelegate(string message); public delegate string SWIGStringDelegate(string message);
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
[DllImport("mod_managed", EntryPoint="SWIGRegisterStringCallback_freeswitch")] [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="SWIGRegisterStringCallback_freeswitch")]
public static extern void SWIGRegisterStringCallback_freeswitch(SWIGStringDelegate stringDelegate); public static extern void SWIGRegisterStringCallback_freeswitch(SWIGStringDelegate stringDelegate);
static string CreateString(string cString) { static string CreateString(string cString) {