[BACK]Return to out.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/out.h between version 1.2 and 1.3

version 1.2, 2009/10/27 21:40:07 version 1.3, 2009/12/24 02:08:14
Line 35 
Line 35 
         SCALE_MAX          SCALE_MAX
 };  };
   
   enum    roffdeco {
           DECO_NONE,
           DECO_SPECIAL,
           DECO_RESERVED,
           DECO_BOLD,
           DECO_ITALIC,
           DECO_ROMAN,
           DECO_PREVIOUS,
           DECO_SIZE,
           DECO_NOSPACE,
           DECO_MAX
   };
   
 struct  roffsu {  struct  roffsu {
         enum roffscale    unit;          enum roffscale    unit;
         double            scale;          double            scale;
Line 42 
Line 55 
 };  };
   
 #define SCALE_INVERT(p) \  #define SCALE_INVERT(p) \
         do { (p)->scale = -(p)->scale; } while (/*CONSTCOND*/0)          do { (p)->scale = -(p)->scale; } \
           while (/* CONSTCOND */ 0)
   
 #define SCALE_VS_INIT(p, v) \  #define SCALE_VS_INIT(p, v) \
         do { (p)->unit = SCALE_VS; \          do { (p)->unit = SCALE_VS; \
              (p)->scale = (v); \               (p)->scale = (v); \
              (p)->pt = 0; } while (/*CONSTCOND*/0)               (p)->pt = 0; } \
           while (/* CONSTCOND */ 0)
   
 #define SCALE_HS_INIT(p, v) \  #define SCALE_HS_INIT(p, v) \
         do { (p)->unit = SCALE_BU; \          do { (p)->unit = SCALE_BU; \
              (p)->scale = (v); \               (p)->scale = (v); \
              (p)->pt = 0; } while (/*CONSTCOND*/0)               (p)->pt = 0; } \
           while (/* CONSTCOND */ 0)
   
 int               a2roffsu(const char *,  int               a2roffsu(const char *,
                         struct roffsu *, enum roffscale);                          struct roffsu *, enum roffscale);
   int               a2roffdeco(enum roffdeco *, const char **, size_t *);
 void              time2a(time_t, char *, size_t);  void              time2a(time_t, char *, size_t);
   
 __END_DECLS  __END_DECLS

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3