summaryrefslogtreecommitdiff
path: root/src/.unitize/_DbInternals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/.unitize/_DbInternals.c')
-rw-r--r--src/.unitize/_DbInternals.c101
1 files changed, 101 insertions, 0 deletions
diff --git a/src/.unitize/_DbInternals.c b/src/.unitize/_DbInternals.c
new file mode 100644
index 0000000..47e29a8
--- /dev/null
+++ b/src/.unitize/_DbInternals.c
@@ -0,0 +1,101 @@
+/* _DbInternals.c generated by valac 0.32.1, the Vala compiler
+ * generated from _DbInternals.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 db__unit_init_count;
+gint db__unit_init_count = 0;
+
+void db_init_entry (GError** error);
+void unit_init_entry (GError** error);
+void db_init (GError** error);
+void db_terminate_entry (void);
+void db_terminate (void);
+void unit_terminate_entry (void);
+
+
+void db_init_entry (GError** error) {
+ gint _tmp0_ = 0;
+ GError * _inner_error_ = NULL;
+#line 14 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp0_ = db__unit_init_count;
+#line 14 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ db__unit_init_count = _tmp0_ + 1;
+#line 14 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ if (_tmp0_ != 0) {
+#line 15 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ return;
+#line 40 "_DbInternals.c"
+ }
+#line 17 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ unit_init_entry (&_inner_error_);
+#line 17 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ if (G_UNLIKELY (_inner_error_ != NULL)) {
+#line 17 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ g_propagate_error (error, _inner_error_);
+#line 17 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ return;
+#line 50 "_DbInternals.c"
+ }
+#line 19 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ db_init (&_inner_error_);
+#line 19 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ if (G_UNLIKELY (_inner_error_ != NULL)) {
+#line 19 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ g_propagate_error (error, _inner_error_);
+#line 19 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ return;
+#line 60 "_DbInternals.c"
+ }
+}
+
+
+void db_terminate_entry (void) {
+ gboolean _tmp0_ = FALSE;
+ gint _tmp1_ = 0;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp1_ = db__unit_init_count;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ if (_tmp1_ == 0) {
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp0_ = TRUE;
+#line 74 "_DbInternals.c"
+ } else {
+ gint _tmp2_ = 0;
+ gint _tmp3_ = 0;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp2_ = db__unit_init_count;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ db__unit_init_count = _tmp2_ - 1;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp3_ = db__unit_init_count;
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ _tmp0_ = _tmp3_ != 0;
+#line 86 "_DbInternals.c"
+ }
+#line 23 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ if (_tmp0_) {
+#line 24 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ return;
+#line 92 "_DbInternals.c"
+ }
+#line 26 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ db_terminate ();
+#line 28 "/home/jens/Source/shotwell/src/.unitize/_DbInternals.vala"
+ unit_terminate_entry ();
+#line 98 "_DbInternals.c"
+}
+
+
+