summaryrefslogtreecommitdiff
path: root/src/.unitize/_LibraryInternals.c
blob: 58d4f47d457bfc930177e4bb031c477f7add7e82 (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
/* _LibraryInternals.c generated by valac 0.34.2, the Vala compiler
 * generated from _LibraryInternals.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 *
 * Auto-generated file.  Do not modify!
 */

#include <glib.h>
#include <glib-object.h>



extern gint library__unit_init_count;
gint library__unit_init_count = 0;

void library_init_entry (GError** error);
void unit_init_entry (GError** error);
void util_init_entry (GError** error);
void threads_init_entry (GError** error);
void db_init_entry (GError** error);
void plugins_init_entry (GError** error);
void slideshow_init_entry (GError** error);
void photos_init_entry (GError** error);
void publishing_init_entry (GError** error);
void core_init_entry (GError** error);
void sidebar_init_entry (GError** error);
void events_init_entry (GError** error);
void tags_init_entry (GError** error);
void camera_init_entry (GError** error);
void searches_init_entry (GError** error);
void data_imports_init_entry (GError** error);
void folders_init_entry (GError** error);
void library_init (GError** error);
void library_terminate_entry (void);
void library_terminate (void);
void unit_terminate_entry (void);
void util_terminate_entry (void);
void threads_terminate_entry (void);
void db_terminate_entry (void);
void plugins_terminate_entry (void);
void slideshow_terminate_entry (void);
void photos_terminate_entry (void);
void publishing_terminate_entry (void);
void core_terminate_entry (void);
void sidebar_terminate_entry (void);
void events_terminate_entry (void);
void tags_terminate_entry (void);
void camera_terminate_entry (void);
void searches_terminate_entry (void);
void data_imports_terminate_entry (void);
void folders_terminate_entry (void);


void library_init_entry (GError** error) {
	gint _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	_tmp0_ = library__unit_init_count;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	library__unit_init_count = _tmp0_ + 1;
#line 14 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (_tmp0_ != 0) {
#line 15 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 70 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	unit_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 80 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	util_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 90 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	threads_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 100 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	db_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 110 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	plugins_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 120 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	slideshow_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 130 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	photos_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 140 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	publishing_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 150 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	core_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 160 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	sidebar_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 170 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	events_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 180 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	tags_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 190 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	camera_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 200 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	searches_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 210 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	data_imports_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 220 "_LibraryInternals.c"
	}
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	folders_init_entry (&_inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 17 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 230 "_LibraryInternals.c"
	}
#line 19 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	library_init (&_inner_error_);
#line 19 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 19 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		g_propagate_error (error, _inner_error_);
#line 19 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 240 "_LibraryInternals.c"
	}
}


void library_terminate_entry (void) {
	gboolean _tmp0_ = FALSE;
	gint _tmp1_ = 0;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	_tmp1_ = library__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (_tmp1_ == 0) {
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		_tmp0_ = TRUE;
#line 254 "_LibraryInternals.c"
	} else {
		gint _tmp2_ = 0;
		gint _tmp3_ = 0;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		_tmp2_ = library__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		library__unit_init_count = _tmp2_ - 1;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		_tmp3_ = library__unit_init_count;
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		_tmp0_ = _tmp3_ != 0;
#line 266 "_LibraryInternals.c"
	}
#line 23 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	if (_tmp0_) {
#line 24 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
		return;
#line 272 "_LibraryInternals.c"
	}
#line 26 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	library_terminate ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	unit_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	util_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	threads_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	db_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	plugins_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	slideshow_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	photos_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	publishing_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	core_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	sidebar_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	events_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	tags_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	camera_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	searches_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	data_imports_terminate_entry ();
#line 28 "/home/jens/Source/shotwell/src/.unitize/_LibraryInternals.vala"
	folders_terminate_entry ();
#line 308 "_LibraryInternals.c"
}