Mercurial > hg > octave-shane > gnulib-hg
annotate lib/gl_avltree_list.h @ 6980:9ccb96800d02
Sequential list data type implemented by a binary tree.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 17 Jul 2006 11:30:58 +0000 |
parents | |
children | bbbbbf4cd1c5 |
rev | line source |
---|---|
6980
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 /* Sequential list data type implemented by a binary tree. |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 Copyright (C) 2006 Free Software Foundation, Inc. |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 Written by Bruno Haible <bruno@clisp.org>, 2006. |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 This program is free software; you can redistribute it and/or modify |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 it under the terms of the GNU General Public License as published by |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 the Free Software Foundation; either version 2, or (at your option) |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 any later version. |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 This program is distributed in the hope that it will be useful, |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 GNU General Public License for more details. |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 You should have received a copy of the GNU General Public License |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 along with this program; if not, write to the Free Software Foundation, |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 #ifndef _GL_AVLTREE_LIST_H |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 #define _GL_AVLTREE_LIST_H |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
21 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
22 #include "gl_list.h" |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
23 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
24 #ifdef __cplusplus |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
25 extern "C" { |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
26 #endif |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
27 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 extern const struct gl_list_implementation gl_avltree_list_implementation; |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
29 #define GL_AVLTREE_LIST &gl_avltree_list_implementation |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
30 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
31 #ifdef __cplusplus |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
32 } |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
33 #endif |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
34 |
9ccb96800d02
Sequential list data type implemented by a binary tree.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
35 #endif /* _GL_AVLTREE_LIST_H */ |