[BACK]Return to out.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/out.h between version 1.29 and 1.32

version 1.29, 2017/06/08 18:11:22 version 1.32, 2018/06/25 16:54:59
Line 33  enum roffscale {
Line 33  enum roffscale {
 struct  roffcol {  struct  roffcol {
         size_t           width; /* width of cell */          size_t           width; /* width of cell */
         size_t           decimal; /* decimal position in cell */          size_t           decimal; /* decimal position in cell */
           size_t           spacing; /* spacing after the column */
         int              flags; /* layout flags, see tbl_cell */          int              flags; /* layout flags, see tbl_cell */
 };  };
   
Line 53  struct rofftbl {
Line 54  struct rofftbl {
         void            *arg; /* passed to sulen, slen, and len */          void            *arg; /* passed to sulen, slen, and len */
 };  };
   
 #define SCALE_VS_INIT(p, v) \  
         do { (p)->unit = SCALE_VS; \  
              (p)->scale = (v); } \  
         while (/* CONSTCOND */ 0)  
   
 #define SCALE_HS_INIT(p, v) \  #define SCALE_HS_INIT(p, v) \
         do { (p)->unit = SCALE_EN; \          do { (p)->unit = SCALE_EN; \
              (p)->scale = (v); } \               (p)->scale = (v); } \
Line 68  struct tbl_span;
Line 64  struct tbl_span;
   
 const char       *a2roffsu(const char *, struct roffsu *, enum roffscale);  const char       *a2roffsu(const char *, struct roffsu *, enum roffscale);
 void              tblcalc(struct rofftbl *tbl,  void              tblcalc(struct rofftbl *tbl,
                         const struct tbl_span *, size_t);                          const struct tbl_span *, size_t, size_t);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.32

CVSweb