test cases/vala/11 generated vapi/libbar/bar.c
raw| 1 | #include "bar.h" |
| 2 | #include "foo.h" |
| 3 | |
| 4 | struct _BarBar |
| 5 | { |
| 6 | GObject parent_instance; |
| 7 | }; |
| 8 | |
| 9 | G_DEFINE_TYPE (BarBar, bar_bar, G_TYPE_OBJECT) |
| 10 | |
| 11 | static void |
| 12 | bar_bar_class_init (BarBarClass *klass) |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | static void |
| 17 | bar_bar_init (BarBar *self) |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * bar_bar_return_success: |
| 23 | * |
| 24 | * Returns 0 |
| 25 | */ |
| 26 | int bar_bar_return_success(void) |
| 27 | { |
| 28 | return foo_foo_return_success(); |
| 29 | } |