aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/28 gir link order 2/meson-sample.c
blob: d743b2d8bcc4d22bbb0ceb5880ca0ae4c49aa20d (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
#include "meson-sample.h"

struct _MesonSample {
  GObject parent_instance;
};

G_DEFINE_TYPE (MesonSample, meson_sample, G_TYPE_OBJECT)

/**
 * meson_sample_new:
 *
 * Allocates a new #MesonSample.
 *
 * Returns: (transfer full): a #MesonSample.
 */
MesonSample *
meson_sample_new (void)
{
  return g_object_new (MESON_TYPE_SAMPLE, NULL);
}

static void
meson_sample_class_init (MesonSampleClass *klass)
{
}

static void
meson_sample_init (MesonSample *self)
{
}

/**
 * meson_sample_print_message:
 * @self: a #MesonSample.
 *
 * Prints a message.
 */
void
meson_sample_print_message (MesonSample *self)
{
  g_return_if_fail (MESON_IS_SAMPLE (self));
}