summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2022-11-07 16:19:11 +0100
committerEmmanuele Bassi <ebassi@gmail.com>2023-01-08 02:24:39 +0000
commit41feafa85d73b4a9dd8eac9dbe1231130bf2c7ca (patch)
treedf5ff0097a864f2708300306439b57becaf5b434
parent63a254d93b445de8189ca6567264e0210a950b61 (diff)
downloadgobject-introspection-41feafa85d73b4a9dd8eac9dbe1231130bf2c7ca.tar.gz
tests/scanner: add some tests for #defines
Add one expanding to an expression we can't get a constant value from and another one for which we can. Note that the bad on one currently does evaluate, and it does so to a bad value. A separate commit with a diff to test suite will address that.
-rw-r--r--tests/scanner/Regress-1.0-C-expected/Regress.BAD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-C-expected/Regress.GOOD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.BAD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.GOOD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.BAD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.GOOD_EXPR_CONSTANT.page14
-rw-r--r--tests/scanner/Regress-1.0-expected.gir490
-rw-r--r--tests/scanner/regress.h2
8 files changed, 337 insertions, 239 deletions
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.BAD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.BAD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..bc8190a8
--- /dev/null
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.BAD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.BAD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.BAD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.GOOD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-C-expected/Regress.GOOD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..a204cdcf
--- /dev/null
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.GOOD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.GOOD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.GOOD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.BAD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.BAD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..bc8190a8
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.BAD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.BAD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.BAD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.GOOD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GOOD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..a204cdcf
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.GOOD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.GOOD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.GOOD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.BAD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.BAD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..bc8190a8
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.BAD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.BAD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.BAD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.GOOD_EXPR_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.GOOD_EXPR_CONSTANT.page
new file mode 100644
index 00000000..a204cdcf
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.GOOD_EXPR_CONSTANT.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="Regress.GOOD_EXPR_CONSTANT"
+ type="topic"
+ style="default"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="default" type="guide"/>
+ </info>
+ <title>Regress.GOOD_EXPR_CONSTANT</title>
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index 99d68271..b986c72f 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -18,8 +18,8 @@ and/or use gtk-doc annotations. -->
<alias name="AliasedTestBoxed" c:type="RegressAliasedTestBoxed">
<doc xml:space="preserve"
filename="regress.h"
- line="1444">Typedef TestBoxed to test caller-allocates correctness</doc>
- <source-position filename="regress.h" line="1449"/>
+ line="1446">Typedef TestBoxed to test caller-allocates correctness</doc>
+ <source-position filename="regress.h" line="1451"/>
<type name="TestBoxed" c:type="RegressTestBoxed"/>
</alias>
<alias name="FooObjectCookie" c:type="RegressFooObjectCookie">
@@ -33,26 +33,26 @@ and/or use gtk-doc annotations. -->
<alias name="IntsetAlias" c:type="RegressIntsetAlias" introspectable="0">
<doc xml:space="preserve"
filename="regress.h"
- line="1414">Compatibility typedef, like telepathy-glib's TpIntSet</doc>
- <source-position filename="regress.h" line="1420"/>
+ line="1416">Compatibility typedef, like telepathy-glib's TpIntSet</doc>
+ <source-position filename="regress.h" line="1422"/>
<type name="Intset" c:type="RegressIntset"/>
</alias>
<alias name="PtrArrayAlias" c:type="RegressPtrArrayAlias">
<doc xml:space="preserve"
filename="regress.h"
- line="1422">Typedef'd GPtrArray for some reason</doc>
- <source-position filename="regress.h" line="1427"/>
+ line="1424">Typedef'd GPtrArray for some reason</doc>
+ <source-position filename="regress.h" line="1429"/>
<type name="GLib.PtrArray" c:type="GPtrArray"/>
</alias>
<alias name="TestTypeGUInt64" c:type="RegressTestTypeGUInt64">
- <source-position filename="regress.h" line="528"/>
+ <source-position filename="regress.h" line="530"/>
<type name="guint64" c:type="guint64"/>
</alias>
<alias name="VaListAlias" c:type="RegressVaListAlias" introspectable="0">
<doc xml:space="preserve"
filename="regress.h"
- line="1433">Typedef'd va_list for additional reasons</doc>
- <source-position filename="regress.h" line="1438"/>
+ line="1435">Typedef'd va_list for additional reasons</doc>
+ <source-position filename="regress.h" line="1440"/>
<type name="va_list" c:type="va_list"/>
</alias>
<constant name="ANNOTATION_CALCULATED_DEFINE"
@@ -92,12 +92,12 @@ and/or use gtk-doc annotations. -->
</member>
</enumeration>
<record name="AnAnonymousUnion" c:type="RegressAnAnonymousUnion">
- <source-position filename="regress.h" line="1550"/>
+ <source-position filename="regress.h" line="1552"/>
<field name="x" writable="1">
<type name="gint" c:type="int"/>
</field>
<union>
- <source-position filename="regress.h" line="1549"/>
+ <source-position filename="regress.h" line="1551"/>
<field name="a" writable="1">
<array zero-terminated="0" fixed-size="2">
<type name="LikeGnomeKeyringPasswordSchema"
@@ -1225,14 +1225,14 @@ it says it's pointer but it's actually a string.</doc>
</record>
<record name="AnonymousUnionAndStruct"
c:type="RegressAnonymousUnionAndStruct">
- <source-position filename="regress.h" line="1563"/>
+ <source-position filename="regress.h" line="1565"/>
<field name="x" writable="1">
<type name="gint" c:type="int"/>
</field>
<union>
- <source-position filename="regress.h" line="1562"/>
+ <source-position filename="regress.h" line="1564"/>
<record>
- <source-position filename="regress.h" line="1559"/>
+ <source-position filename="regress.h" line="1561"/>
<field name="a" writable="1">
<type name="LikeGnomeKeyringPasswordSchema"
c:type="RegressLikeGnomeKeyringPasswordSchema*"/>
@@ -1248,6 +1248,12 @@ it says it's pointer but it's actually a string.</doc>
</field>
</union>
</record>
+ <constant name="BAD_EXPR_CONSTANT"
+ value="1"
+ c:type="REGRESS_BAD_EXPR_CONSTANT">
+ <source-position filename="regress.h" line="528"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
<constant name="BOOL_CONSTANT" value="true" c:type="REGRESS_BOOL_CONSTANT">
<source-position filename="regress.h" line="524"/>
<type name="gboolean" c:type="gboolean"/>
@@ -2602,13 +2608,19 @@ exposed to language bindings.</doc>
<constant name="GI_SCANNER_ELSE"
value="3"
c:type="REGRESS_GI_SCANNER_ELSE">
- <source-position filename="regress.h" line="1527"/>
+ <source-position filename="regress.h" line="1529"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="GI_SCANNER_IFDEF"
value="3"
c:type="REGRESS_GI_SCANNER_IFDEF">
- <source-position filename="regress.h" line="1531"/>
+ <source-position filename="regress.h" line="1533"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="GOOD_EXPR_CONSTANT"
+ value="-2305843009213693952"
+ c:type="REGRESS_GOOD_EXPR_CONSTANT">
+ <source-position filename="regress.h" line="527"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="GUINT64_CONSTANT"
@@ -2620,7 +2632,7 @@ exposed to language bindings.</doc>
<constant name="GUINT64_CONSTANTA"
value="18446744073709551615"
c:type="REGRESS_GUINT64_CONSTANTA">
- <source-position filename="regress.h" line="529"/>
+ <source-position filename="regress.h" line="531"/>
<type name="TestTypeGUInt64" c:type="RegressTestTypeGUInt64"/>
</constant>
<constant name="G_GINT64_CONSTANT"
@@ -2636,18 +2648,18 @@ exposed to language bindings.</doc>
<record name="Intset" c:type="RegressIntset" disguised="1">
<doc xml:space="preserve"
filename="regress.h"
- line="1406">Like telepathy-glib's TpIntset.</doc>
- <source-position filename="regress.h" line="1412"/>
+ line="1408">Like telepathy-glib's TpIntset.</doc>
+ <source-position filename="regress.h" line="1414"/>
</record>
<constant name="LONG_STRING_CONSTANT"
value="TYPE,VALUE,ENCODING,CHARSET,LANGUAGE,DOM,INTL,POSTAL,PARCEL,HOME,WORK,PREF,VOICE,FAX,MSG,CELL,PAGER,BBS,MODEM,CAR,ISDN,VIDEO,AOL,APPLELINK,ATTMAIL,CIS,EWORLD,INTERNET,IBMMAIL,MCIMAIL,POWERSHARE,PRODIGY,TLX,X400,GIF,CGM,WMF,BMP,MET,PMB,DIB,PICT,TIFF,PDF,PS,JPEG,QTIME,MPEG,MPEG2,AVI,WAVE,AIFF,PCM,X509,PGP"
c:type="REGRESS_LONG_STRING_CONSTANT">
- <source-position filename="regress.h" line="1498"/>
+ <source-position filename="regress.h" line="1500"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<record name="LikeGnomeKeyringPasswordSchema"
c:type="RegressLikeGnomeKeyringPasswordSchema">
- <source-position filename="regress.h" line="1517"/>
+ <source-position filename="regress.h" line="1519"/>
<field name="dummy" writable="1">
<type name="gint" c:type="int"/>
</field>
@@ -2661,7 +2673,7 @@ exposed to language bindings.</doc>
</field>
</record>
<record name="LikeXklConfigItem" c:type="RegressLikeXklConfigItem">
- <source-position filename="regress.h" line="1484"/>
+ <source-position filename="regress.h" line="1486"/>
<field name="name" writable="1">
<array zero-terminated="0" fixed-size="32">
<type name="gchar" c:type="gchar"/>
@@ -2669,7 +2681,7 @@ exposed to language bindings.</doc>
</field>
<method name="set_name"
c:identifier="regress_like_xkl_config_item_set_name">
- <source-position filename="regress.h" line="1488"/>
+ <source-position filename="regress.h" line="1490"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -2686,13 +2698,13 @@ exposed to language bindings.</doc>
<constant name="MAXUINT64"
value="18446744073709551615"
c:type="REGRESS_MAXUINT64">
- <source-position filename="regress.h" line="1521"/>
+ <source-position filename="regress.h" line="1523"/>
<type name="guint64" c:type="guint64"/>
</constant>
<constant name="MININT64"
value="-9223372036854775808"
c:type="REGRESS_MININT64">
- <source-position filename="regress.h" line="1520"/>
+ <source-position filename="regress.h" line="1522"/>
<type name="gint64" c:type="gint64"/>
</constant>
<constant name="Mixed_Case_Constant"
@@ -2718,9 +2730,9 @@ exposed to language bindings.</doc>
introspectable="0">
<doc xml:space="preserve"
filename="regress.h"
- line="1388">This should be skipped, and moreover, all function which
+ line="1390">This should be skipped, and moreover, all function which
use it should be.</doc>
- <source-position filename="regress.h" line="1398"/>
+ <source-position filename="regress.h" line="1400"/>
<field name="x" writable="1">
<type name="gint" c:type="int"/>
</field>
@@ -2731,7 +2743,7 @@ use it should be.</doc>
<function-macro name="TEST_FLOATING"
c:identifier="REGRESS_TEST_FLOATING"
introspectable="0">
- <source-position filename="regress.h" line="1316"/>
+ <source-position filename="regress.h" line="1318"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2740,7 +2752,7 @@ use it should be.</doc>
<function-macro name="TEST_FLOATING_GET_CLASS"
c:identifier="REGRESS_TEST_FLOATING_GET_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="1318"/>
+ <source-position filename="regress.h" line="1320"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2749,7 +2761,7 @@ use it should be.</doc>
<function-macro name="TEST_FUNDAMENTAL_OBJECT"
c:identifier="REGRESS_TEST_FUNDAMENTAL_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="1020"/>
+ <source-position filename="regress.h" line="1022"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2758,7 +2770,7 @@ use it should be.</doc>
<function-macro name="TEST_FUNDAMENTAL_OBJECT_CAST"
c:identifier="REGRESS_TEST_FUNDAMENTAL_OBJECT_CAST"
introspectable="0">
- <source-position filename="regress.h" line="1022"/>
+ <source-position filename="regress.h" line="1024"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2767,7 +2779,7 @@ use it should be.</doc>
<function-macro name="TEST_FUNDAMENTAL_OBJECT_CLASS"
c:identifier="REGRESS_TEST_FUNDAMENTAL_OBJECT_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="1021"/>
+ <source-position filename="regress.h" line="1023"/>
<parameters>
<parameter name="klass">
</parameter>
@@ -2776,7 +2788,7 @@ use it should be.</doc>
<function-macro name="TEST_FUNDAMENTAL_OBJECT_GET_CLASS"
c:identifier="REGRESS_TEST_FUNDAMENTAL_OBJECT_GET_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="1019"/>
+ <source-position filename="regress.h" line="1021"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2785,7 +2797,7 @@ use it should be.</doc>
<function-macro name="TEST_GNUC_EXTENSION_STMT"
c:identifier="REGRESS_TEST_GNUC_EXTENSION_STMT"
introspectable="0">
- <source-position filename="regress.h" line="1494"/>
+ <source-position filename="regress.h" line="1496"/>
<parameters>
<parameter name="foo">
</parameter>
@@ -2794,7 +2806,7 @@ use it should be.</doc>
<function-macro name="TEST_INTERFACE"
c:identifier="REGRESS_TEST_INTERFACE"
introspectable="0">
- <source-position filename="regress.h" line="1264"/>
+ <source-position filename="regress.h" line="1266"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2803,7 +2815,7 @@ use it should be.</doc>
<function-macro name="TEST_INTERFACE_GET_IFACE"
c:identifier="REGRESS_TEST_INTERFACE_GET_IFACE"
introspectable="0">
- <source-position filename="regress.h" line="1266"/>
+ <source-position filename="regress.h" line="1268"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2812,7 +2824,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_FLOATING"
c:identifier="REGRESS_TEST_IS_FLOATING"
introspectable="0">
- <source-position filename="regress.h" line="1317"/>
+ <source-position filename="regress.h" line="1319"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2821,7 +2833,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_FUNDAMENTAL_OBJECT"
c:identifier="REGRESS_TEST_IS_FUNDAMENTAL_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="1017"/>
+ <source-position filename="regress.h" line="1019"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2830,7 +2842,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_FUNDAMENTAL_OBJECT_CLASS"
c:identifier="REGRESS_TEST_IS_FUNDAMENTAL_OBJECT_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="1018"/>
+ <source-position filename="regress.h" line="1020"/>
<parameters>
<parameter name="klass">
</parameter>
@@ -2839,7 +2851,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_INTERFACE"
c:identifier="REGRESS_TEST_IS_INTERFACE"
introspectable="0">
- <source-position filename="regress.h" line="1265"/>
+ <source-position filename="regress.h" line="1267"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2848,7 +2860,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_OBJECT"
c:identifier="REGRESS_TEST_IS_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="761"/>
+ <source-position filename="regress.h" line="763"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2857,7 +2869,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_SUB_OBJECT"
c:identifier="REGRESS_TEST_IS_SUB_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="983"/>
+ <source-position filename="regress.h" line="985"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2866,7 +2878,7 @@ use it should be.</doc>
<function-macro name="TEST_IS_WI_802_1X"
c:identifier="REGRESS_TEST_IS_WI_802_1X"
introspectable="0">
- <source-position filename="regress.h" line="1283"/>
+ <source-position filename="regress.h" line="1285"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2875,7 +2887,7 @@ use it should be.</doc>
<function-macro name="TEST_OBJECT"
c:identifier="REGRESS_TEST_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="760"/>
+ <source-position filename="regress.h" line="762"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2884,7 +2896,7 @@ use it should be.</doc>
<function-macro name="TEST_OBJ_GET_CLASS"
c:identifier="REGRESS_TEST_OBJ_GET_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="762"/>
+ <source-position filename="regress.h" line="764"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2893,7 +2905,7 @@ use it should be.</doc>
<function-macro name="TEST_SUB_OBJECT"
c:identifier="REGRESS_TEST_SUB_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="982"/>
+ <source-position filename="regress.h" line="984"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2902,7 +2914,7 @@ use it should be.</doc>
<function-macro name="TEST_SUB_OBJ_GET_CLASS"
c:identifier="REGRESS_TEST_SUB_OBJ_GET_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="984"/>
+ <source-position filename="regress.h" line="986"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2911,7 +2923,7 @@ use it should be.</doc>
<function-macro name="TEST_VALUE_HOLDS_FUNDAMENTAL_OBJECT"
c:identifier="REGRESS_TEST_VALUE_HOLDS_FUNDAMENTAL_OBJECT"
introspectable="0">
- <source-position filename="regress.h" line="1057"/>
+ <source-position filename="regress.h" line="1059"/>
<parameters>
<parameter name="value">
</parameter>
@@ -2920,7 +2932,7 @@ use it should be.</doc>
<function-macro name="TEST_WI_802_1X"
c:identifier="REGRESS_TEST_WI_802_1X"
introspectable="0">
- <source-position filename="regress.h" line="1282"/>
+ <source-position filename="regress.h" line="1284"/>
<parameters>
<parameter name="object">
</parameter>
@@ -2929,7 +2941,7 @@ use it should be.</doc>
<function-macro name="TEST_WI_802_1X_GET_CLASS"
c:identifier="REGRESS_TEST_WI_802_1X_GET_CLASS"
introspectable="0">
- <source-position filename="regress.h" line="1284"/>
+ <source-position filename="regress.h" line="1286"/>
<parameters>
<parameter name="obj">
</parameter>
@@ -2969,7 +2981,7 @@ use it should be.</doc>
glib:type-name="RegressTestBoxed"
glib:get-type="regress_test_boxed_get_type"
c:symbol-prefix="test_boxed">
- <source-position filename="regress.h" line="674"/>
+ <source-position filename="regress.h" line="676"/>
<field name="some_int8" writable="1">
<type name="gint8" c:type="gint8"/>
</field>
@@ -2980,14 +2992,14 @@ use it should be.</doc>
<type name="TestBoxedPrivate" c:type="RegressTestBoxedPrivate*"/>
</field>
<constructor name="new" c:identifier="regress_test_boxed_new">
- <source-position filename="regress.h" line="680"/>
+ <source-position filename="regress.h" line="682"/>
<return-value transfer-ownership="full">
<type name="TestBoxed" c:type="RegressTestBoxed*"/>
</return-value>
</constructor>
<constructor name="new_alternative_constructor1"
c:identifier="regress_test_boxed_new_alternative_constructor1">
- <source-position filename="regress.h" line="683"/>
+ <source-position filename="regress.h" line="685"/>
<return-value transfer-ownership="full">
<type name="TestBoxed" c:type="RegressTestBoxed*"/>
</return-value>
@@ -2999,7 +3011,7 @@ use it should be.</doc>
</constructor>
<constructor name="new_alternative_constructor2"
c:identifier="regress_test_boxed_new_alternative_constructor2">
- <source-position filename="regress.h" line="686"/>
+ <source-position filename="regress.h" line="688"/>
<return-value transfer-ownership="full">
<type name="TestBoxed" c:type="RegressTestBoxed*"/>
</return-value>
@@ -3014,7 +3026,7 @@ use it should be.</doc>
</constructor>
<constructor name="new_alternative_constructor3"
c:identifier="regress_test_boxed_new_alternative_constructor3">
- <source-position filename="regress.h" line="689"/>
+ <source-position filename="regress.h" line="691"/>
<return-value transfer-ownership="full">
<type name="TestBoxed" c:type="RegressTestBoxed*"/>
</return-value>
@@ -3027,7 +3039,7 @@ use it should be.</doc>
<method name="_not_a_method"
c:identifier="regress_test_boxeds_not_a_method"
moved-to="test_boxeds_not_a_method">
- <source-position filename="regress.h" line="701"/>
+ <source-position filename="regress.h" line="703"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3038,7 +3050,7 @@ use it should be.</doc>
</parameters>
</method>
<method name="copy" c:identifier="regress_test_boxed_copy">
- <source-position filename="regress.h" line="693"/>
+ <source-position filename="regress.h" line="695"/>
<return-value transfer-ownership="full">
<type name="TestBoxed" c:type="RegressTestBoxed*"/>
</return-value>
@@ -3049,7 +3061,7 @@ use it should be.</doc>
</parameters>
</method>
<method name="equals" c:identifier="regress_test_boxed_equals">
- <source-position filename="regress.h" line="696"/>
+ <source-position filename="regress.h" line="698"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@@ -3068,7 +3080,7 @@ use it should be.</doc>
glib:type-name="RegressTestBoxedB"
glib:get-type="regress_test_boxed_b_get_type"
c:symbol-prefix="test_boxed_b">
- <source-position filename="regress.h" line="712"/>
+ <source-position filename="regress.h" line="714"/>
<field name="some_int8" writable="1">
<type name="gint8" c:type="gint8"/>
</field>
@@ -3076,7 +3088,7 @@ use it should be.</doc>
<type name="glong" c:type="glong"/>
</field>
<constructor name="new" c:identifier="regress_test_boxed_b_new">
- <source-position filename="regress.h" line="719"/>
+ <source-position filename="regress.h" line="721"/>
<return-value transfer-ownership="full">
<type name="TestBoxedB" c:type="RegressTestBoxedB*"/>
</return-value>
@@ -3090,7 +3102,7 @@ use it should be.</doc>
</parameters>
</constructor>
<method name="copy" c:identifier="regress_test_boxed_b_copy">
- <source-position filename="regress.h" line="722"/>
+ <source-position filename="regress.h" line="724"/>
<return-value transfer-ownership="full">
<type name="TestBoxedB" c:type="RegressTestBoxedB*"/>
</return-value>
@@ -3106,7 +3118,7 @@ use it should be.</doc>
glib:type-name="RegressTestBoxedC"
glib:get-type="regress_test_boxed_c_get_type"
c:symbol-prefix="test_boxed_c">
- <source-position filename="regress.h" line="730"/>
+ <source-position filename="regress.h" line="732"/>
<field name="refcount" writable="1">
<type name="guint" c:type="guint"/>
</field>
@@ -3114,7 +3126,7 @@ use it should be.</doc>
<type name="guint" c:type="guint"/>
</field>
<constructor name="new" c:identifier="regress_test_boxed_c_new">
- <source-position filename="regress.h" line="736"/>
+ <source-position filename="regress.h" line="738"/>
<return-value transfer-ownership="full">
<type name="TestBoxedC" c:type="RegressTestBoxedC*"/>
</return-value>
@@ -3125,9 +3137,9 @@ use it should be.</doc>
glib:type-name="RegressTestBoxedD"
glib:get-type="regress_test_boxed_d_get_type"
c:symbol-prefix="test_boxed_d">
- <source-position filename="regress.h" line="738"/>
+ <source-position filename="regress.h" line="740"/>
<constructor name="new" c:identifier="regress_test_boxed_d_new">
- <source-position filename="regress.h" line="746"/>
+ <source-position filename="regress.h" line="748"/>
<return-value transfer-ownership="full">
<type name="TestBoxedD" c:type="RegressTestBoxedD*"/>
</return-value>
@@ -3141,7 +3153,7 @@ use it should be.</doc>
</parameters>
</constructor>
<method name="copy" c:identifier="regress_test_boxed_d_copy">
- <source-position filename="regress.h" line="749"/>
+ <source-position filename="regress.h" line="751"/>
<return-value transfer-ownership="full">
<type name="TestBoxedD" c:type="RegressTestBoxedD*"/>
</return-value>
@@ -3152,7 +3164,7 @@ use it should be.</doc>
</parameters>
</method>
<method name="free" c:identifier="regress_test_boxed_d_free">
- <source-position filename="regress.h" line="752"/>
+ <source-position filename="regress.h" line="754"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3163,7 +3175,7 @@ use it should be.</doc>
</parameters>
</method>
<method name="get_magic" c:identifier="regress_test_boxed_d_get_magic">
- <source-position filename="regress.h" line="756"/>
+ <source-position filename="regress.h" line="758"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -3177,16 +3189,16 @@ use it should be.</doc>
<record name="TestBoxedPrivate"
c:type="RegressTestBoxedPrivate"
disguised="1">
- <source-position filename="regress.h" line="666"/>
+ <source-position filename="regress.h" line="668"/>
</record>
<callback name="TestCallback" c:type="RegressTestCallback">
- <source-position filename="regress.h" line="1144"/>
+ <source-position filename="regress.h" line="1146"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
</callback>
<callback name="TestCallbackArray" c:type="RegressTestCallbackArray">
- <source-position filename="regress.h" line="1176"/>
+ <source-position filename="regress.h" line="1178"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -3211,7 +3223,7 @@ use it should be.</doc>
</callback>
<callback name="TestCallbackArrayInOut"
c:type="RegressTestCallbackArrayInOut">
- <source-position filename="regress.h" line="1182"/>
+ <source-position filename="regress.h" line="1184"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3233,7 +3245,7 @@ use it should be.</doc>
</parameters>
</callback>
<callback name="TestCallbackFull" c:type="RegressTestCallbackFull">
- <source-position filename="regress.h" line="1163"/>
+ <source-position filename="regress.h" line="1165"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -3241,25 +3253,25 @@ use it should be.</doc>
<parameter name="foo" transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.h"
- line="1159">the investment rate</doc>
+ line="1161">the investment rate</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="bar" transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.h"
- line="1160">how much money</doc>
+ line="1162">how much money</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.h"
- line="1161">Path to file</doc>
+ line="1163">Path to file</doc>
<type name="filename" c:type="char*"/>
</parameter>
</parameters>
</callback>
<callback name="TestCallbackGError" c:type="RegressTestCallbackGError">
- <source-position filename="regress.h" line="1151"/>
+ <source-position filename="regress.h" line="1153"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3271,7 +3283,7 @@ use it should be.</doc>
</callback>
<callback name="TestCallbackHashtable"
c:type="RegressTestCallbackHashtable">
- <source-position filename="regress.h" line="1150"/>
+ <source-position filename="regress.h" line="1152"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3279,7 +3291,7 @@ use it should be.</doc>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.h"
- line="1148">a hash table; will be modified</doc>
+ line="1150">a hash table; will be modified</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8"/>
<type name="gint"/>
@@ -3289,7 +3301,7 @@ use it should be.</doc>
</callback>
<callback name="TestCallbackOwnedGError"
c:type="RegressTestCallbackOwnedGError">
- <source-position filename="regress.h" line="1156"/>
+ <source-position filename="regress.h" line="1158"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3297,20 +3309,20 @@ use it should be.</doc>
<parameter name="error" transfer-ownership="full">
<doc xml:space="preserve"
filename="regress.h"
- line="1154">GError instance; must be freed by the callback</doc>
+ line="1156">GError instance; must be freed by the callback</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</callback>
<callback name="TestCallbackReturnFull"
c:type="RegressTestCallbackReturnFull">
- <source-position filename="regress.h" line="1168"/>
+ <source-position filename="regress.h" line="1170"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
</callback>
<callback name="TestCallbackUserData" c:type="RegressTestCallbackUserData">
- <source-position filename="regress.h" line="1145"/>
+ <source-position filename="regress.h" line="1147"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -3449,7 +3461,7 @@ use it should be.</doc>
</enumeration>
<callback name="TestExternallyDefinedCallback"
c:type="RegressTestExternallyDefinedCallback">
- <source-position filename="regress.h" line="791"/>
+ <source-position filename="regress.h" line="793"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3492,9 +3504,9 @@ use it should be.</doc>
glib:type-name="RegressTestFloating"
glib:get-type="regress_test_floating_get_type"
glib:type-struct="TestFloatingClass">
- <source-position filename="regress.h" line="1328"/>
+ <source-position filename="regress.h" line="1330"/>
<constructor name="new" c:identifier="regress_test_floating_new">
- <source-position filename="regress.h" line="1335"/>
+ <source-position filename="regress.h" line="1337"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -3509,7 +3521,7 @@ use it should be.</doc>
<record name="TestFloatingClass"
c:type="RegressTestFloatingClass"
glib:is-gtype-struct-for="TestFloating">
- <source-position filename="regress.h" line="1328"/>
+ <source-position filename="regress.h" line="1330"/>
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass"
c:type="GInitiallyUnownedClass"/>
@@ -3527,9 +3539,9 @@ use it should be.</doc>
glib:unref-func="regress_test_fundamental_object_unref"
glib:set-value-func="regress_test_value_set_fundamental_object"
glib:get-value-func="regress_test_value_get_fundamental_object">
- <source-position filename="regress.h" line="1046"/>
+ <source-position filename="regress.h" line="1048"/>
<virtual-method name="copy">
- <source-position filename="regress.h" line="1031"/>
+ <source-position filename="regress.h" line="1033"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalObject"
c:type="RegressTestFundamentalObject*"/>
@@ -3542,7 +3554,7 @@ use it should be.</doc>
</parameters>
</virtual-method>
<virtual-method name="finalize">
- <source-position filename="regress.h" line="1032"/>
+ <source-position filename="regress.h" line="1034"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3554,7 +3566,7 @@ use it should be.</doc>
</parameters>
</virtual-method>
<method name="ref" c:identifier="regress_test_fundamental_object_ref">
- <source-position filename="regress.h" line="1052"/>
+ <source-position filename="regress.h" line="1054"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="regress.c"
@@ -3572,7 +3584,7 @@ use it should be.</doc>
</method>
<method name="unref"
c:identifier="regress_test_fundamental_object_unref">
- <source-position filename="regress.h" line="1055"/>
+ <source-position filename="regress.h" line="1057"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3597,7 +3609,7 @@ use it should be.</doc>
<record name="TestFundamentalObjectClass"
c:type="RegressTestFundamentalObjectClass"
glib:is-gtype-struct-for="TestFundamentalObject">
- <source-position filename="regress.h" line="1046"/>
+ <source-position filename="regress.h" line="1048"/>
<field name="type_class">
<type name="GObject.TypeClass" c:type="GTypeClass"/>
</field>
@@ -3612,7 +3624,7 @@ use it should be.</doc>
</record>
<callback name="TestFundamentalObjectCopyFunction"
c:type="RegressTestFundamentalObjectCopyFunction">
- <source-position filename="regress.h" line="1031"/>
+ <source-position filename="regress.h" line="1033"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalObject"
c:type="RegressTestFundamentalObject*"/>
@@ -3626,7 +3638,7 @@ use it should be.</doc>
</callback>
<callback name="TestFundamentalObjectFinalizeFunction"
c:type="RegressTestFundamentalObjectFinalizeFunction">
- <source-position filename="regress.h" line="1032"/>
+ <source-position filename="regress.h" line="1034"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3649,10 +3661,10 @@ use it should be.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3763">Just like a #RegressTestFundamentalObject but without gvalue setter and getter</doc>
- <source-position filename="regress.h" line="1094"/>
+ <source-position filename="regress.h" line="1096"/>
<constructor name="new"
c:identifier="regress_test_fundamental_object_no_get_set_func_new">
- <source-position filename="regress.h" line="1127"/>
+ <source-position filename="regress.h" line="1129"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalObjectNoGetSetFunc"
c:type="RegressTestFundamentalObjectNoGetSetFunc*"/>
@@ -3665,14 +3677,14 @@ use it should be.</doc>
</constructor>
<function name="make_compatible_with_fundamental_sub_object"
c:identifier="regress_test_fundamental_object_no_get_set_func_make_compatible_with_fundamental_sub_object">
- <source-position filename="regress.h" line="1139"/>
+ <source-position filename="regress.h" line="1141"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<method name="get_data"
c:identifier="regress_test_fundamental_object_no_get_set_func_get_data">
- <source-position filename="regress.h" line="1131"/>
+ <source-position filename="regress.h" line="1133"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
@@ -3694,7 +3706,7 @@ use it should be.</doc>
<record name="TestFundamentalObjectNoGetSetFuncClass"
c:type="RegressTestFundamentalObjectNoGetSetFuncClass"
glib:is-gtype-struct-for="TestFundamentalObjectNoGetSetFunc">
- <source-position filename="regress.h" line="1094"/>
+ <source-position filename="regress.h" line="1096"/>
<field name="fundamental_object_class">
<type name="TestFundamentalObjectClass"
c:type="RegressTestFundamentalObjectClass"/>
@@ -3708,10 +3720,10 @@ use it should be.</doc>
glib:get-type="regress_test_fundamental_sub_object_get_type"
glib:type-struct="TestFundamentalSubObjectClass"
glib:fundamental="1">
- <source-position filename="regress.h" line="1076"/>
+ <source-position filename="regress.h" line="1078"/>
<constructor name="new"
c:identifier="regress_test_fundamental_sub_object_new">
- <source-position filename="regress.h" line="1119"/>
+ <source-position filename="regress.h" line="1121"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalSubObject"
c:type="RegressTestFundamentalSubObject*"/>
@@ -3733,7 +3745,7 @@ use it should be.</doc>
<record name="TestFundamentalSubObjectClass"
c:type="RegressTestFundamentalSubObjectClass"
glib:is-gtype-struct-for="TestFundamentalSubObject">
- <source-position filename="regress.h" line="1076"/>
+ <source-position filename="regress.h" line="1078"/>
<field name="fundamental_object_class">
<type name="TestFundamentalObjectClass"
c:type="RegressTestFundamentalObjectClass"/>
@@ -3747,10 +3759,10 @@ use it should be.</doc>
glib:get-type="regress_test_fundamental_sub_object_no_get_set_func_get_type"
glib:type-struct="TestFundamentalSubObjectNoGetSetFuncClass"
glib:fundamental="1">
- <source-position filename="regress.h" line="1109"/>
+ <source-position filename="regress.h" line="1111"/>
<constructor name="new"
c:identifier="regress_test_fundamental_sub_object_no_get_set_func_new">
- <source-position filename="regress.h" line="1135"/>
+ <source-position filename="regress.h" line="1137"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalSubObjectNoGetSetFunc"
c:type="RegressTestFundamentalSubObjectNoGetSetFunc*"/>
@@ -3769,7 +3781,7 @@ use it should be.</doc>
<record name="TestFundamentalSubObjectNoGetSetFuncClass"
c:type="RegressTestFundamentalSubObjectNoGetSetFuncClass"
glib:is-gtype-struct-for="TestFundamentalSubObjectNoGetSetFunc">
- <source-position filename="regress.h" line="1109"/>
+ <source-position filename="regress.h" line="1111"/>
<field name="fundamental_object_class">
<type name="TestFundamentalObjectNoGetSetFuncClass"
c:type="RegressTestFundamentalObjectNoGetSetFuncClass"/>
@@ -3893,10 +3905,10 @@ use it should be.</doc>
glib:type-name="RegressTestInterface"
glib:get-type="regress_test_interface_get_type"
glib:type-struct="TestInterfaceIface">
- <source-position filename="regress.h" line="1272"/>
+ <source-position filename="regress.h" line="1274"/>
<method name="emit_signal"
c:identifier="regress_test_interface_emit_signal">
- <source-position filename="regress.h" line="1278"/>
+ <source-position filename="regress.h" line="1280"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3933,13 +3945,13 @@ use it should be.</doc>
<record name="TestInterfaceIface"
c:type="RegressTestInterfaceIface"
glib:is-gtype-struct-for="TestInterface">
- <source-position filename="regress.h" line="1272"/>
+ <source-position filename="regress.h" line="1274"/>
<field name="base_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
</record>
<callback name="TestNoPtrCallback" c:type="RegressTestNoPtrCallback">
- <source-position filename="regress.h" line="1143"/>
+ <source-position filename="regress.h" line="1145"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3951,15 +3963,15 @@ use it should be.</doc>
glib:type-name="RegressTestObj"
glib:get-type="regress_test_obj_get_type"
glib:type-struct="TestObjClass">
- <source-position filename="regress.h" line="813"/>
+ <source-position filename="regress.h" line="815"/>
<constructor name="constructor" c:identifier="regress_constructor">
- <source-position filename="regress.h" line="822"/>
+ <source-position filename="regress.h" line="824"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
</constructor>
<constructor name="new" c:identifier="regress_test_obj_new">
- <source-position filename="regress.h" line="819"/>
+ <source-position filename="regress.h" line="821"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
@@ -3974,7 +3986,7 @@ use it should be.</doc>
</constructor>
<constructor name="new_callback"
c:identifier="regress_test_obj_new_callback">
- <source-position filename="regress.h" line="1240"/>
+ <source-position filename="regress.h" line="1242"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
@@ -4001,7 +4013,7 @@ use it should be.</doc>
<constructor name="new_from_file"
c:identifier="regress_test_obj_new_from_file"
throws="1">
- <source-position filename="regress.h" line="825"/>
+ <source-position filename="regress.h" line="827"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
@@ -4012,7 +4024,7 @@ use it should be.</doc>
</parameters>
</constructor>
<function name="null_out" c:identifier="regress_test_obj_null_out">
- <source-position filename="regress.h" line="966"/>
+ <source-position filename="regress.h" line="968"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4032,7 +4044,7 @@ use it should be.</doc>
</function>
<function name="static_method"
c:identifier="regress_test_obj_static_method">
- <source-position filename="regress.h" line="867"/>
+ <source-position filename="regress.h" line="869"/>
<return-value transfer-ownership="none">
<type name="gdouble" c:type="double"/>
</return-value>
@@ -4044,7 +4056,7 @@ use it should be.</doc>
</function>
<function name="static_method_callback"
c:identifier="regress_test_obj_static_method_callback">
- <source-position filename="regress.h" line="1237"/>
+ <source-position filename="regress.h" line="1239"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4059,7 +4071,7 @@ use it should be.</doc>
</parameters>
</function>
<virtual-method name="allow_none_vfunc">
- <source-position filename="regress.h" line="803"/>
+ <source-position filename="regress.h" line="805"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4073,13 +4085,13 @@ use it should be.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="regress.h"
- line="801">Another object</doc>
+ line="803">Another object</doc>
<type name="TestObj" c:type="RegressTestObj*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="complex_vfunc">
- <source-position filename="regress.h" line="791"/>
+ <source-position filename="regress.h" line="793"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4098,7 +4110,7 @@ use it should be.</doc>
line="3221">This method is virtual. Notably its name differs from the virtual
slot name, which makes it useful for testing bindings handle this
case.</doc>
- <source-position filename="regress.h" line="797"/>
+ <source-position filename="regress.h" line="799"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -4123,7 +4135,7 @@ case.</doc>
line="3221">This method is virtual. Notably its name differs from the virtual
slot name, which makes it useful for testing bindings handle this
case.</doc>
- <source-position filename="regress.h" line="959"/>
+ <source-position filename="regress.h" line="961"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -4144,7 +4156,7 @@ case.</doc>
</method>
<method name="emit_sig_with_array_len_prop"
c:identifier="regress_test_obj_emit_sig_with_array_len_prop">
- <source-position filename="regress.h" line="849"/>
+ <source-position filename="regress.h" line="851"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4156,7 +4168,7 @@ case.</doc>
</method>
<method name="emit_sig_with_error"
c:identifier="regress_test_obj_emit_sig_with_error">
- <source-position filename="regress.h" line="855"/>
+ <source-position filename="regress.h" line="857"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4171,7 +4183,7 @@ case.</doc>
</method>
<method name="emit_sig_with_foreign_struct"
c:identifier="regress_test_obj_emit_sig_with_foreign_struct">
- <source-position filename="regress.h" line="840"/>
+ <source-position filename="regress.h" line="842"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4186,7 +4198,7 @@ case.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="2926">The signal handler must increment the inout parameter by 1.</doc>
- <source-position filename="regress.h" line="852"/>
+ <source-position filename="regress.h" line="854"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4201,7 +4213,7 @@ case.</doc>
</method>
<method name="emit_sig_with_int64"
c:identifier="regress_test_obj_emit_sig_with_int64">
- <source-position filename="regress.h" line="843"/>
+ <source-position filename="regress.h" line="845"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4213,7 +4225,7 @@ case.</doc>
</method>
<method name="emit_sig_with_null_error"
c:identifier="regress_test_obj_emit_sig_with_null_error">
- <source-position filename="regress.h" line="858"/>
+ <source-position filename="regress.h" line="860"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4228,7 +4240,7 @@ case.</doc>
</method>
<method name="emit_sig_with_obj"
c:identifier="regress_test_obj_emit_sig_with_obj">
- <source-position filename="regress.h" line="837"/>
+ <source-position filename="regress.h" line="839"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4240,7 +4252,7 @@ case.</doc>
</method>
<method name="emit_sig_with_uint64"
c:identifier="regress_test_obj_emit_sig_with_uint64">
- <source-position filename="regress.h" line="846"/>
+ <source-position filename="regress.h" line="848"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4251,7 +4263,7 @@ case.</doc>
</parameters>
</method>
<method name="forced_method" c:identifier="regress_forced_method">
- <source-position filename="regress.h" line="870"/>
+ <source-position filename="regress.h" line="872"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4267,7 +4279,7 @@ case.</doc>
<method name="get_string"
c:identifier="regress_test_obj_get_string"
glib:get-property="string">
- <source-position filename="regress.h" line="834"/>
+ <source-position filename="regress.h" line="836"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
@@ -4279,7 +4291,7 @@ case.</doc>
</method>
<method name="instance_method"
c:identifier="regress_test_obj_instance_method">
- <source-position filename="regress.h" line="861"/>
+ <source-position filename="regress.h" line="863"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -4291,7 +4303,7 @@ case.</doc>
</method>
<method name="instance_method_callback"
c:identifier="regress_test_obj_instance_method_callback">
- <source-position filename="regress.h" line="1234"/>
+ <source-position filename="regress.h" line="1236"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4310,7 +4322,7 @@ case.</doc>
</method>
<method name="instance_method_full"
c:identifier="regress_test_obj_instance_method_full">
- <source-position filename="regress.h" line="864"/>
+ <source-position filename="regress.h" line="866"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4322,7 +4334,7 @@ case.</doc>
</method>
<method name="name_conflict"
c:identifier="regress_test_obj_name_conflict">
- <source-position filename="regress.h" line="978"/>
+ <source-position filename="regress.h" line="980"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4337,7 +4349,7 @@ case.</doc>
</method>
<method name="not_nullable_element_typed_gpointer_in"
c:identifier="regress_test_obj_not_nullable_element_typed_gpointer_in">
- <source-position filename="regress.h" line="973"/>
+ <source-position filename="regress.h" line="975"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4366,7 +4378,7 @@ case.</doc>
</method>
<method name="not_nullable_typed_gpointer_in"
c:identifier="regress_test_obj_not_nullable_typed_gpointer_in">
- <source-position filename="regress.h" line="970"/>
+ <source-position filename="regress.h" line="972"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4388,7 +4400,7 @@ case.</doc>
<method name="set_bare"
c:identifier="regress_test_obj_set_bare"
glib:set-property="bare">
- <source-position filename="regress.h" line="828"/>
+ <source-position filename="regress.h" line="830"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4407,7 +4419,7 @@ case.</doc>
<method name="set_string"
c:identifier="regress_test_obj_set_string"
glib:set-property="string">
- <source-position filename="regress.h" line="831"/>
+ <source-position filename="regress.h" line="833"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4426,7 +4438,7 @@ case.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3185">Check that the out value is skipped</doc>
- <source-position filename="regress.h" line="947"/>
+ <source-position filename="regress.h" line="949"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -4500,7 +4512,7 @@ case.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3149">Check that the out value is skipped</doc>
- <source-position filename="regress.h" line="935"/>
+ <source-position filename="regress.h" line="937"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -4574,7 +4586,7 @@ case.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3113">Check that a parameter is skipped</doc>
- <source-position filename="regress.h" line="923"/>
+ <source-position filename="regress.h" line="925"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -4647,7 +4659,7 @@ case.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3053">Check that the return value is skipped</doc>
- <source-position filename="regress.h" line="905"/>
+ <source-position filename="regress.h" line="907"/>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve"
filename="regress.c"
@@ -4721,7 +4733,7 @@ case.</doc>
filename="regress.c"
line="3089">Check that the return value is skipped. Succeed if a is nonzero, otherwise
raise an error.</doc>
- <source-position filename="regress.h" line="917"/>
+ <source-position filename="regress.h" line="919"/>
<return-value transfer-ownership="none" skip="1">
<doc xml:space="preserve"
filename="regress.c"
@@ -4745,7 +4757,7 @@ raise an error.</doc>
</method>
<method name="torture_signature_0"
c:identifier="regress_test_obj_torture_signature_0">
- <source-position filename="regress.h" line="885"/>
+ <source-position filename="regress.h" line="887"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4791,7 +4803,7 @@ raise an error.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="3021">This function throws an error if m is odd.</doc>
- <source-position filename="regress.h" line="894"/>
+ <source-position filename="regress.h" line="896"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@@ -4953,7 +4965,7 @@ raise an error.</doc>
</field>
<field name="function_ptr">
<callback name="function_ptr">
- <source-position filename="regress.h" line="788"/>
+ <source-position filename="regress.h" line="790"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5210,13 +5222,13 @@ the introspection client langage.</doc>
<record name="TestObjClass"
c:type="RegressTestObjClass"
glib:is-gtype-struct-for="TestObj">
- <source-position filename="regress.h" line="813"/>
+ <source-position filename="regress.h" line="815"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="matrix">
<callback name="matrix">
- <source-position filename="regress.h" line="797"/>
+ <source-position filename="regress.h" line="799"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -5238,7 +5250,7 @@ the introspection client langage.</doc>
</field>
<field name="allow_none_vfunc">
<callback name="allow_none_vfunc">
- <source-position filename="regress.h" line="803"/>
+ <source-position filename="regress.h" line="805"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5252,7 +5264,7 @@ the introspection client langage.</doc>
allow-none="1">
<doc xml:space="preserve"
filename="regress.h"
- line="801">Another object</doc>
+ line="803">Another object</doc>
<type name="TestObj" c:type="RegressTestObj*"/>
</parameter>
</parameters>
@@ -5270,7 +5282,7 @@ the introspection client langage.</doc>
</field>
<field name="_regress_reserved1" introspectable="0">
<callback name="_regress_reserved1">
- <source-position filename="regress.h" line="811"/>
+ <source-position filename="regress.h" line="813"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5278,7 +5290,7 @@ the introspection client langage.</doc>
</field>
<field name="_regress_reserved2" introspectable="0">
<callback name="_regress_reserved2">
- <source-position filename="regress.h" line="812"/>
+ <source-position filename="regress.h" line="814"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5316,7 +5328,7 @@ the introspection client langage.</doc>
</function>
</enumeration>
<bitfield name="TestPrivateEnum" c:type="RegressTestPrivateEnum">
- <source-position filename="regress.h" line="1471"/>
+ <source-position filename="regress.h" line="1473"/>
<member name="public_enum_before"
value="1"
c:identifier="REGRESS_TEST_PUBLIC_ENUM_BEFORE">
@@ -5327,7 +5339,7 @@ the introspection client langage.</doc>
</member>
</bitfield>
<record name="TestPrivateStruct" c:type="RegressTestPrivateStruct">
- <source-position filename="regress.h" line="1463"/>
+ <source-position filename="regress.h" line="1465"/>
<field name="this_is_public_before" writable="1">
<type name="gint" c:type="gint"/>
</field>
@@ -5339,7 +5351,7 @@ the introspection client langage.</doc>
</field>
</record>
<record name="TestReferenceCounters" c:type="RegressTestReferenceCounters">
- <source-position filename="regress.h" line="1573"/>
+ <source-position filename="regress.h" line="1575"/>
<field name="refcount" writable="1">
<type name="gint" c:type="grefcount"/>
</field>
@@ -5367,7 +5379,7 @@ the introspection client langage.</doc>
glib:type-name="RegressTestSimpleBoxedA"
glib:get-type="regress_test_simple_boxed_a_get_gtype"
c:symbol-prefix="test_simple_boxed_a">
- <source-position filename="regress.h" line="632"/>
+ <source-position filename="regress.h" line="634"/>
<field name="some_int" writable="1">
<type name="gint" c:type="gint"/>
</field>
@@ -5381,7 +5393,7 @@ the introspection client langage.</doc>
<type name="TestEnum" c:type="RegressTestEnum"/>
</field>
<method name="copy" c:identifier="regress_test_simple_boxed_a_copy">
- <source-position filename="regress.h" line="639"/>
+ <source-position filename="regress.h" line="641"/>
<return-value transfer-ownership="full">
<type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
</return-value>
@@ -5392,7 +5404,7 @@ the introspection client langage.</doc>
</parameters>
</method>
<method name="equals" c:identifier="regress_test_simple_boxed_a_equals">
- <source-position filename="regress.h" line="642"/>
+ <source-position filename="regress.h" line="644"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@@ -5407,7 +5419,7 @@ the introspection client langage.</doc>
</method>
<function name="const_return"
c:identifier="regress_test_simple_boxed_a_const_return">
- <source-position filename="regress.h" line="646"/>
+ <source-position filename="regress.h" line="648"/>
<return-value transfer-ownership="none">
<type name="TestSimpleBoxedA"
c:type="const RegressTestSimpleBoxedA*"/>
@@ -5419,7 +5431,7 @@ the introspection client langage.</doc>
glib:type-name="RegressTestSimpleBoxedB"
glib:get-type="regress_test_simple_boxed_b_get_type"
c:symbol-prefix="test_simple_boxed_b">
- <source-position filename="regress.h" line="653"/>
+ <source-position filename="regress.h" line="655"/>
<field name="some_int8" writable="1">
<type name="gint8" c:type="gint8"/>
</field>
@@ -5427,7 +5439,7 @@ the introspection client langage.</doc>
<type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
</field>
<method name="copy" c:identifier="regress_test_simple_boxed_b_copy">
- <source-position filename="regress.h" line="660"/>
+ <source-position filename="regress.h" line="662"/>
<return-value transfer-ownership="full">
<type name="TestSimpleBoxedB" c:type="RegressTestSimpleBoxedB*"/>
</return-value>
@@ -5439,13 +5451,13 @@ the introspection client langage.</doc>
</method>
</record>
<callback name="TestSimpleCallback" c:type="RegressTestSimpleCallback">
- <source-position filename="regress.h" line="1142"/>
+ <source-position filename="regress.h" line="1144"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
<record name="TestStructA" c:type="RegressTestStructA">
- <source-position filename="regress.h" line="544"/>
+ <source-position filename="regress.h" line="546"/>
<field name="some_int" writable="1">
<type name="gint" c:type="gint"/>
</field>
@@ -5462,7 +5474,7 @@ the introspection client langage.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="1736">Make a copy of a RegressTestStructA</doc>
- <source-position filename="regress.h" line="547"/>
+ <source-position filename="regress.h" line="549"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5485,7 +5497,7 @@ the introspection client langage.</doc>
</parameters>
</method>
<function name="parse" c:identifier="regress_test_struct_a_parse">
- <source-position filename="regress.h" line="551"/>
+ <source-position filename="regress.h" line="553"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5509,7 +5521,7 @@ the introspection client langage.</doc>
</function>
</record>
<record name="TestStructB" c:type="RegressTestStructB">
- <source-position filename="regress.h" line="560"/>
+ <source-position filename="regress.h" line="562"/>
<field name="some_int8" writable="1">
<type name="gint8" c:type="gint8"/>
</field>
@@ -5520,7 +5532,7 @@ the introspection client langage.</doc>
<doc xml:space="preserve"
filename="regress.c"
line="1779">Make a copy of a RegressTestStructB</doc>
- <source-position filename="regress.h" line="563"/>
+ <source-position filename="regress.h" line="565"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5544,7 +5556,7 @@ the introspection client langage.</doc>
</method>
</record>
<record name="TestStructC" c:type="RegressTestStructC">
- <source-position filename="regress.h" line="571"/>
+ <source-position filename="regress.h" line="573"/>
<field name="another_int" writable="1">
<type name="gint" c:type="gint"/>
</field>
@@ -5553,7 +5565,7 @@ the introspection client langage.</doc>
</field>
</record>
<record name="TestStructD" c:type="RegressTestStructD">
- <source-position filename="regress.h" line="590"/>
+ <source-position filename="regress.h" line="592"/>
<field name="array1" writable="1">
<array c:type="RegressTestStructA**">
<type name="TestStructA" c:type="RegressTestStructA*"/>
@@ -5579,7 +5591,7 @@ the introspection client langage.</doc>
</field>
</record>
<record name="TestStructE" c:type="RegressTestStructE">
- <source-position filename="regress.h" line="607"/>
+ <source-position filename="regress.h" line="609"/>
<field name="some_type" writable="1">
<type name="GType" c:type="GType"/>
</field>
@@ -5619,7 +5631,7 @@ the introspection client langage.</doc>
</field>
</union>
<record name="TestStructF" c:type="RegressTestStructF">
- <source-position filename="regress.h" line="620"/>
+ <source-position filename="regress.h" line="622"/>
<field name="ref_count" writable="1">
<type name="gint" c:type="volatile gint"/>
</field>
@@ -5646,7 +5658,7 @@ the introspection client langage.</doc>
</field>
</record>
<record name="TestStructFixedArray" c:type="RegressTestStructFixedArray">
- <source-position filename="regress.h" line="1476"/>
+ <source-position filename="regress.h" line="1478"/>
<field name="just_int" writable="1">
<type name="gint" c:type="gint"/>
</field>
@@ -5656,7 +5668,7 @@ the introspection client langage.</doc>
</array>
</field>
<method name="frob" c:identifier="regress_test_struct_fixed_array_frob">
- <source-position filename="regress.h" line="1480"/>
+ <source-position filename="regress.h" line="1482"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5675,17 +5687,17 @@ the introspection client langage.</doc>
glib:type-name="RegressTestSubObj"
glib:get-type="regress_test_sub_obj_get_type"
glib:type-struct="TestSubObjClass">
- <source-position filename="regress.h" line="1000"/>
+ <source-position filename="regress.h" line="1002"/>
<implements name="TestInterface"/>
<constructor name="new" c:identifier="regress_test_sub_obj_new">
- <source-position filename="regress.h" line="1007"/>
+ <source-position filename="regress.h" line="1009"/>
<return-value transfer-ownership="full">
<type name="TestObj" c:type="RegressTestObj*"/>
</return-value>
</constructor>
<method name="instance_method"
c:identifier="regress_test_sub_obj_instance_method">
- <source-position filename="regress.h" line="1013"/>
+ <source-position filename="regress.h" line="1015"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -5696,7 +5708,7 @@ the introspection client langage.</doc>
</parameters>
</method>
<method name="unset_bare" c:identifier="regress_test_sub_obj_unset_bare">
- <source-position filename="regress.h" line="1010"/>
+ <source-position filename="regress.h" line="1012"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5725,7 +5737,7 @@ the introspection client langage.</doc>
<record name="TestSubObjClass"
c:type="RegressTestSubObjClass"
glib:is-gtype-struct-for="TestSubObj">
- <source-position filename="regress.h" line="1000"/>
+ <source-position filename="regress.h" line="1002"/>
<field name="parent_class">
<type name="TestObjClass" c:type="RegressTestObjClass"/>
</field>
@@ -5737,16 +5749,16 @@ the introspection client langage.</doc>
glib:type-name="RegressTestWi8021x"
glib:get-type="regress_test_wi_802_1x_get_type"
glib:type-struct="TestWi8021xClass">
- <source-position filename="regress.h" line="1296"/>
+ <source-position filename="regress.h" line="1298"/>
<constructor name="new" c:identifier="regress_test_wi_802_1x_new">
- <source-position filename="regress.h" line="1303"/>
+ <source-position filename="regress.h" line="1305"/>
<return-value transfer-ownership="full">
<type name="TestWi8021x" c:type="RegressTestWi8021x*"/>
</return-value>
</constructor>
<function name="static_method"
c:identifier="regress_test_wi_802_1x_static_method">
- <source-position filename="regress.h" line="1312"/>
+ <source-position filename="regress.h" line="1314"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -5759,7 +5771,7 @@ the introspection client langage.</doc>
<method name="get_testbool"
c:identifier="regress_test_wi_802_1x_get_testbool"
glib:get-property="testbool">
- <source-position filename="regress.h" line="1306"/>
+ <source-position filename="regress.h" line="1308"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@@ -5772,7 +5784,7 @@ the introspection client langage.</doc>
<method name="set_testbool"
c:identifier="regress_test_wi_802_1x_set_testbool"
glib:set-property="testbool">
- <source-position filename="regress.h" line="1309"/>
+ <source-position filename="regress.h" line="1311"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -5802,7 +5814,7 @@ the introspection client langage.</doc>
<record name="TestWi8021xClass"
c:type="RegressTestWi8021xClass"
glib:is-gtype-struct-for="TestWi8021x">
- <source-position filename="regress.h" line="1296"/>
+ <source-position filename="regress.h" line="1298"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
@@ -5810,12 +5822,12 @@ the introspection client langage.</doc>
<constant name="UTF8_CONSTANT"
value="const ♥ utf8"
c:type="REGRESS_UTF8_CONSTANT">
- <source-position filename="regress.h" line="1491"/>
+ <source-position filename="regress.h" line="1493"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function name="aliased_caller_alloc"
c:identifier="regress_aliased_caller_alloc">
- <source-position filename="regress.h" line="1453"/>
+ <source-position filename="regress.h" line="1455"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6472,7 +6484,7 @@ exposed to language bindings.</doc>
</parameters>
</function>
<function name="func_obj_null_in" c:identifier="regress_func_obj_null_in">
- <source-position filename="regress.h" line="963"/>
+ <source-position filename="regress.h" line="965"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6490,7 +6502,7 @@ exposed to language bindings.</doc>
</function>
<function name="func_obj_nullable_in"
c:identifier="regress_func_obj_nullable_in">
- <source-position filename="regress.h" line="968"/>
+ <source-position filename="regress.h" line="970"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6507,7 +6519,7 @@ exposed to language bindings.</doc>
</parameters>
</function>
<function name="get_variant" c:identifier="regress_get_variant">
- <source-position filename="regress.h" line="1566"/>
+ <source-position filename="regress.h" line="1568"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -6539,7 +6551,7 @@ exposed to language bindings.</doc>
filename="regress.c"
line="4701">This test case mirrors GnomeKeyringPasswordSchema from
libgnome-keyring.</doc>
- <source-position filename="regress.h" line="1506"/>
+ <source-position filename="regress.h" line="1508"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6562,7 +6574,7 @@ libgnome-keyring.</doc>
</function>
<function name="introspectable_via_alias"
c:identifier="regress_introspectable_via_alias">
- <source-position filename="regress.h" line="1431"/>
+ <source-position filename="regress.h" line="1433"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6575,7 +6587,7 @@ libgnome-keyring.</doc>
<function name="not_introspectable_via_alias"
c:identifier="regress_not_introspectable_via_alias"
introspectable="0">
- <source-position filename="regress.h" line="1442"/>
+ <source-position filename="regress.h" line="1444"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6588,7 +6600,7 @@ libgnome-keyring.</doc>
<function name="random_function_with_skipped_structure"
c:identifier="regress_random_function_with_skipped_structure"
introspectable="0">
- <source-position filename="regress.h" line="1402"/>
+ <source-position filename="regress.h" line="1404"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6631,7 +6643,7 @@ in particular, but it should be serialized in the gir nevertheless.</doc>
</function>
<function name="test_array_callback"
c:identifier="regress_test_array_callback">
- <source-position filename="regress.h" line="1197"/>
+ <source-position filename="regress.h" line="1199"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -6643,7 +6655,7 @@ in particular, but it should be serialized in the gir nevertheless.</doc>
</function>
<function name="test_array_fixed_out_objects"
c:identifier="regress_test_array_fixed_out_objects">
- <source-position filename="regress.h" line="874"/>
+ <source-position filename="regress.h" line="876"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -6818,7 +6830,7 @@ in particular, but it should be serialized in the gir nevertheless.</doc>
</function>
<function name="test_array_inout_callback"
c:identifier="regress_test_array_inout_callback">
- <source-position filename="regress.h" line="1200"/>
+ <source-position filename="regress.h" line="1202"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7006,7 +7018,7 @@ in particular, but it should be serialized in the gir nevertheless.</doc>
</function>
<function name="test_array_static_in_int"
c:identifier="regress_test_array_static_in_int">
- <source-position filename="regress.h" line="882"/>
+ <source-position filename="regress.h" line="884"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7030,7 +7042,7 @@ in particular, but it should be serialized in the gir nevertheless.</doc>
Similar to:
- gsf_property_settings_free() with structs but they contain pointers
- g_byte_array_new_take() with guint8s</doc>
- <source-position filename="regress.h" line="1588"/>
+ <source-position filename="regress.h" line="1590"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7058,7 +7070,7 @@ Similar to:
line="4853">Test flat array input with transfer none.
Similar to g_main_context_check() or gtk_target_list_new().</doc>
- <source-position filename="regress.h" line="1591"/>
+ <source-position filename="regress.h" line="1593"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7084,7 +7096,7 @@ Similar to g_main_context_check() or gtk_target_list_new().</doc>
<doc xml:space="preserve"
filename="regress.c"
line="1762">This is similar to gdk_keymap_get_entries_for_keyval().</doc>
- <source-position filename="regress.h" line="554"/>
+ <source-position filename="regress.h" line="556"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7112,7 +7124,7 @@ Similar to g_main_context_check() or gtk_target_list_new().</doc>
line="4812">Test flat caller-allocated array output.
Similar to g_main_context_query().</doc>
- <source-position filename="regress.h" line="1585"/>
+ <source-position filename="regress.h" line="1587"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7146,7 +7158,7 @@ Similar to g_main_context_query().</doc>
line="4774">Test flat array output with transfer container.
Similar to pango_layout_get_log_attrs().</doc>
- <source-position filename="regress.h" line="1579"/>
+ <source-position filename="regress.h" line="1581"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7178,7 +7190,7 @@ Similar to pango_layout_get_log_attrs().</doc>
<doc xml:space="preserve"
filename="regress.c"
line="4796">Test flat fixed-size array output with transfer full.</doc>
- <source-position filename="regress.h" line="1582"/>
+ <source-position filename="regress.h" line="1584"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7208,7 +7220,7 @@ Similar to:
- mm_modem_peek_ports() with structs
- gdk_query_visual_types() with enums
- gdk_event_get_axes() with doubles</doc>
- <source-position filename="regress.h" line="1576"/>
+ <source-position filename="regress.h" line="1578"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7237,7 +7249,7 @@ Similar to:
</function>
<function name="test_async_ready_callback"
c:identifier="regress_test_async_ready_callback">
- <source-position filename="regress.h" line="1230"/>
+ <source-position filename="regress.h" line="1232"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7288,7 +7300,7 @@ Similar to:
</function>
<function name="test_boxeds_not_a_method"
c:identifier="regress_test_boxeds_not_a_method">
- <source-position filename="regress.h" line="701"/>
+ <source-position filename="regress.h" line="703"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7300,7 +7312,7 @@ Similar to:
</function>
<function name="test_boxeds_not_a_static"
c:identifier="regress_test_boxeds_not_a_static">
- <source-position filename="regress.h" line="704"/>
+ <source-position filename="regress.h" line="706"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7366,7 +7378,7 @@ Similar to:
</return-value>
</function>
<function name="test_callback" c:identifier="regress_test_callback">
- <source-position filename="regress.h" line="1191"/>
+ <source-position filename="regress.h" line="1193"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7382,7 +7394,7 @@ Similar to:
</function>
<function name="test_callback_async"
c:identifier="regress_test_callback_async">
- <source-position filename="regress.h" line="1223"/>
+ <source-position filename="regress.h" line="1225"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7408,7 +7420,7 @@ Similar to:
filename="regress.c"
line="4055">Notified - callback persists until a DestroyNotify delegate
is invoked.</doc>
- <source-position filename="regress.h" line="1210"/>
+ <source-position filename="regress.h" line="1212"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7438,7 +7450,7 @@ is invoked.</doc>
filename="regress.c"
line="4082">Adds a scope notified callback with no user data. This can invoke an error
condition in bindings which needs to be tested.</doc>
- <source-position filename="regress.h" line="1215"/>
+ <source-position filename="regress.h" line="1217"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7457,7 +7469,7 @@ condition in bindings which needs to be tested.</doc>
</function>
<function name="test_callback_return_full"
c:identifier="regress_test_callback_return_full">
- <source-position filename="regress.h" line="1207"/>
+ <source-position filename="regress.h" line="1209"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -7470,7 +7482,7 @@ condition in bindings which needs to be tested.</doc>
</function>
<function name="test_callback_thaw_async"
c:identifier="regress_test_callback_thaw_async">
- <source-position filename="regress.h" line="1226"/>
+ <source-position filename="regress.h" line="1228"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7482,7 +7494,7 @@ condition in bindings which needs to be tested.</doc>
line="4096">Invokes all callbacks installed by #test_callback_destroy_notify(),
adding up their return values, and removes them, invoking the
corresponding destroy notfications.</doc>
- <source-position filename="regress.h" line="1219"/>
+ <source-position filename="regress.h" line="1221"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="regress.c"
@@ -7496,7 +7508,7 @@ corresponding destroy notfications.</doc>
filename="regress.c"
line="4024">Call - callback parameter persists for the duration of the method
call and can be released on return.</doc>
- <source-position filename="regress.h" line="1203"/>
+ <source-position filename="regress.h" line="1205"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -7568,7 +7580,7 @@ call and can be released on return.</doc>
</function>
<function name="test_create_fundamental_hidden_class_instance"
c:identifier="regress_test_create_fundamental_hidden_class_instance">
- <source-position filename="regress.h" line="1123"/>
+ <source-position filename="regress.h" line="1125"/>
<return-value transfer-ownership="full">
<type name="TestFundamentalObject"
c:type="RegressTestFundamentalObject*"/>
@@ -7576,7 +7588,7 @@ call and can be released on return.</doc>
</function>
<function name="test_date_in_gvalue"
c:identifier="regress_test_date_in_gvalue">
- <source-position filename="regress.h" line="1369"/>
+ <source-position filename="regress.h" line="1371"/>
<return-value transfer-ownership="full">
<type name="GObject.Value" c:type="GValue*"/>
</return-value>
@@ -7661,7 +7673,7 @@ call and can be released on return.</doc>
</function>
<function name="test_gerror_callback"
c:identifier="regress_test_gerror_callback">
- <source-position filename="regress.h" line="1248"/>
+ <source-position filename="regress.h" line="1250"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8124,7 +8136,7 @@ element-type annotation.</doc>
</function>
<function name="test_hash_table_callback"
c:identifier="regress_test_hash_table_callback">
- <source-position filename="regress.h" line="1245"/>
+ <source-position filename="regress.h" line="1247"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8242,7 +8254,7 @@ element-type annotation.</doc>
</function>
<function name="test_multi_callback"
c:identifier="regress_test_multi_callback">
- <source-position filename="regress.h" line="1194"/>
+ <source-position filename="regress.h" line="1196"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
@@ -8291,7 +8303,7 @@ It has multiple lines in the documentation.
The sky is blue.
You will give me your credit card number.</doc>
- <source-position filename="regress.h" line="1383"/>
+ <source-position filename="regress.h" line="1385"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8328,7 +8340,7 @@ rgb(20%, 30%, 0%)&lt;/literallayout&gt;&lt;/entry&gt;
&lt;/informaltable&gt;
What we're testing here is that the scanner ignores the @a nested inside XML.</doc>
- <source-position filename="regress.h" line="1386"/>
+ <source-position filename="regress.h" line="1388"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8343,7 +8355,7 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
</function>
<function name="test_noptr_callback"
c:identifier="regress_test_noptr_callback">
- <source-position filename="regress.h" line="1188"/>
+ <source-position filename="regress.h" line="1190"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8359,7 +8371,7 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
</function>
<function name="test_null_gerror_callback"
c:identifier="regress_test_null_gerror_callback">
- <source-position filename="regress.h" line="1251"/>
+ <source-position filename="regress.h" line="1253"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8371,14 +8383,14 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
</function>
<function name="test_null_strv_in_gvalue"
c:identifier="regress_test_null_strv_in_gvalue">
- <source-position filename="regress.h" line="1375"/>
+ <source-position filename="regress.h" line="1377"/>
<return-value transfer-ownership="full">
<type name="GObject.Value" c:type="GValue*"/>
</return-value>
</function>
<function name="test_owned_gerror_callback"
c:identifier="regress_test_owned_gerror_callback">
- <source-position filename="regress.h" line="1254"/>
+ <source-position filename="regress.h" line="1256"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8417,14 +8429,14 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
<function name="test_simple_boxed_a_const_return"
c:identifier="regress_test_simple_boxed_a_const_return"
moved-to="TestSimpleBoxedA.const_return">
- <source-position filename="regress.h" line="646"/>
+ <source-position filename="regress.h" line="648"/>
<return-value transfer-ownership="none">
<type name="TestSimpleBoxedA" c:type="const RegressTestSimpleBoxedA*"/>
</return-value>
</function>
<function name="test_simple_callback"
c:identifier="regress_test_simple_callback">
- <source-position filename="regress.h" line="1185"/>
+ <source-position filename="regress.h" line="1187"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8456,7 +8468,7 @@ What we're testing here is that the scanner ignores the @a nested inside XML.</d
filename="regress.c"
line="4277">Should not emit a warning:
https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
- <source-position filename="regress.h" line="1258"/>
+ <source-position filename="regress.h" line="1260"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8483,7 +8495,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
<function name="test_struct_a_parse"
c:identifier="regress_test_struct_a_parse"
moved-to="TestStructA.parse">
- <source-position filename="regress.h" line="551"/>
+ <source-position filename="regress.h" line="553"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8520,7 +8532,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
</function>
<function name="test_strv_in_gvalue"
c:identifier="regress_test_strv_in_gvalue">
- <source-position filename="regress.h" line="1372"/>
+ <source-position filename="regress.h" line="1374"/>
<return-value transfer-ownership="full">
<type name="GObject.Value" c:type="GValue*"/>
</return-value>
@@ -8579,7 +8591,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
</function>
<function name="test_torture_signature_0"
c:identifier="regress_test_torture_signature_0">
- <source-position filename="regress.h" line="1340"/>
+ <source-position filename="regress.h" line="1342"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8619,7 +8631,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
<doc xml:space="preserve"
filename="regress.c"
line="4497">This function throws an error if m is odd.</doc>
- <source-position filename="regress.h" line="1348"/>
+ <source-position filename="regress.h" line="1350"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@@ -8655,7 +8667,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
</function>
<function name="test_torture_signature_2"
c:identifier="regress_test_torture_signature_2">
- <source-position filename="regress.h" line="1357"/>
+ <source-position filename="regress.h" line="1359"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -8956,7 +8968,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
<function name="test_value_get_fundamental_object"
c:identifier="regress_test_value_get_fundamental_object"
introspectable="0">
- <source-position filename="regress.h" line="1063"/>
+ <source-position filename="regress.h" line="1065"/>
<return-value>
<type name="TestFundamentalObject"
c:type="RegressTestFundamentalObject*"/>
@@ -8988,7 +9000,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399</doc>
<function name="test_value_set_fundamental_object"
c:identifier="regress_test_value_set_fundamental_object"
introspectable="0">
- <source-position filename="regress.h" line="1060"/>
+ <source-position filename="regress.h" line="1062"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index 44789026..9a42bd71 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -524,6 +524,8 @@ GQuark regress_atest_error_quark (void);
#define REGRESS_BOOL_CONSTANT TRUE
#define REGRESS_G_GINT64_CONSTANT (G_GINT64_CONSTANT (1000))
#define REGRESS_GUINT64_CONSTANT ((guint64) -1)
+#define REGRESS_GOOD_EXPR_CONSTANT (1 + 2 * (3 + 2) << 3 - 4 >> REGRESS_ATEST_ERROR_CODE2)
+#define REGRESS_BAD_EXPR_CONSTANT (1 + SOMETHING_UNDEFINED)
typedef guint64 RegressTestTypeGUInt64;
#define REGRESS_GUINT64_CONSTANTA ((RegressTestTypeGUInt64) -1)