IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 290


Ignore:
Timestamp:
Mar 23, 2004, 4:36:51 PM (22 years ago)
Author:
Paul Price
Message:

Fixed up brackets.

Location:
trunk/archive/pslib/include
Files:
2 edited

Legend:

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

    r260 r290  
    4040void *p_psAlloc(size_t size,            //!< Size required
    4141                const char *file,       //!< File of call
    42                 int lineno)             //!< Line number of call
    43 ;
     42                int lineno              //!< Line number of call
     43                );
    4444
    4545/// Memory re-allocation.  Underlying private function called by macro psRealloc.
     
    4747                  size_t size,          //!< Size required
    4848                  const char *file,     //!< File of call
    49                   int lineno)           //!< Line number of call
    50 ;
     49                  int lineno            //!< Line number of call
     50                  );
    5151
    5252/// Free memory.  Underlying private function called by macro psFree.
    5353void p_psFree(void *ptr,                //!< Pointer to free
    5454              const char *file,         //!< File of call
    55               int lineno)               //!< Line number of call
    56 ;
     55              int lineno                //!< Line number of call
     56              );
    5757
    5858/// Check for memory leaks
    5959int psMemCheckLeaks(int id0,            //!< don't list blocks with id < id0
    6060                    psMemBlock ***arr,  //!< pointer to array of pointers to leaked blocks, or NULL
    61                     FILE *fd)           //!< print list of leaks to fd (or NULL)
    62 ;
     61                    FILE *fd            //!< print list of leaks to fd (or NULL)
     62                    );
    6363
    6464/// Check for memory corruption
    65 int psMemCheckCorruption(int abort_on_error) //!< Abort on detecting corruption?
    66 ;
     65int psMemCheckCorruption(int abort_on_error //!< Abort on detecting corruption?
     66                         );
    6767
    6868/// Return reference counter
    69 int psMemGetRefCounter(void *vptr)      //!< Pointer to get refCounter for
    70 ;
     69int psMemGetRefCounter(void *vptr       //!< Pointer to get refCounter for
     70                       );
    7171
    7272/// Increment reference counter and return the pointer
    73 void *psMemIncrRefCounter(void *vptr)   //!< Pointer to increment refCounter, and return
    74 ;
     73void *psMemIncrRefCounter(void *vptr    //!< Pointer to increment refCounter, and return
     74                          );
    7575
    7676/// Decrement reference counter and return the pointer
    77 void *psMemDecrRefCounter(void *vptr)   //!< Pointer to decrement refCounter, and return
    78 ;
     77void *psMemDecrRefCounter(void *vptr    //!< Pointer to decrement refCounter, and return
     78                          );
    7979
    8080/// Set callback for problems
    81 psMemProblemCallback psMemProblemSetCB(psMemProblemCallback func) //!< Function to run
    82 ;
     81psMemProblemCallback psMemProblemSetCB(psMemProblemCallback func //!< Function to run
     82                                       );
    8383
    8484/// Set callback for out-of-memory
    85 psMemExhaustedCallback psMemExhaustedSetCB(psMemExhaustedCallback func) //!< Function to run
    86 ;                                                                       
     85psMemExhaustedCallback psMemExhaustedSetCB(psMemExhaustedCallback func //!< Function to run
     86                                           );
    8787
    8888/// Set call back for when a particular memory block is allocated
    89 psMemCallback psMemAllocateSetCB(psMemCallback func)
    90 ;
     89psMemCallback psMemAllocateSetCB(psMemCallback func //!< Function to run
     90                                 );
    9191
    9292/// Set call back for when a particular memory block is freed
    93 psMemCallback psMemFreeSetCB(psMemCallback func)
    94 ;
     93psMemCallback psMemFreeSetCB(psMemCallback func
     94                             );
    9595
    9696/// get next memory ID
    97 int psMemGetId(void)
    98 ;
     97int psMemGetId(void);
    9998
    10099/// set p_psMemAllocateID to id
    101 long psMemSetAllocateID(long id)
    102 ;
     100long psMemSetAllocateID(long id         //!< ID to set
     101                        );
    103102
    104103/// set p_psMemFreeID to id
    105 long psMemSetFreeID(long id)
    106 ;
     104long psMemSetFreeID(long id             //!< ID to set
     105                    );
    107106
    108107/* \} */ // End of SystemGroup Functions
  • trunk/archive/pslib/include/psTrace.h

    r257 r290  
    1515void p_psTrace(const char *facil,       ///< facilty of interest
    1616               int level,               ///< desired trace level
    17                ...)                     ///< trace message arguments
    18 ;
     17               ...                      ///< trace message arguments
     18    );
    1919
    2020/// Set trace level
    2121int psSetTraceLevel(const char *facil,  ///< facilty of interest
    22                     int level)          ///< desired trace level
    23 ;
     22                    int level           ///< desired trace level
     23    );
    2424
    2525/// Get the trace level
    26 int psGetTraceLevel(const char *name)   ///< facilty of interest
    27 ;
     26int psGetTraceLevel(const char *name    ///< facilty of interest
     27    );
    2828
    2929/// turn off all tracing, and free trace's allocated memory
Note: See TracChangeset for help on using the changeset viewer.