summaryrefslogtreecommitdiff
path: root/tests/gerror.head.c
blob: 8aa7e4c91f7d9ef2f39402b4e1daf752d4a01daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>

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

static void
some_failing_func (GError **error)
{
	g_set_error (error, G_IO_ERROR, G_IO_ERROR_PENDING, "Pending error");
}

static void
some_failable_func (gboolean some_cond, GError **error)
{