IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 5:19:15 PM (22 years ago)
Author:
Paul Price
Message:

Doxygenation of Lupton stuff partially complete. Still need to hack some more to conform everything to coding standards.

File:
1 edited

Legend:

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

    r181 r196  
    11#if !defined(PS_MISC_H)
    22#define PS_MISC_H
    3 /*
     3/**
    44 * Concatenate two macro arguments
    55 */
    6 #define P_PS_CONCAT(A, B) A ## B        // Expands to AB
    7 #define PS_CONCAT(A, B) A ## B          // Also Expands to AB
    8 #define PS_CONCAT2(A, B) PS_CONCAT(A, B) // Also expands to AB
    9 #define PS_CONCAT3(A, B, C) A ## B ## C // Expands to ABC
    10 #define PS_CONCAT4(A, B, C, D) A ## B ## C ## D // Expands to ABCD
     6#define P_PS_CONCAT(A, B) A ## B        //!< Expands to AB
     7#define PS_CONCAT(A, B) A ## B          //!< Also Expands to AB
     8#define PS_CONCAT2(A, B) PS_CONCAT(A, B) //!< Also expands to AB
     9#define PS_CONCAT3(A, B, C) A ## B ## C //!< Expands to ABC
     10#define PS_CONCAT4(A, B, C, D) A ## B ## C ## D //!< Expands to ABCD
    1111
    12 #define PS_STRING(S) #S                 // converts argument to string
     12#define PS_STRING(S) #S                 //!< converts argument to string
    1313
    14 void psAbort(const char *name, const char *fmt, ...);
    15 void psError(const char *name, const char *fmt, ...);
     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    );
     19/** Prints an error message and doesn't abort */
     20void psError(const char *name,          //!< Category of code that caused the abort
     21             const char *fmt,           //!< Format
     22             ...                        //!< Extra arguments to use format
     23    );
    1624
    17 char *psStringCopy(const char *str);
     25/** Allocates and returns a copy of a string */
     26char *psStringCopy(const char *str      //!< string to copy
     27    );
    1828
    1929#endif
Note: See TracChangeset for help on using the changeset viewer.