diff options
author | Bruno Haible <bruno@clisp.org> | 2018-12-04 00:54:30 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-12-07 20:49:13 +0100 |
commit | 51b22855a8899ed5e2de549851f914ae1426f79d (patch) | |
tree | caa6e0d69a28b230bd12b17e972752d4db56de8e /lib/gl_hash_set.h | |
parent | 2eaf74bdfc485c73016e99bf8086114b0bd6ff85 (diff) | |
download | gnulib-51b22855a8899ed5e2de549851f914ae1426f79d.tar.gz |
hash-set: New module.
* lib/gl_hash_set.h: New file.
* lib/gl_hash_set.c: New file.
* modules/hash-set: New file.
Diffstat (limited to 'lib/gl_hash_set.h')
-rw-r--r-- | lib/gl_hash_set.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/gl_hash_set.h b/lib/gl_hash_set.h new file mode 100644 index 0000000000..7d3d5004a1 --- /dev/null +++ b/lib/gl_hash_set.h @@ -0,0 +1,34 @@ +/* Set data type implemented by a hash table. + Copyright (C) 2006, 2009-2018 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2018. + + 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 <https://www.gnu.org/licenses/>. */ + +#ifndef _GL_HASH_SET_H +#define _GL_HASH_SET_H + +#include "gl_set.h" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const struct gl_set_implementation gl_hash_set_implementation; +#define GL_HASH_SET &gl_hash_set_implementation + +#ifdef __cplusplus +} +#endif + +#endif /* _GL_HASH_SET_H */ |