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

Diff for /mandoc/mandoc.h between version 1.58 and 1.61

version 1.58, 2011/03/07 01:35:51 version 1.61, 2011/03/17 12:08:01
Line 312  struct regset {
Line 312  struct regset {
         struct reg        regs[REG__MAX];          struct reg        regs[REG__MAX];
 };  };
   
 __BEGIN_DECLS  
   
 /*  /*
  * Callback function for warnings, errors, and fatal errors as they   * A punctuation delimiter, used only in mdoc(7) documents, is opening,
  * occur in the compilers libroff, libmdoc, and libman.   * closing, or "middle mark" punctuation.  These govern spacing.
    * Opening punctuation (e.g., the opening parenthesis) suppresses the
    * following space; closing punctuation (e.g., the closing parenthesis)
    * suppresses the leading space; middle punctuation (e.g., the vertical
    * bar) can do either.  The middle punctuation delimiter bends the rules
    * depending on usage.
  */   */
 typedef int             (*mandocmsg)(enum mandocerr, void *,  enum    mdelim {
                                 int, int, const char *);          DELIM_NONE = 0,
           DELIM_OPEN,
           DELIM_MIDDLE,
           DELIM_CLOSE
   };
   
   typedef void    (*mandocmsg)(enum mandocerr, void *,
                           int, int, const char *);
   
   __BEGIN_DECLS
   
   void             *mandoc_calloc(size_t, size_t);
   void             *mandoc_malloc(size_t);
   void             *mandoc_realloc(void *, size_t);
   #define DELIMSZ   6 /* hint: max possible size of a delimiter */
   enum mdelim       mandoc_isdelim(const char *);
   
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.61

CVSweb