summaryrefslogtreecommitdiff
path: root/tests/objects/properties.c-expected
blob: 39dcbc1fa1fc99b9c65e5fb7c0f48514afb3853e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
/* objects_properties.c generated by valac, the Vala compiler
 * generated from objects_properties.vala, do not modify */

#include <glib-object.h>
#include <glib.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <gobject/gvaluecollector.h>

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

typedef void (*Delegate) (void);

#define TYPE_REAL_STRUCT (real_struct_get_type ())
typedef struct _RealStruct RealStruct;

#define TYPE_NON_PRIV_ACCESS (non_priv_access_get_type ())
#define NON_PRIV_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_NON_PRIV_ACCESS, NonPrivAccess))
#define NON_PRIV_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_NON_PRIV_ACCESS, NonPrivAccessClass))
#define IS_NON_PRIV_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_NON_PRIV_ACCESS))
#define IS_NON_PRIV_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_NON_PRIV_ACCESS))
#define NON_PRIV_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_NON_PRIV_ACCESS, NonPrivAccessClass))

typedef struct _NonPrivAccess NonPrivAccess;
typedef struct _NonPrivAccessClass NonPrivAccessClass;
typedef struct _NonPrivAccessPrivate NonPrivAccessPrivate;
enum  {
	NON_PRIV_ACCESS_0_PROPERTY,
	NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY,
	NON_PRIV_ACCESS_NUM_PROPERTIES
};
static GParamSpec* non_priv_access_properties[NON_PRIV_ACCESS_NUM_PROPERTIES];

#define TYPE_SAMPLE (sample_get_type ())
#define SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SAMPLE, Sample))
#define SAMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SAMPLE, SampleClass))
#define IS_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SAMPLE))
#define IS_SAMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SAMPLE))
#define SAMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SAMPLE, SampleClass))

typedef struct _Sample Sample;
typedef struct _SampleClass SampleClass;
typedef struct _SamplePrivate SamplePrivate;
enum  {
	SAMPLE_0_PROPERTY,
	SAMPLE_DELEG_PROPERTY,
	SAMPLE_NAME_PROPERTY,
	SAMPLE_READ_ONLY_PROPERTY,
	SAMPLE_PUBLIC_PROP_PROPERTY,
	SAMPLE_NUM_PROPERTIES
};
static GParamSpec* sample_properties[SAMPLE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))

#define MAMAN_TYPE_IBAZ (maman_ibaz_get_type ())
#define MAMAN_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_IBAZ, MamanIbaz))
#define MAMAN_IS_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_IBAZ))
#define MAMAN_IBAZ_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MAMAN_TYPE_IBAZ, MamanIbazIface))

typedef struct _MamanIbaz MamanIbaz;
typedef struct _MamanIbazIface MamanIbazIface;

#define MAMAN_TYPE_BAZ (maman_baz_get_type ())
#define MAMAN_BAZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAZ, MamanBaz))
#define MAMAN_BAZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAZ, MamanBazClass))
#define MAMAN_IS_BAZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAZ))
#define MAMAN_IS_BAZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAZ))
#define MAMAN_BAZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAZ, MamanBazClass))

typedef struct _MamanBaz MamanBaz;
typedef struct _MamanBazClass MamanBazClass;
#define _real_struct_free0(var) ((var == NULL) ? NULL : (var = (real_struct_free (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define MAMAN_TYPE_FOO (maman_foo_get_type ())
#define MAMAN_FOO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_FOO, MamanFoo))
#define MAMAN_FOO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_FOO, MamanFooClass))
#define MAMAN_IS_FOO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_FOO))
#define MAMAN_IS_FOO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_FOO))
#define MAMAN_FOO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_FOO, MamanFooClass))

typedef struct _MamanFoo MamanFoo;
typedef struct _MamanFooClass MamanFooClass;
typedef struct _MamanFooPrivate MamanFooPrivate;
enum  {
	MAMAN_FOO_0_PROPERTY,
	MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY,
	MAMAN_FOO_ABSTRACT_BASE_PROPERTY_PROPERTY,
	MAMAN_FOO_NUM_PROPERTIES
};
static GParamSpec* maman_foo_properties[MAMAN_FOO_NUM_PROPERTIES];
typedef enum  {
	FOO_ENUM_FOO
} FooEnum;

#define TYPE_FOO_ENUM (foo_enum_get_type ())

#define MAMAN_TYPE_ENUM_DEFAULT (maman_enum_default_get_type ())
#define MAMAN_ENUM_DEFAULT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_ENUM_DEFAULT, MamanEnumDefault))
#define MAMAN_ENUM_DEFAULT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_ENUM_DEFAULT, MamanEnumDefaultClass))
#define MAMAN_IS_ENUM_DEFAULT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_ENUM_DEFAULT))
#define MAMAN_IS_ENUM_DEFAULT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_ENUM_DEFAULT))
#define MAMAN_ENUM_DEFAULT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_ENUM_DEFAULT, MamanEnumDefaultClass))

typedef struct _MamanEnumDefault MamanEnumDefault;
typedef struct _MamanEnumDefaultClass MamanEnumDefaultClass;
typedef struct _MamanEnumDefaultPrivate MamanEnumDefaultPrivate;
typedef struct _MamanParamSpecEnumDefault MamanParamSpecEnumDefault;

#define MAMAN_TYPE_BAR (maman_bar_get_type ())
#define MAMAN_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAR, MamanBar))
#define MAMAN_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAR, MamanBarClass))
#define MAMAN_IS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAR))
#define MAMAN_IS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAR))
#define MAMAN_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAR, MamanBarClass))

typedef struct _MamanBar MamanBar;
typedef struct _MamanBarClass MamanBarClass;
typedef struct _MamanBarPrivate MamanBarPrivate;
enum  {
	MAMAN_BAR_0_PROPERTY,
	MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY,
	MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY,
	MAMAN_BAR_NUM_PROPERTIES
};
static GParamSpec* maman_bar_properties[MAMAN_BAR_NUM_PROPERTIES];
typedef struct _MamanBazPrivate MamanBazPrivate;
enum  {
	MAMAN_BAZ_0_PROPERTY,
	MAMAN_BAZ_NUMBER_PROPERTY,
	MAMAN_BAZ_NUM_PROPERTIES
};
static GParamSpec* maman_baz_properties[MAMAN_BAZ_NUM_PROPERTIES];

#define MAMAN_TYPE_IBIZ (maman_ibiz_get_type ())
#define MAMAN_IBIZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_IBIZ, MamanIBiz))
#define MAMAN_IS_IBIZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_IBIZ))
#define MAMAN_IBIZ_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MAMAN_TYPE_IBIZ, MamanIBizIface))

typedef struct _MamanIBiz MamanIBiz;
typedef struct _MamanIBizIface MamanIBizIface;

#define MAMAN_TYPE_ABIZ (maman_abiz_get_type ())
#define MAMAN_ABIZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_ABIZ, MamanABiz))
#define MAMAN_ABIZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_ABIZ, MamanABizClass))
#define MAMAN_IS_ABIZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_ABIZ))
#define MAMAN_IS_ABIZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_ABIZ))
#define MAMAN_ABIZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_ABIZ, MamanABizClass))

typedef struct _MamanABiz MamanABiz;
typedef struct _MamanABizClass MamanABizClass;
typedef struct _MamanABizPrivate MamanABizPrivate;
enum  {
	MAMAN_ABIZ_0_PROPERTY,
	MAMAN_ABIZ_NUMBER_PROPERTY,
	MAMAN_ABIZ_NUMBER2_PROPERTY,
	MAMAN_ABIZ_NUM_PROPERTIES
};
static GParamSpec* maman_abiz_properties[MAMAN_ABIZ_NUM_PROPERTIES];

#define MAMAN_TYPE_BIZ (maman_biz_get_type ())
#define MAMAN_BIZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BIZ, MamanBiz))
#define MAMAN_BIZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BIZ, MamanBizClass))
#define MAMAN_IS_BIZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BIZ))
#define MAMAN_IS_BIZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BIZ))
#define MAMAN_BIZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BIZ, MamanBizClass))

typedef struct _MamanBiz MamanBiz;
typedef struct _MamanBizClass MamanBizClass;
typedef struct _MamanBizPrivate MamanBizPrivate;
enum  {
	MAMAN_BIZ_0_PROPERTY,
	MAMAN_BIZ_NUMBER2_PROPERTY,
	MAMAN_BIZ_NUM_PROPERTIES
};
static GParamSpec* maman_biz_properties[MAMAN_BIZ_NUM_PROPERTIES];
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _RealStruct {
	gint field;
};

struct _NonPrivAccess {
	GObject parent_instance;
	NonPrivAccessPrivate * priv;
};

struct _NonPrivAccessClass {
	GObjectClass parent_class;
};

struct _NonPrivAccessPrivate {
	RealStruct _real_struct;
};

struct _Sample {
	GObject parent_instance;
	SamplePrivate * priv;
};

struct _SampleClass {
	GObjectClass parent_class;
};

struct _SamplePrivate {
	gchar* _automatic;
	Delegate _deleg;
	gchar* _name;
	gchar* _read_only;
	gint _public_prop;
	gint _private_prop;
	GRecMutex __lock_public_prop;
	GRecMutex __lock_private_prop;
};

struct _MamanIbazIface {
	GTypeInterface parent_iface;
	gint (*get_number) (MamanIbaz* self);
};

struct _MamanFoo {
	GObject parent_instance;
	MamanFooPrivate * priv;
};

struct _MamanFooClass {
	GObjectClass parent_class;
	gint (*get_abstract_base_property) (MamanFoo* self);
	void (*set_abstract_base_property) (MamanFoo* self, gint value);
};

struct _MamanFooPrivate {
	gint _public_base_property;
};

struct _MamanEnumDefault {
	GTypeInstance parent_instance;
	volatile int ref_count;
	MamanEnumDefaultPrivate * priv;
};

struct _MamanEnumDefaultClass {
	GTypeClass parent_class;
	void (*finalize) (MamanEnumDefault *self);
	FooEnum (*get_bar) (MamanEnumDefault* self);
};

struct _MamanParamSpecEnumDefault {
	GParamSpec parent_instance;
};

struct _MamanBar {
	MamanFoo parent_instance;
	MamanBarPrivate * priv;
};

struct _MamanBarClass {
	MamanFooClass parent_class;
};

struct _MamanBarPrivate {
	gint _public_property;
	gint _abstract_base_property;
};

struct _MamanBaz {
	GObject parent_instance;
	MamanBazPrivate * priv;
};

struct _MamanBazClass {
	GObjectClass parent_class;
};

struct _MamanIBizIface {
	GTypeInterface parent_iface;
	gint (*get_number) (MamanIBiz* self);
	void (*set_number) (MamanIBiz* self, gint value);
};

struct _MamanABiz {
	GObject parent_instance;
	MamanABizPrivate * priv;
};

struct _MamanABizClass {
	GObjectClass parent_class;
	gint (*get_number2) (MamanABiz* self);
	void (*set_number2) (MamanABiz* self, gint value);
};

struct _MamanABizPrivate {
	gint _number;
};

struct _MamanBiz {
	MamanABiz parent_instance;
	MamanBizPrivate * priv;
};

struct _MamanBizClass {
	MamanABizClass parent_class;
};

struct _MamanBizPrivate {
	gint _number2;
};

static gint NonPrivAccess_private_offset;
static gpointer non_priv_access_parent_class = NULL;
static gint Sample_private_offset;
static gpointer sample_parent_class = NULL;
static gint MamanFoo_private_offset;
static gpointer maman_foo_parent_class = NULL;
static gpointer maman_enum_default_parent_class = NULL;
static gint MamanBar_private_offset;
static gpointer maman_bar_parent_class = NULL;
static gpointer maman_baz_parent_class = NULL;
static MamanIbazIface * maman_baz_maman_ibaz_parent_iface = NULL;
static gint MamanABiz_private_offset;
static gpointer maman_abiz_parent_class = NULL;
static MamanIBizIface * maman_abiz_maman_ibiz_parent_iface = NULL;
static gint MamanBiz_private_offset;
static gpointer maman_biz_parent_class = NULL;

VALA_EXTERN GType real_struct_get_type (void) G_GNUC_CONST ;
VALA_EXTERN RealStruct* real_struct_dup (const RealStruct* self);
VALA_EXTERN void real_struct_free (RealStruct* self);
VALA_EXTERN GType non_priv_access_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (NonPrivAccess, g_object_unref)
VALA_EXTERN NonPrivAccess* non_priv_access_new (void);
VALA_EXTERN NonPrivAccess* non_priv_access_construct (GType object_type);
VALA_EXTERN void non_priv_access_get_real_struct (NonPrivAccess* self,
                                      RealStruct * result);
VALA_EXTERN void non_priv_access_set_real_struct (NonPrivAccess* self,
                                      RealStruct * value);
static gboolean _real_struct_equal (const RealStruct * s1,
                             const RealStruct * s2);
static void non_priv_access_finalize (GObject * obj);
static GType non_priv_access_get_type_once (void);
static void _vala_non_priv_access_get_property (GObject * object,
                                         guint property_id,
                                         GValue * value,
                                         GParamSpec * pspec);
static void _vala_non_priv_access_set_property (GObject * object,
                                         guint property_id,
                                         const GValue * value,
                                         GParamSpec * pspec);
VALA_EXTERN GType sample_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (Sample, g_object_unref)
VALA_EXTERN Sample* sample_new (const gchar* name);
VALA_EXTERN Sample* sample_construct (GType object_type,
                          const gchar* name);
VALA_EXTERN void sample_set_name (Sample* self,
                      const gchar* value);
VALA_EXTERN void sample_run (Sample* self);
static void __lambda4_ (Sample* self,
                 GObject* s,
                 GParamSpec* p);
static void ___lambda4__g_object_notify (GObject* _sender,
                                  GParamSpec* pspec,
                                  gpointer self);
static void sample_set_automatic (Sample* self,
                           const gchar* value);
static const gchar* sample_get_automatic (Sample* self);
VALA_EXTERN const gchar* sample_get_name (Sample* self);
VALA_EXTERN const gchar* sample_get_read_only (Sample* self);
VALA_EXTERN void sample_set_deleg (Sample* self,
                       Delegate value);
VALA_EXTERN gint sample_get_public_prop (Sample* self);
VALA_EXTERN void sample_set_public_prop (Sample* self,
                             gint value);
static gint sample_get_private_prop (Sample* self);
static void sample_set_private_prop (Sample* self,
                              gint value);
static gint sample_main (void);
VALA_EXTERN void maman_bar_run (void);
VALA_EXTERN GType maman_ibaz_get_type (void) G_GNUC_CONST ;
VALA_EXTERN MamanBaz* maman_baz_new (void);
VALA_EXTERN MamanBaz* maman_baz_construct (GType object_type);
VALA_EXTERN GType maman_baz_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanBaz, g_object_unref)
VALA_EXTERN void maman_ibaz_simple_method (MamanIbaz* self);
VALA_EXTERN Delegate sample_get_deleg (Sample* self);
static GObject * sample_constructor (GType type,
                              guint n_construct_properties,
                              GObjectConstructParam * construct_properties);
static void sample_finalize (GObject * obj);
static GType sample_get_type_once (void);
static void _vala_sample_get_property (GObject * object,
                                guint property_id,
                                GValue * value,
                                GParamSpec * pspec);
static void _vala_sample_set_property (GObject * object,
                                guint property_id,
                                const GValue * value,
                                GParamSpec * pspec);
VALA_EXTERN GType maman_foo_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanFoo, g_object_unref)
VALA_EXTERN MamanFoo* maman_foo_construct (GType object_type);
VALA_EXTERN gint maman_foo_get_public_base_property (MamanFoo* self);
VALA_EXTERN void maman_foo_set_public_base_property (MamanFoo* self,
                                         gint value);
VALA_EXTERN gint maman_foo_get_abstract_base_property (MamanFoo* self);
VALA_EXTERN void maman_foo_set_abstract_base_property (MamanFoo* self,
                                           gint value);
static void maman_foo_finalize (GObject * obj);
static GType maman_foo_get_type_once (void);
static void _vala_maman_foo_get_property (GObject * object,
                                   guint property_id,
                                   GValue * value,
                                   GParamSpec * pspec);
static void _vala_maman_foo_set_property (GObject * object,
                                   guint property_id,
                                   const GValue * value,
                                   GParamSpec * pspec);
VALA_EXTERN GType foo_enum_get_type (void) G_GNUC_CONST ;
VALA_EXTERN gpointer maman_enum_default_ref (gpointer instance);
VALA_EXTERN void maman_enum_default_unref (gpointer instance);
VALA_EXTERN GParamSpec* maman_param_spec_enum_default (const gchar* name,
                                           const gchar* nick,
                                           const gchar* blurb,
                                           GType object_type,
                                           GParamFlags flags);
VALA_EXTERN void maman_value_set_enum_default (GValue* value,
                                   gpointer v_object);
VALA_EXTERN void maman_value_take_enum_default (GValue* value,
                                    gpointer v_object);
VALA_EXTERN gpointer maman_value_get_enum_default (const GValue* value);
VALA_EXTERN GType maman_enum_default_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanEnumDefault, maman_enum_default_unref)
VALA_EXTERN MamanEnumDefault* maman_enum_default_construct (GType object_type);
VALA_EXTERN FooEnum maman_enum_default_get_bar (MamanEnumDefault* self);
static void maman_enum_default_finalize (MamanEnumDefault * obj);
static GType maman_enum_default_get_type_once (void);
VALA_EXTERN GType maman_bar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanBar, g_object_unref)
static void maman_bar_do_action (MamanBar* self);
VALA_EXTERN gint maman_bar_get_public_property (MamanBar* self);
VALA_EXTERN void maman_bar_set_public_property (MamanBar* self,
                                    gint value);
VALA_EXTERN MamanBar* maman_bar_new (void);
VALA_EXTERN MamanBar* maman_bar_construct (GType object_type);
static void maman_bar_finalize (GObject * obj);
static GType maman_bar_get_type_once (void);
static void _vala_maman_bar_get_property (GObject * object,
                                   guint property_id,
                                   GValue * value,
                                   GParamSpec * pspec);
static void _vala_maman_bar_set_property (GObject * object,
                                   guint property_id,
                                   const GValue * value,
                                   GParamSpec * pspec);
VALA_EXTERN gint maman_ibaz_get_number (MamanIbaz* self);
static GType maman_ibaz_get_type_once (void);
static GType maman_baz_get_type_once (void);
static void _vala_maman_baz_get_property (GObject * object,
                                   guint property_id,
                                   GValue * value,
                                   GParamSpec * pspec);
VALA_EXTERN GType maman_ibiz_get_type (void) G_GNUC_CONST ;
VALA_EXTERN gint maman_ibiz_get_number (MamanIBiz* self);
VALA_EXTERN void maman_ibiz_set_number (MamanIBiz* self,
                            gint value);
static GType maman_ibiz_get_type_once (void);
VALA_EXTERN GType maman_abiz_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanABiz, g_object_unref)
VALA_EXTERN MamanABiz* maman_abiz_construct (GType object_type);
VALA_EXTERN gint maman_abiz_get_number2 (MamanABiz* self);
VALA_EXTERN void maman_abiz_set_number2 (MamanABiz* self,
                             gint value);
static void maman_abiz_finalize (GObject * obj);
static GType maman_abiz_get_type_once (void);
static void _vala_maman_abiz_get_property (GObject * object,
                                    guint property_id,
                                    GValue * value,
                                    GParamSpec * pspec);
static void _vala_maman_abiz_set_property (GObject * object,
                                    guint property_id,
                                    const GValue * value,
                                    GParamSpec * pspec);
VALA_EXTERN GType maman_biz_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MamanBiz, g_object_unref)
VALA_EXTERN MamanBiz* maman_biz_new (void);
VALA_EXTERN MamanBiz* maman_biz_construct (GType object_type);
static void maman_biz_finalize (GObject * obj);
static GType maman_biz_get_type_once (void);
static void _vala_maman_biz_get_property (GObject * object,
                                   guint property_id,
                                   GValue * value,
                                   GParamSpec * pspec);
static void _vala_maman_biz_set_property (GObject * object,
                                   guint property_id,
                                   const GValue * value,
                                   GParamSpec * pspec);

RealStruct*
real_struct_dup (const RealStruct* self)
{
	RealStruct* dup;
	dup = g_new0 (RealStruct, 1);
	memcpy (dup, self, sizeof (RealStruct));
	return dup;
}

void
real_struct_free (RealStruct* self)
{
	g_free (self);
}

static GType
real_struct_get_type_once (void)
{
	GType real_struct_type_id;
	real_struct_type_id = g_boxed_type_register_static ("RealStruct", (GBoxedCopyFunc) real_struct_dup, (GBoxedFreeFunc) real_struct_free);
	return real_struct_type_id;
}

GType
real_struct_get_type (void)
{
	static volatile gsize real_struct_type_id__volatile = 0;
	if (g_once_init_enter (&real_struct_type_id__volatile)) {
		GType real_struct_type_id;
		real_struct_type_id = real_struct_get_type_once ();
		g_once_init_leave (&real_struct_type_id__volatile, real_struct_type_id);
	}
	return real_struct_type_id__volatile;
}

static inline gpointer
non_priv_access_get_instance_private (NonPrivAccess* self)
{
	return G_STRUCT_MEMBER_P (self, NonPrivAccess_private_offset);
}

NonPrivAccess*
non_priv_access_construct (GType object_type)
{
	NonPrivAccess * self = NULL;
	self = (NonPrivAccess*) g_object_new (object_type, NULL);
	return self;
}

NonPrivAccess*
non_priv_access_new (void)
{
	return non_priv_access_construct (TYPE_NON_PRIV_ACCESS);
}

void
non_priv_access_get_real_struct (NonPrivAccess* self,
                                 RealStruct * result)
{
	RealStruct _tmp0_;
	g_return_if_fail (IS_NON_PRIV_ACCESS (self));
	_tmp0_ = self->priv->_real_struct;
	*result = _tmp0_;
	return;
}

static gboolean
_real_struct_equal (const RealStruct * s1,
                    const RealStruct * s2)
{
	if (s1 == s2) {
		return TRUE;
	}
	if (s1 == NULL) {
		return FALSE;
	}
	if (s2 == NULL) {
		return FALSE;
	}
	if (s1->field != s2->field) {
		return FALSE;
	}
	return TRUE;
}

void
non_priv_access_set_real_struct (NonPrivAccess* self,
                                 RealStruct * value)
{
	RealStruct old_value;
	g_return_if_fail (IS_NON_PRIV_ACCESS (self));
	non_priv_access_get_real_struct (self, &old_value);
	if (_real_struct_equal (value, &old_value) != TRUE) {
		RealStruct _tmp0_;
		_tmp0_ = *value;
		self->priv->_real_struct = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, non_priv_access_properties[NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY]);
	}
}

static void
non_priv_access_class_init (NonPrivAccessClass * klass,
                            gpointer klass_data)
{
	non_priv_access_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &NonPrivAccess_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_non_priv_access_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_non_priv_access_set_property;
	G_OBJECT_CLASS (klass)->finalize = non_priv_access_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY, non_priv_access_properties[NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY] = g_param_spec_boxed ("real-struct", "real-struct", "real-struct", TYPE_REAL_STRUCT, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

static void
non_priv_access_instance_init (NonPrivAccess * self,
                               gpointer klass)
{
	self->priv = non_priv_access_get_instance_private (self);
}

static void
non_priv_access_finalize (GObject * obj)
{
	NonPrivAccess * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_NON_PRIV_ACCESS, NonPrivAccess);
	G_OBJECT_CLASS (non_priv_access_parent_class)->finalize (obj);
}

static GType
non_priv_access_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (NonPrivAccessClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) non_priv_access_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (NonPrivAccess), 0, (GInstanceInitFunc) non_priv_access_instance_init, NULL };
	GType non_priv_access_type_id;
	non_priv_access_type_id = g_type_register_static (G_TYPE_OBJECT, "NonPrivAccess", &g_define_type_info, 0);
	NonPrivAccess_private_offset = g_type_add_instance_private (non_priv_access_type_id, sizeof (NonPrivAccessPrivate));
	return non_priv_access_type_id;
}

GType
non_priv_access_get_type (void)
{
	static volatile gsize non_priv_access_type_id__volatile = 0;
	if (g_once_init_enter (&non_priv_access_type_id__volatile)) {
		GType non_priv_access_type_id;
		non_priv_access_type_id = non_priv_access_get_type_once ();
		g_once_init_leave (&non_priv_access_type_id__volatile, non_priv_access_type_id);
	}
	return non_priv_access_type_id__volatile;
}

static void
_vala_non_priv_access_get_property (GObject * object,
                                    guint property_id,
                                    GValue * value,
                                    GParamSpec * pspec)
{
	NonPrivAccess * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_NON_PRIV_ACCESS, NonPrivAccess);
	switch (property_id) {
		case NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY:
		{
			RealStruct boxed;
			non_priv_access_get_real_struct (self, &boxed);
			g_value_set_boxed (value, &boxed);
		}
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_non_priv_access_set_property (GObject * object,
                                    guint property_id,
                                    const GValue * value,
                                    GParamSpec * pspec)
{
	NonPrivAccess * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_NON_PRIV_ACCESS, NonPrivAccess);
	switch (property_id) {
		case NON_PRIV_ACCESS_REAL_STRUCT_PROPERTY:
		non_priv_access_set_real_struct (self, g_value_get_boxed (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
sample_get_instance_private (Sample* self)
{
	return G_STRUCT_MEMBER_P (self, Sample_private_offset);
}

Sample*
sample_construct (GType object_type,
                  const gchar* name)
{
	Sample * self = NULL;
	g_return_val_if_fail (name != NULL, NULL);
	self = (Sample*) g_object_new (object_type, NULL);
	sample_set_name (self, name);
	return self;
}

Sample*
sample_new (const gchar* name)
{
	return sample_construct (TYPE_SAMPLE, name);
}

static void
__lambda4_ (Sample* self,
            GObject* s,
            GParamSpec* p)
{
	FILE* _tmp0_;
	const gchar* _tmp1_;
	g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (s, G_TYPE_OBJECT));
	g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (p, G_TYPE_PARAM));
	_tmp0_ = stdout;
	_tmp1_ = p->name;
	fprintf (_tmp0_, "property `%s' has changed!\n", _tmp1_);
}

static void
___lambda4__g_object_notify (GObject* _sender,
                             GParamSpec* pspec,
                             gpointer self)
{
	__lambda4_ ((Sample*) self, _sender, pspec);
}

void
sample_run (Sample* self)
{
	FILE* _tmp0_;
	const gchar* _tmp1_;
	FILE* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	FILE* _tmp5_;
	const gchar* _tmp6_;
	const gchar* _tmp7_;
	FILE* _tmp8_;
	const gchar* _tmp9_;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (IS_SAMPLE (self));
	g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, G_TYPE_OBJECT, GObject), "notify", (GCallback) ___lambda4__g_object_notify, self, 0);
	sample_set_automatic (self, "TheNewAutomatic");
	sample_set_name (self, "TheNewName");
	_tmp0_ = stdout;
	_tmp1_ = self->priv->_automatic;
	fprintf (_tmp0_, "automatic: %s\n", _tmp1_);
	_tmp2_ = stdout;
	_tmp3_ = sample_get_name (self);
	_tmp4_ = _tmp3_;
	fprintf (_tmp2_, "name: %s\n", _tmp4_);
	_tmp5_ = stdout;
	_tmp6_ = sample_get_read_only (self);
	_tmp7_ = _tmp6_;
	fprintf (_tmp5_, "read_only: %s\n", _tmp7_);
	_tmp8_ = stdout;
	_tmp9_ = self->priv->_automatic;
	fprintf (_tmp8_, "automatic: %s\n", _tmp9_);
	sample_set_deleg (self, NULL);
	{
		gint _tmp10_;
		_tmp10_ = self->priv->_public_prop;
		g_rec_mutex_lock (&self->priv->__lock_public_prop);
		{
			sample_set_public_prop (self, 42);
		}
		__finally0:
		{
			gint _tmp11_;
			_tmp11_ = self->priv->_public_prop;
			g_rec_mutex_unlock (&self->priv->__lock_public_prop);
		}
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	{
		gint _tmp12_;
		_tmp12_ = self->priv->_private_prop;
		g_rec_mutex_lock (&self->priv->__lock_private_prop);
		{
			sample_set_private_prop (self, 42);
		}
		__finally1:
		{
			gint _tmp13_;
			_tmp13_ = self->priv->_private_prop;
			g_rec_mutex_unlock (&self->priv->__lock_private_prop);
		}
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
}

static gint
sample_main (void)
{
	Sample* test = NULL;
	Sample* _tmp0_;
	FILE* _tmp1_;
	MamanIbaz* ibaz = NULL;
	MamanBaz* _tmp2_;
	FILE* _tmp3_;
	NonPrivAccess* nonpriv = NULL;
	NonPrivAccess* _tmp4_;
	RealStruct _tmp5_ = {0};
	RealStruct* _tmp6_;
	RealStruct* _tmp7_;
	RealStruct* _tmp8_;
	gint result;
	_tmp0_ = sample_new ("InitialName");
	test = _tmp0_;
	sample_run (test);
	maman_bar_run ();
	_tmp1_ = stdout;
	fprintf (_tmp1_, "Interface Properties Test: 1");
	_tmp2_ = maman_baz_new ();
	ibaz = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, MAMAN_TYPE_IBAZ, MamanIbaz);
	maman_ibaz_simple_method (ibaz);
	_tmp3_ = stdout;
	fprintf (_tmp3_, " 3\n");
	_tmp4_ = non_priv_access_new ();
	nonpriv = _tmp4_;
	_tmp5_.field = 10;
	g_object_set (nonpriv, "real-struct", &_tmp5_, NULL);
	g_object_get (nonpriv, "real-struct", &_tmp6_, NULL);
	_tmp7_ = _tmp6_;
	_tmp8_ = _tmp7_;
	_vala_assert ((*_tmp8_).field == 10, "nonpriv.real_struct.field == 10");
	_real_struct_free0 (_tmp8_);
	result = 0;
	_g_object_unref0 (nonpriv);
	_g_object_unref0 (ibaz);
	_g_object_unref0 (test);
	return result;
}

int
main (int argc,
      char ** argv)
{
	return sample_main ();
}

static const gchar*
sample_get_automatic (Sample* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (IS_SAMPLE (self), NULL);
	_tmp0_ = self->priv->_automatic;
	result = _tmp0_;
	return result;
}

static void
sample_set_automatic (Sample* self,
                      const gchar* value)
{
	gchar* _tmp0_;
	g_return_if_fail (IS_SAMPLE (self));
	_tmp0_ = g_strdup (value);
	_g_free0 (self->priv->_automatic);
	self->priv->_automatic = _tmp0_;
}

Delegate
sample_get_deleg (Sample* self)
{
	Delegate result;
	Delegate _tmp0_;
	g_return_val_if_fail (IS_SAMPLE (self), NULL);
	_tmp0_ = self->priv->_deleg;
	result = _tmp0_;
	return result;
}

void
sample_set_deleg (Sample* self,
                  Delegate value)
{
	Delegate old_value;
	g_return_if_fail (IS_SAMPLE (self));
	old_value = sample_get_deleg (self);
	if (old_value != value) {
		Delegate _tmp0_;
		_tmp0_ = value;
		value = NULL;
		self->priv->_deleg = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sample_properties[SAMPLE_DELEG_PROPERTY]);
	}
}

const gchar*
sample_get_name (Sample* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (IS_SAMPLE (self), NULL);
	_tmp0_ = self->priv->_name;
	result = _tmp0_;
	return result;
}

void
sample_set_name (Sample* self,
                 const gchar* value)
{
	gchar* _tmp0_;
	g_return_if_fail (IS_SAMPLE (self));
	_tmp0_ = g_strdup (value);
	_g_free0 (self->priv->_name);
	self->priv->_name = _tmp0_;
	g_object_notify_by_pspec ((GObject *) self, sample_properties[SAMPLE_NAME_PROPERTY]);
}

const gchar*
sample_get_read_only (Sample* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (IS_SAMPLE (self), NULL);
	_tmp0_ = self->priv->_read_only;
	result = _tmp0_;
	return result;
}

gint
sample_get_public_prop (Sample* self)
{
	gint result;
	g_return_val_if_fail (IS_SAMPLE (self), 0);
	result = self->priv->_public_prop;
	return result;
}

void
sample_set_public_prop (Sample* self,
                        gint value)
{
	gint old_value;
	g_return_if_fail (IS_SAMPLE (self));
	old_value = sample_get_public_prop (self);
	if (old_value != value) {
		self->priv->_public_prop = value;
		g_object_notify_by_pspec ((GObject *) self, sample_properties[SAMPLE_PUBLIC_PROP_PROPERTY]);
	}
}

static gint
sample_get_private_prop (Sample* self)
{
	gint result;
	g_return_val_if_fail (IS_SAMPLE (self), 0);
	result = self->priv->_private_prop;
	return result;
}

static void
sample_set_private_prop (Sample* self,
                         gint value)
{
	g_return_if_fail (IS_SAMPLE (self));
	self->priv->_private_prop = value;
}

static GObject *
sample_constructor (GType type,
                    guint n_construct_properties,
                    GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	Sample * self;
	gchar* _tmp0_;
	gchar* _tmp1_;
	parent_class = G_OBJECT_CLASS (sample_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SAMPLE, Sample);
	_tmp0_ = g_strdup ("InitialAutomatic");
	_g_free0 (self->priv->_automatic);
	self->priv->_automatic = _tmp0_;
	_tmp1_ = g_strdup ("InitialReadOnly");
	_g_free0 (self->priv->_read_only);
	self->priv->_read_only = _tmp1_;
	return obj;
}

static void
sample_class_init (SampleClass * klass,
                   gpointer klass_data)
{
	sample_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &Sample_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_sample_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_sample_set_property;
	G_OBJECT_CLASS (klass)->constructor = sample_constructor;
	G_OBJECT_CLASS (klass)->finalize = sample_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), SAMPLE_DELEG_PROPERTY, sample_properties[SAMPLE_DELEG_PROPERTY] = g_param_spec_pointer ("deleg", "deleg", "deleg", G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SAMPLE_NAME_PROPERTY, sample_properties[SAMPLE_NAME_PROPERTY] = g_param_spec_string ("name", "name", "name", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SAMPLE_READ_ONLY_PROPERTY, sample_properties[SAMPLE_READ_ONLY_PROPERTY] = g_param_spec_string ("read-only", "read-only", "read-only", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SAMPLE_PUBLIC_PROP_PROPERTY, sample_properties[SAMPLE_PUBLIC_PROP_PROPERTY] = g_param_spec_int ("public-prop", "public-prop", "public-prop", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

static void
sample_instance_init (Sample * self,
                      gpointer klass)
{
	self->priv = sample_get_instance_private (self);
	g_rec_mutex_init (&self->priv->__lock_public_prop);
	g_rec_mutex_init (&self->priv->__lock_private_prop);
}

static void
sample_finalize (GObject * obj)
{
	Sample * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SAMPLE, Sample);
	_g_free0 (self->priv->_automatic);
	_g_free0 (self->priv->_name);
	_g_free0 (self->priv->_read_only);
	g_rec_mutex_clear (&self->priv->__lock_public_prop);
	g_rec_mutex_clear (&self->priv->__lock_private_prop);
	G_OBJECT_CLASS (sample_parent_class)->finalize (obj);
}

static GType
sample_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (SampleClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) sample_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Sample), 0, (GInstanceInitFunc) sample_instance_init, NULL };
	GType sample_type_id;
	sample_type_id = g_type_register_static (G_TYPE_OBJECT, "Sample", &g_define_type_info, 0);
	Sample_private_offset = g_type_add_instance_private (sample_type_id, sizeof (SamplePrivate));
	return sample_type_id;
}

GType
sample_get_type (void)
{
	static volatile gsize sample_type_id__volatile = 0;
	if (g_once_init_enter (&sample_type_id__volatile)) {
		GType sample_type_id;
		sample_type_id = sample_get_type_once ();
		g_once_init_leave (&sample_type_id__volatile, sample_type_id);
	}
	return sample_type_id__volatile;
}

static void
_vala_sample_get_property (GObject * object,
                           guint property_id,
                           GValue * value,
                           GParamSpec * pspec)
{
	Sample * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SAMPLE, Sample);
	switch (property_id) {
		case SAMPLE_DELEG_PROPERTY:
		g_value_set_pointer (value, sample_get_deleg (self));
		break;
		case SAMPLE_NAME_PROPERTY:
		g_value_set_string (value, sample_get_name (self));
		break;
		case SAMPLE_READ_ONLY_PROPERTY:
		g_value_set_string (value, sample_get_read_only (self));
		break;
		case SAMPLE_PUBLIC_PROP_PROPERTY:
		g_value_set_int (value, sample_get_public_prop (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_sample_set_property (GObject * object,
                           guint property_id,
                           const GValue * value,
                           GParamSpec * pspec)
{
	Sample * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SAMPLE, Sample);
	switch (property_id) {
		case SAMPLE_DELEG_PROPERTY:
		sample_set_deleg (self, g_value_get_pointer (value));
		break;
		case SAMPLE_NAME_PROPERTY:
		sample_set_name (self, g_value_get_string (value));
		break;
		case SAMPLE_PUBLIC_PROP_PROPERTY:
		sample_set_public_prop (self, g_value_get_int (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
maman_foo_get_instance_private (MamanFoo* self)
{
	return G_STRUCT_MEMBER_P (self, MamanFoo_private_offset);
}

MamanFoo*
maman_foo_construct (GType object_type)
{
	MamanFoo * self = NULL;
	self = (MamanFoo*) g_object_new (object_type, NULL);
	return self;
}

gint
maman_foo_get_public_base_property (MamanFoo* self)
{
	gint result;
	g_return_val_if_fail (MAMAN_IS_FOO (self), 0);
	result = self->priv->_public_base_property;
	return result;
}

void
maman_foo_set_public_base_property (MamanFoo* self,
                                    gint value)
{
	g_return_if_fail (MAMAN_IS_FOO (self));
	self->priv->_public_base_property = value;
	g_object_notify_by_pspec ((GObject *) self, maman_foo_properties[MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY]);
}

gint
maman_foo_get_abstract_base_property (MamanFoo* self)
{
	MamanFooClass* _klass_;
	g_return_val_if_fail (MAMAN_IS_FOO (self), 0);
	_klass_ = MAMAN_FOO_GET_CLASS (self);
	if (_klass_->get_abstract_base_property) {
		return _klass_->get_abstract_base_property (self);
	}
	return -1;
}

void
maman_foo_set_abstract_base_property (MamanFoo* self,
                                      gint value)
{
	MamanFooClass* _klass_;
	g_return_if_fail (MAMAN_IS_FOO (self));
	_klass_ = MAMAN_FOO_GET_CLASS (self);
	if (_klass_->set_abstract_base_property) {
		_klass_->set_abstract_base_property (self, value);
	}
}

static void
maman_foo_class_init (MamanFooClass * klass,
                      gpointer klass_data)
{
	maman_foo_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &MamanFoo_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_maman_foo_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_maman_foo_set_property;
	G_OBJECT_CLASS (klass)->finalize = maman_foo_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY, maman_foo_properties[MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY] = g_param_spec_int ("public-base-property", "public-base-property", "public-base-property", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_FOO_ABSTRACT_BASE_PROPERTY_PROPERTY, maman_foo_properties[MAMAN_FOO_ABSTRACT_BASE_PROPERTY_PROPERTY] = g_param_spec_int ("abstract-base-property", "abstract-base-property", "abstract-base-property", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

static void
maman_foo_instance_init (MamanFoo * self,
                         gpointer klass)
{
	self->priv = maman_foo_get_instance_private (self);
	self->priv->_public_base_property = 2;
}

static void
maman_foo_finalize (GObject * obj)
{
	MamanFoo * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAMAN_TYPE_FOO, MamanFoo);
	G_OBJECT_CLASS (maman_foo_parent_class)->finalize (obj);
}

static GType
maman_foo_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanFooClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_foo_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanFoo), 0, (GInstanceInitFunc) maman_foo_instance_init, NULL };
	GType maman_foo_type_id;
	maman_foo_type_id = g_type_register_static (G_TYPE_OBJECT, "MamanFoo", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
	MamanFoo_private_offset = g_type_add_instance_private (maman_foo_type_id, sizeof (MamanFooPrivate));
	return maman_foo_type_id;
}

GType
maman_foo_get_type (void)
{
	static volatile gsize maman_foo_type_id__volatile = 0;
	if (g_once_init_enter (&maman_foo_type_id__volatile)) {
		GType maman_foo_type_id;
		maman_foo_type_id = maman_foo_get_type_once ();
		g_once_init_leave (&maman_foo_type_id__volatile, maman_foo_type_id);
	}
	return maman_foo_type_id__volatile;
}

static void
_vala_maman_foo_get_property (GObject * object,
                              guint property_id,
                              GValue * value,
                              GParamSpec * pspec)
{
	MamanFoo * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_FOO, MamanFoo);
	switch (property_id) {
		case MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY:
		g_value_set_int (value, maman_foo_get_public_base_property (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_maman_foo_set_property (GObject * object,
                              guint property_id,
                              const GValue * value,
                              GParamSpec * pspec)
{
	MamanFoo * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_FOO, MamanFoo);
	switch (property_id) {
		case MAMAN_FOO_PUBLIC_BASE_PROPERTY_PROPERTY:
		maman_foo_set_public_base_property (self, g_value_get_int (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static GType
foo_enum_get_type_once (void)
{
	static const GEnumValue values[] = {{FOO_ENUM_FOO, "FOO_ENUM_FOO", "foo"}, {0, NULL, NULL}};
	GType foo_enum_type_id;
	foo_enum_type_id = g_enum_register_static ("FooEnum", values);
	return foo_enum_type_id;
}

GType
foo_enum_get_type (void)
{
	static volatile gsize foo_enum_type_id__volatile = 0;
	if (g_once_init_enter (&foo_enum_type_id__volatile)) {
		GType foo_enum_type_id;
		foo_enum_type_id = foo_enum_get_type_once ();
		g_once_init_leave (&foo_enum_type_id__volatile, foo_enum_type_id);
	}
	return foo_enum_type_id__volatile;
}

MamanEnumDefault*
maman_enum_default_construct (GType object_type)
{
	MamanEnumDefault* self = NULL;
	self = (MamanEnumDefault*) g_type_create_instance (object_type);
	return self;
}

FooEnum
maman_enum_default_get_bar (MamanEnumDefault* self)
{
	MamanEnumDefaultClass* _klass_;
	g_return_val_if_fail (MAMAN_IS_ENUM_DEFAULT (self), 0);
	_klass_ = MAMAN_ENUM_DEFAULT_GET_CLASS (self);
	if (_klass_->get_bar) {
		return _klass_->get_bar (self);
	}
	return 0;
}

static void
maman_value_enum_default_init (GValue* value)
{
	value->data[0].v_pointer = NULL;
}

static void
maman_value_enum_default_free_value (GValue* value)
{
	if (value->data[0].v_pointer) {
		maman_enum_default_unref (value->data[0].v_pointer);
	}
}

static void
maman_value_enum_default_copy_value (const GValue* src_value,
                                     GValue* dest_value)
{
	if (src_value->data[0].v_pointer) {
		dest_value->data[0].v_pointer = maman_enum_default_ref (src_value->data[0].v_pointer);
	} else {
		dest_value->data[0].v_pointer = NULL;
	}
}

static gpointer
maman_value_enum_default_peek_pointer (const GValue* value)
{
	return value->data[0].v_pointer;
}

static gchar*
maman_value_enum_default_collect_value (GValue* value,
                                        guint n_collect_values,
                                        GTypeCValue* collect_values,
                                        guint collect_flags)
{
	if (collect_values[0].v_pointer) {
		MamanEnumDefault * object;
		object = collect_values[0].v_pointer;
		if (object->parent_instance.g_class == NULL) {
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
		}
		value->data[0].v_pointer = maman_enum_default_ref (object);
	} else {
		value->data[0].v_pointer = NULL;
	}
	return NULL;
}

static gchar*
maman_value_enum_default_lcopy_value (const GValue* value,
                                      guint n_collect_values,
                                      GTypeCValue* collect_values,
                                      guint collect_flags)
{
	MamanEnumDefault ** object_p;
	object_p = collect_values[0].v_pointer;
	if (!object_p) {
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
	}
	if (!value->data[0].v_pointer) {
		*object_p = NULL;
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
		*object_p = value->data[0].v_pointer;
	} else {
		*object_p = maman_enum_default_ref (value->data[0].v_pointer);
	}
	return NULL;
}

GParamSpec*
maman_param_spec_enum_default (const gchar* name,
                               const gchar* nick,
                               const gchar* blurb,
                               GType object_type,
                               GParamFlags flags)
{
	MamanParamSpecEnumDefault* spec;
	g_return_val_if_fail (g_type_is_a (object_type, MAMAN_TYPE_ENUM_DEFAULT), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}

gpointer
maman_value_get_enum_default (const GValue* value)
{
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MAMAN_TYPE_ENUM_DEFAULT), NULL);
	return value->data[0].v_pointer;
}

void
maman_value_set_enum_default (GValue* value,
                              gpointer v_object)
{
	MamanEnumDefault * old;
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MAMAN_TYPE_ENUM_DEFAULT));
	old = value->data[0].v_pointer;
	if (v_object) {
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, MAMAN_TYPE_ENUM_DEFAULT));
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
		value->data[0].v_pointer = v_object;
		maman_enum_default_ref (value->data[0].v_pointer);
	} else {
		value->data[0].v_pointer = NULL;
	}
	if (old) {
		maman_enum_default_unref (old);
	}
}

void
maman_value_take_enum_default (GValue* value,
                               gpointer v_object)
{
	MamanEnumDefault * old;
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MAMAN_TYPE_ENUM_DEFAULT));
	old = value->data[0].v_pointer;
	if (v_object) {
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, MAMAN_TYPE_ENUM_DEFAULT));
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
		value->data[0].v_pointer = v_object;
	} else {
		value->data[0].v_pointer = NULL;
	}
	if (old) {
		maman_enum_default_unref (old);
	}
}

static void
maman_enum_default_class_init (MamanEnumDefaultClass * klass,
                               gpointer klass_data)
{
	maman_enum_default_parent_class = g_type_class_peek_parent (klass);
	((MamanEnumDefaultClass *) klass)->finalize = maman_enum_default_finalize;
}

static void
maman_enum_default_instance_init (MamanEnumDefault * self,
                                  gpointer klass)
{
	self->ref_count = 1;
}

static void
maman_enum_default_finalize (MamanEnumDefault * obj)
{
	MamanEnumDefault * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAMAN_TYPE_ENUM_DEFAULT, MamanEnumDefault);
	g_signal_handlers_destroy (self);
}

static GType
maman_enum_default_get_type_once (void)
{
	static const GTypeValueTable g_define_type_value_table = { maman_value_enum_default_init, maman_value_enum_default_free_value, maman_value_enum_default_copy_value, maman_value_enum_default_peek_pointer, "p", maman_value_enum_default_collect_value, "p", maman_value_enum_default_lcopy_value };
	static const GTypeInfo g_define_type_info = { sizeof (MamanEnumDefaultClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_enum_default_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanEnumDefault), 0, (GInstanceInitFunc) maman_enum_default_instance_init, &g_define_type_value_table };
	static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
	GType maman_enum_default_type_id;
	maman_enum_default_type_id = g_type_register_fundamental (g_type_fundamental_next (), "MamanEnumDefault", &g_define_type_info, &g_define_type_fundamental_info, G_TYPE_FLAG_ABSTRACT);
	return maman_enum_default_type_id;
}

GType
maman_enum_default_get_type (void)
{
	static volatile gsize maman_enum_default_type_id__volatile = 0;
	if (g_once_init_enter (&maman_enum_default_type_id__volatile)) {
		GType maman_enum_default_type_id;
		maman_enum_default_type_id = maman_enum_default_get_type_once ();
		g_once_init_leave (&maman_enum_default_type_id__volatile, maman_enum_default_type_id);
	}
	return maman_enum_default_type_id__volatile;
}

gpointer
maman_enum_default_ref (gpointer instance)
{
	MamanEnumDefault * self;
	self = instance;
	g_atomic_int_inc (&self->ref_count);
	return instance;
}

void
maman_enum_default_unref (gpointer instance)
{
	MamanEnumDefault * self;
	self = instance;
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
		MAMAN_ENUM_DEFAULT_GET_CLASS (self)->finalize (self);
		g_type_free_instance ((GTypeInstance *) self);
	}
}

static inline gpointer
maman_bar_get_instance_private (MamanBar* self)
{
	return G_STRUCT_MEMBER_P (self, MamanBar_private_offset);
}

static void
maman_bar_do_action (MamanBar* self)
{
	FILE* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	gint _tmp3_;
	FILE* _tmp4_;
	gint _tmp5_;
	gint _tmp6_;
	gint _tmp7_;
	g_return_if_fail (MAMAN_IS_BAR (self));
	_tmp0_ = stdout;
	_tmp1_ = maman_foo_get_public_base_property (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_FOO, MamanFoo));
	_tmp2_ = _tmp1_;
	_tmp3_ = self->priv->_public_property;
	fprintf (_tmp0_, " %d %d", _tmp2_, _tmp3_);
	maman_foo_set_public_base_property (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_FOO, MamanFoo), 4);
	maman_bar_set_public_property (self, 5);
	_tmp4_ = stdout;
	_tmp5_ = maman_foo_get_public_base_property (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_FOO, MamanFoo));
	_tmp6_ = _tmp5_;
	_tmp7_ = self->priv->_public_property;
	fprintf (_tmp4_, " %d %d", _tmp6_, _tmp7_);
}

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

void
maman_bar_run (void)
{
	FILE* _tmp0_;
	MamanBar* bar = NULL;
	MamanBar* _tmp1_;
	MamanFoo* foo = NULL;
	MamanFoo* _tmp2_;
	FILE* _tmp3_;
	gint _tmp4_;
	gint _tmp5_;
	FILE* _tmp6_;
	_tmp0_ = stdout;
	fprintf (_tmp0_, "Property Test: 1");
	_tmp1_ = maman_bar_new ();
	bar = _tmp1_;
	maman_bar_do_action (bar);
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (bar, MAMAN_TYPE_FOO, MamanFoo));
	foo = _tmp2_;
	maman_foo_set_abstract_base_property (foo, 6);
	_tmp3_ = stdout;
	_tmp4_ = maman_foo_get_abstract_base_property (foo);
	_tmp5_ = _tmp4_;
	fprintf (_tmp3_, " %d", _tmp5_);
	_tmp6_ = stdout;
	fprintf (_tmp6_, " 7\n");
	_g_object_unref0 (foo);
	_g_object_unref0 (bar);
}

MamanBar*
maman_bar_construct (GType object_type)
{
	MamanBar * self = NULL;
	self = (MamanBar*) maman_foo_construct (object_type);
	return self;
}

MamanBar*
maman_bar_new (void)
{
	return maman_bar_construct (MAMAN_TYPE_BAR);
}

gint
maman_bar_get_public_property (MamanBar* self)
{
	gint result;
	g_return_val_if_fail (MAMAN_IS_BAR (self), 0);
	result = self->priv->_public_property;
	return result;
}

void
maman_bar_set_public_property (MamanBar* self,
                               gint value)
{
	gint old_value;
	g_return_if_fail (MAMAN_IS_BAR (self));
	old_value = maman_bar_get_public_property (self);
	if (old_value != value) {
		self->priv->_public_property = value;
		g_object_notify_by_pspec ((GObject *) self, maman_bar_properties[MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY]);
	}
}

static gint
maman_bar_real_get_abstract_base_property (MamanFoo* base)
{
	gint result;
	MamanBar* self;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_BAR, MamanBar);
	result = self->priv->_abstract_base_property;
	return result;
}

static void
maman_bar_real_set_abstract_base_property (MamanFoo* base,
                                           gint value)
{
	MamanBar* self;
	gint old_value;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_BAR, MamanBar);
	old_value = maman_bar_real_get_abstract_base_property (base);
	if (old_value != value) {
		self->priv->_abstract_base_property = value;
		g_object_notify_by_pspec ((GObject *) self, maman_bar_properties[MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY]);
	}
}

static void
maman_bar_class_init (MamanBarClass * klass,
                      gpointer klass_data)
{
	maman_bar_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &MamanBar_private_offset);
	MAMAN_FOO_CLASS (klass)->get_abstract_base_property = maman_bar_real_get_abstract_base_property;
	MAMAN_FOO_CLASS (klass)->set_abstract_base_property = maman_bar_real_set_abstract_base_property;
	G_OBJECT_CLASS (klass)->get_property = _vala_maman_bar_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_maman_bar_set_property;
	G_OBJECT_CLASS (klass)->finalize = maman_bar_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY, maman_bar_properties[MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY] = g_param_spec_int ("public-property", "public-property", "public-property", G_MININT, G_MAXINT, 3, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY, maman_bar_properties[MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY] = g_param_spec_int ("abstract-base-property", "abstract-base-property", "abstract-base-property", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

static void
maman_bar_instance_init (MamanBar * self,
                         gpointer klass)
{
	self->priv = maman_bar_get_instance_private (self);
	self->priv->_public_property = 3;
}

static void
maman_bar_finalize (GObject * obj)
{
	MamanBar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAMAN_TYPE_BAR, MamanBar);
	G_OBJECT_CLASS (maman_bar_parent_class)->finalize (obj);
}

static GType
maman_bar_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanBarClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_bar_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanBar), 0, (GInstanceInitFunc) maman_bar_instance_init, NULL };
	GType maman_bar_type_id;
	maman_bar_type_id = g_type_register_static (MAMAN_TYPE_FOO, "MamanBar", &g_define_type_info, 0);
	MamanBar_private_offset = g_type_add_instance_private (maman_bar_type_id, sizeof (MamanBarPrivate));
	return maman_bar_type_id;
}

GType
maman_bar_get_type (void)
{
	static volatile gsize maman_bar_type_id__volatile = 0;
	if (g_once_init_enter (&maman_bar_type_id__volatile)) {
		GType maman_bar_type_id;
		maman_bar_type_id = maman_bar_get_type_once ();
		g_once_init_leave (&maman_bar_type_id__volatile, maman_bar_type_id);
	}
	return maman_bar_type_id__volatile;
}

static void
_vala_maman_bar_get_property (GObject * object,
                              guint property_id,
                              GValue * value,
                              GParamSpec * pspec)
{
	MamanBar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_BAR, MamanBar);
	switch (property_id) {
		case MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY:
		g_value_set_int (value, maman_bar_get_public_property (self));
		break;
		case MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY:
		g_value_set_int (value, maman_foo_get_abstract_base_property (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_FOO, MamanFoo)));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_maman_bar_set_property (GObject * object,
                              guint property_id,
                              const GValue * value,
                              GParamSpec * pspec)
{
	MamanBar * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_BAR, MamanBar);
	switch (property_id) {
		case MAMAN_BAR_PUBLIC_PROPERTY_PROPERTY:
		maman_bar_set_public_property (self, g_value_get_int (value));
		break;
		case MAMAN_BAR_ABSTRACT_BASE_PROPERTY_PROPERTY:
		maman_foo_set_abstract_base_property (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_FOO, MamanFoo), g_value_get_int (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

void
maman_ibaz_simple_method (MamanIbaz* self)
{
	gint n = 0;
	gint _tmp0_;
	gint _tmp1_;
	FILE* _tmp2_;
	_tmp0_ = maman_ibaz_get_number (self);
	_tmp1_ = _tmp0_;
	n = _tmp1_;
	_tmp2_ = stdout;
	fprintf (_tmp2_, " %d", n);
}

gint
maman_ibaz_get_number (MamanIbaz* self)
{
	MamanIbazIface* _iface_;
	g_return_val_if_fail (MAMAN_IS_IBAZ (self), 0);
	_iface_ = MAMAN_IBAZ_GET_INTERFACE (self);
	if (_iface_->get_number) {
		return _iface_->get_number (self);
	}
	return -1;
}

static void
maman_ibaz_default_init (MamanIbazIface * iface,
                         gpointer iface_data)
{
	g_object_interface_install_property (iface, g_param_spec_int ("number", "number", "number", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
}

static GType
maman_ibaz_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanIbazIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_ibaz_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	GType maman_ibaz_type_id;
	maman_ibaz_type_id = g_type_register_static (G_TYPE_INTERFACE, "MamanIbaz", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (maman_ibaz_type_id, G_TYPE_OBJECT);
	return maman_ibaz_type_id;
}

GType
maman_ibaz_get_type (void)
{
	static volatile gsize maman_ibaz_type_id__volatile = 0;
	if (g_once_init_enter (&maman_ibaz_type_id__volatile)) {
		GType maman_ibaz_type_id;
		maman_ibaz_type_id = maman_ibaz_get_type_once ();
		g_once_init_leave (&maman_ibaz_type_id__volatile, maman_ibaz_type_id);
	}
	return maman_ibaz_type_id__volatile;
}

MamanBaz*
maman_baz_construct (GType object_type)
{
	MamanBaz * self = NULL;
	self = (MamanBaz*) g_object_new (object_type, NULL);
	return self;
}

MamanBaz*
maman_baz_new (void)
{
	return maman_baz_construct (MAMAN_TYPE_BAZ);
}

static gint
maman_baz_real_get_number (MamanIbaz* base)
{
	gint result;
	MamanBaz* self;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_BAZ, MamanBaz);
	result = 2;
	return result;
}

static void
maman_baz_class_init (MamanBazClass * klass,
                      gpointer klass_data)
{
	maman_baz_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->get_property = _vala_maman_baz_get_property;
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_BAZ_NUMBER_PROPERTY, maman_baz_properties[MAMAN_BAZ_NUMBER_PROPERTY] = g_param_spec_int ("number", "number", "number", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
}

static void
maman_baz_maman_ibaz_interface_init (MamanIbazIface * iface,
                                     gpointer iface_data)
{
	maman_baz_maman_ibaz_parent_iface = g_type_interface_peek_parent (iface);
	iface->get_number = maman_baz_real_get_number;
}

static void
maman_baz_instance_init (MamanBaz * self,
                         gpointer klass)
{
}

static GType
maman_baz_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanBazClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_baz_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanBaz), 0, (GInstanceInitFunc) maman_baz_instance_init, NULL };
	static const GInterfaceInfo maman_ibaz_info = { (GInterfaceInitFunc) maman_baz_maman_ibaz_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
	GType maman_baz_type_id;
	maman_baz_type_id = g_type_register_static (G_TYPE_OBJECT, "MamanBaz", &g_define_type_info, 0);
	g_type_add_interface_static (maman_baz_type_id, MAMAN_TYPE_IBAZ, &maman_ibaz_info);
	return maman_baz_type_id;
}

GType
maman_baz_get_type (void)
{
	static volatile gsize maman_baz_type_id__volatile = 0;
	if (g_once_init_enter (&maman_baz_type_id__volatile)) {
		GType maman_baz_type_id;
		maman_baz_type_id = maman_baz_get_type_once ();
		g_once_init_leave (&maman_baz_type_id__volatile, maman_baz_type_id);
	}
	return maman_baz_type_id__volatile;
}

static void
_vala_maman_baz_get_property (GObject * object,
                              guint property_id,
                              GValue * value,
                              GParamSpec * pspec)
{
	MamanBaz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_BAZ, MamanBaz);
	switch (property_id) {
		case MAMAN_BAZ_NUMBER_PROPERTY:
		g_value_set_int (value, maman_ibaz_get_number (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_IBAZ, MamanIbaz)));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

gint
maman_ibiz_get_number (MamanIBiz* self)
{
	MamanIBizIface* _iface_;
	g_return_val_if_fail (MAMAN_IS_IBIZ (self), 0);
	_iface_ = MAMAN_IBIZ_GET_INTERFACE (self);
	if (_iface_->get_number) {
		return _iface_->get_number (self);
	}
	return -1;
}

void
maman_ibiz_set_number (MamanIBiz* self,
                       gint value)
{
	MamanIBizIface* _iface_;
	g_return_if_fail (MAMAN_IS_IBIZ (self));
	_iface_ = MAMAN_IBIZ_GET_INTERFACE (self);
	if (_iface_->set_number) {
		_iface_->set_number (self, value);
	}
}

static void
maman_ibiz_default_init (MamanIBizIface * iface,
                         gpointer iface_data)
{
	g_object_interface_install_property (iface, g_param_spec_int ("number", "number", "number", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static GType
maman_ibiz_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanIBizIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_ibiz_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	GType maman_ibiz_type_id;
	maman_ibiz_type_id = g_type_register_static (G_TYPE_INTERFACE, "MamanIBiz", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (maman_ibiz_type_id, G_TYPE_OBJECT);
	return maman_ibiz_type_id;
}

GType
maman_ibiz_get_type (void)
{
	static volatile gsize maman_ibiz_type_id__volatile = 0;
	if (g_once_init_enter (&maman_ibiz_type_id__volatile)) {
		GType maman_ibiz_type_id;
		maman_ibiz_type_id = maman_ibiz_get_type_once ();
		g_once_init_leave (&maman_ibiz_type_id__volatile, maman_ibiz_type_id);
	}
	return maman_ibiz_type_id__volatile;
}

static inline gpointer
maman_abiz_get_instance_private (MamanABiz* self)
{
	return G_STRUCT_MEMBER_P (self, MamanABiz_private_offset);
}

MamanABiz*
maman_abiz_construct (GType object_type)
{
	MamanABiz * self = NULL;
	self = (MamanABiz*) g_object_new (object_type, NULL);
	return self;
}

static gint
maman_abiz_real_get_number (MamanIBiz* base)
{
	gint result;
	MamanABiz* self;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_ABIZ, MamanABiz);
	result = self->priv->_number;
	return result;
}

static void
maman_abiz_real_set_number (MamanIBiz* base,
                            gint value)
{
	MamanABiz* self;
	gint old_value;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_ABIZ, MamanABiz);
	old_value = maman_abiz_real_get_number (base);
	if (old_value != value) {
		self->priv->_number = value;
		g_object_notify_by_pspec ((GObject *) self, maman_abiz_properties[MAMAN_ABIZ_NUMBER_PROPERTY]);
	}
}

gint
maman_abiz_get_number2 (MamanABiz* self)
{
	MamanABizClass* _klass_;
	g_return_val_if_fail (MAMAN_IS_ABIZ (self), 0);
	_klass_ = MAMAN_ABIZ_GET_CLASS (self);
	if (_klass_->get_number2) {
		return _klass_->get_number2 (self);
	}
	return -1;
}

void
maman_abiz_set_number2 (MamanABiz* self,
                        gint value)
{
	MamanABizClass* _klass_;
	g_return_if_fail (MAMAN_IS_ABIZ (self));
	_klass_ = MAMAN_ABIZ_GET_CLASS (self);
	if (_klass_->set_number2) {
		_klass_->set_number2 (self, value);
	}
}

static void
maman_abiz_class_init (MamanABizClass * klass,
                       gpointer klass_data)
{
	maman_abiz_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &MamanABiz_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_maman_abiz_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_maman_abiz_set_property;
	G_OBJECT_CLASS (klass)->finalize = maman_abiz_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_ABIZ_NUMBER_PROPERTY, maman_abiz_properties[MAMAN_ABIZ_NUMBER_PROPERTY] = g_param_spec_int ("number", "number", "number", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_ABIZ_NUMBER2_PROPERTY, maman_abiz_properties[MAMAN_ABIZ_NUMBER2_PROPERTY] = g_param_spec_int ("number2", "number2", "number2", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
maman_abiz_maman_ibiz_interface_init (MamanIBizIface * iface,
                                      gpointer iface_data)
{
	maman_abiz_maman_ibiz_parent_iface = g_type_interface_peek_parent (iface);
	iface->get_number = maman_abiz_real_get_number;
	iface->set_number = maman_abiz_real_set_number;
}

static void
maman_abiz_instance_init (MamanABiz * self,
                          gpointer klass)
{
	self->priv = maman_abiz_get_instance_private (self);
}

static void
maman_abiz_finalize (GObject * obj)
{
	MamanABiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAMAN_TYPE_ABIZ, MamanABiz);
	G_OBJECT_CLASS (maman_abiz_parent_class)->finalize (obj);
}

static GType
maman_abiz_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanABizClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_abiz_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanABiz), 0, (GInstanceInitFunc) maman_abiz_instance_init, NULL };
	static const GInterfaceInfo maman_ibiz_info = { (GInterfaceInitFunc) maman_abiz_maman_ibiz_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
	GType maman_abiz_type_id;
	maman_abiz_type_id = g_type_register_static (G_TYPE_OBJECT, "MamanABiz", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
	g_type_add_interface_static (maman_abiz_type_id, MAMAN_TYPE_IBIZ, &maman_ibiz_info);
	MamanABiz_private_offset = g_type_add_instance_private (maman_abiz_type_id, sizeof (MamanABizPrivate));
	return maman_abiz_type_id;
}

GType
maman_abiz_get_type (void)
{
	static volatile gsize maman_abiz_type_id__volatile = 0;
	if (g_once_init_enter (&maman_abiz_type_id__volatile)) {
		GType maman_abiz_type_id;
		maman_abiz_type_id = maman_abiz_get_type_once ();
		g_once_init_leave (&maman_abiz_type_id__volatile, maman_abiz_type_id);
	}
	return maman_abiz_type_id__volatile;
}

static void
_vala_maman_abiz_get_property (GObject * object,
                               guint property_id,
                               GValue * value,
                               GParamSpec * pspec)
{
	MamanABiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_ABIZ, MamanABiz);
	switch (property_id) {
		case MAMAN_ABIZ_NUMBER_PROPERTY:
		g_value_set_int (value, maman_ibiz_get_number (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_IBIZ, MamanIBiz)));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_maman_abiz_set_property (GObject * object,
                               guint property_id,
                               const GValue * value,
                               GParamSpec * pspec)
{
	MamanABiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_ABIZ, MamanABiz);
	switch (property_id) {
		case MAMAN_ABIZ_NUMBER_PROPERTY:
		maman_ibiz_set_number (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_IBIZ, MamanIBiz), g_value_get_int (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
maman_biz_get_instance_private (MamanBiz* self)
{
	return G_STRUCT_MEMBER_P (self, MamanBiz_private_offset);
}

MamanBiz*
maman_biz_construct (GType object_type)
{
	MamanBiz * self = NULL;
	self = (MamanBiz*) maman_abiz_construct (object_type);
	return self;
}

MamanBiz*
maman_biz_new (void)
{
	return maman_biz_construct (MAMAN_TYPE_BIZ);
}

static gint
maman_biz_real_get_number2 (MamanABiz* base)
{
	gint result;
	MamanBiz* self;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_BIZ, MamanBiz);
	result = self->priv->_number2;
	return result;
}

static void
maman_biz_real_set_number2 (MamanABiz* base,
                            gint value)
{
	MamanBiz* self;
	gint old_value;
	self = G_TYPE_CHECK_INSTANCE_CAST (base, MAMAN_TYPE_BIZ, MamanBiz);
	old_value = maman_biz_real_get_number2 (base);
	if (old_value != value) {
		self->priv->_number2 = value;
		g_object_notify_by_pspec ((GObject *) self, maman_biz_properties[MAMAN_BIZ_NUMBER2_PROPERTY]);
	}
}

static void
maman_biz_class_init (MamanBizClass * klass,
                      gpointer klass_data)
{
	maman_biz_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &MamanBiz_private_offset);
	MAMAN_ABIZ_CLASS (klass)->get_number2 = maman_biz_real_get_number2;
	MAMAN_ABIZ_CLASS (klass)->set_number2 = maman_biz_real_set_number2;
	G_OBJECT_CLASS (klass)->get_property = _vala_maman_biz_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_maman_biz_set_property;
	G_OBJECT_CLASS (klass)->finalize = maman_biz_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), MAMAN_BIZ_NUMBER2_PROPERTY, maman_biz_properties[MAMAN_BIZ_NUMBER2_PROPERTY] = g_param_spec_int ("number2", "number2", "number2", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
maman_biz_instance_init (MamanBiz * self,
                         gpointer klass)
{
	self->priv = maman_biz_get_instance_private (self);
}

static void
maman_biz_finalize (GObject * obj)
{
	MamanBiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAMAN_TYPE_BIZ, MamanBiz);
	G_OBJECT_CLASS (maman_biz_parent_class)->finalize (obj);
}

static GType
maman_biz_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (MamanBizClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) maman_biz_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MamanBiz), 0, (GInstanceInitFunc) maman_biz_instance_init, NULL };
	GType maman_biz_type_id;
	maman_biz_type_id = g_type_register_static (MAMAN_TYPE_ABIZ, "MamanBiz", &g_define_type_info, 0);
	MamanBiz_private_offset = g_type_add_instance_private (maman_biz_type_id, sizeof (MamanBizPrivate));
	return maman_biz_type_id;
}

GType
maman_biz_get_type (void)
{
	static volatile gsize maman_biz_type_id__volatile = 0;
	if (g_once_init_enter (&maman_biz_type_id__volatile)) {
		GType maman_biz_type_id;
		maman_biz_type_id = maman_biz_get_type_once ();
		g_once_init_leave (&maman_biz_type_id__volatile, maman_biz_type_id);
	}
	return maman_biz_type_id__volatile;
}

static void
_vala_maman_biz_get_property (GObject * object,
                              guint property_id,
                              GValue * value,
                              GParamSpec * pspec)
{
	MamanBiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_BIZ, MamanBiz);
	switch (property_id) {
		case MAMAN_BIZ_NUMBER2_PROPERTY:
		g_value_set_int (value, maman_abiz_get_number2 (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_ABIZ, MamanABiz)));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_maman_biz_set_property (GObject * object,
                              guint property_id,
                              const GValue * value,
                              GParamSpec * pspec)
{
	MamanBiz * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, MAMAN_TYPE_BIZ, MamanBiz);
	switch (property_id) {
		case MAMAN_BIZ_NUMBER2_PROPERTY:
		maman_abiz_set_number2 (G_TYPE_CHECK_INSTANCE_CAST (self, MAMAN_TYPE_ABIZ, MamanABiz), g_value_get_int (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}