mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 16:03:21 +02:00
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/Method.cs: Don't use the "unsafe" modifier for methods which are part of an interface [fixes #58059]. svn path=/trunk/gtk-sharp/; revision=26843
This commit is contained in:
parent
571b68363a
commit
e07bb75fd6
@ -1,3 +1,8 @@
|
|||||||
|
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||||
|
|
||||||
|
* generator/Method.cs: Don't use the "unsafe" modifier for methods which
|
||||||
|
are part of an interface [fixes #58059].
|
||||||
|
|
||||||
2004-05-06 Mike Kestner <mkestner@ximian.com>
|
2004-05-06 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* configure.in : bump version for cvs.
|
* configure.in : bump version for cvs.
|
||||||
|
@ -159,7 +159,7 @@ namespace GtkSharp.Generation {
|
|||||||
body = new MethodBody (parms, container_type.NS);
|
body = new MethodBody (parms, container_type.NS);
|
||||||
call = "(" + (IsShared ? "" : container_type.CallByName () + (parms != null ? ", " : "")) + body.GetCallString (is_set) + ")";
|
call = "(" + (IsShared ? "" : container_type.CallByName () + (parms != null ? ", " : "")) + body.GetCallString (is_set) + ")";
|
||||||
|
|
||||||
if (body.ThrowsException)
|
if (body.ThrowsException && !(container_type is InterfaceGen))
|
||||||
safety = "unsafe ";
|
safety = "unsafe ";
|
||||||
else
|
else
|
||||||
safety = "";
|
safety = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user