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.page61
1 files changed, 0 insertions, 61 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
deleted file mode 100644
index 624c4278..00000000
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0"?>
-
-<page id="GIRepository.field_info_set_field"
- type="topic"
- style="function"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="index" group="function"/>
- <api:function>
- <api:returns>
- <api:type>gboolean</api:type>
- </api:returns>
- <api:name>g_field_info_set_field</api:name>
- <api:arg>
- <api:type>GIFieldInfo*</api:type>
- <api:name>field_info</api:name>
- </api:arg>
- <api:arg>
- <api:type>gpointer</api:type>
- <api:name>mem</api:name>
- </api:arg>
- <api:arg>
- <api:type>GIArgument*</api:type>
- <api:name>value</api:name>
- </api:arg>
- </api:function>
- </info>
- <title>g_field_info_set_field</title>
-<synopsis><code mime="text/x-csrc">
-gboolean g_field_info_set_field (GIFieldInfo* field_info,
- gpointer mem,
- GIArgument* value);
-</code></synopsis>
-<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>
-
-<table>
-<tr>
-<td><p>field_info :</p></td>
-<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
-</tr>
-<tr>
-<td><p>mem :</p></td>
-<td><p>pointer to a block of memory representing a C structure or union</p></td>
-</tr>
-<tr>
-<td><p>value :</p></td>
-<td><p>a <link xref="GIArgument">GIArgument</link> holding the value to store</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>%TRUE if writing the field succeeded, otherwise %FALSE</p></td>
-</tr>
-</table>
-</page>