Coverage Report

Created: 2023-12-08 06:59

/src/aspell/lib/word_list-c.cpp
Line
Count
Source (jump to first uncovered line)
1
/* Automatically generated file.  Do not edit directly. */
2
3
/* This file is part of The New Aspell
4
 * Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL
5
 * license version 2.0 or 2.1.  You should have received a copy of the
6
 * LGPL license along with this library if you did not you can find it
7
 * at http://www.gnu.org/.                                              */
8
9
#include "string_enumeration.hpp"
10
#include "word_list.hpp"
11
12
namespace acommon {
13
14
class StringEnumeration;
15
class WordList;
16
17
extern "C" int aspell_word_list_empty(const WordList * ths)
18
0
{
19
0
  return ths->empty();
20
0
}
21
22
extern "C" unsigned int aspell_word_list_size(const WordList * ths)
23
0
{
24
0
  return ths->size();
25
0
}
26
27
extern "C" StringEnumeration * aspell_word_list_elements(const WordList * ths)
28
10.5k
{
29
10.5k
  StringEnumeration * els = ths->elements();
30
10.5k
  els->from_internal_ = ths->from_internal_;
31
10.5k
  return els;
32
10.5k
}
33
34
35
36
}
37