Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
testing
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
*/
Type
int Type
Definition:
018_def.c:12
func
void func(int)
Brief description.
Definition:
018_def.c:10
E1
Definition:
018_def.c:13
E
Definition:
pointersEqual_t.cc:12
var
int var
Definition:
018_def.c:9
E2
Definition:
018_def.c:13
Generated by
1.8.11