summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/10 gtk-doc/foo.c
blob: 36c0639ec08f7fca24b43f256bac93ba93d0c162 (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
#include <foo.h>


struct _FooObj {
  GObject parent;
  int dummy;
};

G_DEFINE_TYPE(FooObj, foo_obj, G_TYPE_OBJECT)

static void foo_obj_init (FooObj *self)
{
}

static void foo_obj_class_init (FooObjClass *klass)
{
}

/**
 * foo_do_something:
 * @self: self
 *
 * Useless function.
 *
 * Returns: 0.
 */
int foo_do_something(FooObj *self)
{
  return 0;
}