vendored-meson/meson/test cases/frameworks/10 gtk-doc/foo.c
raw| 1 | #include <foo.h> |
| 2 | |
| 3 | |
| 4 | struct _FooObj { |
| 5 | GObject parent; |
| 6 | int dummy; |
| 7 | }; |
| 8 | |
| 9 | G_DEFINE_TYPE(FooObj, foo_obj, G_TYPE_OBJECT) |
| 10 | |
| 11 | static void foo_obj_init (FooObj *self) |
| 12 | { |
| 13 | } |
| 14 | |
| 15 | static void foo_obj_class_init (FooObjClass *klass) |
| 16 | { |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * foo_do_something: |
| 21 | * @self: self |
| 22 | * |
| 23 | * Useless function. |
| 24 | * |
| 25 | * Returns: 0. |
| 26 | */ |
| 27 | int foo_do_something(FooObj *self) |
| 28 | { |
| 29 | return 0; |
| 30 | } |