mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 22:52:09 +01:00
gdbus-codegen: Mention that @since can be used
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
34a28f2f06
commit
6bf978f35e
@ -308,6 +308,7 @@ gdbus-codegen --c-namespace MyApp \
|
|||||||
BarSignal:
|
BarSignal:
|
||||||
@blah: The docs for blah parameter.
|
@blah: The docs for blah parameter.
|
||||||
@boo: The docs for boo parameter.
|
@boo: The docs for boo parameter.
|
||||||
|
@since: 2.30
|
||||||
|
|
||||||
The docs for the actual signal.
|
The docs for the actual signal.
|
||||||
-->
|
-->
|
||||||
@ -322,13 +323,17 @@ gdbus-codegen --c-namespace MyApp \
|
|||||||
]]></programlisting></informalexample>
|
]]></programlisting></informalexample>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
For the <literal>org.gtk.GDBus.DocString</literal> annotation (and
|
Note that <literal>since</literal> can be used in any inline
|
||||||
inline comments), note that substrings of the form
|
documentation bit (e.g. for interfaces, methods, signals and
|
||||||
|
properties) to set the <literal>org.gtk.GDBus.Since</literal>
|
||||||
|
annotation. For the <literal>org.gtk.GDBus.DocString</literal>
|
||||||
|
annotation (and inline comments), note that substrings of the form
|
||||||
<literal>#net.Corp.Bar</literal>,
|
<literal>#net.Corp.Bar</literal>,
|
||||||
<literal>net.Corp.Bar.FooMethod()</literal>,
|
<literal>net.Corp.Bar.FooMethod()</literal>,
|
||||||
<literal>#net.Corp.Bar::BarSignal</literal> and
|
<literal>#net.Corp.Bar::BarSignal</literal> and
|
||||||
<literal>#net.Corp.InlineDocs:BazProperty</literal> are all expanded
|
<literal>#net.Corp.InlineDocs:BazProperty</literal> are all
|
||||||
to links to the respective interface, method, signal and property.
|
expanded to links to the respective interface, method, signal and
|
||||||
|
property.
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user