1
/* errors_delegate_throws_error_code.c generated by valac, the Vala compiler
2
* generated from errors_delegate_throws_error_code.vala, do not modify */
6
#if !defined(VALA_EXTERN)
8
#define VALA_EXTERN __declspec(dllexport) extern
10
#define VALA_EXTERN __attribute__((visibility("default"))) extern
12
#define VALA_EXTERN extern
16
typedef void (*FooFunc) (gpointer user_data, GError** error);
22
#define FOO_ERROR foo_error_quark ()
24
VALA_EXTERN GQuark foo_error_quark (void);
25
static void _vala_main (void);
26
static void __lambda4_ (GError** error);
27
static void ___lambda4__foo_func (gpointer self,
31
foo_error_quark (void)
33
return g_quark_from_static_string ("foo-error-quark");
37
__lambda4_ (GError** error)
42
___lambda4__foo_func (gpointer self,
53
GDestroyNotify foo_target_destroy_notify;
54
GError* _inner_error0_ = NULL;
55
foo = ___lambda4__foo_func;
57
foo_target_destroy_notify = NULL;
58
foo (foo_target, &_inner_error0_);
59
if (G_UNLIKELY (_inner_error0_ != NULL)) {
60
(foo_target_destroy_notify == NULL) ? NULL : (foo_target_destroy_notify (foo_target), NULL);
63
foo_target_destroy_notify = NULL;
64
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);
65
g_clear_error (&_inner_error0_);
68
(foo_target_destroy_notify == NULL) ? NULL : (foo_target_destroy_notify (foo_target), NULL);
71
foo_target_destroy_notify = NULL;