diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2018-11-19 21:49:13 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2018-11-28 09:29:07 -0300 |
commit | 925c3b875861e83d3d6808439b61e80fe5ee8b48 (patch) | |
tree | e3e40f76f07d429c8fbec25949d5ccb55a2e210c /tests/scanner/Bar-1.0-expected.gir | |
parent | e194cf780fb13932be2e158d5eb23db737a6e0db (diff) | |
download | gobject-introspection-925c3b875861e83d3d6808439b61e80fe5ee8b48.tar.gz |
writer: Include documentation and symbol position in source files
Some documentation tool (as hotdoc[0]) need to have information about
symbol declaration and documentation positions in the source files
to be able to do smart indexing (automatically build the documenation
index).
[0] https://hotdoc.github.io/
Fixes #175
Diffstat (limited to 'tests/scanner/Bar-1.0-expected.gir')
-rw-r--r-- | tests/scanner/Bar-1.0-expected.gir | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/Bar-1.0-expected.gir b/tests/scanner/Bar-1.0-expected.gir index 245adfff..cdd80951 100644 --- a/tests/scanner/Bar-1.0-expected.gir +++ b/tests/scanner/Bar-1.0-expected.gir @@ -20,6 +20,7 @@ and/or use gtk-doc annotations. --> glib:type-name="BarBaz" glib:get-type="bar_baz_get_type" glib:type-struct="BazClass"> + <source-position filename="barapp.h" line="21"/> <field name="parent_instance"> <type name="GObject.Object" c:type="GObject"/> </field> @@ -27,6 +28,7 @@ and/or use gtk-doc annotations. --> <record name="BazClass" c:type="BarBazClass" glib:is-gtype-struct-for="Baz"> + <source-position filename="barapp.h" line="21"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> @@ -38,7 +40,9 @@ and/or use gtk-doc annotations. --> glib:type-name="MutterWindow" glib:get-type="mutter_window_get_type" glib:type-struct="MutterWindowClass"> + <source-position filename="barapp.h" line="53"/> <method name="func" c:identifier="mutter_window_func"> + <source-position filename="barapp.h" line="59"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> @@ -58,16 +62,19 @@ and/or use gtk-doc annotations. --> <record name="MutterWindowClass" c:type="MutterWindowClass" glib:is-gtype-struct-for="MutterWindow"> + <source-position filename="barapp.h" line="53"/> <field name="parent_class"> <type name="GObject.ObjectClass" c:type="GObjectClass"/> </field> </record> <function name="app_func" c:identifier="bar_app_func"> + <source-position filename="barapp.h" line="28"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> </function> <function name="app_func2" c:identifier="bar_app_func2"> + <source-position filename="barapp.h" line="31"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> |