Mods to remove warnings that mono-1.1.7 produces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b2382ca506
commit
015c75b224
2 changed files with 6 additions and 6 deletions
|
|
@ -568,7 +568,7 @@ $1 = &temp; %}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static HandleRef getCPtr($csclassname obj) {
|
internal static HandleRef getCPtr($csclassname obj) {
|
||||||
return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
@ -613,7 +613,7 @@ $1 = &temp; %}
|
||||||
swigCMemOwn = false;
|
swigCMemOwn = false;
|
||||||
$imcall;
|
$imcall;
|
||||||
}
|
}
|
||||||
swigCPtr = new Handle(null, IntPtr.Zero);
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
base.Dispose();
|
base.Dispose();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ DllExport void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%pragma(csharp) imclasscode=%{
|
%pragma(csharp) imclasscode=%{
|
||||||
class SWIGExceptionHelper {
|
protected class SWIGExceptionHelper {
|
||||||
|
|
||||||
public delegate void ExceptionDelegate(string message);
|
public delegate void ExceptionDelegate(string message);
|
||||||
public delegate void ExceptionArgumentDelegate(string message, string paramName);
|
public delegate void ExceptionArgumentDelegate(string message, string paramName);
|
||||||
|
|
@ -229,7 +229,7 @@ DllExport void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
|
protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
|
||||||
|
|
||||||
public class SWIGPendingException {
|
public class SWIGPendingException {
|
||||||
[ThreadStatic]
|
[ThreadStatic]
|
||||||
|
|
@ -278,7 +278,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%pragma(csharp) imclasscode=%{
|
%pragma(csharp) imclasscode=%{
|
||||||
class SWIGStringHelper {
|
protected class SWIGStringHelper {
|
||||||
|
|
||||||
public delegate string SWIGStringDelegate(string message);
|
public delegate string SWIGStringDelegate(string message);
|
||||||
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
|
static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
|
||||||
|
|
@ -295,7 +295,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static SWIGStringHelper swigStringHelper = new SWIGStringHelper();
|
static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%insert(runtime) %{
|
%insert(runtime) %{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue