aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/10 gtk-doc/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/10 gtk-doc/foo.c')
-rw-r--r--meson/test cases/frameworks/10 gtk-doc/foo.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/10 gtk-doc/foo.c b/meson/test cases/frameworks/10 gtk-doc/foo.c
new file mode 100644
index 000000000..36c0639ec
--- /dev/null
+++ b/meson/test cases/frameworks/10 gtk-doc/foo.c
@@ -0,0 +1,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;
+}