- Comment style.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Aug 2007 10:53:41 +0000 (10:53 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Aug 2007 10:53:41 +0000 (10:53 +0000)
commit0023b193116338cebab85590087eaab3f82fde57
treead44efca968f9e581f79efe68dbf86f3a8fc8572
parentdc9484f5465a7f99163c4848e4ad45bf2df528f5
- Comment style.
- Change 'heuristic' from 'int' to 'bool'.
- Remove the 'const' from the context parameter. Needed because in the
  fstrcmp case, the NOTE_INSERT and NOTE_DELETE macros modify fields
  in the context, and an extra indirection would only cost performance:
    #define EXTRA_CONTEXT_FIELDS \
      /* The number of elements inserted or deleted. */ \
      int xvec_edit_count; \
      int yvec_edit_count;
    #define NOTE_DELETE(ctxt, xoff) ctxt->xvec_edit_count++
    #define NOTE_INSERT(ctxt, yoff) ctxt->yvec_edit_count++
- In 'diag', keep two blocks of code in sync (lines 191 and 224).
- Undefine the macro USE_HEURISTIC after use.
lib/diffseq.h