Handle inline functions in headers. Fixes #532395.
[gtk-doc.git] / tests / bugs / src / tester.c
blob486eddcf8cc158ceaaa6a0f06a1e3791e5daaa3e
1 /**
2 * SECTION:tester
3 * @short_description: module for gtk-doc unit test
5 * This file contains non-sense code for the sole purpose of testing the docs.
7 * As described in http://bugzilla.gnome.org/show_bug.cgi?id=457077 it
8 * returns nothing.
9 */
11 #include <glib.h>
13 #include "tester.h"
15 /**
16 * bug_141869_a:
17 * @pid: arg
19 * http://bugzilla.gnome.org/show_bug.cgi?id=141869
21 void bug_141869_a (unsigned pid) {
24 /**
25 * bug_141869_b:
26 * @pid: arg
28 * http://bugzilla.gnome.org/show_bug.cgi?id=141869
30 void bug_141869_b (signed pid) {
34 /**
35 * bug_379466:
36 * @pid: arg
38 * http://bugzilla.gnome.org/show_bug.cgi?id=379466
40 void bug_379466 (int
41 pid) {
45 /**
46 * bug_380824:
47 * @arg: arg
49 * Returns a value.
50 * http://bugzilla.gnome.org/show_bug.cgi?id=380824
52 * Since: 0.1
54 * Returns: result
56 int bug_380824 (int arg) {
57 return 0;
61 /**
62 * bug_411739:
64 * http://bugzilla.gnome.org/show_bug.cgi?id=411739
66 * Returns: result
68 struct bug *
69 bug_411739 (void) {
70 return NULL;
74 /**
75 * bug_419997:
76 * @const_values: arg
78 * http://bugzilla.gnome.org/show_bug.cgi?id=419997
80 void bug_419997 (int const_values) {
84 /**
85 * bug_445693:
86 * @pid: arg
88 * http://bugzilla.gnome.org/show_bug.cgi?id=445693
90 void bug_445693 (unsigned long pid) {
94 /**
95 * bug_471014:
97 * http://bugzilla.gnome.org/show_bug.cgi?id=471014
99 * Returns: result
101 G_CONST_RETURN gchar* G_CONST_RETURN * bug_471014 (void) {
102 return NULL;
107 * Bug446648:
108 * @BUG_446648_FOO: foo
110 * http://bugzilla.gnome.org/show_bug.cgi?id=446648
115 * bug_552602:
117 * http://bugzilla.gnome.org/show_bug.cgi?id=552602
119 * Returns: result
121 const char* const * bug_552602 (void) {
122 return NULL;