IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2006, 10:29:39 AM (20 years ago)
Author:
rhl
Message:

Make PS_FILE_LINE actually work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.h

    r7380 r7653  
    1414 *  @author David Robbins, MHPCC
    1515 *
    16  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-06-07 03:22:06 $
     16 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-06-23 20:29:39 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3030#define PS_STRING(S)  #S
    3131
    32 /** This macro expands to "file:line" */
    33 #define PS_FILE_LINE __FILE__ ":" PS_STRING(__LINE__)
     32/** This macro returns a (static buffer containing) "file:line" */
     33const char *p_psFileLine(const char *file, int line);
     34#define PS_FILE_LINE p_psFileLine(__FILE__,__LINE__)
    3435
    3536// Doxygen group tags
Note: See TracChangeset for help on using the changeset viewer.