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