mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Rachel Hestilow](/assets/img/avatar_default.png)
* generator/GenBase.cs: new method AppendCustom, moved from ObjectGen. * generator/BoxedGen.cs, ObjectGen.cs, StructGen.cs: Call AppendCustom in Generate (); * generator/Method.cs, Parameters.cs: Add support for "out" parameters. Additionally, output an accessor instead of a regular method if it is an accessor-style function (ie GetStartIter). * generator/Property.cs: Add additional cast to Boxed, if necessary. * glue/textiter.c: New constructor for GtkTextIter. * glue/Makefile.am: Add textiter.c, build with Gtk+ cflags. * configure.in: Check for Gtk+ cflags. * parser/Metadata.pm, Gtk.metadata: Added. * parser/gapi2xml.pl: Call Metadata::fixup on the document. Also work around gtk's screwy boxed type name registration (GtkFoo -> GtkTypeFoo). * gtk/TextIter.custom: Added. svn path=/trunk/gtk-sharp/; revision=5205
32 lines
825 B
XML
32 lines
825 B
XML
<?xml version="1.0"?>
|
|
<metadata>
|
|
<rule>
|
|
<class name="GtkTextBuffer">
|
|
<method>GetIterAtLineOffset</method>
|
|
<method>GetIterAtLineIndex</method>
|
|
<method>GetIterAtOffset</method>
|
|
<method>GetIterAtLine</method>
|
|
<method>GetStartIter</method>
|
|
<method>GetEndIter</method>
|
|
<method>GetBounds</method>
|
|
<method>GetIterAtMark</method>
|
|
<method>GetIterAtChildAnchor</method>
|
|
<method>GetSelectionBounds</method>
|
|
</class>
|
|
<class name="GtkTextLayout">
|
|
<method>GetIterAtLine</method>
|
|
</class>
|
|
<class name="GtkTextView">
|
|
<method>GetIterAtLocation</method>
|
|
<method>GetLineAtY</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GtkTextIter*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
</metadata>
|