018_def.c
Go to the documentation of this file.
1 // objective: test the \def, \var, \fn, and \typedef commands
2 // check: 018__def_8c.xml
3 
4 /** \file
5  * Text \a argument more text.
6  */
7 
8 #define MACRO 42
9 int var = 10;
10 void func(int) {}
11 void func(int,const char *) {}
12 typedef int Type;
13 enum E { E1, E2 };
14 
15 /** \def MACRO
16  * A macro definition
17  */
18 
19 /** \var var
20  * A variable
21  */
22 
23 /** \fn func(int)
24  * A function with one parameter.
25  */
26 
27 /** \fn func(int,const char *)
28  * A function with two parameters
29  */
30 
31 /** \typedef Type
32  * A type definition.
33  */
34 
35 /** \enum E
36  * An enum
37  */
int Type
Definition: 018_def.c:12
void func(int)
Brief description.
Definition: 018_def.c:10
Definition: 018_def.c:13
int var
Definition: 018_def.c:9
Definition: 018_def.c:13