/[ascend]/trunk/models/johnpye/fprops/color.h
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/color.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2738 by jpye, Mon Dec 9 08:32:08 2013 UTC revision 2739 by jpye, Thu Dec 12 12:33:26 2013 UTC
# Line 70  int color_on(FILE *f, int colorcode); Line 70  int color_on(FILE *f, int colorcode);
70  int color_off(FILE *f);  int color_off(FILE *f);
71    
72  #define FPROPS_MSG(FMT, ...) \  #define FPROPS_MSG(FMT, ...) \
73      {color_on(stderr,ASC_FG_BRIGHTBLUE);\      {color_on(stderr,ASC_FG_BROWN);\
74      fprintf(stderr,"%s:%d",__FILE__,__LINE__);\      fprintf(stderr,"%s:%d",__FILE__,__LINE__);\
75        color_on(stderr,ASC_FG_BRIGHTBLUE);\
76      fprintf(stderr,"(%s):",__func__);\      fprintf(stderr,"(%s):",__func__);\
77      color_off(stderr);\      color_off(stderr);\
78      fprintf(stderr," " FMT "\n",##__VA_ARGS__);}      fprintf(stderr," " FMT "\n",##__VA_ARGS__);}

Legend:
Removed from v.2738  
changed lines
  Added in v.2739

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22