2005-06-22 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs : don't assume ref for structs. * generator/VMSignature.cs : don't assume ref for structs. svn path=/trunk/gtk-sharp/; revision=46373
This commit is contained in:
parent
ab8285550b
commit
d3c6721f1e
6 changed files with 54 additions and 49 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-22 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ManagedCallString.cs : don't assume ref for structs.
|
||||
* generator/VMSignature.cs : don't assume ref for structs.
|
||||
|
||||
2005-06-21 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/ConstStringGen.cs : override ToNativeReturn ().
|
||||
|
|
|
@ -701,21 +701,7 @@ All UI components in an application which provide useful information or services
|
|||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Atk.Object.StateChange" /> event.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnPropertyChange">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnPropertyChange (ref Atk.PropertyValues values);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="values" Type="Atk.PropertyValues&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Default handler for the <see cref="M:Atk.Object.PropertyChange" /> event.</summary>
|
||||
<param name="values">a <see cref="T:Atk.PropertyValues&" /></param>
|
||||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Atk.Object.PropertyChange" /> event.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="protected Object (GLib.GType gtype);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
|
@ -799,5 +785,20 @@ All UI components in an application which provide useful information or services
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
</Member>
|
||||
<Member MemberName="OnPropertyChange">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnPropertyChange (Atk.PropertyValues values);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="values" Type="Atk.PropertyValues" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="values">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -859,21 +859,7 @@
|
|||
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gnome.Canvas" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnRenderBackground">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnRenderBackground (ref Gnome.CanvasBuf buf);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="buf" Type="Gnome.CanvasBuf&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Default handler for the <see cref="M:Gnome.Canvas.RenderBackground" /> event.</summary>
|
||||
<param name="buf">a <see cref="T:Gnome.CanvasBuf&" /></param>
|
||||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gnome.Canvas.RenderBackground" /> event.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
||||
<Member MemberName="OnDrawBackground">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnDrawBackground (Gdk.Drawable drawable, int x, int y, int width, int height);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -954,5 +940,20 @@
|
|||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnRenderBackground">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnRenderBackground (Gnome.CanvasBuf buf);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="buf" Type="Gnome.CanvasBuf" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="buf">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -386,22 +386,7 @@
|
|||
</Attribute>
|
||||
</Attributes>
|
||||
</Member>
|
||||
<Member MemberName="OnOwnerChange">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnOwnerChange (ref Gdk.EventOwnerChange evnt);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="evnt" Type="Gdk.EventOwnerChange&" RefType="ref" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Default handler for the <see cref="M:Gtk.Clipboard.OwnerChange" /> event.</summary>
|
||||
<param name="evnt">a <see cref="T:Gdk.EventOwnerChange" /></param>
|
||||
<remarks>Override this method in a subclass to provide a default handler for the <see cref="M:Gtk.Clipboard.OwnerChange" /> event.</remarks>
|
||||
<since version="Gtk# 2.6" />
|
||||
</Docs>
|
||||
</Member>
|
||||
|
||||
<Member MemberName="WaitForImage">
|
||||
<MemberSignature Language="C#" Value="public Gdk.Pixbuf WaitForImage ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -494,5 +479,20 @@
|
|||
<since version="Gtk# 2.6" />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnOwnerChange">
|
||||
<MemberSignature Language="C#" Value="protected virtual void OnOwnerChange (Gdk.EventOwnerChange evnt);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="evnt" Type="Gdk.EventOwnerChange" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="evnt">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace GtkSharp.Generation {
|
|||
for (int i = 0; i < parms.Count; i ++) {
|
||||
Parameter p = parms [i] as Parameter;
|
||||
IGeneratable igen = p.Generatable;
|
||||
result [i] = igen is StructGen ? "ref " : (p.PassAs == "" ? "" : p.PassAs + " ");
|
||||
result [i] = p.PassAs == "" ? "" : p.PassAs + " ";
|
||||
result [i] += ((bool)special[i]) ? "my" + p.Name : igen.FromNative (p.Name);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,8 +62,6 @@ namespace GtkSharp.Generation {
|
|||
|
||||
foreach (Parameter p in parms) {
|
||||
result [i] = p.PassAs != "" ? p.PassAs + " " : "";
|
||||
if (p.Generatable is StructGen)
|
||||
result [i] += "ref ";
|
||||
result [i++] += p.CSType + " " + p.Name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue