lib/diffseq.h


Log

Author Commit Date CI Message
Bruno Haible 506bbd42 2008-02-10T19:22:48 Avoid gcc warnings due to misplaced 'const'.
Bruno Haible 1fe8736c 2008-02-03T21:06:40 Add comments about required includes.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 0023b193 2007-08-18T10:53:41 - 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.
Paul Eggert a29749fa 2007-08-17T23:29:23 * MODULES.html.sh: Add diffseq. * modules/diffseq: New file. * lib/diffseq.h: New file, from GNU gettext with a few minor changes, extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c.
Bruno Haible 12e04873 2006-10-07T15:21:52 Live on the diff-merge branch, not on HEAD.
Bruno Haible bc45ccc2 2006-10-07T15:20:20 Difference of two sequences.