Mods to remove warnings that mono-1.1.7 produces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8c49a5d1d3
commit
18d76c6d27
2 changed files with 6 additions and 6 deletions
|
|
@ -568,7 +568,7 @@ $1 = &temp; %}
|
|||
}
|
||||
|
||||
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;
|
||||
$imcall;
|
||||
}
|
||||
swigCPtr = new Handle(null, IntPtr.Zero);
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
GC.SuppressFinalize(this);
|
||||
base.Dispose();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ DllExport void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
|
|||
%}
|
||||
|
||||
%pragma(csharp) imclasscode=%{
|
||||
class SWIGExceptionHelper {
|
||||
protected class SWIGExceptionHelper {
|
||||
|
||||
public delegate void ExceptionDelegate(string message);
|
||||
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 {
|
||||
[ThreadStatic]
|
||||
|
|
@ -278,7 +278,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
|
|||
%}
|
||||
|
||||
%pragma(csharp) imclasscode=%{
|
||||
class SWIGStringHelper {
|
||||
protected class SWIGStringHelper {
|
||||
|
||||
public delegate string SWIGStringDelegate(string message);
|
||||
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) %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue