IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2004, 9:37:58 PM (22 years ago)
Author:
eugene
Message:

code cleanup for Doxygen support & readability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMisc.h

    r247 r257  
    77 */
    88
    9 #define PS_STRING(S) #S                 //!< converts argument to string
     9/** Functions **************************************************************/
     10/** \addtogroup SystemGroup System Utilities
     11 *  \{
     12 */
    1013
    11 /** Prints an error message and aborts */
    12 void psAbort(const char *name,          //!< Category of code that caused the abort
    13              const char *fmt,           //!< Format
    14              ...                        //!< Extra arguments to use format
    15     );
    16 /** Prints an error message and doesn't abort */
    17 void psError(const char *name,          //!< Category of code that caused the abort
    18              const char *fmt,           //!< Format
    19              ...                        //!< Extra arguments to use format
    20     );
     14/// Prints an error message and aborts
     15void psAbort(const char *name,          ///< Category of code that caused the abort
     16             const char *fmt,           ///< Format
     17             ...)                       ///< Extra arguments to use format
     18;
    2119
    22 /** Allocates and returns a copy of a string */
    23 char *psStringCopy(const char *str      //!< string to copy
    24     );
     20/// Prints an error message and doesn't abort
     21void psError(const char *name,          ///< Category of code that caused the abort
     22             const char *fmt,           ///< Format
     23             ...)                       ///< Extra arguments to use format
     24;
    2525
    26 /** Magic values for errors */
     26/// Allocates and returns a copy of a string
     27char *psStringCopy(const char *str)     ///< string to copy
     28;
     29
     30/* \} */ // End of SystemGroup Functions
     31
     32#define PS_STRING(S) #S                 ///< converts argument to string
     33
     34/// Magic values for errors
    2735enum {
    28     PS_NO_VALUE = -111,                 //!< Corresponding value not yet measured
    29     PS_NO_ERROR = -222                  //!< Corresponding value has no error
     36    PS_NO_VALUE = -111,                 ///< Corresponding value not yet measured
     37    PS_NO_ERROR = -222                  ///< Corresponding value has no error
    3038};
    3139
Note: See TracChangeset for help on using the changeset viewer.