summaryrefslogtreecommitdiff
path: root/tests/gnu/gl_array_list.h
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-11 10:45:00 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-11 10:45:00 +0000
commit24d1733e78a17d71aea6912144394ed7d3a82d50 (patch)
tree069608d934a8716d55a94c62c4bd75c1152f868c /tests/gnu/gl_array_list.h
parentd7b9fe130c2305d44fa1023283d3c2fcd389ba93 (diff)
downloadm4-24d1733e78a17d71aea6912144394ed7d3a82d50.tar.gz
remove .gitignores and add the rest of the files
Diffstat (limited to 'tests/gnu/gl_array_list.h')
-rwxr-xr-xtests/gnu/gl_array_list.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/gnu/gl_array_list.h b/tests/gnu/gl_array_list.h
new file mode 100755
index 00000000..a763bca4
--- /dev/null
+++ b/tests/gnu/gl_array_list.h
@@ -0,0 +1,34 @@
+/* Sequential list data type implemented by an array.
+ Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
+ Written by Bruno Haible <bruno@clisp.org>, 2006.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef _GL_ARRAY_LIST_H
+#define _GL_ARRAY_LIST_H
+
+#include "gl_list.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern const struct gl_list_implementation gl_array_list_implementation;
+#define GL_ARRAY_LIST &gl_array_list_implementation
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _GL_ARRAY_LIST_H */