My Project
test.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 /*****************************************************************************\
3  * Computer Algebra System SINGULAR
4 \*****************************************************************************/
5 /** @file test.h
6  *
7  * Let's try to put parameters where they should be, compare F1 and F2.
8  *
9  * ABSTRACT: Issue reported: https://bugzilla.gnome.org/show_bug.cgi?id=316311
10  *
11  * @author Oleksandr Motsak
12  *
13  *
14  **/
15 /*****************************************************************************/
16 
17  /** F1.
18  *
19  * This is function 1.
20  *
21  * @param [in] a1 some int
22  * @param [out] r1 integer result
23  *
24  * The end!
25  */
26  void F1(
27  int a1,
28  int & r1
29  );
30 
31  /** F2.
32  *
33  * This is function 2.
34  *
35  * @params <- We would prefere all parameters to be here...
36  *
37  * @param []
38  *
39  * The end!
40  */
41  void F2(
42  int a2, ///< [in] some int
43  int & r2 ///< [out] integer result
44  );
45 
46 
47 // Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab
void F2(int a2, int &r2)
F2.
void F1(int a1, int &r1)
F1.