2003-11-18 Mike Kestner <mkestner@ximian.com>

* pango/Pango.metadata : mark ref params on LayoutLine.GetExtents
	and GetPixelExtents.  [Fixes #50338]
	* pango/pango-api.xml : regenerated.

svn path=/trunk/gtk-sharp/; revision=20199
This commit is contained in:
Mike Kestner 2003-11-18 21:47:57 +00:00
parent b081ef5b44
commit 3ecf658ac2
3 changed files with 17 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2003-11-18 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark ref params on LayoutLine.GetExtents
and GetPixelExtents. [Fixes #50338]
* pango/pango-api.xml : regenerated.
2003-11-18 Peter Williams <peter@newton.cx>
* gtk/NodeStore.cs (GetNode): New public function. Patch refactored

View file

@ -1,6 +1,10 @@
<?xml version="1.0"?>
<metadata>
<attr path="//object[@cname='PangoLayout']/method[@name='GetLines']/return-type" name="element_type">Pango.LayoutLine</attr>
<attr path="//object[@cname='PangoLayout']/method[@name='GetPixelSize']/*/*[@type='int*']" name="pass_as">out</attr>
<attr path="//object[@cname='PangoLayout']/method[@name='GetSize']/*/*[@type='int*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='GetLines']/return-type" name="element_type">Pango.LayoutLine</attr>
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='GetPixelSize']/*/*[@type='int*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='GetSize']/*/*[@type='int*']" name="pass_as">out</attr>
<attr path="/api/namespace/struct[@cname='PangoLayoutLine']/method[@name='GetExtents']/*/*[@type='PangoRectangle*']" name="pass_as">ref</attr>
<attr path="/api/namespace/struct[@cname='PangoLayoutLine']/method[@name='GetExtents']/*/*[@type='PangoRectangle*']" name="null_ok">1</attr>
<attr path="/api/namespace/struct[@cname='PangoLayoutLine']/method[@name='GetPixelExtents']/*/*[@type='PangoRectangle*']" name="pass_as">ref</attr>
<attr path="/api/namespace/struct[@cname='PangoLayoutLine']/method[@name='GetPixelExtents']/*/*[@type='PangoRectangle*']" name="null_ok">1</attr>
</metadata>

View file

@ -1316,15 +1316,15 @@
<method name="GetExtents" cname="pango_layout_line_get_extents">
<return-type type="void" />
<parameters>
<parameter type="PangoRectangle*" name="ink_rect" />
<parameter type="PangoRectangle*" name="logical_rect" />
<parameter type="PangoRectangle*" name="ink_rect" pass_as="ref" null_ok="1" />
<parameter type="PangoRectangle*" name="logical_rect" pass_as="ref" null_ok="1" />
</parameters>
</method>
<method name="GetPixelExtents" cname="pango_layout_line_get_pixel_extents">
<return-type type="void" />
<parameters>
<parameter type="PangoRectangle*" name="ink_rect" />
<parameter type="PangoRectangle*" name="logical_rect" />
<parameter type="PangoRectangle*" name="ink_rect" pass_as="ref" null_ok="1" />
<parameter type="PangoRectangle*" name="logical_rect" pass_as="ref" null_ok="1" />
</parameters>
</method>
<method name="GetXRanges" cname="pango_layout_line_get_x_ranges">