diff options
author | Robert Brady <rbrady@src.gnome.org> | 2000-11-08 19:09:32 +0000 |
---|---|---|
committer | Robert Brady <rbrady@src.gnome.org> | 2000-11-08 19:09:32 +0000 |
commit | 3d3be7b21de8ba776faffc560cab565a0d7d5022 (patch) | |
tree | 3bd7fe2622c90c477cf62a5a40f5aa93a66e6719 /pango/pango-intset.h | |
parent | 452359df74d9ab351b010a58693e597a53aa6362 (diff) | |
download | pango-3d3be7b21de8ba776faffc560cab565a0d7d5022.tar.gz |
Added missing files
Diffstat (limited to 'pango/pango-intset.h')
-rw-r--r-- | pango/pango-intset.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pango/pango-intset.h b/pango/pango-intset.h new file mode 100644 index 00000000..68c419bc --- /dev/null +++ b/pango/pango-intset.h @@ -0,0 +1,43 @@ +/* Pango + * pango-intset.h: Integer set + * + * Copyright (C) 2000 SuSE Linux Ltd + * + * Author: Robert Brady <rwb197@zepler.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * Licence as published by the Free Software Foundation; either + * version 2 of the Licence, or (at your option) any later version. + * + * This library 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 + * Library General Public Licence for more details. + * + * You should have received a copy of the GNU Library General Public + * Licence along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PANGO_INTSET_H__ +#define __PANGO_INTSET_H__ + +typedef struct _PangoIntSet PangoIntSet; +PangoIntSet *pango_int_set_new (void); +void pango_int_set_add (PangoIntSet *g, + int glyph); +void pango_int_set_destroy (PangoIntSet *g); +void pango_int_set_add_range (PangoIntSet *g, + int start, + int end); +gboolean pango_int_set_contains (PangoIntSet *g, + int member); +struct _PangoIntSet +{ + int start, size; + guint *bits; +}; + +#endif |