aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/7 gnome/gir/meson-sample2.h
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/7 gnome/gir/meson-sample2.h')
-rw-r--r--meson/test cases/frameworks/7 gnome/gir/meson-sample2.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/7 gnome/gir/meson-sample2.h b/meson/test cases/frameworks/7 gnome/gir/meson-sample2.h
new file mode 100644
index 000000000..d39084ebe
--- /dev/null
+++ b/meson/test cases/frameworks/7 gnome/gir/meson-sample2.h
@@ -0,0 +1,21 @@
+#ifndef MESON_SAMPLE2_H
+#define MESON_SAMPLE2_H
+
+#if !defined (MESON_TEST)
+#error "MESON_TEST not defined."
+#endif
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define MESON_TYPE_SAMPLE2 (meson_sample2_get_type())
+
+G_DECLARE_FINAL_TYPE (MesonSample2, meson_sample2, MESON, SAMPLE2, GObject)
+
+MesonSample2 *meson_sample2_new (void);
+void meson_sample2_print_message (MesonSample2 *self);
+
+G_END_DECLS
+
+#endif /* MESON_SAMPLE2_H */