aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/10 gtk-doc/include/foo.h
blob: 510f3d1ecb5a6db41fb194891376abf77091f1d6 (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
#pragma once

#include <glib-object.h>

/**
 * FooIndecision:
 * @FOO_MAYBE:     Something maybe
 * @FOO_POSSIBLY:  Something possible
 *
 * The indecision type.
 **/

typedef enum {
    FOO_MAYBE,
    FOO_POSSIBLY,
} FooIndecision;

/**
 * FooObjClass:
 *
 * The class
 */

/**
 * FooObj:
 *
 * The instance
 */

#define FOO_TYPE_OBJ foo_obj_get_type()
G_DECLARE_FINAL_TYPE(FooObj, foo_obj, FOO, OBJ, GObject)

int foo_do_something(FooObj *self);