提交 9842e9ef authored 作者: Jeff Lenk's avatar Jeff Lenk

ESL-81 --resolve add specific SWIG code for windows

上级 11dee763
......@@ -184,7 +184,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\esl_oop.cpp" />
<ClCompile Include="esl_wrap.cpp" />
<ClCompile Include="esl_wrap.2010.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\include\esl_oop.h" />
......
......@@ -18,7 +18,7 @@
<ClCompile Include="..\src\esl_oop.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="esl_wrap.cpp">
<ClCompile Include="esl_wrap.2010.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
......
......@@ -188,7 +188,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\esl_oop.cpp" />
<ClCompile Include="esl_wrap.cpp" />
<ClCompile Include="esl_wrap.2010.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\include\esl_oop.h" />
......
......@@ -18,7 +18,7 @@
<ClCompile Include="..\src\esl_oop.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="esl_wrap.cpp">
<ClCompile Include="esl_wrap.2010.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
......
差异被折叠。
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class ESLevent : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal ESLevent(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(ESLevent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~ESLevent() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
ESLPINVOKE.delete_ESLevent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public SWIGTYPE_p_esl_event_t Event {
set {
ESLPINVOKE.ESLevent_Event_set(swigCPtr, SWIGTYPE_p_esl_event_t.getCPtr(value));
}
get {
IntPtr cPtr = ESLPINVOKE.ESLevent_Event_get(swigCPtr);
SWIGTYPE_p_esl_event_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_esl_event_t(cPtr, false);
return ret;
}
}
public string SerializedString {
set {
ESLPINVOKE.ESLevent_SerializedString_set(swigCPtr, value);
}
get {
string ret = ESLPINVOKE.ESLevent_SerializedString_get(swigCPtr);
return ret;
}
}
public int Mine {
set {
ESLPINVOKE.ESLevent_Mine_set(swigCPtr, value);
}
get {
int ret = ESLPINVOKE.ESLevent_Mine_get(swigCPtr);
return ret;
}
}
public ESLevent(string type, string subclass_name) : this(ESLPINVOKE.new_ESLevent__SWIG_0(type, subclass_name), true) {
}
public ESLevent(SWIGTYPE_p_esl_event_t wrap_me, int free_me) : this(ESLPINVOKE.new_ESLevent__SWIG_1(SWIGTYPE_p_esl_event_t.getCPtr(wrap_me), free_me), true) {
}
public ESLevent(ESLevent me) : this(ESLPINVOKE.new_ESLevent__SWIG_2(ESLevent.getCPtr(me)), true) {
}
public string Serialize(string format) {
string ret = ESLPINVOKE.ESLevent_Serialize(swigCPtr, format);
return ret;
}
public bool SetPriority(SWIGTYPE_p_esl_priority_t priority) {
bool ret = ESLPINVOKE.ESLevent_SetPriority(swigCPtr, SWIGTYPE_p_esl_priority_t.getCPtr(priority));
if (ESLPINVOKE.SWIGPendingException.Pending) throw ESLPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public string GetHeader(string header_name, int idx) {
string ret = ESLPINVOKE.ESLevent_GetHeader(swigCPtr, header_name, idx);
return ret;
}
public string GetBody() {
string ret = ESLPINVOKE.ESLevent_GetBody(swigCPtr);
return ret;
}
public string getType() {
string ret = ESLPINVOKE.ESLevent_getType(swigCPtr);
return ret;
}
public bool AddBody(string value) {
bool ret = ESLPINVOKE.ESLevent_AddBody(swigCPtr, value);
return ret;
}
public bool AddHeader(string header_name, string value) {
bool ret = ESLPINVOKE.ESLevent_AddHeader(swigCPtr, header_name, value);
return ret;
}
public bool pushHeader(string header_name, string value) {
bool ret = ESLPINVOKE.ESLevent_pushHeader(swigCPtr, header_name, value);
return ret;
}
public bool unshiftHeader(string header_name, string value) {
bool ret = ESLPINVOKE.ESLevent_unshiftHeader(swigCPtr, header_name, value);
return ret;
}
public bool DelHeader(string header_name) {
bool ret = ESLPINVOKE.ESLevent_DelHeader(swigCPtr, header_name);
return ret;
}
public string FirstHeader() {
string ret = ESLPINVOKE.ESLevent_FirstHeader(swigCPtr);
return ret;
}
public string NextHeader() {
string ret = ESLPINVOKE.ESLevent_NextHeader(swigCPtr);
return ret;
}
}
......@@ -57,13 +57,13 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ESL.cs" />
<Compile Include="ESLconnection.cs" />
<Compile Include="ESLevent.cs" />
<Compile Include="ESLPINVOKE.cs" />
<Compile Include="ESL.2010.cs" />
<Compile Include="ESLconnection.2010.cs" />
<Compile Include="ESLevent.2010.cs" />
<Compile Include="ESLPINVOKE.2010.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SWIGTYPE_p_esl_event_t.cs" />
<Compile Include="SWIGTYPE_p_esl_priority_t.cs" />
<Compile Include="SWIGTYPE_p_esl_event_t.2010.cs" />
<Compile Include="SWIGTYPE_p_esl_priority_t.2010.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
......
......@@ -57,13 +57,13 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ESL.cs" />
<Compile Include="ESLconnection.cs" />
<Compile Include="ESLevent.cs" />
<Compile Include="ESLPINVOKE.cs" />
<Compile Include="ESL.2010.cs" />
<Compile Include="ESLconnection.2010.cs" />
<Compile Include="ESLevent.2010.cs" />
<Compile Include="ESLPINVOKE.2010.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SWIGTYPE_p_esl_event_t.cs" />
<Compile Include="SWIGTYPE_p_esl_priority_t.cs" />
<Compile Include="SWIGTYPE_p_esl_event_t.2010.cs" />
<Compile Include="SWIGTYPE_p_esl_priority_t.2010.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_esl_event_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_esl_event_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_esl_event_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_esl_event_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_esl_priority_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_esl_priority_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_esl_priority_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_esl_priority_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class ESL {
public static void eslSetLogLevel(int level) {
ESLPINVOKE.eslSetLogLevel(level);
}
}
差异被折叠。
move esl_wrap.cpp esl_wrap.bak
move esl.cs esl.bak
move ESLconnection.cs ESLconnection.bak
move ESLevent.cs ESLevent.bak
move ESLPINVOKE.cs ESLPINVOKE.bak
move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.bak
move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.bak
\dev\swig20\swig.exe -module ESL -csharp -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
move esl_wrap.cpp esl_wrap.2010.cpp
move esl.cs esl.2010.cs
move ESLconnection.cs ESLconnection.2010.cs
move ESLevent.cs ESLevent.2010.cs
move ESLPINVOKE.cs ESLPINVOKE.2010.cs
move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.2010.cs
move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.2010.cs
move esl_wrap.bak esl_wrap.cpp
move esl.bak esl.cs
move ESLconnection.bak ESLconnection.cs
move ESLevent.bak ESLevent.cs
move ESLPINVOKE.bak ESLPINVOKE.cs
move SWIGTYPE_p_esl_event_t.bak SWIGTYPE_p_esl_event_t.cs
move SWIGTYPE_p_esl_priority_t.bak SWIGTYPE_p_esl_priority_t.cs
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论