| 
            Last change
 on this file since 4308 was             293, checked in by harald, 26 years ago           | 
        
        
          | 
            This this directory you can find some header files that are needed by 
reflector and by camera. On example is the declaration-(header)-file of 
the runlib. 
This is the starting point for further development. This work was done by 
Jose Carlos Gonzales. 
Now this is under CVS control. 
           | 
        
        
          | 
            File size:
            1.3 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | /********************************************************************** 
 | 
|---|
| 2 |  ********************************************************************** 
 | 
|---|
| 3 |  * jcdebug                                                               
 | 
|---|
| 4 |  *                                                                      
 | 
|---|
| 5 |  *   Created: Mon Jan 12 12:36:19 1998
 | 
|---|
| 6 |  *   Author.: Jose Carlos Gonzales
 | 
|---|
| 7 |  *   Notes..: 
 | 
|---|
| 8 |  *                                                                      
 | 
|---|
| 9 |  ********************************************************************** 
 | 
|---|
| 10 |  **********************************************************************/
 | 
|---|
| 11 | 
 | 
|---|
| 12 | // @T \newpage
 | 
|---|
| 13 | 
 | 
|---|
| 14 | // @section Source code of {\tt jcdebug.h}
 | 
|---|
| 15 | 
 | 
|---|
| 16 | /* Begin */
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #ifndef __JC_DEBUG__
 | 
|---|
| 19 | #define __JC_DEBUG__
 | 
|---|
| 20 | 
 | 
|---|
| 21 | // @code
 | 
|---|
| 22 | 
 | 
|---|
| 23 | int DBGi;
 | 
|---|
| 24 | 
 | 
|---|
| 25 | #ifdef __DEBUG__
 | 
|---|
| 26 | 
 | 
|---|
| 27 | #define DBGvec(a,n,m)    {puts("DBG> vector " #a);\
 | 
|---|
| 28 |                for(DBGi=n;DBGi<=m;DBGi++)\
 | 
|---|
| 29 |                  printf("     " #a "[%d] = %e \012",\
 | 
|---|
| 30 |                     DBGi, (a[DBGi]));\
 | 
|---|
| 31 |                  puts("");}
 | 
|---|
| 32 | 
 | 
|---|
| 33 | #define DBG(a)           { printf("DBG> " #a " = %g\n", (a)); }
 | 
|---|
| 34 | #define DBGi(a)          { printf("DBG> " #a " = %d\n", (a)); }
 | 
|---|
| 35 | #define DBGmsg(m)        { puts("DBG> " #m); }
 | 
|---|
| 36 | 
 | 
|---|
| 37 | #else // not __DEBUG__
 | 
|---|
| 38 | 
 | 
|---|
| 39 | #define DBGvec(a,n,m)    
 | 
|---|
| 40 | #define DBG(a)           
 | 
|---|
| 41 | #define DBGi(a)           
 | 
|---|
| 42 | #define DBGmsg(m)       
 | 
|---|
| 43 | 
 | 
|---|
| 44 | #endif // not __DEBUG__
 | 
|---|
| 45 | 
 | 
|---|
| 46 | 
 | 
|---|
| 47 | #endif // __JC_DEBUG__
 | 
|---|
| 48 | 
 | 
|---|
| 49 | // @endcode
 | 
|---|
| 50 | 
 | 
|---|
| 51 | /* End */
 | 
|---|
| 52 | 
 | 
|---|
| 53 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.