summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page')
-rw-r--r--tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
new file mode 100644
index 00000000..81eac7eb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_set_field"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="index" group="function"/>
+ </info>
+ <title>g_field_info_set_field</title>
+<p>Writes a field identified by a <link xref="GFieldInfo">GFieldInfo</link> to a C structure or
+union. This only handles fields of simple C types. It will fail
+for a field of a composite type like a nested structure or union
+even if that is actually writable. Note also that that it will refuse
+to write fields where memory management would by required. A field
+with a type such as 'char *' must be set with a setter function.</p></page>