1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Bruno Haible
a041291c80 Remove all occurrences of reinterpret_cast<>.
* src/keyword-list.h (Keyword_List): Add template parameter list <KT>.
(KeywordExt_List): Define as a typedef, not as a subclass.
(copy_list, delete_list, mergesort_list): Templatize accordingly.
* src/keyword-list.icc (Keyword_List): Add template parameter list <KT>.
(KeywordExt_List): Remove method definitions.
* src/keyword-list.cc (Keyword_List): Add template parameter list <KT>.
(copy_list, mergesort_list): Remove definitions on subclass.
Add explicit template instantiation.
* src/keyword.h (Keyword_Factory): Add template parameter list <KT>.
* src/keyword.cc (Keyword_Factory): Likewise.
Add explicit template instantiation.
* src/input.h (Input): Add template parameter list <KT>.
* src/input.cc (Input): Likewise. Add explicit template instantiation.
* src/main.cc (KeywordExt_Factory): Define as a typedef, not as a
subclass.
(main): Update.
2025-04-05 14:18:27 +02:00
Bruno Haible
b3c3566855 Prefer https URLs where possible. 2018-09-17 16:53:00 +02:00
Bruno Haible
825b077bf4 Fix copyright years. 2017-02-22 15:32:38 +01:00
Bruno Haible
f6c3e9a753 Change source code license to GPLv3+. 2008-08-23 18:52:48 +00:00
Bruno Haible
61ba5cd46a Update FSF postal address. 2005-05-14 14:22:35 +00:00
Bruno Haible
6d268d095b Completely new asso_values search algorithm. 2003-03-18 10:22:37 +00:00
Bruno Haible
826e4c8ba1 An abstract mergesort function. 2003-01-16 12:41:41 +00:00
Bruno Haible
c3467c5302 New option --multiple-iterations. 2003-01-15 13:01:25 +00:00
Bruno Haible
2f967d81fb Move Keyword_List inline methods to a .icc file. 2002-12-17 10:55:49 +00:00
Bruno Haible
bd03d0bce8 First include is the specification's .h file. 2002-11-29 12:52:54 +00:00
Bruno Haible
122b13cc95 Update copyright notice to GPL v2. 2002-11-25 13:05:18 +00:00
Bruno Haible
9fa6cbdde5 Let the input module see only Keyword, not KeywordExt. 2002-11-22 14:19:08 +00:00
Bruno Haible
befb3d467e Separate the KeywordExt from the list node that points to it. 2002-11-20 12:58:14 +00:00
Bruno Haible
34da28c8ab Prefix all field names with _. 2002-11-09 01:12:49 +00:00
Bruno Haible
5de859e402 Replace class List_Node with class KeywordExt. 2002-11-05 12:28:40 +00:00