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/SLetter-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/SLetter-1.0-expected.gir')
-rw-r--r-- | tests/scanner/SLetter-1.0-expected.gir | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/scanner/SLetter-1.0-expected.gir b/tests/scanner/SLetter-1.0-expected.gir index a98ebb27..3223b0c0 100644 --- a/tests/scanner/SLetter-1.0-expected.gir +++ b/tests/scanner/SLetter-1.0-expected.gir @@ -16,6 +16,7 @@ and/or use gtk-doc annotations. --> <enumeration name="DBusError" c:type="SDBusError" glib:error-domain="s-dbus-error"> + <source-position filename="sletter.h" line="33"/> <member name="code1" value="1" c:identifier="S_DBUS_ERROR_CODE1"> </member> <member name="code2" value="2" c:identifier="S_DBUS_ERROR_CODE2"> @@ -24,6 +25,7 @@ and/or use gtk-doc annotations. --> </member> </enumeration> <record name="Point" c:type="SPoint"> + <source-position filename="sletter.h" line="11"/> <field name="x" writable="1"> <type name="gdouble" c:type="double"/> </field> @@ -34,6 +36,7 @@ and/or use gtk-doc annotations. --> <enumeration name="SpawnError" c:type="SSpawnError" glib:error-domain="s-spawn-error"> + <source-position filename="sletter.h" line="22"/> <member name="code1" value="1" c:identifier="S_SPAWN_ERROR_CODE1"> </member> <member name="code2" value="2" c:identifier="S_SPAWN_ERROR_CODE2"> @@ -47,6 +50,7 @@ and/or use gtk-doc annotations. --> </return-value> </function> <function name="hello" c:identifier="s_hello"> + <source-position filename="sletter.h" line="14"/> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> |