Skip to content

Commit 8968401

Browse files
committed
improve comments for doxygen
1 parent 8423811 commit 8968401

14 files changed

Lines changed: 53 additions & 50 deletions

File tree

src/base/sc_trace_fprintf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
*
1010
* This header must be included *after* all other headers, otherwise the compiler will
1111
* report errors in system headers.
12-
* \sa trace_fprintf
12+
* \sa trace_fprintf()
1313
**/
1414

1515
#include "sc_export.h"
1616

17-
/** used to find where generated c++ originates from in exp2cxx
18-
* To enable, configure with 'cmake .. -DSC_TRACE_FPRINTF=ON'
19-
*/
2017
#ifdef __cplusplus
2118
extern "C" {
2219
#endif
20+
/** Used to find where generated c++ originates from in exp2cxx.
21+
* To enable, configure with 'cmake .. -DSC_TRACE_FPRINTF=ON'
22+
*/
2323
SC_BASE_EXPORT void trace_fprintf( char const * sourcefile, int line, FILE * file, const char * format, ... );
2424
#ifdef __cplusplus
2525
}

src/clstepcore/STEPattribute.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ class SC_CORE_EXPORT STEPattribute {
196196

197197
////////////// Return info on attr
198198

199-
bool Nullable() const; // may this attribute be null?
200-
bool is_null() const; // is this attribute null?
199+
bool Nullable() const; ///< may this attribute be null?
200+
bool is_null() const; ///< is this attribute null?
201201
bool IsDerived() const {
202202
return _derive;
203203
}

src/exppp/pp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ extern FILE * exppp_fp;
1717
extern bool first_line;
1818

1919
/** output a string, exactly as provided
20-
* \sa wrap
20+
* \sa wrap()
2121
*/
2222
void raw( const char * fmt, ... );
2323

2424
/** output a string, insert newlines to keep line length down
25-
* \sa raw
2625
* TODO list globals this func uses
26+
* \sa raw()
2727
*/
2828
void wrap( const char * fmt, ... );
2929

src/exppp/pretty_entity.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file entity.c
1+
/** \file pretty_entity.c
22
* functions dealing with entities
33
* split out of exppp.c 9/21/13
44
*/

src/exppp/pretty_expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file expr.c
1+
/** \file pretty_expr.c
22
* functions dealing with expressions
33
* split out of exppp.c 9/21/13
44
*/

src/exppp/pretty_rule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file rule.c
1+
/** \file pretty_rule.c
22
* split out of exppp.c 9/21/13
33
*/
44

src/exppp/pretty_scope.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file scope.c
1+
/** \file pretty_scope.c
22
* split out of exppp.c 9/21/13
33
*/
44

src/exppp/pretty_subtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file pp_subtype.c
1+
/** \file pretty_subtype.c
22
* split out of exppp.c 9/21/13
33
*/
44

src/exppp/pretty_type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** \file type.c
1+
/** \file pretty_type.c
22
* split out of exppp.c 9/21/13
33
*/
44

src/express/dict.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
#include "express/object.h"
3939
#include "express/expbasic.h"
4040

41-
char DICT_type; /* set as a side-effect of DICT lookup routines */
42-
/* to type of object found */
41+
char DICT_type; /**< set to type of object found, as a side-effect of DICT lookup routines */
4342

4443
static Error ERROR_duplicate_decl;
4544
static Error ERROR_duplicate_decl_diff_file;
@@ -122,7 +121,7 @@ int DICTdefine( Dictionary dict, char * name, Generic obj, Symbol * sym, char ty
122121
* ENUMERATION OF ( A, A ) which has happened!
123122
* This is the way DICTdefine used to look before enumerations gained
124123
* their unusual behavior with respect to scoping and visibility rules
125-
* \sa DICTdefine
124+
* \sa DICTdefine()
126125
*/
127126
int DICT_define( Dictionary dict, char * name, Generic obj, Symbol * sym, char type ) {
128127
struct Element_ e, *e2;
@@ -181,7 +180,7 @@ Generic DICTlookup( Dictionary dictionary, char * name ) {
181180
}
182181

183182
/** like DICTlookup but returns symbol, too
184-
* \sa DICTlookup
183+
* \sa DICTlookup()
185184
*/
186185
Generic DICTlookup_symbol( Dictionary dictionary, char * name, Symbol ** sym ) {
187186
struct Element_ e, *ep;

0 commit comments

Comments
 (0)