diff options
Diffstat (limited to 'src/.unitize/_LibraryInternals.c')
-rw-r--r-- | src/.unitize/_LibraryInternals.c | 311 |
1 files changed, 311 insertions, 0 deletions
diff --git a/src/.unitize/_LibraryInternals.c b/src/.unitize/_LibraryInternals.c new file mode 100644 index 0000000..6d70073 --- /dev/null +++ b/src/.unitize/_LibraryInternals.c @@ -0,0 +1,311 @@ +/* _LibraryInternals.c generated by valac 0.32.1, 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" +} + + + |