~ubuntu-branches/ubuntu/feisty/aspell/feisty

« back to all changes in this revision

Viewing changes to modules/speller/default/check_list.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Brian Nelson
  • Date: 2005-10-25 23:43:21 UTC
  • mfrom: (0.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051025234321-6mttbd3m82liomkh
Tags: 0.60.4-1
* New upstream release

* debian/patches/10_autotools: regenerated

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    void reset() { buf.reset(); num = 0; head = 0; }
28
28
    CheckInfo * add() {
29
29
      num++;
30
 
      CheckInfo * tmp = (CheckInfo *)buf.alloc_top(sizeof(CheckInfo));
 
30
      CheckInfo * tmp = (CheckInfo *)buf.alloc_top(sizeof(CheckInfo), 
 
31
                                                   sizeof(void*));
31
32
      clear_check_info(*tmp);
32
33
      tmp->next = head;
33
34
      head = tmp;